/* =========================================================
   viewd.io — funnel design system
   Near-black base · electric-indigo glow · Sora + Inter
   ========================================================= */

:root {
  /* surfaces */
  --bg:        #08080d;
  --bg-2:      #0b0b12;
  --surface:   #111119;
  --surface-2: #15151f;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  /* text */
  --text:      #f5f5fa;
  --muted:     #a3a3b8;
  --muted-2:   #7c7c92;

  /* accent — electric indigo/blue glow */
  --accent:    #5b5bff;
  --accent-2:  #6e8bff;
  --accent-3:  #8f7bff;
  --grad:      linear-gradient(110deg, #6e8bff 0%, #5b5bff 45%, #9b6bff 100%);
  --glow:      0 0 0 1px rgba(110,139,255,.35), 0 8px 40px -8px rgba(91,91,255,.55);
  --glow-soft: 0 10px 60px -20px rgba(91,91,255,.6);

  --radius:   18px;
  --radius-sm: 12px;
  --maxw:     1140px;
  --ease:     cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, p, blockquote, li { overflow-wrap: break-word; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-word, .stat-num {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: #cfd2ff; }
.nowrap { white-space: nowrap; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- ambient background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 540px; height: 540px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(91,91,255,.55), transparent 70%); animation: drift 22s var(--ease) infinite; }
.orb-2 { width: 460px; height: 460px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(155,107,255,.4), transparent 70%); animation: drift 28s var(--ease) infinite reverse; }
.orb-3 { width: 600px; height: 600px; bottom: -260px; left: 30%;
  background: radial-gradient(circle, rgba(110,139,255,.3), transparent 70%); animation: drift 34s var(--ease) infinite; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.12); }
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.btn-primary {
  color: #fff; background: var(--accent);
  background-image: var(--grad);
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(110,139,255,.6), 0 16px 50px -10px rgba(91,91,255,.8); }

.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.04);
  border-color: var(--line-2); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(110,139,255,.5); box-shadow: var(--glow-soft); }
