@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- tokens ---------- */
:root {
  --bg: #07060d;
  --ink: #f4eee1;
  --ink-soft: #cdc6dc;
  --muted: #948da8;
  --muted-dim: #635d78;

  --gold-hi: #f6e2ab;
  --gold: #cba869;
  --gold-deep: #8a6a3d;
  --gold-line: rgba(203, 168, 105, 0.28);
  --gold-line-soft: rgba(203, 168, 105, 0.14);

  --violet: #8d7cc4;
  --violet-deep: #4a3d78;

  --glass: rgba(22, 18, 38, 0.55);
  --glass-solid: #13101f;

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', 'Georgia', serif;

  --container: 700px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  font-variant-numeric: lining-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--gold-deep); color: var(--gold-hi); }

/* ---------- atmosphere ---------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(141, 124, 196, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 12%, rgba(203, 168, 105, 0.14), transparent 60%),
    radial-gradient(ellipse 65% 55% at 8% 78%, rgba(74, 61, 120, 0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 95%, rgba(203, 168, 105, 0.10), transparent 60%),
    #07060d;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.stars > i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #fff;
  top: 0; left: 0;
}
.stars .layer-a { animation: twinkle 4.5s ease-in-out infinite; }
.stars .layer-b { animation: twinkle 6.2s ease-in-out infinite 1.1s; }
.stars .layer-c { animation: twinkle 3.4s ease-in-out infinite 0.6s; opacity: .8; }

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes twinkle {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.spacer-lg { height: clamp(48px, 9vw, 96px); }
.spacer-md { height: clamp(32px, 6vw, 56px); }

/* ---------- brandmark ---------- */
.brandmark {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
}
.brandmark svg { width: 34px; height: 34px; opacity: .85; }

/* ---------- typography ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.kicker::before, .kicker::after {
  content: '';
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.kicker::after { background: linear-gradient(90deg, var(--gold), transparent); }

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .01em;
  color: var(--ink);
  font-size: clamp(1.7rem, 4.6vw, 2.55rem);
}
.headline em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  color: var(--ink);
  line-height: 1.35;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--ink-soft);
  font-weight: 400;
}

.pullquote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  color: var(--gold-hi);
  line-height: 1.5;
  text-align: center;
  position: relative;
  padding: 0 8px;
}

p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

/* ---------- divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}
.divider .line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.divider .line:last-child { background: linear-gradient(90deg, var(--gold-line), transparent); }
.divider .mark { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: #26190a;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px -8px rgba(203, 168, 105, .55), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(203, 168, 105, .7), 0 0 0 1px rgba(255,255,255,.12) inset; filter: brightness(1.06); }
.btn-primary:active { transform: translateY(-1px); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  color: var(--gold-hi);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(203,168,105,.05);
  transition: all .3s var(--ease);
}
.btn-ghost:hover { background: rgba(203,168,105,.12); border-color: var(--gold); }

.cta-sub {
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- cards / glass ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

/* ---------- stat / progress bars ---------- */
.stat-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
}
.stat-row .icon { width: 22px; height: 22px; color: var(--gold); opacity: .9; }
.stat-row .meta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-body); }
.stat-row .label { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.stat-row .pct { font-family: var(--font-display); font-size: .95rem; color: var(--gold-hi); font-weight: 600; }
.stat-row .track { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; position: relative; }
.stat-row .fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 45%, var(--gold-hi));
  box-shadow: 0 0 12px rgba(203,168,105,.55);
  transition: width 1.4s var(--ease);
}
.stat-block { display: flex; flex-direction: column; gap: 2px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .05s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .27s; }
.reveal-4 { transition-delay: .38s; }

/* ---------- hero constellation svg ---------- */
.hero-glyph {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 150vw);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.hero-glyph .node { animation: pulseNode 3.6s ease-in-out infinite; transform-origin: center; }
.hero-glyph .node:nth-child(odd) { animation-delay: .8s; }
@keyframes pulseNode {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 40px 24px 56px;
  color: var(--muted-dim);
  font-size: .82rem;
  letter-spacing: .03em;
}

/* ---------- utility ---------- */
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 10px; }
.gap-md { gap: 18px; }
.gap-lg { gap: 28px; }

@media (max-width: 560px) {
  body { font-size: 18px; }
  .btn-primary { padding: 18px 24px; font-size: 13.5px; }
}

/* ================= video block ================= */
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
  aspect-ratio: 9 / 13;
  max-height: 620px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 10%, rgba(141,124,196,.35), transparent 60%),
    linear-gradient(180deg, #1a1530, #0a0814 70%);
}
.video-frame .rays {
  position: absolute;
  inset: 0;
  opacity: .5;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: center;
  z-index: 2;
}
.video-play .ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(203,168,105,.08);
  backdrop-filter: blur(4px);
  transition: all .35s var(--ease);
}
.video-play .ring svg { width: 24px; height: 24px; margin-left: 3px; color: var(--gold-hi); }
.video-frame:hover .ring { background: rgba(203,168,105,.18); box-shadow: 0 0 30px rgba(203,168,105,.35); transform: scale(1.05); }
.video-play .cap {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.video-frame video {
  width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1;
}

.video-points { padding: 4px 4px 0; }
.video-points li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}
.video-points li:last-child { border-bottom: none; }
.video-points .tick { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }

