/* Math Empire — Redesign v5
   Matches the game's actual visual identity:
   Royal navy backgrounds · Cinzel serif headlines · Gold gradient text
   Teal gem (CTAs) · Ruby/orange-red (urgency) · Math symbol atmosphere */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700&display=swap');

:root {
  /* Royal navy — the game's actual background palette */
  --bg:        #060B18;
  --bg2:       #0A1028;
  --bg3:       #070E1C;
  --bg-card:   #0D1830;

  /* Teal gem — crown center stone · primary CTAs */
  --cyan:      #08F1F8;
  --cyan-d:    #06C5CB;
  --cyan-x:    #048A90;

  /* Crown gold — headlines, metalwork, borders */
  --gold:      #C4953A;
  --gold-lt:   #E8B84B;
  --gold-glow: #F5D060;
  --gold-d:    #9A7228;

  /* Ruby — orange-red crown side gems · urgency accents */
  --ruby:      #D4521A;
  --ruby-lt:   #F06428;
  --ruby-d:    #A83A10;

  /* Text */
  --cream:     #F0E8D8;
  --muted:     #7080A8;
  --pearl:     #D8CCB8;

  --green:     #7BC950;
  --red:       #D43A3A;
  --warm:      #D4521A;  /* warm = ruby now */
  --glow:      rgba(8, 241, 248, 0.10);
  --radius:    16px;
  --max-w:     1180px;
}

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* .gold spans — gold gradient matching the game's marketing banners */
.gold {
  background: linear-gradient(180deg,
    var(--gold-glow) 0%,
    var(--gold-lt)   35%,
    var(--gold)      70%,
    var(--gold-d)    100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ── ANIMATIONS ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 6px 28px rgba(8,241,248,0.30), inset 0 1px 0 rgba(255,255,255,0.15); }
  50%       { box-shadow: 0 8px 52px rgba(8,241,248,0.65), inset 0 1px 0 rgba(255,255,255,0.25); }
}
@keyframes scan-line {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* ── BETA STRIP — ruby urgency bar ── */
.beta-strip {
  display: block;
  background: linear-gradient(90deg,
    rgba(212,82,26,0.14) 0%,
    rgba(212,82,26,0.28) 50%,
    rgba(212,82,26,0.14) 100%);
  border-bottom: 1px solid rgba(212,82,26,0.45);
  color: var(--ruby-lt);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  text-decoration: none;
  letter-spacing: 0.6px;
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s;
}
.beta-strip:hover { background: rgba(212,82,26,0.36); }

/* ── HEADER ── */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(6,11,24,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky; top: 40px;
  z-index: 150;
  border-bottom: 1px solid rgba(8,241,248,0.07);
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo { width: 36px; height: 36px; border-radius: 8px; }
.site-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s; }
nav a:hover { color: var(--cream); }
nav .nav-cta {
  background: rgba(8,241,248,0.10);
  color: var(--cyan);
  border: 1px solid rgba(8,241,248,0.30);
  padding: 8px 16px; border-radius: 10px;
  font-weight: 700;
  transition: background .15s, border-color .15s;
}
nav .nav-cta:hover { background: rgba(8,241,248,0.20); border-color: rgba(8,241,248,0.6); color: var(--cyan); }

/* ── HERO ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 60px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* Math symbol atmosphere — floating π Σ % x² like the game banners */
.hero::before {
  content: 'π  Σ  %  x²';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  font-family: 'Cinzel', serif;
  font-size: 96px;
  font-weight: 700;
  color: rgba(196,149,58,0.045);
  letter-spacing: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  white-space: nowrap;
}

.hero-content { flex: 1.2; max-width: 580px; position: relative; z-index: 1; }
.hero-art {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
/* Teal radial glow behind the key-art */
.hero-art::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 420px;
  background: radial-gradient(ellipse, rgba(8,241,248,0.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-art > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(196,149,58,0.10);
  border: 1px solid rgba(196,149,58,0.40);
  color: var(--gold-lt);
  font-family: 'Cinzel', serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px;
  padding: 6px 16px; border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #fff;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-sub em { color: var(--cream); font-style: italic; font-weight: 600; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* ── CTA BUTTONS ── */
.cta-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-d) 100%);
  color: var(--bg);
  padding: 16px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  animation: pulse-glow 3s ease-in-out infinite;
  transition: transform .15s, animation .15s;
  line-height: 1.15;
}
.cta-primary:hover {
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 14px 48px rgba(8,241,248,0.55);
}
.cta-primary small { display: block; font-weight: 600; font-size: 11px; opacity: 0.7; margin-top: 3px; }

.cta-big {
  padding: 20px 36px;
  font-size: 18px;
  margin-top: 24px;
}

.cta-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s, border-color .15s;
}
.cta-secondary:hover {
  background: rgba(8,241,248,0.07);
  border-color: rgba(8,241,248,0.28);
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Cinzel', serif;
  background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px; font-weight: 700;
}
.hero-stats span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ── HERO KEY-ART ── */
.hero-keyart {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(8,241,248,0.18),
    0 0 80px rgba(8,241,248,0.08);
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-keyart:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.70),
    0 0 0 1px rgba(8,241,248,0.35),
    0 0 130px rgba(8,241,248,0.18);
}
@media (max-width: 767px) {
  .hero-keyart { max-width: 420px; border-radius: 12px; }
}
.phone-mockup { display: none; }