.play-dot { font-size: 12px; color: var(--accent-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,8,13,.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { filter: drop-shadow(0 0 10px rgba(91,91,255,.5)); }
.brand-word { font-weight: 800; font-size: 21px; }
.brand-word .dot { color: var(--accent-2); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 64px; text-align: center; }
.hero-inner { max-width: 880px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(91,91,255,.07); margin-bottom: 26px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 800; margin-bottom: 24px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 660px; margin: 0 auto 36px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { font-size: 14px; color: var(--muted-2); }
.hero-trust strong { color: var(--text); }
.stars { color: #ffc24b; letter-spacing: 1px; }

/* ---------- stat bar ---------- */
.statbar { padding: 28px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(91,91,255,.05), transparent); }
.statbar-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 800; }
.stat:nth-child(-n+3) .stat-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat:last-child .stat-num { font-size: clamp(.95rem,1.6vw,1.15rem); color: var(--text); line-height: 1.3; padding-top: 8px; }
.stat-label { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.method, .results, .testimonials, .faq, .apply, .reframe, .vsl-section, .fit, .guarantee, .final-cta { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- vsl ---------- */
.vsl-section { padding-top: 64px; }
.vsl-frame {
  position: relative; aspect-ratio: 16/9; max-width: 920px; margin: 0 auto; border-radius: var(--radius);
  border: 1px solid var(--line-2); overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse at center, #16162a, #0a0a12);
  box-shadow: var(--glow-soft); transition: transform .3s var(--ease), box-shadow .3s;
}
.vsl-frame:hover { transform: translateY(-3px); box-shadow: 0 30px 80px -20px rgba(91,91,255,.7); }
.vsl-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.vsl-play {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 0 50px rgba(91,91,255,.7); animation: pulse 2.4s var(--ease) infinite;
}
.vsl-play span { color: #fff; font-size: 26px; margin-left: 5px; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 40px rgba(91,91,255,.55);} 50% { box-shadow: 0 0 70px rgba(91,91,255,.9);} }
.vsl-time { font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); padding: 3px 10px; border-radius: 999px; }
.vsl-caption { font-family: 'Sora'; font-weight: 600; color: var(--text); }

/* ---------- reframe ---------- */
.reframe { text-align: center; }
.reframe-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 700; margin-bottom: 28px; }
.reframe-body { color: var(--muted); font-size: 1.18rem; margin-bottom: 18px; }
.reframe-body strong { color: var(--text); }

/* ---------- method ---------- */
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.m-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.m-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.m-card:hover { transform: translateY(-4px); box-shadow: var(--glow-soft); }
.m-card:hover::before { opacity: 1; }
.m-letter {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font-family: 'Sora'; font-weight: 800; font-size: 22px; color: var(--accent-2);
  background: rgba(91,91,255,.1); border: 1px solid var(--line-2); margin-bottom: 18px;
}
.m-card.accent .m-letter { color: #fff; background: var(--grad); box-shadow: 0 0 24px rgba(91,91,255,.6); }
.m-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.m-card p { color: var(--muted); font-size: .98rem; }

/* ---------- results / cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.case {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.case:hover { transform: translateY(-4px); border-color: rgba(110,139,255,.4); box-shadow: var(--glow-soft); }
.case-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-name { font-family: 'Sora'; font-weight: 700; font-size: 1.1rem; }
.case-tag { font-size: 12px; color: var(--muted-2); border: 1px solid var(--line-2); padding: 3px 10px; border-radius: 999px; }
.case-headline { font-family: 'Sora'; font-weight: 700; font-size: 1.6rem; margin-bottom: 18px; }
.case-stats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: .96rem; }
.case-stats b { color: var(--text); }
.case-cta { font-family: 'Sora'; font-weight: 600; font-size: .95rem; color: var(--accent-2); transition: gap .2s; display: inline-flex; gap: 4px; }
.case-cta:hover { color: #fff; }
.ftc-note { text-align: center; max-width: 760px; margin: 38px auto 0; font-size: .85rem; color: var(--muted-2); }

/* ---------- network ---------- */
.network { padding: 46px 0; border-block: 1px solid var(--line); text-align: center; }
.network-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.network-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; font-family: 'Sora'; font-weight: 600; font-size: 1.05rem; color: var(--muted); }
.network-row .sep { color: var(--accent); }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 40px; }
.quote { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.quote .stars { display: block; margin-bottom: 14px; font-size: 14px; }
.quote blockquote { font-size: 1.05rem; color: var(--text); margin-bottom: 18px; }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--text); font-family: 'Sora'; }
.wins { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.win-tile {
  aspect-ratio: 4/3; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px), var(--surface-2);
  border: 1px dashed var(--line-2); color: var(--muted-2); font-size: .8rem;
}

/* ---------- fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-col { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.fit-col h3 { font-size: 1.3rem; margin-bottom: 20px; }
.fit-yes { color: #6ee7a8; } .fit-no { color: #ff8a8a; }
.fit-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.fit-col li { position: relative; padding-left: 30px; color: var(--muted); }
.fit-yes ~ ul li::before, .fit-col li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
}
.fit-col:first-child li::before { background: radial-gradient(circle, #6ee7a8, transparent 65%); }
.fit-col:last-child li::before { background: radial-gradient(circle, #ff8a8a, transparent 65%); }

/* ---------- guarantee ---------- */
.guarantee-card {
  text-align: center; padding: 54px 44px; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(91,91,255,.16), var(--surface));
  border: 1px solid rgba(110,139,255,.35); box-shadow: var(--glow-soft);
}
.shield {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 22px;
  font-size: 30px; color: #fff; background: var(--grad); box-shadow: 0 0 40px rgba(91,91,255,.7);
}
.guarantee-card h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); margin-bottom: 12px; }
.guarantee-lead { font-family: 'Sora'; font-weight: 600; font-size: 1.25rem; color: var(--accent-2); margin-bottom: 22px; }
.guarantee-card p { color: var(--muted); max-width: 620px; margin: 0 auto 14px; }
.guarantee-card p strong { color: var(--text); }
.guarantee-fine { font-size: .9rem; color: var(--muted-2); }