/* ================= badges row ================= */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-line-soft);
  font-size: .85rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,.02);
}
.trust-badge svg { width: 15px; height: 15px; color: var(--gold); }

/* ================= proof number ================= */
.proof-count {
  text-align: center;
}
.proof-count .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 600;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.proof-count .cap {
  margin-top: 8px;
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ================= pain list (screen 2) ================= */
.pain-list { display: flex; flex-direction: column; gap: 4px; }
.pain-list li {
  display: flex;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.pain-list li:last-child { border-bottom: none; }
.pain-list .glyph { flex: none; width: 20px; height: 20px; margin-top: 5px; color: var(--violet); opacity: .9; }

/* ================= quiz ================= */
.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; }
.quiz-top { padding: 22px 0 0; }

.progress-wrap { display: flex; align-items: center; gap: 14px; }
.progress-count {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}
.progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi));
  border-radius: 999px;
  transition: width .5s var(--ease);
  box-shadow: 0 0 10px rgba(203,168,105,.6);
}

.quiz-stage { flex: 1; display: flex; align-items: center; padding: 40px 0 60px; }
.quiz-card { width: 100%; }
.quiz-card .qnum {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.quiz-question {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 34px;
}

.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 19px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-line-soft);
  background: rgba(255,255,255,.02);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: left;
  transition: all .28s var(--ease);
}
.quiz-opt .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  flex: none;
  position: relative;
  transition: all .28s var(--ease);
}
.quiz-opt .dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-hi);
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.quiz-opt:hover { border-color: var(--gold-line); background: rgba(203,168,105,.06); transform: translateY(-1px); }
.quiz-opt.selected { border-color: var(--gold); background: rgba(203,168,105,.12); color: var(--ink); box-shadow: 0 0 24px -6px rgba(203,168,105,.45); }
.quiz-opt.selected .dot { border-color: var(--gold-hi); }
.quiz-opt.selected .dot::after { transform: scale(1); }

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--muted);
  opacity: .8;
  transition: opacity .25s;
}
.quiz-back:hover { opacity: 1; color: var(--gold-hi); }
.quiz-back svg { width: 13px; height: 13px; }

.quiz-intro { padding: 8px 0 10px; }

/* loading state */
.quiz-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.quiz-loading .orb {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  position: relative;
}
.quiz-loading .orb::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--gold-hi);
  border-right-color: var(--gold-hi);
  animation: spin 1.1s linear infinite;
}
.quiz-loading p {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= results ================= */
.result-bars { display: flex; flex-direction: column; gap: 22px; }

.disclaimer-block {
  padding: 32px 26px;
}
.disclaimer-block .warn-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-hi);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.disclaimer-block .warn-head svg { width: 20px; height: 20px; color: var(--gold); }
.disclaimer-block p { margin-bottom: 14px; font-size: 1.02rem; }
.disclaimer-block p:last-child { margin-bottom: 0; }
.cause-list { margin: 16px 0; padding-left: 0; }
.cause-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: .99rem;
  color: var(--ink-soft);
}
.cause-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 16px;
  width: 5px; height: 5px;
  background: var(--violet);
  transform: rotate(45deg);
}

.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold-hi);
}
.feature-item p { color: var(--ink-soft); font-size: 1.03rem; padding-top: 6px; }

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.meta-card { padding: 24px 22px; }
.meta-card h3 {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--gold-hi);
  margin-bottom: 10px;
  font-weight: 500;
}
.meta-card p { font-size: .96rem; line-height: 1.5; }
@media (max-width: 560px) {
  .meta-grid { grid-template-columns: 1fr; }
}

.safe-list { display: flex; flex-direction: column; gap: 14px; }
.safe-item { display: flex; gap: 14px; align-items: flex-start; }
.safe-item svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.safe-item p { font-size: 1rem; }

/* ================= lead form ================= */
.lead-form { padding: 34px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
}
.field input {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-line-soft);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  font-size: 1.08rem;
}
.field input::placeholder { color: var(--muted-dim); }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(203,168,105,.06); }
.form-note { font-size: .82rem; color: var(--muted-dim); text-align: center; margin-top: 14px; line-height: 1.5; }

.lead-success { display: none; text-align: center; padding: 20px 10px; }
.lead-success .check {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
}
.lead-success .check svg { width: 24px; height: 24px; color: var(--gold-hi); }
.lead-success h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 10px; font-weight: 500; }
.lead-success p { color: var(--ink-soft); }
