/* ============================================================
   AI Agency Funnel — shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #1B1C1F;
  --surface: #142440;
  --surface-2: #1A2E52;
  --text: #F5F6F9;
  --muted: #9AA4B5;
  --line: #2A3C5E;
  --blue: #4C86FF;
  --blue-light: #7FC4FF;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient background glows */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
body::before {
  top: -20%;
  left: -15%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}
body::after {
  top: -10%;
  right: -20%;
  background: radial-gradient(circle, var(--blue-light), transparent 70%);
}

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-weight: 700; }

p { margin: 0 0 1em; color: var(--text); }

a { color: var(--blue-light); text-decoration: none; }

.muted { color: var(--muted); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Motion ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(76,134,255,0.5)); }
  50% { filter: drop-shadow(0 0 14px rgba(127,196,255,0.9)); }
}
@keyframes growUp {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.04s; }
.fade-up:nth-child(2) { animation-delay: 0.10s; }
.fade-up:nth-child(3) { animation-delay: 0.16s; }
.fade-up:nth-child(4) { animation-delay: 0.22s; }
.fade-up:nth-child(5) { animation-delay: 0.28s; }
.fade-up:nth-child(6) { animation-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Nav ---------- */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 28, 31, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav.top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 25%, var(--blue-light) 50%, var(--blue) 75%, transparent);
  opacity: 0.8;
}
nav.top.brand-only .container {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
}
.brand-static {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.brand-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
nav.top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.logo-mark {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: glowPulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #3a6ee0);
  color: #fff;
  box-shadow: 0 4px 18px rgba(76, 134, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(76, 134, 255, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

/* ---------- Hero / Blade ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}
.blade { position: relative; }
.blade::before,
.blade::after {
  content: '';
  position: absolute;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--blue) 30%, var(--blue-light) 55%, var(--blue) 80%, transparent);
  transform: rotate(18deg);
  animation: shimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.blade::before { right: 12%; }
.blade::after { right: 18%; animation-delay: 1.4s; opacity: 0.5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 720px;
}
.hero .sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Grids ---------- */
.row-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .row-2 { grid-template-columns: 1fr; }
  .row-3 { grid-template-columns: 1fr; }
}

section { padding: 64px 0; position: relative; z-index: 1; }
.section-head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- Cards / Panels ---------- */
.form-panel, .item, .toast, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.form-panel:hover, .item:hover, .toast:hover, .card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(76, 134, 255, 0.15);
}
.form-panel h3, .card h3 { margin-bottom: 6px; }
.panel-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(76, 134, 255, 0.12);
  border: 1px solid rgba(76, 134, 255, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Item (numbered content block) ---------- */
.item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.item .dot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-light);
  position: relative;
}
.item .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(127, 196, 255, 0.4);
  animation: glowPulse 2.8s ease-in-out infinite;
}
.item h4 { margin-bottom: 4px; font-size: 1.02rem; }
.item p { color: var(--muted); margin: 0; font-size: 0.94rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(76, 134, 255, 0.18);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-note { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ---------- Pills / Chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-light);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.chip strong { color: var(--blue-light); }

/* ---------- Toast (fake live notification) ---------- */
.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  animation: floatIn 0.5s ease forwards;
}
.toast .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  flex-shrink: 0;
}
.toast .msg { font-size: 0.88rem; }
.toast .msg strong { color: var(--text); }
.toast .time { font-size: 0.76rem; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--blue-light); border-color: var(--blue-light); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease forwards; }