/* ── PAIN SECTION ── */
.pain-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg3) 50%, var(--bg) 100%);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pain-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 360px;
  background: radial-gradient(ellipse, rgba(8,241,248,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.pain-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.pain-section h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 1.2;
  margin-bottom: 22px;
  color: #fff;
}
.pain-lead {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pain-twist {
  font-size: 22px;
  color: var(--cream);
  padding-top: 16px;
  border-top: 1px solid rgba(8,241,248,0.14);
}
.pain-twist strong { color: var(--cyan); }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 90px 32px;
  text-align: center;
}
.how-section h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
  color: #fff;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.how-step {
  background: rgba(13,24,48,0.80);
  border: 1px solid rgba(196,149,58,0.20);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: left;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.how-step:hover {
  transform: translateY(-5px);
  border-color: rgba(196,149,58,0.55);
  background: rgba(196,149,58,0.06);
  box-shadow: 0 10px 36px rgba(196,149,58,0.10);
}
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 900; font-size: 20px;
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 22px rgba(8,241,248,0.45);
}
.how-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 8px;
}
.how-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── SCREENSHOTS ── */
.screenshots {
  padding: 80px 32px;
  background: var(--bg3);
  text-align: center;
}
.screenshots h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #fff;
}
.screenshots-sub {
  color: var(--muted);
  margin-bottom: 40px;
}
.screen-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 24px;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.screen-row figure { text-align: center; }
.screen-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(196,149,58,0.25);
  box-shadow: 0 10px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(196,149,58,0.08);
  aspect-ratio: 0.5;
  background: #060B18;
  margin-bottom: 12px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.screen-row figure:hover .screen-img-wrap {
  transform: scale(1.04) translateY(-5px);
  border-color: rgba(196,149,58,0.60);
  box-shadow: 0 18px 48px rgba(0,0,0,0.70), 0 0 28px rgba(196,149,58,0.20);
}
.screen-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-row figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* ── FEATURES ── */
.features {
  padding: 90px 32px;
  text-align: center;
}
.features h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
  color: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.feature-card {
  background: rgba(13,24,48,0.80);
  border: 1px solid rgba(196,149,58,0.18);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: left;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196,149,58,0.52);
  background: rgba(196,149,58,0.06);
  box-shadow: 0 10px 36px rgba(196,149,58,0.10);
}
.feat-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── PARENT SECTION ── */
.parent-section {
  padding: 100px 32px;
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.parent-section::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 640px; height: 420px;
  background: radial-gradient(ellipse at right bottom, rgba(8,241,248,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.parent-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.parent-section h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #fff;
}
.parent-section > .parent-inner > p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.7;
}
.signature {
  font-size: 16px;
  color: var(--cream);
  font-style: italic;
  margin: 28px 0 32px;
  border-left: 3px solid rgba(196,149,58,0.70);  /* crown gold — metalwork */
  padding-left: 16px;
  text-align: left;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.signature-sub { font-size: 13px; color: var(--muted); font-style: normal; }
.trust-list {
  list-style: none;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 24px;
}
.trust-list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trust-list strong { color: var(--cyan); }
.privacy-link {
  display: inline-block;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
  transition: opacity .2s;
}
.privacy-link:hover { opacity: 0.75; }

/* ── TEACHERS BAND ── */
.nav-teachers {
  color: var(--cream) !important;
  border: 1px solid rgba(8,241,248,0.28);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.15s;
}
.nav-teachers:hover {
  background: rgba(8,241,248,0.08);
  border-color: var(--cyan);
  color: var(--cyan) !important;
}
.teachers-band {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  padding: 64px 24px;
  border-top: 1px solid rgba(196,149,58,0.28);    /* crown gold border */
  border-bottom: 1px solid rgba(196,149,58,0.28);
  position: relative;
  overflow: hidden;
}
.teachers-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(8,241,248,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.teachers-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.teachers-band-copy { flex: 1 1 320px; }
.teachers-band-eyebrow {
  display: inline-block;
  background: rgba(196,149,58,0.12);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.teachers-band h2 {
  color: var(--cream);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
}
.teachers-band p { color: var(--muted); font-size: 17px; max-width: 540px; line-height: 1.55; }
.teachers-band-cta { flex: 0 0 auto; }
.teachers-band-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-d) 100%);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.teachers-band-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(8,241,248,0.30);
}
@media (max-width: 720px) {
  .teachers-band { padding: 48px 20px; }
  .teachers-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ── BETA SECTION ── */
.beta-section {
  padding: 100px 32px;
  background: radial-gradient(circle at 50% 0%, rgba(8,241,248,0.08) 0%, transparent 52%), var(--bg);
  text-align: center;
}
.beta-inner { max-width: 880px; margin: 0 auto; }
.beta-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-d) 100%);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(212,82,26,0.40);
}
.beta-section h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #fff;
}
.beta-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.beta-lead strong { color: var(--cream); }

