@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --panel: rgba(15, 23, 42, 0.75);
  --panel-strong: rgba(15, 23, 42, 0.95);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.15);
  --success: #22c55e;
  --danger: #f87171;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  --display-font: "Space Grotesk", "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --body-font: "Space Grotesk", "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 55%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -3;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: 100px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
}

.section-narrow {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-subheading {
  color: var(--text-muted);
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--display-font);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
  color: var(--text);
}

.small-print {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.08);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #c7d2fe;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.85rem;
  margin-bottom: 24px;
  color: #c7d2fe;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.9);
  animation: pulse 2.2s ease-out 1;
}

.hero-line {
  display: block;
}

.hero-line.accent {
  color: #dbeafe;
  text-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.subheadline {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-group {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-subtext {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--text-subtle);
  border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg);
  animation: float 1.8s ease-in-out infinite;
}

.problem-copy {
  max-width: 720px;
  font-size: 1.05rem;
}

.problem-line {
  color: var(--text);
  font-weight: 500;
}

.problem-emphasis {
  font-size: 1.2rem;
  font-weight: 600;
  color: #dbeafe;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 32px 24px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 300px;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(37, 99, 235, 0.22);
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  margin-bottom: 18px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #c7d2fe;
  stroke-width: 1.6;
}

.forum-mockup {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #c7d2fe;
}

.mockup-name {
  font-weight: 600;
}

.mockup-badge {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.mockup-score {
  margin-left: auto;
  font-weight: 600;
  color: #c7d2fe;
}

.mockup-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.mockup-body {
  color: var(--text-muted);
}

.forum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.forum-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}

.forum-card-suggest {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.forum-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #c7d2fe;
}

.forum-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.forum-badge {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.forum-badge.accent {
  color: #dbeafe;
}

.forum-tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 600;
}

.forum-tag.muted {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-subtle);
}

.forum-link {
  margin-top: auto;
  font-weight: 600;
  color: #c7d2fe;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.comparison-card {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.comparison-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comparison-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.check {
  color: var(--success);
  font-weight: 600;
  margin-right: 6px;
}

.cross {
  color: var(--danger);
  font-weight: 600;
  margin-right: 6px;
}

.persona-badge {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.waitlist {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.95));
}

.waitlist-card {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.label {
  font-weight: 600;
  font-size: 0.95rem;
}

input[type="email"],
input[type="text"] {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 1rem;
}

input::placeholder {
  color: var(--text-subtle);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
}

.other-field {
  display: none;
}

.other-field.visible {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-error {
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.2em;
}

.btn-submit {
  align-self: flex-start;
}

.waitlist-success {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.waitlist-success.visible {
  display: flex;
}

.hidden {
  display: none !important;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-list details {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 28px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  color: var(--text-muted);
  margin-top: 12px;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { transform: scale(1.2); box-shadow: 0 0 12px rgba(37, 99, 235, 0.0); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 99, 235, 0.0); }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 140px;
  }

  .section {
    padding: 90px 0;
  }

  .waitlist-card {
    padding: 32px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
  }

  .btn-small {
    width: auto;
  }

  .hero-content {
    text-align: left;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate],
  .btn,
  .chevron,
  .badge-dot {
    transition: none !important;
    animation: none !important;
  }
}
