/* ════════════════════════════════════════════════════════════════
   theme-cosmic-light.css
   Site-wide hybrid theme: cosmic dark hero + light body sections.
   Aurora purple (#6d4ed1) replaces the previous teal accent.
   Extracted from index-preview.html (preview-only banner rules omitted).
   Loaded AFTER assets/style.css so its overrides win.
   ════════════════════════════════════════════════════════════════ */

/* Swap teal → purple for the light sections below hero.
   Keep gold as-is. Text colors retuned to slate-purple for readability on white. */
:root{
  --teal:      #6d4ed1;                 /* aurora purple instead of teal */
  --teal-l:    rgba(109,78,209,.10);
  --teal-b:    rgba(109,78,209,.28);
  --teal-glow: rgba(109,78,209,.35);

  --text:      #1a1340;                 /* deep indigo-charcoal for body text */
  --text2:     #4a3a72;                 /* slate-purple for sub text (was teal #0e7490) */
  --text3:     #8a7ba8;                 /* muted lavender-gray (was muted teal) */

  --bg2:       #f3eeff;                 /* alt-section: very pale lavender (was teal-tinted) */
  --card2:     rgba(109,78,209,.06);
  --border:    rgba(109,78,209,.18);
  --border2:   rgba(109,78,209,.32);
  --blue:      #6d4ed1;  --blue-bg: rgba(109,78,209,.10);
}

