/* ============================================================
   DEMANDLY WEBINAR FUNNEL – STYLES
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --blue:     #1d4ed8;
  --blue-2:   #2563eb;
  --blue-3:   #3b82f6;
  --grad:     linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  --white:    #ffffff;
  --bg:       #f0f4ff;
  --surface:  #f8faff;
  --text:     #0f172a;
  --muted:    #475569;
  --dim:      #94a3b8;
  --border:   #e2e8f0;
  --green:    #16a34a;
  --green-bg: #f0fdf4;
  --orange:   #ea580c;
  --shadow:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:0 4px 6px rgba(0,0,0,.04), 0 20px 48px rgba(0,0,0,.1);
  --shadow-xl:0 8px 32px rgba(29,78,216,.25);
  --r:        10px;
  --r-lg:     16px;
  --r-pill:   999px;
  --max:      680px;
  --font:     'Helvetica Now Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --dur:      0.30s;
  --ease:     cubic-bezier(.16, 1, .3, 1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }
p { font-size: .94rem; line-height: 1.72; color: var(--muted); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 10px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes stepIn    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stepOut   { from { opacity: 1; transform: none; }            to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes badgeIn   { from { opacity: 0; transform: scale(.82) translateY(-6px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes shimmer   { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }
@keyframes pulse     { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } }
@keyframes ctaGlow   { 0%,100% { box-shadow: var(--shadow-xl); } 50% { box-shadow: 0 0 0 8px rgba(29,78,216,.1), var(--shadow-xl); } }
@keyframes toastIn   { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut  { from { opacity: 1; } to { opacity: 0; transform: translateX(-10px); } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes checkDraw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes scaleIn   { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes blobFloat  { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(12px,-8px) scale(1.04); } }
@keyframes cardIn     { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes aiOvIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes aiOvOut    { from { opacity: 1; } to { opacity: 0; } }
@keyframes aiItemIn   { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aiOrb      { 0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,.5); } 55% { box-shadow: 0 0 0 20px rgba(59,130,246,0); } }
@keyframes aiRing     { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.22); opacity: .15; } }
@keyframes scanLine   { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 11px 24px 10px;
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
}
#progress-bar.visible { transform: translateY(0); }
.pb-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto 8px;
}
.pb-logo img { height: 20px; display: block; filter: brightness(0); }
.pb-label { font-size: .68rem; font-weight: 600; color: var(--dim); }
.pb-track { max-width: var(--max); margin: 0 auto; height: 3px; background: var(--border); border-radius: var(--r-pill); overflow: hidden; }
.pb-fill  { height: 100%; background: var(--grad); border-radius: var(--r-pill); transition: width .55s var(--ease); width: 0%; }

/* ── FUNNEL LAYOUT ──────────────────────────────────────────── */
#funnel { min-height: 100vh; display: flex; flex-direction: column; }

.step {
  display: none;
  flex-direction: column;
  min-height: 100vh;
}
.step.active { display: flex; }
.step.step-in  { animation: stepIn var(--dur) var(--ease) both; }
.step.step-out { animation: stepOut .22s ease both; pointer-events: none; }

.step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 72px;
}
/* Space for sticky progress on steps 1–5 */
.step.has-progress .step-body { padding-top: 96px; }

/* Stagger entry on children */
.step.step-in .stagger > * { animation: fadeUp .45s var(--ease) both; }
.step.step-in .stagger > *:nth-child(1) { animation-delay: .04s; }
.step.step-in .stagger > *:nth-child(2) { animation-delay: .09s; }
.step.step-in .stagger > *:nth-child(3) { animation-delay: .14s; }
.step.step-in .stagger > *:nth-child(4) { animation-delay: .19s; }
.step.step-in .stagger > *:nth-child(5) { animation-delay: .24s; }
.step.step-in .stagger > *:nth-child(6) { animation-delay: .29s; }

/* ── STEP 0 – HERO ──────────────────────────────────────────── */
#step-0 {
  background: linear-gradient(160deg, var(--white) 0%, var(--bg) 65%, #dce8ff 100%);
  position: relative; overflow: clip;
}
#step-0 .step-body { position: relative; z-index: 2; }

/* Canvas particle network */
#hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; pointer-events: none;
  opacity: .45;
}