/* ---------- apply form ---------- */
.apply { background: linear-gradient(180deg, transparent, rgba(91,91,255,.04)); padding: 48px 0 60px; }
.apply .section-head { margin-bottom: 26px; }
.apply-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px;
  box-shadow: var(--glow-soft);
}
.form-progress { height: 4px; border-radius: 4px; background: var(--surface-2); margin-bottom: 30px; overflow: hidden; }
#formProgressBar { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: 4px; transition: width .4s var(--ease); }
.step { border: 0; display: none; animation: stepIn .4s var(--ease); }
.step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }
.step legend { font-family: 'Sora'; font-weight: 700; font-size: 1.3rem; margin-bottom: 22px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-grid--stack { grid-template-columns: 1fr; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span {
  display: block; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); transition: .2s; font-weight: 500;
}
.opt:hover span { border-color: rgba(110,139,255,.5); }
.opt input:checked + span { border-color: var(--accent-2); background: rgba(91,91,255,.14); box-shadow: var(--glow); }
.opt input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
textarea, .apply-form input[type=text], .apply-form input[type=email], .lead-form input {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
textarea:focus, input:focus { outline: 0; border-color: var(--accent-2); box-shadow: var(--glow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-nav .btn-primary { margin-left: auto; }
.form-error { text-align: center; color: #ff8a8a; margin-top: 16px; font-size: .92rem; }

/* outcomes */
.outcome { text-align: center; padding: 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid rgba(110,139,255,.35); box-shadow: var(--glow-soft); }
.outcome h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.outcome > p { color: var(--muted); max-width: 540px; margin: 0 auto 18px; }
.outcome-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 6px 16px; border-radius: 999px; }
.outcome-badge.alt { background: rgba(91,91,255,.16); color: var(--accent-2); border: 1px solid var(--line-2); }
.calendar-embed { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.calendar-embed .calendly-inline-widget { width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.calendar-fallback { font-size: 0.85rem; color: var(--muted-2); text-align: center; }
.calendar-fallback a { color: var(--brand); text-decoration: underline; }
.calendar-placeholder { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px; width: 100%; color: var(--muted-2); }
.lead-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.lead-form input { flex: 1; }
.lead-fine { font-size: .82rem; color: var(--muted-2); margin-top: 14px; }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: rgba(110,139,255,.4); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-family: 'Sora'; font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-2); font-size: 1.5rem; font-weight: 400; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- final cta ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem,4.4vw,3rem); max-width: 760px; margin: 0 auto 14px; }
.final-cta p { color: var(--muted); margin-bottom: 32px; font-size: 1.1rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand img, .footer-brand .brand-word { display: inline; }
.footer-brand p { color: var(--muted-2); font-size: .92rem; margin-top: 6px; }
.footer-links { display: flex; gap: 26px; align-items: flex-start; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-legal { padding-top: 28px; color: var(--muted-2); font-size: .82rem; display: flex; flex-direction: column; gap: 12px; }
.disclaimer { max-width: 880px; line-height: 1.5; }
.footer-mini a:hover { color: var(--text); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
/* Global: author .btn{display:inline-flex} beats the UA [hidden]{display:none},
   so the hidden attribute was being ignored on buttons (Back/Continue/Submit all showed).
   This forces hidden to win everywhere. */
[hidden] { display: none !important; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,4,8,.85); backdrop-filter: blur(8px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-body { position: relative; width: min(960px, 100%); }
.modal-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
.modal-video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--glow-soft); }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.modal-video-placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--surface); color: var(--muted); text-align: center; padding: 24px; }
.modal-video-placeholder code { color: var(--accent-2); font-size: .85rem; background: var(--bg-2); padding: 8px 12px; border-radius: 8px; }

/* (Apply modal removed — the questionnaire is inline in the page, under the video.) */

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 20px; border-radius: 999px; font-family: 'Sora'; font-weight: 600; color: #fff;
  background-image: var(--grad); box-shadow: 0 12px 40px -6px rgba(91,91,255,.75);
  transform: translateY(150%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta:active { transform: scale(.98); }
@media (max-width: 720px) { .sticky-cta { display: flex; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .method-grid, .case-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .statbar-inner { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .wins { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(8,8,13,.96); backdrop-filter: blur(14px); padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .method-grid, .case-grid, .quote-grid, .fit-grid, .opt-grid, .field-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .method, .results, .testimonials, .faq, .apply, .reframe, .fit, .guarantee, .final-cta { padding: 64px 0; }
  .lead-form { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero-sub { font-size: 1.02rem; }
  .reframe-title { font-size: 1.7rem; }
  .section-head h2, .final-cta h2, .guarantee-card h2 { font-size: 1.55rem; }
  .case-headline { font-size: 1.4rem; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .container { padding: 0 18px; }
}

/* ============================================================
   ADVANCED FX LAYER — atmosphere · motion · depth · kinetic
   ============================================================ */

/* layering */
.bg-orbs { z-index: -3; }
.space   { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-grid { z-index: -2; }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; z-index: -1;
  margin: -240px 0 0 -240px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(110,139,255,.15), transparent 62%);
  opacity: 0; transition: opacity .4s ease; will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 100;
  background: var(--grad); box-shadow: 0 0 12px rgba(110,139,255,.85);
}

/* hero — orchestrated cinematic load (auto-plays, no JS dependency) */
.hero .eyebrow { opacity: 0; animation: heroIn .9s var(--ease) .05s both; }
.hero-title    { opacity: 0; animation: heroIn 1s  var(--ease) .18s both; }
.hero-sub      { opacity: 0; animation: heroIn 1s  var(--ease) .42s both; }
.hero-cta      { opacity: 0; animation: heroIn .9s var(--ease) .62s both; }
.hero-trust    { opacity: 0; animation: heroIn .9s var(--ease) .80s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
/* animated sheen on the key phrase */
.hero-title .grad { background-size: 220% 100%; animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: 220% 0; } }

/* 3D tilt depth on cards */
.method-grid, .case-grid { perspective: 1200px; }
.m-card, .case { transform-style: preserve-3d; will-change: transform; }
.m-card .m-letter, .case-headline { transform: translateZ(30px); }

/* CTA shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: shine .9s ease; }
@keyframes shine { to { left: 140%; } }

/* ===== Kinetic VSL (the signature moment) ===== */
.kvsl-frame {
  position: relative; aspect-ratio: 16/9; max-width: 940px; margin: 0 auto;
  border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: var(--glow-soft);
  background:
    radial-gradient(ellipse 70% 90% at 50% 125%, rgba(91,91,255,.24), transparent 70%),
    radial-gradient(ellipse at center, #11111f, #08080f);
}
.kvsl-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(110,139,255,.12), transparent 55%);
}
.kvsl-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }
.kvsl-line {
  grid-area: 1 / 1; max-width: 92%;
  font-family: 'Sora'; font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(1.5rem, 4.4vw, 3rem); color: var(--text);
  opacity: 0; transform: translateY(26px) scale(.97); filter: blur(10px);
}
.kvsl-line.in  { opacity: 1; transform: none; filter: blur(0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.kvsl-line.out { opacity: 0; transform: translateY(-22px) scale(1.03); filter: blur(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.kvsl-line em { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.kvsl-letters { display: flex; gap: clamp(8px,1.6vw,14px); justify-content: center; }
.kvsl-letters span {
  display: inline-grid; place-items: center;
  width: clamp(46px,9vw,82px); height: clamp(46px,9vw,82px);
  border-radius: 16px; border: 1px solid var(--line-2); background: rgba(91,91,255,.1);
  font-family: 'Sora'; font-weight: 800; font-size: clamp(1.4rem,3.2vw,2.3rem); color: var(--accent-2);
  opacity: 0; transform: translateY(16px) scale(.8);
}
.kvsl-letters.in span { animation: letterPop .55s var(--ease) forwards; }
.kvsl-letters.in span:nth-child(1){ animation-delay:.06s }
.kvsl-letters.in span:nth-child(2){ animation-delay:.18s }
.kvsl-letters.in span:nth-child(3){ animation-delay:.30s }
.kvsl-letters.in span:nth-child(4){ animation-delay:.42s }
.kvsl-letters.in span:nth-child(5){ animation-delay:.54s; color:#fff; background:var(--grad); box-shadow:0 0 26px rgba(91,91,255,.6); }
@keyframes letterPop { to { opacity: 1; transform: none; } }
.kvsl-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.07); }
.kvsl-progress i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(91,91,255,.8); }
.kvsl-cc {
  position: absolute; top: 14px; right: 14px; z-index: 2; font-family: 'Inter'; font-size: 12px;
  color: var(--muted); background: rgba(8,8,13,.5); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 13px; cursor: pointer; backdrop-filter: blur(6px); transition: color .2s, border-color .2s;
}
.kvsl-cc:hover { color: var(--text); border-color: var(--line-2); }

/* reduced motion: calm everything */
@media (prefers-reduced-motion: reduce) {
  .space, .cursor-glow { display: none; }
  .hero .eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-trust { animation: none; opacity: 1; }
  .hero-title .grad { animation: none; }
  .m-card .m-letter, .case-headline { transform: none; }
  .kvsl-line { transition: opacity .3s ease; }
  .kvsl-letters.in span { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .cursor-glow { display: none; }
  .m-card .m-letter, .case-headline { transform: none; }
}

/* ============================================================
   WOW v2 — warp · film grain · cinematic reveals · HUD console
   ============================================================ */

/* film grain (cinematic texture) */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .55s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 33% { transform: translate(-3%,2%); }
  66% { transform: translate(2%,-3%); } 100% { transform: translate(0,0); }
}
/* cinematic vignette */
.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 110% 100% at 50% 42%, transparent 58%, rgba(0,0,0,.5) 100%);
}

/* cinematic heading reveal — clip wipe up */
.section-head h2, .reframe-title { clip-path: inset(0 0 110% 0); transition: clip-path 1s var(--ease) .08s; }
.section-head.in h2 { clip-path: inset(0 0 -8% 0); }
.reframe .reveal.in .reframe-title { clip-path: inset(0 0 -8% 0); }

/* kinetic VSL — console HUD */
.kvsl-corner { position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none; border: 2px solid rgba(110,139,255,.55); }
.kvsl-corner.tl { top: 13px; left: 13px;  border-right: 0; border-bottom: 0; border-radius: 7px 0 0 0; }
.kvsl-corner.tr { top: 13px; right: 13px; border-left: 0;  border-bottom: 0; border-radius: 0 7px 0 0; }
.kvsl-corner.bl { bottom: 13px; left: 13px;  border-right: 0; border-top: 0; border-radius: 0 0 0 7px; }
.kvsl-corner.br { bottom: 13px; right: 13px; border-left: 0;  border-top: 0; border-radius: 0 0 7px 0; }
.kvsl-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 16%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(110,139,255,.14), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(-25%); opacity: 0; } 8% { opacity: 1; }
  92% { opacity: 1; } 100% { transform: translateY(640%); opacity: 0; }
}
.kvsl-letters { position: relative; }
.kvsl-letters.in::after {
  content: ""; position: absolute; inset: -45%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(91,91,255,.4), transparent 62%);
  opacity: 0; animation: pulseGlow 1.3s var(--ease) .5s;
}
@keyframes pulseGlow {
  0% { opacity: 0; transform: scale(.55); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .kvsl-scan, .kvsl-letters.in::after { display: none; }
  .section-head h2, .reframe-title { clip-path: none; }
}
@media (max-width: 720px) {
  .grain { display: none; }          /* blend-mode is costly on mobile GPUs */
  .kvsl-corner { width: 15px; height: 15px; }
}

/* ---- mobile performance: cut always-on GPU work, keep the look ----
   Phones can't sustain the canvas starfield + 3 animated blur layers +
   backdrop-blur. We drop those on small screens and lean on a static glow. */
@media (max-width: 820px) {
  .space  { display: none; }                         /* no constant canvas rAF */
  .grain  { display: none; }
  .orb    { animation: none !important; filter: blur(64px); opacity: .32; }  /* no re-blur on scale */
  .orb-3  { display: none; }                          /* one fewer huge blur layer */
  .hero-title .grad { animation: none; }              /* stop the looping sheen */
  .kvsl-scan { display: none; }                       /* stop the looping scan */
  .kvsl-line, .kvsl-line.in, .kvsl-line.out { filter: none; }  /* no blur transitions */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8,8,13,.95); }
  .nav.open .nav-links { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8,8,13,.98); }
}