/* Final CTA + Share sections — flip from dark teal to WHITE so they sync with the body */
section[style*="linear-gradient(160deg,#071e2d"]{
  background:#ffffff !important;
  border-top:1px solid rgba(109,78,209,.15) !important;
  border-bottom:1px solid rgba(109,78,209,.15) !important;
}
section[style*="linear-gradient(160deg,#071e2d"] h2{color:#1a1340 !important;text-shadow:none !important}
section[style*="linear-gradient(160deg,#071e2d"] p{color:#4a3a72 !important}
section[style*="linear-gradient(160deg,#071e2d"] p[style*="color:#06b6d4"]{color:#6d4ed1 !important}
section[style*="linear-gradient(160deg,#071e2d"] .section-eyebrow{color:#6d4ed1 !important}
section[style*="linear-gradient(160deg,#071e2d"] .hero-sym{color:#f5c451 !important;opacity:1 !important}
/* Final CTA paragraph muted text */
section[style*="linear-gradient(160deg,#071e2d"] p[style*="color:rgba(232,244,255"]{color:#8a7ba8 !important}
/* Copy-link button on white needs darker border/text */
section[style*="linear-gradient(160deg,#071e2d"] button[onclick*="copyHomepageLink"]{
  background:rgba(245,196,81,.10) !important;color:#b8861f !important;border-color:rgba(245,196,81,.55) !important;
}

/* The comparison-table inner card was using the same dark teal gradient — keep that one DARK PURPLE for contrast */
div[style*="linear-gradient(160deg,#071e2d"]{
  background:linear-gradient(160deg,#1a1340 0%,#2a1a5c 100%) !important;
  border-color:rgba(157,127,255,.30) !important;
  box-shadow:0 8px 40px rgba(109,78,209,.18) !important;
}

/* Comparison table card (was dark teal) → deep purple to match */
.compare-table th{border-bottom-color:rgba(245,196,81,.40) !important}

/* TRUST STRIP — make it WHITE (sits right below cosmic hero) */
.trust-strip{
  background:#ffffff !important;
  border-top:2px solid #f5c451 !important;
  border-bottom:1px solid rgba(109,78,209,.18) !important;
}
.trust-strip .trust-item{color:#1a1340 !important}
.trust-strip .trust-icon{color:#6d4ed1 !important}

/* FAQ question typeset fix — was spreading inline spans across full row */
.faq-q{justify-content:flex-start !important;gap:.4em !important;flex-wrap:wrap}
.faq-q::after{margin-left:auto !important}

/* FOOTER — switch from dark teal to deep purple */
.footer{
  background:linear-gradient(180deg,#1a1340 0%,#2a1a5c 100%) !important;
  border-top:2px solid #f5c451 !important;
  color:rgba(240,234,255,.75) !important;
}
.footer .footer-bottom{border-top:1px solid rgba(157,127,255,.20) !important}
.footer a{color:rgba(240,234,255,.75) !important}
.footer a:hover{color:#f5c451 !important}
.footer .footer-tagline{color:rgba(240,234,255,.6) !important}

/* Cosmic hero with galaxy */
.hero-dark{
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(217,70,239,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 60%, rgba(124,92,255,.30) 0%, transparent 65%),
    radial-gradient(ellipse 50% 30% at 80% 70%, rgba(34,211,238,.18) 0%, transparent 65%),
    linear-gradient(160deg, #0a0820 0%, #1a0d3d 50%, #0a0820 100%) !important;
  color:#f0eaff !important;
  position:relative;overflow:hidden;
  padding:3rem 1.5rem 3rem !important;
}
.hero-dark::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 22% 62%, #fff, transparent),
    radial-gradient(1px 1px at 32% 30%, #fff, transparent),
    radial-gradient(2px 2px at 42% 80%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 55% 14%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 65% 55%, #fff, transparent),
    radial-gradient(1px 1px at 75% 22%, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 84% 70%, #fff, transparent),
    radial-gradient(1px 1px at 92% 38%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 8% 88%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 48% 92%, #fff, transparent),
    radial-gradient(1px 1px at 70% 95%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 18% 40%, #fff, transparent),
    radial-gradient(2px 2px at 38% 50%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 88% 12%, #fff, transparent),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,.7), transparent);
  background-repeat:no-repeat;
  animation:cosmic-twinkle 6s ease-in-out infinite alternate;
  opacity:.85;
}
@keyframes cosmic-twinkle{0%,100%{opacity:.55}50%{opacity:1}}
.hero-dark::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 35% 18% at 30% 35%, rgba(217,70,239,.28) 0%, transparent 70%),
    radial-gradient(ellipse 30% 15% at 70% 50%, rgba(34,211,238,.20) 0%, transparent 70%),
    radial-gradient(ellipse 25% 12% at 50% 75%, rgba(245,196,81,.10) 0%, transparent 70%);
  filter:blur(20px);
  mix-blend-mode:screen;
}

/* Hero text overrides */
.hero-dark .hero-h1{color:#fff !important;text-shadow:0 2px 24px rgba(124,92,255,.35) !important}
.hero-dark .hero-h1 em{color:#f5c451 !important}
.hero-dark .hero-sub{color:rgba(240,234,255,.78) !important}
.hero-dark .hero-eyebrow{color:#f5c451 !important}
.hero-dark .hero-sym{color:#f5c451 !important}

/* Hero form card on cosmic bg */
.hero-form-card{
  background:rgba(26,21,64,.78) !important;
  border:1px solid rgba(157,127,255,.30) !important;
  border-top:2px solid #f5c451 !important;
  box-shadow:0 8px 48px rgba(0,0,0,.5),0 0 60px rgba(124,92,255,.18) !important;
}
.hero-form-card input,.hero-form-card select{
  background:rgba(11,8,32,.55) !important;
  border:1.5px solid rgba(157,127,255,.30) !important;
  color:#fff !important;
}
.hero-form-card input:focus,.hero-form-card select:focus{
  border-color:#f5c451 !important;
  background:rgba(245,196,81,.06) !important;
  box-shadow:0 0 0 3px rgba(245,196,81,.15),0 0 16px rgba(245,196,81,.18) !important;
}
.hero-form-card label{color:rgba(245,196,81,.80) !important}
.hero-form-card select option{background:#110d2e;color:#fff}

/* Email-banner CTA ("Ready to see what your numbers say?") → cosmic purple */
.email-banner{
  background:linear-gradient(160deg,#1a1340 0%,#2a1a5c 60%,#1a1340 100%) !important;
  border:1px solid rgba(157,127,255,.30) !important;
  box-shadow:0 8px 40px rgba(109,78,209,.25) !important;
  color:#f0eaff !important;
}
.email-banner h3{color:#ffffff !important}
.email-banner p{color:rgba(240,234,255,.78) !important}
.email-banner .hero-sym{color:#f5c451 !important;opacity:.85 !important}

/* Sample-result preview card on homepage — flip teal gradient + fix label/badge */
.card div[style*="linear-gradient(135deg,#071e2d"]{
  background:linear-gradient(135deg,#1a1340 0%,#2a1a5c 100%) !important;
  border:1px solid rgba(157,127,255,.25);
  border-radius:10px;
}
.card div[style*="linear-gradient(135deg,#071e2d"] div[style*="color:rgba(6,182,212"]{color:#9d7fff !important}

/* Nav stays clean — slight tint to bridge into hero */
.nav{background:rgba(255,255,255,.92) !important;backdrop-filter:blur(10px)}
.nav-links a{font-weight:600 !important;letter-spacing:.01em}
.nav-mobile a{font-weight:600 !important}

/* ── PAGE-SPECIFIC ────────────────────────────────────────────── */
.hero-stats{display:flex;justify-content:center;gap:3rem;flex-wrap:wrap;margin-top:2.5rem;position:relative}
.hero-stat{text-align:center}
.hero-stat-num{font-size:32px;color:var(--gold);line-height:1;font-family:'Playfair Display',Georgia,serif;text-shadow:0 2px 16px rgba(240,180,41,.35)}
.hero-stat-label{font-size:11px;color:rgba(232,244,255,.55);font-family:sans-serif;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
.hero-form-card{
  background:rgba(7,30,45,.75);
  border:1px solid rgba(6,182,212,.3);
  border-top:2px solid var(--gold);
  border-radius:var(--rl);padding:2rem;
  max-width:520px;margin:2rem auto 0;
  backdrop-filter:blur(16px);
  box-shadow:0 8px 48px rgba(0,0,0,.35),
             0 0 0 1px rgba(240,180,41,.06),
             0 0 40px rgba(6,182,212,.08);
}
.hero-form-card h3{font-size:18px;color:#ffffff;margin-bottom:.3rem;text-align:center;font-family:'Playfair Display',Georgia,serif}
.hero-form-card>p{font-family:sans-serif;text-align:center}
.hero-form-card label{font-family:sans-serif}
.hero-form-card input,.hero-form-card select{
  background:rgba(6,182,212,.08);
  border:1.5px solid rgba(6,182,212,.35);
  color:#ffffff;
}
.hero-form-card input::placeholder{color:rgba(255,255,255,.3)}
.hero-form-card input:focus,.hero-form-card select:focus{
  border-color:var(--gold);
  background:rgba(240,180,41,.06);
  box-shadow:0 0 0 3px rgba(240,180,41,.12), 0 0 16px rgba(240,180,41,.10);
  outline:none;
}
.hero-form-card input:hover,.hero-form-card select:hover{
  border-color:rgba(6,182,212,.65);
}
.hero-form-card select option{background:#071e2d;color:#ffffff}
.how-step{display:flex;gap:1.25rem;align-items:flex-start}
.how-num{width:40px;height:40px;min-width:40px;border-radius:50%;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--gold);font-family:sans-serif;font-weight:700;margin-top:2px}
.how-body h4{font-size:15px;margin-bottom:4px}
.how-body p{font-size:13px;color:var(--text2);font-family:sans-serif;line-height:1.65}
.section-h2{font-size:clamp(22px,3.5vw,36px);margin-bottom:1rem;line-height:1.2}
.section-sub{font-size:15px;color:var(--text2);font-family:sans-serif;line-height:1.7;max-width:600px}
.compare-table{width:100%;border-collapse:collapse;font-family:sans-serif;font-size:13.5px}
.compare-table th{padding:10px 14px;text-align:left;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--text3);border-bottom:2px solid var(--gold-b)}
.compare-table td{padding:11px 14px;border-bottom:1px solid var(--border)}
.compare-table tr:last-child td{border-bottom:none}
.compare-table .ours{background:rgba(240,180,41,.05);font-weight:600}
.tick{color:var(--green);font-weight:700}.cross{color:var(--red)}.neutral{color:var(--text3)}

/* ── Core Numbers grid (analyzer Step 2) — premium cosmic refresh ──
   Replaces dull cream-on-gold cards with deep purple cosmic cards
   that match the new Identity Card and locked-card aesthetic.       */
.num-grid .nc{
  background:linear-gradient(160deg,#1a0e52 0%,#3a1d80 60%,#1a0e52 100%) !important;
  border:1px solid rgba(245,196,81,.45) !important;
  border-radius:14px !important;
  padding:1.4rem 1rem 1.25rem !important;
  position:relative;
  overflow:hidden;
  box-shadow:0 6px 22px rgba(26,14,82,.18);
  transition:transform .2s,border-color .25s,box-shadow .25s !important;
}
.num-grid .nc::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,rgba(245,196,81,.7),transparent);
}
.num-grid .nc::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 50% 0%,rgba(245,196,81,.10) 0%,transparent 55%);
}
.num-grid .nc:hover{
  transform:translateY(-3px);
  border-color:rgba(245,196,81,.75) !important;
  background:linear-gradient(160deg,#1a0e52 0%,#3a1d80 60%,#1a0e52 100%) !important;
  box-shadow:0 12px 32px rgba(124,92,255,.35),0 0 50px rgba(245,196,81,.10);
}
.num-grid .nc .nl{
  color:#9d7fff !important;
  font-size:10.5px !important;
  letter-spacing:.12em !important;
  font-weight:700;
  position:relative;
}
.num-grid .nc .nv{
  color:#f5d060 !important;
  font-size:46px !important;
  line-height:1 !important;
  font-weight:700;
  text-shadow:0 0 22px rgba(245,196,81,.45),0 2px 6px rgba(0,0,0,.25);
  position:relative;
  margin:.35rem 0 .15rem;
}
.num-grid .nc .ns{
  color:#ffffff !important;
  font-size:13px !important;
  font-weight:600;
  letter-spacing:.01em;
  position:relative;
}
/* The small "Unalterable / Life path / Changeable" tag */
.num-grid .nc > div:last-child{
  color:rgba(240,234,255,.55) !important;
  position:relative;
}