/* Blobs – more vivid on dark bg */
.hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.hero-blob-1 { width: 560px; height: 560px; top: -200px; right: -80px;  background: radial-gradient(circle, rgba(59,130,246,.14), rgba(29,78,216,.02)); animation: blobFloat 10s ease-in-out infinite; }
.hero-blob-2 { width: 360px; height: 360px; bottom: -40px; left: -80px; background: radial-gradient(circle, rgba(99,102,241,.11), rgba(79,70,229,.02)); animation: blobFloat 14s ease-in-out infinite reverse; }
.hero-blob-3 { width: 260px; height: 260px; top: 30%;     left: 40%;   background: radial-gradient(circle, rgba(139,92,246,.09), rgba(109,40,217,.02)); animation: blobFloat 18s ease-in-out 3s infinite; }

/* Grid – subtle on dark */
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(29,78,216,.07) 1px, transparent 1px); background-size: 32px 32px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-bg); border: 1px solid rgba(22,163,74,.25);
  color: var(--green); font-size: .67rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px 5px 10px; border-radius: var(--r-pill); margin-bottom: 22px;
  position: relative; overflow: hidden;
  animation: badgeIn .5s var(--ease) .08s both;
}
/* Shimmer sweep – repeats every 4s */
.hero-badge::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: shimmer 3.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

/* ── HERO CENTERED LAYOUT ───────────────────────────────────── */
.hero-wrap { max-width: 680px; }
.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.hero-left  { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.hero-right { width: 100%; max-width: 480px; }

/* ── BIG HEADLINE ───────────────────────────────────────────── */
.hero-h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 20px;
  animation: fadeUp .45s var(--ease) .12s both;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeUp .4s var(--ease) .2s both;
}

/* Spacing after CTA when quiz hint is absent */
.hero-cta-btn { margin-bottom: 28px; }

/* CTA button */
@keyframes ctaShine {
  0%   { left: -75%; }
  100% { left: 125%; }
}
.hero-cta-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad); color: #fff;
  font-size: 1.08rem; font-weight: 800; letter-spacing: .01em;
  padding: 17px 34px; border: none; border-radius: var(--r-pill);
  cursor: pointer; box-shadow: var(--shadow-xl);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: fadeUp .4s var(--ease) .27s both;
  white-space: nowrap;
}
.hero-cta-btn::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  animation: ctaShine 3s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.hero-cta-btn:hover  { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(29,78,216,.38); }
.hero-cta-btn:active { transform: translateY(0); box-shadow: var(--shadow-xl); }

/* Quiz hint – single-line friction reducer */
.hero-quiz-hint {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; margin-bottom: 32px;
  font-size: .78rem; color: var(--muted);
  animation: fadeUp .4s var(--ease) .33s both;
}
.hqh-icon { font-size: .82rem; }

/* Bottom row: social proof + trust in one line */
.hero-bottom-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px;
  justify-content: center;
  animation: fadeUp .4s var(--ease) .4s both;
}
.social-proof-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow);
}
.sp-avatars { display: flex; }
.sp-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .56rem; font-weight: 800; color: #fff;
  margin-left: -7px;
}
.sp-av:first-child { margin-left: 0; }
.sp-text        { font-size: .75rem; font-weight: 500; }
.sp-text strong { }

.hero-trust {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 5px 10px;
  font-size: .71rem; color: var(--muted); margin: 0;
}
.ht-item { display: inline-flex; align-items: center; gap: 4px; }
.ht-check { color: var(--green); font-size: .65rem; font-weight: 900; }

/* ── HERO OVERRIDES ─────────────────────────────────────────── */
#step-0 .webinar-card { box-shadow: var(--shadow-lg); }

/* ── WEBINAR CARD (right column) ────────────────────────────── */
.webinar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeUp .5s var(--ease) .18s both;
}
.wc-top { background: var(--grad); padding: 22px 22px 20px; }
.wc-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 8px;
}
.wc-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
.wc-title    { font-size: 1.12rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.wc-subtitle { font-size: .74rem; color: rgba(255,255,255,.72); }

.wc-body    { padding: 18px 20px 20px; }
.wc-meta    { display: flex; flex-direction: column; gap: 7px; }
.wc-meta-item { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--text); font-weight: 500; }
.wc-cd-row { color: var(--orange); font-weight: 600; }
.wc-cd-row strong { color: var(--orange); }
.wc-meta-icon { width: 18px; text-align: center; flex-shrink: 0; font-size: .88rem; }
.wc-divider { height: 1px; background: var(--border); margin: 14px 0; }