/* Beta progress bar */
.beta-progress {
  max-width: 600px;
  margin: 24px auto 32px;
  padding: 20px 24px;
  background: rgba(196,149,58,0.06);
  border: 1px solid rgba(196,149,58,0.30);
  border-radius: 8px;
}
.beta-progress-bar {
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.beta-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-glow) 0%, var(--gold) 100%);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(196,149,58,0.55);
}
.beta-progress-label {
  text-align: center;
  font-size: 14px;
  color: var(--pearl);
  letter-spacing: 0.3px;
}
.beta-progress-label strong { color: var(--gold-lt); }

.beta-deal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 0 auto 36px;
  max-width: 760px;
}
.beta-deal-col {
  background: rgba(8,241,248,0.04);
  border: 1px solid rgba(8,241,248,0.18);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
}
.beta-deal-col h3 {
  color: var(--gold);   /* crown gold — matches metalwork headers */
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.beta-deal-col ul { list-style: none; }
.beta-deal-col li { padding: 7px 0; font-size: 14px; color: var(--cream); }
.beta-note-2 {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.beta-note-2 strong { color: var(--cream); }
.beta-note-2 a { color: var(--cyan); }

/* Share button */
.cta-share {
  display: block;
  margin: 16px auto 24px;
  padding: 14px 28px;
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(8,241,248,0.35);
  border-radius: 12px;
  font: 600 14px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s;
}
.cta-share:hover {
  background: rgba(8,241,248,0.08);
  border-color: rgba(8,241,248,0.65);
  transform: translateY(-1px);
}
.cta-share:active { transform: translateY(0); }

/* ── FAQ ── */
.faq-section {
  padding: 90px 32px;
  background: var(--bg3);
}
.faq-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  background: rgba(13,24,48,0.70);
  border: 1px solid rgba(196,149,58,0.18);
  border-radius: 8px;
  padding: 18px 22px;
  transition: border-color .2s, background .2s;
}
details[open] {
  border-color: rgba(196,149,58,0.48);
  background: rgba(196,149,58,0.05);
}
details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cream);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 22px;
  color: var(--cyan);
  font-weight: 400;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
details a { color: var(--cyan); }

/* ── FINAL CTA ── */
.final-cta {
  padding: 100px 32px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(8,241,248,0.07) 0%, transparent 62%);
}
.final-cta h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
.final-cta p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 12px;
}

/* ── NOTIFY (iOS) ── */
.notify-section {
  padding: 60px 32px;
  text-align: center;
  background: var(--bg3);
  border-top: 1px solid rgba(8,241,248,0.07);
}
.notify-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 18px;
}
#signup-form {
  display: inline-flex;
  gap: 8px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
#email-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(8,241,248,0.18);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}
#email-input::placeholder { color: var(--muted); }
#email-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(8,241,248,0.10);
}
#signup-btn {
  background: var(--cyan);
  color: var(--bg);
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: filter .15s, transform .15s;
}
#signup-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
#signup-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.signup-msg { margin-top: 14px; font-size: 13px; }
.signup-msg.success { color: var(--green); }
.signup-msg.error { color: var(--red); }

/* ── FOOTER ── */
footer {
  padding: 40px 32px;
  text-align: center;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(8,241,248,0.06);
}
footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--cyan); }
.footer-sub { margin-top: 10px; font-size: 12px; opacity: 0.7; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { flex-direction: column-reverse; gap: 40px; padding: 40px 24px 60px; }
  .hero-content { text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .beta-deal { grid-template-columns: 1fr; }
  header { padding: 12px 18px; }
  nav { gap: 14px; }
  nav a { font-size: 13px; }
  nav .nav-cta { padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .pain-section h2, .how-section h2, .features h2, .parent-section h2,
  .beta-section h2, .faq-section h2, .final-cta h2 { font-size: 26px; }
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 18px; }
  .cta-primary { width: 100%; justify-content: center; }
  #signup-form { flex-direction: column; }
}
