/* Theme sampled from the reference PDF: blue-violet (top-left) -> near-black -> purple (bottom-right),
   magenta headings, gold CTA. */
:root {
  --page: #0c0016;
  --pdf-blue: #2a0590;
  --pdf-purple: #7814d8;
  --magenta: #ee39fa;
  --ink: #1d1838;          /* text inside white cards */
  --text: #ece6fb;         /* text on the dark page */
  --muted: #b9b0d6;
  --line: rgba(255, 255, 255, .12);
  --card: rgba(255, 255, 255, .045);
  --soft: rgba(255, 255, 255, .06);
  --white: #fff;
  --dark: #12022e;
  --violet: #a35cff;
  --violet-soft: rgba(163, 92, 255, .16);
  --gold: #efb201;
  --gold-hover: #d99f00;
  --red: #e0384f;
  --green: #16a34a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 10, 51, .06), 0 2px 8px rgba(20, 10, 51, .06);
  --shadow-md: 0 10px 30px -12px rgba(20, 10, 51, .25);
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Arial resized to Poppins' metrics, so text doesn't jump (layout shift) when Poppins finishes loading */
@font-face {
  font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; } /* slide-in reveals must not cause sideways scroll; clip (not hidden) keeps position: sticky working */
body { margin: 0; font: 400 16px/1.7 var(--font); color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
/* Fixed page gradient, same as the reference site (a fixed layer instead of background-attachment, which mobile Safari ignores) */
body::before {
  content: ""; position: fixed; inset: -8%; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(70% 60% at 0% 0%, var(--pdf-blue) 0%, rgba(42, 5, 144, 0) 70%),
    radial-gradient(60% 55% at 100% 100%, var(--pdf-purple) 0%, rgba(120, 20, 216, 0) 72%),
    linear-gradient(135deg, #14024f 0%, var(--page) 42%, var(--page) 62%, #2a0258 100%);
  animation: page-drift 24s ease-in-out infinite alternate;
}
/* transform (GPU) instead of background-position, which would repaint the whole screen every frame */
@keyframes page-drift { from { transform: translate(-3%, -3%); } to { transform: translate(3%, 3%); } }
h1, h2, h3, strong { color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 96px 0; }
/* Sections sit on the page gradient; band-soft adds a faint violet wash to separate sections */
.band-soft { background: linear-gradient(180deg, rgba(120, 20, 216, 0), rgba(120, 20, 216, .1) 50%, rgba(120, 20, 216, 0)); }
/* Highlighted heading words: magenta with a bright moving glint */
.pink {
  color: var(--magenta);
  background: linear-gradient(110deg, #c21fd0 0%, #ee39fa 32%, #ffe3fd 50%, #ee39fa 68%, #c21fd0 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: text-shine 3.8s linear infinite;
}
/* White cards keep dark text */
.light-card { --muted: #5f5a75; --line: #e6e2f0; --soft: #f6f4fb; color: var(--ink); }
.light-card h2, .light-card h3, .light-card strong { color: var(--ink); }

/* Icons */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--violet-soft); color: var(--violet); }
.icon-badge .ic { width: 22px; height: 22px; }

/* Section headings */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { margin-bottom: 0; }
.sec-lead { color: var(--muted); margin: 14px 0 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin-bottom: 12px; }
h2.left { text-align: left; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; /* full pill shape */
  font: 700 16px/1.2 var(--font); transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
/* Premium metallic gold with black text */
.btn-primary {
  color: #0d0a00; border: 1px solid #ffe58f;
  background: linear-gradient(180deg, #fff4b8 0%, #ffd84d 18%, #f5bd0a 48%, #d99a00 78%, #f7c531 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(120, 70, 0, .25), 0 0 0 1px rgba(120, 70, 0, .35), 0 10px 28px -8px rgba(239, 178, 1, .75);
}
.btn-primary:hover { filter: brightness(1.08) saturate(1.1); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(120, 70, 0, .25), 0 0 0 1px rgba(120, 70, 0, .35), 0 16px 36px -8px rgba(239, 178, 1, .95); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
/* Bright light sweep across every button, plus a soft glint */
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -80%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .25) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, .25) 70%, transparent 100%);
  transform: skewX(-22deg); animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine { 0%, 45% { left: -80%; } 100% { left: 135%; } }

/* Attention effects: breathe (scale), float (bob), shake (periodic wiggle) */
.breathe { animation: breathe 2.6s ease-in-out infinite; }
.float { animation: float 3.2s ease-in-out infinite; }
.shake { animation: shake 5s ease-in-out infinite; }
.breathe:hover, .float:hover, .shake:hover { animation-play-state: paused; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } } /* transform only: no repaint */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes shake {
  0%, 82%, 100% { transform: none; }
  84% { transform: translateX(-4px) rotate(-2deg); } 86% { transform: translateX(4px) rotate(2deg); }
  88% { transform: translateX(-4px) rotate(-1.5deg); } 90% { transform: translateX(3px) rotate(1deg); }
  92% { transform: translateX(-2px); } 94% { transform: translateX(1px); }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Top bar + nav */
/* Top ticker: loops left to right */
/* Metallic gold bar with a light sweep (sweep is a pseudo-element moved by transform, no repaint of the text) */
.topbar {
  position: relative; overflow: hidden; color: #1f1300; font-size: 14px; font-weight: 600;
  background: linear-gradient(90deg, #c9971c 0%, #f0c43a 22%, #ffe9a3 50%, #f0c43a 78%, #c9971c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 70, 0, .35);
}
.topbar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: translateX(-120%) skewX(-20deg); animation: bar-shine 4.5s ease-in-out infinite;
}
@keyframes bar-shine { 0%, 40% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(420%) skewX(-20deg); } }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.topbar:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 22px; padding: 10px 0 10px 22px; white-space: nowrap; }
.tick strong { color: #3b0a78; font-weight: 700; }
/* Gemini-style sparkle separator with a soft glow */
.spark { width: 15px; height: 15px; flex: none; filter: drop-shadow(0 0 4px rgba(155, 92, 255, .9)) drop-shadow(0 0 8px rgba(255, 95, 162, .55)); animation: twinkle 2.4s ease-in-out infinite; }
.tick:nth-child(even) .spark { animation-delay: -1.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.85) rotate(0deg); opacity: .85; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@keyframes ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(12, 0, 22, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { color: #fff; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
/* Language toggle (EN / தமிழ்) in the header */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.lang-switch a { padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="page"] { background: var(--gold); color: #111; }
/* Tamil page: Poppins for Latin letters, Noto Sans Tamil for Tamil letters */
html:lang(ta) { --font: "Poppins", "Noto Sans Tamil", "Poppins Fallback", system-ui, sans-serif; }
html:lang(ta) h1 { font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.35; }
html:lang(ta) h2 { line-height: 1.4; }
.nav .btn-sm { white-space: nowrap; }
@media (max-width: 520px) { .brand-name { display: none; } }
.brand-face { width: 40px; height: 40px; border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(239, 178, 1, .18); }
/* Business logo on a white circle (header, sticky bar, popup, reserve card): no zoom, so the full mark stays visible */
.logo-wrap { display: grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: #fff; }
.logo-wrap img { width: 82%; height: 82%; object-fit: contain; }
/* Round face photo: the border stays still, the photo inside slowly zooms in and out */
.face-wrap { display: block; flex: none; border-radius: 50%; overflow: hidden; }
.face-wrap img { width: 100%; height: 100%; object-fit: cover; animation: face-zoom 5s ease-in-out infinite alternate; }
@keyframes face-zoom { from { transform: scale(1); } to { transform: scale(1.16) translateY(3%); } }

/* Hero */
.hero { padding: 36px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
/* Hero headline effects */
.hero-title { position: relative; isolation: isolate; }
.shine-text {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #fff3c4 46%, #ffd54a 50%, #fff3c4 54%, #fff 60%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 4.5s linear infinite;
}
.eyebrow .shine-text { background-image: linear-gradient(100deg, var(--magenta) 0%, var(--magenta) 40%, #ffe9ff 48%, #fff 50%, #ffe9ff 52%, var(--magenta) 60%, var(--magenta) 100%); }
@keyframes text-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
/* Multi-colour flowing gradient text ("Just 2 Days") */
.hl-grad {
  background: linear-gradient(90deg, #ffd54a, #ff9f1c, #ff5fa2, #ee39fa, #b26bff, #ffd54a);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-flow 5s linear infinite;
}
@keyframes grad-flow { to { background-position: 300% 0; } }
/* Metallic gold text with a moving glint */
.gold-shine, .gold-text {
  background: linear-gradient(110deg, #c9971c 0%, #e0b13a 30%, #fff1b8 50%, #e0b13a 70%, #c9971c 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 4s linear infinite;
}
.gold-text { font-weight: 600; }

/* Hand-drawn marks (circle / double underline / wave). The SVG is injected by script.js
   for every [data-mark] element, and draws itself when the element scrolls into view. */
[data-mark] { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.mk-svg { position: absolute; pointer-events: none; overflow: visible; z-index: -1; }
[data-mark="circle"] > .mk-svg { left: -12%; top: -26%; width: 124%; height: 152%; }
[data-mark="underline"] > .mk-svg { left: -3%; bottom: -.34em; width: 106%; height: .5em; }
[data-mark="wave"] > .mk-svg { left: -2%; bottom: -.36em; width: 104%; height: .42em; }
.mk-svg path {
  fill: none; stroke: url(#mk-gold); stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1);
}
.mk-svg path.mk-p2 { transition-delay: .55s; transition-duration: .45s; }
.mk-on > .mk-svg path { stroke-dashoffset: 0; }
.mk-on > .mk-svg { filter: drop-shadow(0 0 3px rgba(224, 177, 58, .55)); }
.mk-pink .mk-svg path { stroke: url(#mk-pink); }
.lead { font-size: 1.125rem; color: #cfc8e6; max-width: 560px; }
.meta { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.meta li { display: flex; align-items: center; gap: 8px; }
.meta .ic { color: var(--gold); width: 18px; height: 18px; }
.countdown { display: flex; gap: 10px; margin-bottom: 32px; }
.countdown div { min-width: 76px; padding: 10px 8px; text-align: center; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.countdown b { display: block; font-size: 24px; font-weight: 600; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #a79fc7; }
.countdown:not(.live) { display: none; } /* hidden until JS confirms the date is still ahead: no layout jump */
/* Pause every animation in sections that are off screen (toggled in script.js) to save CPU/battery */
.offscreen, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; }
/* Hero image with a running border line */
.frame-line { position: relative; padding: 6px; }
.frame-line .kb { border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.border-run { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.border-run rect { fill: none; vector-effect: non-scaling-stroke; }
.br-base { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; }
.br-run { stroke: url(#br-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 24 76; animation: border-run-svg 5s linear infinite; }
.br-run-2 { stroke-dasharray: 12 88; animation-delay: -2.5s; opacity: .7; }
@keyframes border-run-svg { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.hero-meta { justify-content: center; margin: 22px 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.hero-side .countdown { justify-content: center; }
.live-badge { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(13, 6, 36, .75); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* Ken Burns: slow zoom/pan on still images */
.kb { overflow: hidden; }
/* Keyframed slow zoom + drift on Dharshan's single photos (hero, principles, coach portrait, thank-you) */
.kb img { animation: kb 9s ease-in-out infinite alternate; transform-origin: 55% 35%; }
@keyframes kb {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.07) translate(-1%, .5%); }
  100% { transform: scale(1.12) translate(1%, 1.5%); }
}

.hero-media figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding: 0 4px; }
.hero-media strong { font-size: 1.125rem; }
.hero-media span { font-size: 14px; color: #b9b2d6; }

/* Hero stage: Dharshan's photo on a glowing ring backdrop with floating credential chips */
.hero-stage { position: relative; isolation: isolate; padding: 4% 0 0; }
.hs-bg { position: absolute; inset: -6% -4% -2%; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(farthest-side, #000 75%, transparent); mask-image: radial-gradient(farthest-side, #000 75%, transparent);
  background: radial-gradient(55% 45% at 45% 40%, rgba(120, 20, 216, .55), transparent 70%), radial-gradient(40% 35% at 80% 85%, rgba(238, 57, 250, .22), transparent 70%); }
.hs-ring { position: absolute; left: 44%; top: 36%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 2px solid rgba(239, 178, 1, .75); box-shadow: 0 0 28px rgba(239, 178, 1, .35), inset 0 0 28px rgba(239, 178, 1, .2); }
.hs-ring::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 3px; animation: spin 9s linear infinite;
  background: conic-gradient(from 0deg, transparent 0 75%, #fff1b8 88%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hs-orbit { position: absolute; left: 44%; top: 36%; width: 106%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dotted rgba(255, 255, 255, .22); animation: spin 60s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
.hs-line { position: absolute; width: 1.5px; height: 140%; top: -20%; background: linear-gradient(transparent, rgba(239, 178, 1, .55) 40%, rgba(255, 255, 255, .35) 60%, transparent); rotate: 32deg; }
.hs-line-1 { left: 72%; }
.hs-line-2 { left: 22%; opacity: .5; }
.hs-orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--violet) 45%, transparent 72%); filter: blur(.5px); animation: chip-float 6s ease-in-out infinite; }
.hs-orb-1 { width: 18px; height: 18px; left: 26%; top: 6%; }
.hs-orb-2 { width: 30px; height: 30px; left: 4%; bottom: 10%; opacity: .6; animation-delay: -3s; }
.hs-logo { position: absolute; right: 2%; bottom: 4%; width: 34%; opacity: .1; filter: grayscale(1) brightness(2.2); }
/* Cut-out photo (transparent bg): soft glow outline, bottom fades into the page */
.hs-photo { width: 70%; margin-left: 4%; }
.hs-photo img { width: 100%; display: block; filter: drop-shadow(0 0 18px rgba(163, 92, 255, .45)) drop-shadow(0 20px 30px rgba(0, 0, 0, .5));
  -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.hs-chips { list-style: none; margin: 0; padding: 0; position: absolute; right: 0; top: 16%; display: grid; justify-items: end; gap: 12px; max-width: 58%; }
.hs-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; text-align: left;
  background: rgba(20, 6, 46, .72); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); animation: chip-float 5s ease-in-out infinite; }
.hs-chip:nth-child(2) { animation-delay: -1.7s; }
.hs-chip:nth-child(3) { animation-delay: -3.4s; }
.hs-chip > img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.hs-chip > .ic { width: 22px; height: 22px; color: var(--gold); flex: none; }
.hs-chip span { display: grid; line-height: 1.25; }
.hero-media .hs-chip b { font-size: 14px; font-weight: 600; color: #fff; }
.hero-media .hs-chip small { font-size: 12px; color: #c9c0e6; }
.hs-chip-light { background: #fff; border-color: #fff; gap: 8px; }
.hero-media .hs-chip-light small { color: #6b6585; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: 11px; }
.hero-media .hs-chip-light b { color: var(--pdf-purple); font-size: 20px; }
@keyframes chip-float { 50% { translate: 0 -6px; } }
@media (max-width: 520px) {
  .hs-photo { width: 74%; margin-left: 0; }
  .hs-chips { max-width: 64%; gap: 8px; top: 34%; } /* below the face on narrow screens */
  .hs-chip { padding: 7px 10px; gap: 7px; border-radius: 11px; }
  .hero-media .hs-chip b { font-size: 12px; }
  .hero-media .hs-chip small { font-size: 10.5px; }
  .hs-chip > img { width: 24px; height: 24px; }
  .hs-chip > .ic { width: 18px; height: 18px; }
}

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px 16px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item > .ic { width: 28px; height: 28px; color: var(--violet); }
.proof-item .ic-fill { color: var(--gold); }
.proof-item b { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.proof-item div > span { font-size: 14px; color: var(--muted); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-card { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.media-card img { width: 100%; }
.h3-icon { display: flex; align-items: center; gap: 14px; font-size: 1.375rem; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; }
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(34, 197, 94, .18); color: #4ade80; stroke-width: 3; margin-top: 2px; }

/* 23-Hour Clock (principles section) */
.split:has(.clock) { grid-template-columns: .8fr 1.2fr; gap: 48px; }
.clock { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.clock-dial { width: 100%; }
.clock-dial circle { fill: none; }
.clock-ticks { stroke: rgba(255, 255, 255, .25); stroke-width: 6; stroke-dasharray: 1 3.35; }
.clock-track { stroke: rgba(255, 255, 255, .08); stroke-width: 14; }
.clock-seg { stroke: var(--gold); stroke-width: 14; stroke-dasharray: 23.5 76.5; stroke-linecap: round; opacity: .12; transition: opacity .5s; }
.clock-seg:nth-of-type(4) { stroke: #ff9f1c; } .clock-seg:nth-of-type(5) { stroke: #ff5fa2; } .clock-seg:nth-of-type(6) { stroke: var(--magenta); } .clock-seg:nth-of-type(7) { stroke: #b26bff; }
.clock-seg.on { opacity: 1; }
.clock-hand { stroke: #fff; stroke-width: 3; stroke-linecap: round; transform-origin: 120px 120px; animation: clock-spin 7.2s linear infinite; }
@keyframes clock-spin { to { transform: rotate(360deg); } }
.clock-big { fill: #fff; font: 700 38px var(--font); text-anchor: middle; }
.clock-sub { fill: var(--muted); font: 500 11px var(--font); text-anchor: middle; letter-spacing: .1em; }
.clock-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.clock-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); opacity: .5; transform: translateX(8px); transition: opacity .5s, transform .5s, border-color .5s, background .5s, box-shadow .5s; }
.clock-item .n { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--gold); }
.clock-item b { display: block; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.35; }
.clock-item small { color: var(--muted); font-size: 13px; }
.clock-item.on { opacity: 1; transform: none; border-color: rgba(239, 178, 1, .5); background: rgba(239, 178, 1, .08); box-shadow: 0 10px 30px -12px rgba(239, 178, 1, .5); }

/* Before / After table (say-goodbye section). Runs once when .ba gets .in on scroll: each row strikes, then its result fades in */
.ba { max-width: 880px; margin: 0 auto; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; }
.ba-row + .ba-row { border-top: 1px solid var(--line); }
.ba-row > div { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; }
.ba-row > div + div { border-left: 1px solid var(--line); }
.ba .ic { width: 18px; height: 18px; margin-top: 4px; stroke-width: 2.5; }
.ba-head > div { align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ba-head .ic { margin-top: 0; }
.ba-b { color: #ff8a98; background: rgba(255, 90, 110, .08); }
.ba-a { color: #4ade80; background: rgba(74, 222, 128, .08); }
.ba-old { color: #d5cfe8; }
.ba-old .ic { color: #ff5a6e; }
.ba-old span { text-decoration: line-through 2px transparent; transition: text-decoration-color .6s ease, color .6s; }
.ba-new { color: #fff; font-weight: 500; opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; }
.ba-new .ic { color: #4ade80; }
.ba.in .ba-old span { text-decoration-color: #ff5a6e; color: #a69ec2; }
.ba.in .ba-new { opacity: 1; transform: none; }
.ba.in .ba-row:nth-child(2) .ba-old span { transition-delay: .5s; } .ba.in .ba-row:nth-child(2) .ba-new { transition-delay: .9s; }
.ba.in .ba-row:nth-child(3) .ba-old span { transition-delay: 1s; } .ba.in .ba-row:nth-child(3) .ba-new { transition-delay: 1.4s; }
.ba.in .ba-row:nth-child(4) .ba-old span { transition-delay: 1.5s; } .ba.in .ba-row:nth-child(4) .ba-new { transition-delay: 1.9s; }
.ba.in .ba-row:nth-child(5) .ba-old span { transition-delay: 2s; } .ba.in .ba-row:nth-child(5) .ba-new { transition-delay: 2.4s; }
.ba.in .ba-row:nth-child(6) .ba-old span { transition-delay: 2.5s; } .ba.in .ba-row:nth-child(6) .ba-new { transition-delay: 2.9s; }

/* Auto-moving galleries (infinite loop; items are cloned in JS) */
.gallery { overflow: hidden; padding: 12px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery-track { display: flex; align-items: flex-start; width: max-content; animation: gallery var(--speed, 45s) linear infinite; }
.gallery:hover .gallery-track, .gallery.paused .gallery-track { animation-play-state: paused; }
.gallery-track > * { flex: none; margin-right: 24px; }
@keyframes gallery { to { transform: translateX(-50%); } }
.slide { width: min(440px, 78vw); margin: 0 24px 0 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); transition: transform .35s ease; }
.slide:hover { transform: translateY(-6px) scale(1.02); }
.slide img { width: 100%; }
/* Stories controls: JS drives the scroll (.js), arrows on the sides, Play button only while paused */
.gallery.js .gallery-track { animation: none; will-change: transform; }
.gallery-wrap { position: relative; }
.g-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(12, 0, 22, .7); backdrop-filter: blur(6px); color: #fff; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.g-arrow:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.06); }
.g-prev { left: max(12px, calc(50% - 600px)); }
.g-next { right: max(12px, calc(50% - 600px)); }
.g-play { position: absolute; left: 50%; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(239, 178, 1, .5); background: rgba(12, 0, 22, .85); backdrop-filter: blur(6px); color: #fff; font: 600 13px var(--font); cursor: pointer; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .3s, transform .3s; }
.g-play .ic { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.gallery-wrap.paused .g-play { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.disclaimer { text-align: center; font-size: 13px; color: #a79fc7; margin: 12px 0 0; }
.center-cta { text-align: center; margin-top: 44px; }
.left-cta { margin-top: 32px; }
.cta-sub { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* Agenda: day cards with a running border */
.journey { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.rb { --c: var(--gold); position: relative; overflow: hidden; isolation: isolate; padding: 2px; border-radius: 20px; }
.rb-2 { --c: #5c7cfa; }
/* rotating conic gradient behind the card = the line that runs around the border */
.rb::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 70%, var(--c) 80%, var(--magenta) 90%, transparent 100%); animation: rb-spin 4.5s linear infinite; }
.rb-2::before { animation-delay: -2.25s; }
.rb::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 18px; background: #12022e; }
@keyframes rb-spin { to { transform: rotate(1turn); } }
.rb-in { height: 100%; padding: 28px 26px; }
.rb-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rb-pill { padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.rb-icon { width: 28px; height: 28px; color: #ff4d5e; }
.rb-2 .rb-icon { color: #5c7cfa; }
.rb h3 { margin: 0 0 2px; font-size: 1.5rem; }
.rb-tag { margin: 0 0 18px; color: var(--muted); }
.rb-mods { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.rb-mods li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #e9e5f7; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.rb-mods .ic { width: 18px; height: 18px; margin-top: 3px; color: #4ade80; stroke-width: 2.5; }
/* lessons tick in one by one once the card scrolls into view (Day 2 starts after Day 1) */
.rb.in .rb-mods li { opacity: 1; transform: none; }
.rb.in .rb-mods li:nth-child(1) { transition-delay: .4s; } .rb.in .rb-mods li:nth-child(2) { transition-delay: .7s; }
.rb.in .rb-mods li:nth-child(3) { transition-delay: 1s; } .rb.in .rb-mods li:nth-child(4) { transition-delay: 1.3s; }
.rb-2.in .rb-mods li:nth-child(1) { transition-delay: 1.6s; } .rb-2.in .rb-mods li:nth-child(2) { transition-delay: 1.9s; }
.rb-2.in .rb-mods li:nth-child(3) { transition-delay: 2.2s; } .rb-2.in .rb-mods li:nth-child(4) { transition-delay: 2.5s; }
.rb-take { padding: 12px 14px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent); font-size: 14px; color: #fff; }
.rb-take b { color: var(--gold); font-weight: 600; }
.rb-conn { position: relative; }
.rb-conn::before { content: ""; position: absolute; top: 50%; left: 8px; right: 8px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 8px, transparent 8px 14px); }
.rb-conn i { position: absolute; top: 50%; left: 4px; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: rb-dot 2.4s ease-in-out infinite; }
@keyframes rb-dot { 0% { left: 4px; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 16px); opacity: 0; } }
@keyframes rb-dot-v { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
/* value bar under the cards */
.value-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; max-width: 1000px; margin: 34px auto 0; padding: 16px 20px; border-radius: 16px; background: linear-gradient(90deg, rgba(42, 5, 144, .5), rgba(120, 20, 216, .35)); border: 1px solid rgba(239, 178, 1, .35); font-weight: 600; color: #fff; }
.value-bar span { display: inline-flex; align-items: center; gap: 8px; }
.value-bar .ic { color: var(--gold); }
.value-bar .op { color: var(--muted); font-weight: 400; }
.value-bar s { color: var(--muted); font-weight: 400; }
.value-bar b { font-size: 1.35rem; color: var(--gold); }

/* Bonuses */
.bonus { width: min(320px, 72vw); cursor: zoom-in; --muted: #5f5a75; --line: #e6e2f0; }
.bonus { position: relative; padding: 12px; margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.bonus:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bonus img { width: 100%; border-radius: 10px; }
.bonus-featured { border: 2px solid var(--gold); }
.bonus-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 6px 4px; font-size: 14px; color: var(--muted); }
.bonus-meta b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--gold); color: #1a1300; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Bonus deck: 3D stacked cards. data-pos (0 = front) is set by script.js; .spread fans them out on desktop hover */
.deck-stage { position: relative; height: calc(min(320px, 72vw) * 1.36 + 110px); perspective: 1400px; }
.deck .deck-card {
  position: absolute; top: 34px; left: 50%; margin: 0; transform-origin: 50% 100%; cursor: pointer;
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .75s, box-shadow .75s;
}
.deck .deck-card[data-pos="0"] { z-index: 3; transform: translateX(calc(-50% - 40px)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.deck .deck-card[data-pos="1"] { z-index: 2; transform: translateX(calc(-50% + 6px)) scale(.92) rotate(4deg); filter: brightness(.7); }
.deck .deck-card[data-pos="2"] { z-index: 1; transform: translateX(calc(-50% + 46px)) scale(.84) rotate(8deg); filter: brightness(.5); }
.deck.spread .deck-card { filter: none; }
.deck.spread .deck-card[data-i="0"] { transform: translateX(-160%) translateY(18px) rotate(-5deg); }
.deck.spread .deck-card[data-i="1"] { transform: translateX(-50%) translateY(-6px); }
.deck.spread .deck-card[data-i="2"] { transform: translateX(60%) translateY(18px) rotate(5deg); }
.deck.spread .deck-card[data-pos="0"] { box-shadow: 0 0 0 3px var(--gold), 0 30px 60px -24px rgba(0, 0, 0, .9); }
.deck-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; }
.deck-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.deck-btn:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.06); }
.deck-dots { display: flex; gap: 8px; }
.deck-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .3s, background .3s; }
.deck-dots button[aria-selected="true"] { width: 28px; background: linear-gradient(90deg, #ffe27a, var(--gold)); }
.deck-hint { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (hover: none), (max-width: 1023px) { .hint-desk { display: none; } }

/* Coach */
.coach { grid-template-columns: .85fr 1.15fr; align-items: start; }
.portrait { margin: 0; position: sticky; top: 100px; border-radius: 18px; box-shadow: var(--shadow-md); }
.portrait img { width: 100%; }
.info-list { display: grid; gap: 28px; margin-top: 12px; }
.info { display: flex; gap: 18px; }
.info h3 { margin-bottom: 6px; }
.info p { color: var(--muted); margin: 0; }

/* Who it's for */
.fit-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.fit-grid .ic { width: 22px; height: 22px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--gold); color: var(--dark); stroke-width: 3; }

/* Offer */
.offer { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.offer-list { padding: 40px; }
.offer-list h3 { font-size: 1.25rem; margin-bottom: 18px; }
.value-list { list-style: none; padding: 0; margin: 0 0 24px; }
.value-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.value-list li span { display: flex; gap: 12px; align-items: flex-start; }
.value-list .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--green); stroke-width: 2.5; }
.value-list b { font-weight: 600; white-space: nowrap; }
.mini-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.mini-checks li { display: flex; align-items: center; gap: 6px; }
.mini-checks .ic { width: 16px; height: 16px; color: var(--pdf-purple); stroke-width: 2.5; }
.price-card { display: flex; flex-direction: column; justify-content: center; padding: 40px; text-align: center; background: linear-gradient(160deg, var(--pdf-blue), #12022e 55%, #5a10a8); color: #e9e5f7; }
.price-label { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #a79fc7; }
.price-old { margin: 0 0 18px; font-size: 1.5rem; text-decoration: line-through; color: #8d85ad; }
.price-new { margin: 14px 0 30px; font-size: 3.5rem; font-weight: 700; line-height: 1.1; color: #fff; }
.price-note { margin: 18px 0 8px; font-size: 14px; color: #b9b2d6; }
.secure-line { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--muted); }
.secure-line .ic { width: 15px; height: 15px; }
.price-card .secure-line { color: #a79fc7; }

/* P.S. */
.promise { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); margin-bottom: 48px; }
.promise p { color: var(--muted); margin: 0; }
.choices-title { text-align: center; font-size: 1.375rem; margin-bottom: 24px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.choice p { margin: 0; color: var(--muted); }
.choice-tag { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.choice-good { border: 2px solid var(--violet); background: var(--violet-soft); }
.choice-good .choice-tag { color: var(--violet); }
.choice-good p { color: #fff; font-weight: 500; }
.closing { text-align: center; font-size: 1.25rem; font-weight: 600; margin: 40px 0 0; }

/* Register */
#register { scroll-margin-top: 68px; }
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.meta-stack { flex-direction: column; gap: 16px; font-size: 16px; }
/* Reserve card (replaces the old inline form; opens the popup) */
.reserve-card { display: grid; justify-items: center; gap: 10px; padding: 36px 30px; border-radius: 22px; text-align: center; background: linear-gradient(160deg, rgba(42, 5, 144, .55), rgba(18, 2, 46, .9) 60%, rgba(120, 20, 216, .45)); border: 1px solid rgba(239, 178, 1, .35); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); }
.reserve-face { width: 72px; height: 72px; border: 3px solid var(--gold); }
.reserve-card h3 { margin: 6px 0 0; font-size: 1.5rem; }
.reserve-price { margin: 0; }
.reserve-price s { color: var(--muted); }
.reserve-price b { margin-left: 6px; font-size: 2.6rem; color: var(--gold); }
.reserve-sub { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.reserve-card .secure-line { color: var(--muted); }

/* Registration popup */
.reg { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: visible; }
.reg::backdrop { background: rgba(8, 0, 20, .78); backdrop-filter: blur(6px); }
.reg[open] { animation: reg-in .35s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes reg-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.reg-form {
  --muted: #5f5a75; --soft: #f6f4fb; --violet: #7814d8; --line: #e6e2f0;
  position: relative; display: grid; gap: 16px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 28px 26px 22px;
  border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
}
.reg-form h3, .reg-form strong { color: var(--ink); }
.reg-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; }
.reg-close .ic { width: 16px; height: 16px; }
.reg-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.reg-face { width: 52px; height: 52px; border: 2px solid var(--gold); }
.reg-head h3 { margin: 0; font-size: 1.2rem; }
.reg-head p { margin: 0; font-size: 13px; color: var(--muted); }
.reg-progress { display: flex; align-items: center; gap: 8px; }
.reg-progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--muted); transition: background .3s, color .3s; }
.reg-progress span.on { background: var(--violet); color: #fff; }
.reg-progress i { position: relative; flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.reg-progress i::after { content: ""; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.reg-form.on-step-2 .reg-progress i::after { transform: scaleX(1); }
.reg-step-label { margin: -6px 0 0; font-size: 13px; font-weight: 600; color: var(--violet); }
.reg-step { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.reg-step[hidden] { display: none; }
.reg-step:not([hidden]) { animation: step-in .35s ease; }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.reg-form label, .field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.reg-form small { font-weight: 400; color: var(--muted); }
.field-label { font-size: 14px; font-weight: 500; }
.reg-form input[type="text"], .reg-form input[type="tel"], .reg-form textarea { width: 100%; padding: 12px 14px; font: 400 15px var(--font); color: var(--ink); background: #fff; border: 1px solid #d6d1e4; border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.reg-form textarea { resize: none; }
.reg-form input::placeholder, .reg-form textarea::placeholder { color: #a19bb5; }
.reg-form input:focus, .reg-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(120, 20, 216, .18); }
.reg-form .bad { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(224, 56, 79, .15) !important; }
.phone { display: flex; }
.cc { display: flex; align-items: center; padding: 0 14px; font-size: 15px; color: var(--muted); background: var(--soft); border: 1px solid #d6d1e4; border-right: 0; border-radius: 10px 0 0 10px; }
.phone input { border-radius: 0 10px 10px 0 !important; }
/* Tap-to-select chips (real radio/checkbox inputs, visually hidden) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-col { display: grid; grid-template-columns: 1fr 1fr; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: block; padding: 9px 14px; border-radius: 10px; border: 1px solid #d6d1e4; font-size: 14px; font-weight: 500; text-align: center; color: var(--ink); background: #fff; transition: background .2s, border-color .2s, color .2s; }
.chip span:hover { border-color: var(--violet); }
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chips.bad span { border-color: var(--red); }
.reg-actions { display: flex; align-items: center; gap: 12px; }
.reg-actions .btn { flex: 1; }
.reg-back { display: inline-flex; align-items: center; gap: 4px; padding: 12px 8px; border: 0; background: none; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.reg-back .ic { width: 16px; height: 16px; }
.reg-form .secure-line { color: var(--muted); }
.form-msg { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 500; text-align: center; color: var(--violet); }
.form-msg:empty { display: none; }
.form-msg.error { color: var(--red); }
.reg-form button[disabled] { opacity: .65; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Transformation popup (opens after 30s). data-pos on each card is set by script.js: 0 front, 1 right, 2 back, 3 left */
.promo { width: min(500px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.promo::backdrop { background: rgba(8, 0, 20, .8); backdrop-filter: blur(6px); }
.promo[open] { animation: reg-in .45s cubic-bezier(.2, .9, .3, 1.1); }
.promo-card {
  position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 28px 22px 20px; text-align: center; border-radius: 24px;
  background: linear-gradient(160deg, var(--pdf-blue), #12022e 55%, #5a10a8); border: 1px solid rgba(239, 178, 1, .35);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85);
}
.promo-close { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(12, 0, 22, .6); color: #fff; cursor: pointer; }
.promo-close .ic { width: 16px; height: 16px; }
.promo .eyebrow { margin-bottom: 6px; }
.promo h3 { margin: 0 0 6px; padding: 0 30px; font-size: 1.4rem; line-height: 1.3; }
.promo-sub { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.fan { position: relative; height: calc(min(230px, 58vw) + 40px); perspective: 1200px; }
.fan-card {
  position: absolute; left: 50%; top: 18px; width: min(230px, 58vw); margin: 0; overflow: hidden; cursor: pointer;
  border-radius: 14px; background: #fff; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .9); transform-origin: 50% 120%;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .8s, box-shadow .8s;
}
.fan-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.fan-card[data-pos="0"] { z-index: 4; transform: translateX(-50%); box-shadow: 0 0 0 3px var(--gold), 0 26px 50px -18px rgba(0, 0, 0, .9); }
.fan-card[data-pos="1"] { z-index: 3; transform: translateX(-14%) rotate(13deg) scale(.86); filter: brightness(.55); }
.fan-card[data-pos="3"] { z-index: 3; transform: translateX(-86%) rotate(-13deg) scale(.86); filter: brightness(.55); }
.fan-card[data-pos="2"] { z-index: 1; transform: translateX(-50%) translateY(-6%) scale(.72); filter: brightness(.35); }
.fan-cap { min-height: 1.6em; margin: 8px 0 16px; font-weight: 600; color: var(--gold); }
.promo-later { margin-top: 10px; padding: 6px 12px; border: 0; background: none; color: var(--muted); font: 500 14px var(--font); text-decoration: underline; cursor: pointer; }
.promo-later:hover { color: #fff; }
.promo-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

/* Mystery bonus popup: shaking gift box; .opened (set by script.js) lifts the lid, bursts sparkles and flips the bonus card in */
.gift-stage { position: relative; height: calc(min(200px, 52vw) * 1.462 + 12px); display: grid; place-items: center; margin-top: 6px; }
.gift-glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 178, 1, .55), rgba(238, 57, 250, .25) 45%, transparent 70%); animation: glow-pulse 2s ease-in-out infinite; transition: opacity .6s, transform .6s; }
@keyframes glow-pulse { 50% { transform: scale(1.15); opacity: .75; } }
.gift { position: relative; width: 150px; height: 150px; padding: 0; border: 0; background: none; cursor: pointer; animation: gift-shake 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes gift-shake { 0%, 60%, 100% { transform: none; } 66% { transform: rotate(-7deg); } 72% { transform: rotate(6deg); } 78% { transform: rotate(-5deg); } 84% { transform: rotate(3deg); } 90% { transform: rotate(-1deg); } }
.gift-body { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 92px; border-radius: 10px; background: linear-gradient(160deg, #8f2cf0, #3b0a78); box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .25), 0 20px 30px -14px rgba(0, 0, 0, .8); transition: transform .5s .15s, opacity .5s .15s; }
.gift-lid { position: absolute; left: 4px; right: 4px; top: 36px; height: 30px; z-index: 2; border-radius: 8px; background: linear-gradient(160deg, #a64bff, #5a10a8); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), opacity .6s; }
/* gold ribbon down the middle of lid and body */
.gift-body::before, .gift-lid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 22px; margin-left: -11px; background: linear-gradient(90deg, #c9971c, #ffe08a 50%, #c9971c); }
.gift-bow { position: absolute; left: 50%; top: -24px; width: 0; height: 0; }
.gift-bow::before, .gift-bow::after { content: ""; position: absolute; top: 0; width: 34px; height: 26px; border: 6px solid #efb201; border-radius: 50% 50% 0 50%; }
.gift-bow::before { right: 0; transform: rotate(-20deg); border-radius: 50% 50% 0 50%; }
.gift-bow::after { left: 0; transform: rotate(20deg) scaleX(-1); }
.gift-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.gift-burst i { position: absolute; left: -10px; top: -10px; opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.3); }
.gift-burst .spark { width: 20px; height: 20px; animation: none; }
.mystery-card { position: absolute; width: min(200px, 52vw); margin: 0; border-radius: 14px; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 40px rgba(239, 178, 1, .35); opacity: 0; transform: perspective(900px) rotateY(90deg) scale(.6); pointer-events: none; transition: transform .8s .45s cubic-bezier(.2, .9, .3, 1.15), opacity .4s .45s; }
.mystery-card img { width: 100%; }
.gift-hint { margin: 4px 0 10px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.mystery-reveal { max-height: 0; overflow: hidden; padding: 0 8px; opacity: 0; transition: max-height .6s .8s ease, opacity .5s .9s; }
.mystery-name { margin: 12px 0 2px; font-weight: 600; color: #fff; }
.mystery-worth { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.mystery-worth s { color: #ff8a98; }
.mystery-worth b { color: var(--gold); }
.mystery.opened .gift { animation: none; pointer-events: none; }
.mystery.opened .gift-lid { transform: translateY(-110px) rotate(-28deg); opacity: 0; }
.mystery.opened .gift-body { transform: scale(.6) translateY(30px); opacity: 0; }
.mystery.opened .gift-glow { transform: scale(1.6); opacity: .6; }
.mystery.opened .gift-burst i { animation: burst .9s .2s ease-out forwards; }
@keyframes burst { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-130px) scale(1.1); } }
.mystery.opened .mystery-card { opacity: 1; transform: none; pointer-events: auto; }
.mystery.opened .gift-hint { visibility: hidden; height: 0; margin: 0; }
.mystery.opened .mystery-reveal { max-height: 280px; padding-bottom: 6px; opacity: 1; }
@media (max-width: 420px) { .chips-col { grid-template-columns: 1fr; } .reg-form { padding: 24px 18px 18px; } }

/* Footer */
.footer { padding: 40px 0 110px; background: rgba(0, 0, 0, .35); border-top: 1px solid var(--line); color: #8d85ad; font-size: 13px; text-align: center; }
.footer p { max-width: 760px; margin: 0 auto 10px; }
.footer-brand { color: #e9e5f7; font-weight: 500; font-size: 15px; }

/* Sticky CTA bar (desktop: floating pill, mobile: full-width bar) */
.sticky-cta {
  position: fixed; left: 50%; bottom: 18px; z-index: 45; width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px;
  background: rgba(18, 2, 46, .95); color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
  backdrop-filter: blur(12px); box-shadow: 0 20px 50px -12px rgba(20, 10, 51, .6);
  transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: border-run 3s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes border-run { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sticky-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.sticky-info { flex: 1; min-width: 0; }
.sticky-title { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.sticky-live { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fca5a5; }
.sticky-live .live-dot { width: 6px; height: 6px; }
.sticky-rotate { position: relative; height: 22px; margin: 2px 0 0; overflow: hidden; font-size: 13px; color: #c9c2e3; }
.sticky-rotate span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: opacity .4s, transform .4s; }
.sticky-rotate span.is-on { opacity: 1; transform: none; }
.sticky-rotate span.is-out { opacity: 0; transform: translateY(-100%); }
.sticky-rotate b { color: var(--gold); font-weight: 600; }
.sticky-rotate s { color: #8d85ad; }
.sticky-cta .btn { flex: none; padding: 13px 20px; }

/* Section heading accent bar */
.sec-head h2::after, h2.left::after { content: ""; display: block; width: 56px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--magenta)); transform: scaleX(0); transition: transform .8s .2s ease; }
h2.left::after { margin-left: 0; transform-origin: 0 50%; }
h2:has([data-mark])::after { display: none; } /* the hand-drawn mark already accents these */
.sec-head.in h2::after, h2.left.in::after, .in > h2.left::after { transform: scaleX(1); }

/* Icons gently bob */
.icon-badge { animation: bob 4s ease-in-out infinite; }
.info:nth-child(2) .icon-badge { animation-delay: -1.3s; }
.info:nth-child(3) .icon-badge { animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.proof-item > .ic { animation: bob 3.5s ease-in-out infinite; }

/* Big price glow */
.price-new { text-shadow: 0 0 28px rgba(239, 178, 1, .45); animation: breathe 2.8s ease-in-out infinite; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 820px); overflow: visible; }
.lightbox::backdrop { background: rgba(13, 6, 36, .85); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lb-close { position: absolute; top: -18px; right: -18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-md); }

/* Scroll reveal: short, quiet */
/* Variants: default fade-up, .left/.right slide in from the side, .zoom scales up, .blur comes into focus.
   Variants are also assigned automatically in script.js. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; }
.reveal.left { transform: translateX(-56px); }
.reveal.right { transform: translateX(56px); }
.reveal.zoom { transform: scale(.92); }
.reveal.blur { filter: blur(12px); }
.reveal.in { opacity: 1; transform: none; filter: none; }
/* Hero animates on load with pure CSS, so first paint doesn't wait for JS */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .hero-copy .reveal:nth-child(2) { animation-delay: .08s; }
.hero .hero-copy .reveal:nth-child(3) { animation-delay: .16s; }
.hero .hero-copy .reveal:nth-child(4) { animation-delay: .24s; }
.hero .hero-media { animation: focus-in 1.1s .15s ease both; }
.hero .hero-side .reveal:nth-child(2) { animation-delay: .35s; }
.hero .hero-side .reveal:nth-child(n+3) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes focus-in { from { opacity: 0; filter: blur(14px); transform: scale(.96); } }

/* Responsive */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 28px 0 64px; }
  .hero-grid, .split, .coach, .register-grid, .offer { grid-template-columns: 1fr; gap: 40px; }
  .portrait { position: static; max-width: 420px; margin: 0 auto; }
  .journey { grid-template-columns: 1fr; max-width: 560px; }
  .rb-conn { height: 56px; }
  .rb-conn::before { top: 8px; bottom: 8px; left: 50%; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .3) 0 8px, transparent 8px 14px); }
  .rb-conn i { top: 0; left: 50%; margin: 0 0 0 -6px; animation-name: rb-dot-v; }
  .split:has(.clock) { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .topbar { font-size: 13px; }
  .brand { font-size: 15px; }
  .fit-grid, .choices { grid-template-columns: 1fr; }
  .ba-row > div { padding: 12px 12px; gap: 8px; font-size: 14px; }
  .ba-head > div { font-size: 11px; letter-spacing: .08em; }
  .clock { grid-template-columns: 1fr; }
  .clock-dial { max-width: 220px; margin: 0 auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { justify-content: flex-start; padding: 18px 4px; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .countdown div { min-width: 0; flex: 1; }
  .cta-block .btn { width: 100%; }
  .offer-list, .price-card, .form { padding: 28px 22px; }
  .value-list li { font-size: 14px; }
  .sticky-cta { left: 0; bottom: 0; width: 100%; border-radius: 16px 16px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); }
  .sticky-cta.show { transform: none; }
  .sticky-avatar { width: 40px; height: 40px; }
  .sticky-title { font-size: 14px; }
  .sticky-rotate { font-size: 12px; }
  .sticky-cta .btn { padding: 12px 14px; font-size: 14px; }
  .sticky-cta .btn .ic { display: none; }
  .hero-media figcaption { flex-direction: column; gap: 2px; }
  .lb-close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .gallery { overflow-x: auto; }
  [data-clone] { display: none; }
  .sticky-rotate span { transition: none; }
}