.wc-speaker { display: flex; align-items: center; gap: 11px; }
.wc-speaker-photo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border); flex-shrink: 0; }
.wc-speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wc-speaker-info { display: flex; flex-direction: column; gap: 2px; }
.wc-speaker-info strong { font-size: .82rem; color: var(--text); }
.wc-speaker-info span   { font-size: .7rem; color: var(--dim); }

.wc-benefits { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.wc-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--text); font-weight: 500; line-height: 1.45; }
.wc-check { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg,#dcfce7,#bbf7d0); border: 1px solid rgba(22,163,74,.3); display: flex; align-items: center; justify-content: center; font-size: .5rem; font-weight: 900; color: var(--green); margin-top: 1px; }

/* Registration deadline countdown */
@keyframes rdPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220,38,38,.3); }
  50%      { transform: scale(1.015); box-shadow: 0 0 18px 3px rgba(220,38,38,.12); }
}
.reg-deadline {
  background: #dc2626;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 20px 0;
  animation: rdPulse 2.4s ease-in-out infinite;
  transform-origin: center;
}
.rd-top {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px;
}
.rd-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #fff;
  animation: pulse 2s infinite;
}
.rd-label {
  font-size: .76rem; font-weight: 700; color: #fff;
  letter-spacing: .04em; white-space: nowrap;
}
.rd-boxes {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(0,0,0,.15);
  padding: 10px 16px;
}
.rd-box {
  display: flex; flex-direction: column; align-items: center;
  min-width: 44px;
}
.rd-num {
  font-size: 1.4rem; font-weight: 900; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums; text-align: center;
}
.rd-sub {
  font-size: .52rem; font-weight: 600; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 3px;
}
.rd-colon {
  font-size: 1.2rem; font-weight: 900; color: rgba(255,255,255,.4);
  line-height: 1; padding-bottom: 12px;
}
.reg-deadline--form { margin: 0 0 16px; }
.reg-deadline--mobile { display: none; margin: 0 0 12px; }
.hero-cta-group {
  display: inline-flex; flex-direction: column; align-items: stretch;
  margin-bottom: 28px;
}
.hero-cta-group .reg-deadline { width: auto; }
.hero-cta-group .hero-cta-btn { margin-bottom: 0; }
.reg-deadline.rd-expired { animation: none; opacity: .45; }
.reg-deadline.rd-expired .rd-dot { animation: none; }
.reg-deadline.rd-expired .rd-boxes { display: none; }

.wc-scarcity { margin: 14px 0 16px; }
.wc-sc-row { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--text); margin-bottom: 6px; }

.wc-cta {
  display: block; width: 100%; background: var(--grad); color: #fff;
  font-size: .97rem; font-weight: 800;
  padding: 14px 20px; border: none; border-radius: var(--r-pill);
  cursor: pointer; font-family: var(--font); box-shadow: var(--shadow-xl);
  transition: transform .18s ease, box-shadow .18s ease;
  margin-bottom: 8px;
}
.wc-cta:hover  { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(29,78,216,.35); }
.wc-cta:active { transform: translateY(0); box-shadow: var(--shadow-xl); }
.wc-hint { text-align: center; font-size: .67rem; color: var(--dim); }