/* ---------- Bar chart ---------- */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
  padding: 16px 0;
}
.bars .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: growUp 0.8s cubic-bezier(.2,.8,.2,1) forwards;
  position: relative;
}
.bars .bar span {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Social proof / avatar stack ---------- */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.social-proof.large {
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px 10px 12px;
  margin-bottom: 22px;
}
.social-proof.large .avatar-stack .av { width: 36px; height: 36px; margin-left: -12px; }
.avatar-stack { display: flex; }
.avatar-stack .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar-stack .av:first-child { margin-left: 0; }

.eyebrow.warn { color: #FF9D66; }
.eyebrow.warn::before { background: #FF9D66; box-shadow: 0 0 10px #FF9D66; }

.accent-green { color: #6EE7A0; }

/* ---------- Numbered step cards ---------- */
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(76, 134, 255, 0.15);
}
.step-card .step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.step-card .step-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 1rem;
}
.step-card .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: rgba(245, 246, 249, 0.12);
  line-height: 1;
}
.step-card h4 { margin-bottom: 10px; font-size: 1.02rem; }
.step-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-card ul li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}
.step-card ul li::before {
  content: '✓';
  color: var(--blue-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Gradient info cards (What / When / Where) ---------- */
.info-card {
  background: linear-gradient(160deg, var(--surface-2), #0F1B33);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.info-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.info-card .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(76, 134, 255, 0.16);
  border: 1px solid rgba(76, 134, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.info-card h3 { font-size: 1.1rem; letter-spacing: 0.02em; text-transform: uppercase; }

/* ---------- Proof cards (What You Get Free) ---------- */
.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.proof-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(76, 134, 255, 0.15);
}
.proof-media {
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(150deg, var(--surface-2), #0E1930);
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof-media .proof-icon { font-size: 2.4rem; }
.proof-media .proof-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue-light);
}
.proof-media.rich {
  aspect-ratio: unset;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  min-height: 190px;
}
/* In the rich (stacked-content) variant, the tag sits inline above the
   content instead of overlaying it — absolute positioning there overlapped
   the first toast/chip row. */
.proof-media.rich .proof-tag {
  position: static;
  align-self: flex-start;
  margin-bottom: 4px;
}

/* Compact toast stack for proof cards */
.toast.compact {
  padding: 10px 12px;
  gap: 10px;
  border-radius: var(--radius-sm);
}
.toast.compact .avatar { width: 26px; height: 26px; }
.toast.compact .msg { font-size: 0.74rem; line-height: 1.3; }
.toast.compact .time { font-size: 0.68rem; }
.notif-count {
  align-self: flex-end;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(76, 134, 255, 0.14);
  border: 1px solid rgba(76, 134, 255, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Numbered stat rows (growth proof) */
.stat-rows { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  background: rgba(76, 134, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
}
.stat-row .stat-row-n {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  font-size: 0.75rem;
}
.stat-row .stat-row-label { color: var(--text); flex: 1; }
.stat-row .stat-row-val { color: var(--blue-light); font-weight: 700; }

.proof-media .chips { justify-content: center; }
.proof-media .chip { font-size: 0.76rem; padding: 6px 12px; }
.proof-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  background: rgba(20, 36, 64, 0.75);
  border: 1px solid rgba(127, 196, 255, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
}
.proof-body { padding: 18px 20px 20px; }
.proof-body h4 { margin-bottom: 8px; font-size: 1rem; }
.proof-body p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ---------- Offer / bonus card ---------- */
.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.offer-media {
  background: linear-gradient(135deg, #2A1608, #1B1C1F);
  padding: 32px 24px;
  text-align: center;
}
.offer-media .price-strike {
  text-decoration: line-through;
  opacity: 0.5;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-right: 10px;
}
.offer-media .price-free {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: #FF9D66;
}
.offer-body { padding: 22px 24px 26px; }

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 8px 0;
}
.countdown .unit { text-align: center; }
.countdown .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1.1;
}
.countdown .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.countdown.compact { gap: 10px; }
.countdown.compact .unit {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 8px;
  min-width: 60px;
}
.countdown.compact .num { font-size: 1.5rem; color: var(--blue-light); }

/* ---------- Rating ---------- */
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.rating .stars { color: var(--blue-light); letter-spacing: 2px; }

/* ---------- Stats / gradient text ---------- */
.stat { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; }
.grad {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--blue);
  padding: 6px 0 6px 22px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}
.quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); font-style: normal; }

/* ---------- Media placeholder ---------- */
/* ---------- Typeform embed wrapper ---------- */
.tf-wrap {
  height: 85vh;
  min-height: 700px;
  box-sizing: border-box;
}
.tf-wrap > div {
  width: 100%;
  height: 100%;
}
.tf-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: var(--radius-lg);
}

.media-box {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.media-box .play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(76, 134, 255, 0.18);
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: glowPulse 2.8s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.media-box .play[hidden] { display: none; }
.media-box .play::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--text);
  margin-left: 4px;
}
.media-box .caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(20, 36, 64, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- VSL: single unmute/play CTA + fake-speed progress bar ---------- */
.vsl-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 88%;
  background: rgba(10, 16, 30, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(127, 196, 255, 0.45);
  border-radius: 16px;
  padding: 18px 26px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-align: left;
  line-height: 1.3;
  animation: glowPulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}
.vsl-cta:hover { transform: translate(-50%, -50%) scale(1.03); background: rgba(10, 16, 30, 0.88); }
.vsl-cta[hidden] { display: none; }
.vsl-cta-icon { font-size: 1.5rem; flex-shrink: 0; }

.vsl-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.vsl-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width 0.12s linear;
  will-change: width;
}

/* ---------- Misc content blocks ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.divider { height: 1px; background: var(--line); margin: 56px 0; border: none; }
.center { text-align: center; }
.warn-box {
  background: rgba(255, 130, 89, 0.08);
  border: 1px solid rgba(255, 130, 89, 0.35);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: #FFB59B;
}
.reg-success {
  animation: fadeUp 0.5s ease forwards;
}
.reg-success .panel-tag {
  background: rgba(127, 196, 255, 0.14);
  border-color: rgba(127, 196, 255, 0.4);
}

.calendar-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 32px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .foot-links { display: flex; gap: 22px; }
footer .foot-links a { color: var(--muted); font-size: 0.85rem; }
footer .foot-links a:hover { color: var(--text); }
footer .foot-note { font-size: 0.8rem; color: var(--muted); }
footer .disclaimer {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.5;
  line-height: 1.4;
  max-width: 640px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  nav.top .nav-links { display: none; }
  footer .container { flex-direction: column; align-items: flex-start; }
}