/* ── HERO RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-h1 { font-size: clamp(2.2rem, 6.5vw, 3.4rem); }
}
@media (max-width: 560px) {
  .hero-right { display: none; }
  .reg-deadline--mobile { display: block; }
  .hero-h1    { font-size: clamp(2rem, 8.5vw, 3rem); }
  .hero-trust { flex-wrap: wrap; justify-content: center; }
}

/* ── CHOICE STEPS 1–3 ───────────────────────────────────────── */
.question-step {
  background: linear-gradient(160deg, var(--white) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.q-num-bg {
  position: absolute; top: 50%; right: -16px; transform: translateY(-55%);
  font-size: clamp(7rem, 20vw, 13rem); font-weight: 900; line-height: 1;
  letter-spacing: -.06em; color: rgba(29,78,216,.045);
  pointer-events: none; user-select: none; z-index: 0;
}
.question-step .step-body { position: relative; z-index: 1; }
.q-header { margin-bottom: 28px; }
.q-header h2 { margin-top: 6px; }

/* Ripple click effect */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: rgba(29,78,216,.12);
  transform: scale(0); animation: rippleAnim .55s ease-out forwards;
}

/* Cards slide in individually, container itself doesn't animate */
.step.step-in .stagger .choices { animation: none; opacity: 1; transform: none; }
.step.step-in .choices .choice-card             { animation: cardIn .38s var(--ease) both; }
.step.step-in .choices .choice-card:nth-child(1) { animation-delay: .08s; }
.step.step-in .choices .choice-card:nth-child(2) { animation-delay: .14s; }
.step.step-in .choices .choice-card:nth-child(3) { animation-delay: .20s; }
.step.step-in .choices .choice-card:nth-child(4) { animation-delay: .26s; }

.choices { display: flex; flex-direction: column; gap: 11px; }
.choice-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s var(--ease), background .22s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.choice-card:hover  {
  border-color: var(--blue-3);
  box-shadow: 0 2px 12px rgba(29,78,216,.1);
  transform: translateY(-1px);
}
.choice-card:active { transform: scale(.98); box-shadow: none; transition-duration: .08s; }
.choice-card.selected {
  border-color: var(--blue);
  background: rgba(29,78,216,.04);
  box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}

/* Radio circle via ::before */
.choice-card::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice-card:hover::before    { border-color: var(--blue-3); }
.choice-card.selected::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #fff; }

/* Emoji icons hidden */
.choice-icon { display: none; }

.choice-label { font-size: .95rem; font-weight: 600; color: var(--text); flex: 1; }
.choice-arrow { color: var(--dim); font-size: 1rem; transition: transform .22s var(--ease), color .2s; }
.choice-card:hover    .choice-arrow { transform: translateX(4px); color: var(--blue); }
.choice-card.selected .choice-arrow { transform: translateX(4px); color: var(--blue); }

/* ── STEP 4 – RESOLUTION ────────────────────────────────────── */
#step-4 { background: var(--white); }

.resolution-match {
  font-size: .95rem; line-height: 1.65; color: var(--muted);
  background: var(--bg); border-left: 3px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 13px 18px; margin-bottom: 20px;
}
.resolution-match strong { color: var(--text); }

.rc-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.rc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--text); font-weight: 500; line-height: 1.5;
}
.rc-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 1px solid rgba(22,163,74,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .52rem; font-weight: 900; color: var(--green);
}

.founder-quote {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
  margin-bottom: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.fq-speaker { display: flex; align-items: center; gap: 11px; }
.fq-photo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border); flex-shrink: 0; }
.fq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fq-meta { display: flex; flex-direction: column; gap: 2px; }
.fq-meta strong { font-size: .82rem; color: var(--text); }
.fq-meta span { font-size: .7rem; color: var(--dim); }
.fq-text { font-size: .88rem; line-height: 1.72; color: var(--muted); font-style: italic; margin: 0; padding: 0; }

.btn-full { display: flex; justify-content: center; width: 100%; font-size: 1.05rem; padding: 16px 28px; }
.cta-sub-hint { text-align: center; font-size: .72rem; color: var(--dim); margin-top: 9px; }

/* ── STEP 5 – FORM ──────────────────────────────────────────── */
#step-5 { background: var(--bg); }

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  margin-bottom: 14px;
}
.form-card-top { background: var(--grad); padding: 20px 24px; }
.fc-tag {
  display: flex; align-items: center; gap: 7px;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 4px;
}
.fc-ldot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
.fc-title { font-size: 1.12rem; font-weight: 800; color: #fff; }
.fc-sub { font-size: .73rem; color: rgba(255,255,255,.7); margin-top: 2px; }

.form-card-body { padding: 20px 24px 22px; }

.sbar { background: rgba(234,88,12,.05); border: 1px solid rgba(234,88,12,.18); border-radius: 8px; padding: 9px 12px; margin-bottom: 16px; }
.sbar-row { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--text); margin-bottom: 6px; }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; flex-shrink: 0; }
.snum { font-weight: 800; color: var(--orange); }
.sfree { margin-left: auto; font-weight: 700; color: var(--orange); font-size: .67rem; }
.strack { height: 4px; background: rgba(0,0,0,.07); border-radius: var(--r-pill); overflow: hidden; }
.sfill { height: 100%; background: linear-gradient(90deg, var(--orange), #dc2626); border-radius: var(--r-pill); transition: width .9s ease; }

.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fg { margin-bottom: 10px; }
.fg label { display: block; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); margin-bottom: 5px; }
.fg input {
  width: 100%; background: #f8fafc; border: 1.5px solid var(--border);
  border-radius: 9px; padding: 12px 13px;
  font-size: .93rem; color: var(--text); font-family: var(--font);
  outline: none; transition: border-color .18s, box-shadow .18s, background .18s;
}
.fg input::placeholder { color: #c0c9d4; }
.fg input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(37,99,235,.1); background: var(--white); }
.fg input.error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.field-error { font-size: .7rem; color: #dc2626; margin-top: 4px; display: none; }
.fg input.error ~ .field-error { display: block; }

.btn-submit {
  display: block; width: 100%; background: var(--grad); color: #fff;
  font-size: 1.05rem; font-weight: 800; letter-spacing: .01em;
  padding: 15px 20px; border: none; border-radius: var(--r-pill);
  cursor: pointer; text-align: center; box-shadow: var(--shadow-xl);
  transition: transform .15s, box-shadow .15s, opacity .2s;
  animation: ctaGlow 2.5s ease-in-out infinite;
  margin-bottom: 12px;
}
.btn-submit:hover  { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(29,78,216,.38); animation: none; }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; animation: none; }
.btn-submit .btn-loading { display: none; align-items: center; gap: 8px; justify-content: center; }
.btn-submit.loading .btn-text    { display: none; }
.btn-submit.loading .btn-loading { display: flex; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }

.form-trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
.ftr-item { display: flex; align-items: center; gap: 5px; font-size: .68rem; color: var(--dim); }

.trust-block {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow);
}
.trust-photo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border); flex-shrink: 0; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.trust-text strong { font-size: .82rem; color: var(--text); display: block; margin-bottom: 2px; }
.trust-text p { font-size: .76rem; line-height: 1.5; margin: 0; }

/* ── BTN-NEXT ───────────────────────────────────────────────── */
.btn-next {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff;
  font-size: .95rem; font-weight: 800;
  padding: 14px 28px; border: none; border-radius: var(--r-pill);
  cursor: pointer; box-shadow: var(--shadow-xl);
  transition: transform .15s, box-shadow .15s;
}
.btn-next:hover  { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(29,78,216,.38); }
.btn-next:active { transform: translateY(0); }

/* ── AI ANALYSIS OVERLAY ────────────────────────────────────── */
.ai-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: linear-gradient(160deg, #060d22 0%, #0b1835 55%, #0e1d48 100%);
  display: flex; align-items: center; justify-content: center;
  animation: aiOvIn .3s ease both;
}
.ai-overlay.ai-overlay-out { animation: aiOvOut .36s ease forwards; pointer-events: none; }

.ai-ov-inner { text-align: center; padding: 0 28px; max-width: 360px; width: 100%; }

.ai-ov-orb {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 28px;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: rgba(255,255,255,.92);
  position: relative;
  animation: aiOrb 1.5s ease-in-out infinite;
}
.ai-ov-orb::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(96,165,250,.28);
  animation: aiRing 1.5s ease-in-out infinite;
}

.ai-ov-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 22px;
}

.ai-ov-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ai-ov-item {
  display: flex; align-items: center; gap: 10px; text-align: left;
  font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-pill); padding: 9px 16px;
  opacity: 0; animation: aiItemIn .3s var(--ease) both;
  transition: color .4s ease, background .4s ease, border-color .4s ease;
}
#ai-i1 { animation-delay: .15s; }
#ai-i2 { animation-delay: .42s; }
#ai-i3 { animation-delay: .74s; }
.ai-ov-item::before { content: '○'; font-size: .72rem; color: rgba(255,255,255,.18); flex-shrink: 0; transition: color .3s; }
.ai-ov-item.done { color: rgba(255,255,255,.82); background: rgba(59,130,246,.1); border-color: rgba(96,165,250,.24); }
.ai-ov-item.done::before { content: '✓'; color: #60a5fa; }

/* ── AI PILL (question steps) ────────────────────────────────── */
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-2); background: rgba(29,78,216,.07);
  border: 1px solid rgba(29,78,216,.16);
  border-radius: var(--r-pill); padding: 4px 11px; margin-bottom: 10px;
}
.ai-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); flex-shrink: 0; }

/* ── AI MATCH BADGE (step 4) ─────────────────────────────────── */
.ai-match-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,78,216,.07); border: 1px solid rgba(29,78,216,.2);
  border-radius: var(--r-pill); padding: 7px 16px; margin-bottom: 14px;
  animation: fadeUp .35s var(--ease) .05s both;
}
.amb-icon { font-size: .9rem; color: var(--blue-3); }
.amb-score { font-size: 1.1rem; font-weight: 900; color: var(--blue); }
.amb-label { font-size: .7rem; font-weight: 700; color: var(--blue-2); text-transform: uppercase; letter-spacing: .1em; }

/* ── TOAST ──────────────────────────────────────────────────── */
#toast-wrap {
  position: fixed; bottom: 16px; left: 12px; z-index: 600;
  pointer-events: none; display: flex; flex-direction: column; gap: 6px;
}
.toast {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); border: 1px solid var(--border);
  border-radius: var(--r); padding: 7px 11px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  max-width: 200px; animation: toastIn .28s var(--ease) both;
  backdrop-filter: blur(8px);
}
.toast.hiding { animation: toastOut .22s ease forwards; }
.toast-av { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: .56rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.toast-name   { font-size: .7rem; font-weight: 700; color: var(--text); }
.toast-action { font-size: .62rem; color: var(--dim); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.funnel-footer { background: var(--text); padding: 20px 24px; text-align: center; }
.funnel-footer img { height: 20px; display: block; margin: 0 auto 10px; opacity: .45; }
.footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 5px; }
.footer-links a { font-size: .68rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: .65rem; color: rgba(255,255,255,.2); }


/* ============================================================
   THANK-YOU PAGE
   ============================================================ */
.ty-page { min-height: 100vh; background: linear-gradient(160deg, var(--white) 0%, var(--bg) 100%); display: flex; flex-direction: column; }
.ty-nav { background: rgba(255,255,255,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 14px 24px; }
.ty-nav img { height: 22px; filter: brightness(0); }
.ty-content { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 24px 64px; }
.ty-inner { max-width: 600px; width: 100%; }

.ty-success { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 36px; animation: scaleIn .5s var(--ease) both; }
.ty-check-circle {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--green-bg); border: 2px solid rgba(22,163,74,.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.ty-check-circle svg { width: 30px; height: 30px; }
.ty-check-circle path { stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; animation: checkDraw .5s var(--ease) .35s forwards; }
.ty-success h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 10px; }
.ty-success p  { font-size: .97rem; max-width: 420px; }

.ty-details-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; margin-bottom: 14px;
  box-shadow: var(--shadow); animation: fadeUp .5s var(--ease) .2s both;
}
.ty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.ty-cell { background: var(--white); padding: 14px 10px; text-align: center; }
.ty-cell-lbl { font-size: .58rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.ty-cell-val { font-size: .9rem; font-weight: 700; color: var(--text); }

.ty-btn-group { display: flex; gap: 10px; }
.ty-btn-primary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--grad); color: #fff; font-size: .88rem; font-weight: 700;
  padding: 13px 14px; border-radius: var(--r-pill); border: none;
  cursor: pointer; font-family: var(--font); box-shadow: var(--shadow-xl);
  transition: transform .15s, box-shadow .15s; text-align: center;
}
.ty-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(29,78,216,.38); }
.ty-btn-secondary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--white); color: var(--blue); font-size: .88rem; font-weight: 700;
  padding: 12px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--blue);
  cursor: pointer; font-family: var(--font); transition: background .15s, transform .15s; text-align: center;
}
.ty-btn-secondary:hover { background: #eff6ff; transform: translateY(-2px); }

.ty-bonus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; animation: fadeUp .5s var(--ease) .38s both; }
.ty-bonus-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--shadow); }
.ty-bonus-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ty-bonus-text h4 { font-size: .82rem; color: var(--text); margin-bottom: 2px; }
.ty-bonus-text p  { font-size: .73rem; line-height: 1.5; margin: 0; }

.ty-email-note { text-align: center; padding: 11px 16px; background: var(--bg); border-radius: var(--r); font-size: .77rem; color: var(--muted); animation: fadeUp .5s var(--ease) .48s both; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .fg2         { grid-template-columns: 1fr; }
  .ty-btn-group{ flex-direction: column; }
  .ty-grid     { grid-template-columns: 1fr; }
  .ty-bonus    { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 7.5vw, 1.9rem); }
  .form-card-body, .form-card-top { padding-left: 18px; padding-right: 18px; }
  .ty-details-card { padding: 18px 16px; }
}
