/* =====================================================================
   TapFlash home page — creative redesign (2026-11-30)
   Shared nav/footer/buttons come from styles.css; everything here is
   scoped to home-page classes.
   ===================================================================== */

:root {
  --ink: #070d1a;
  --ink-2: #0d1628;
  --blue-l: #60a5fa;
  --green-l: #4ade80;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

body { overflow-x: hidden; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* ---------- Shared bits ---------- */
.hs-section { padding: 120px 0; position: relative; }
.hs-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.hs-head h2, .tl-copy h2, .cta-card h2 {
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.035em; color: var(--navy);
}
.hs-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; text-align: left; }
.hs-head--split p { max-width: 380px; color: var(--text); font-size: 17px; }
.kicker {
  display: inline-block; margin-bottom: 18px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.kicker--green { color: var(--green-l); }
.grad-text {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn-glow {
  background: linear-gradient(90deg, var(--blue), #1d9bf0 55%, var(--green));
  background-size: 200% 100%; color: #fff;
  box-shadow: 0 10px 40px rgba(37, 99, 235, .45);
  transition: background-position .5s ease, box-shadow .3s ease, transform .2s ease;
}
.btn-glow:hover { background-position: 100% 0; box-shadow: 0 14px 50px rgba(34, 197, 94, .45); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.magnetic { will-change: transform; }

/* ---------- Reveal system ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal-group].revealed > * { opacity: 1; transform: none; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: .2s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: .3s; }

/* =====================================================================
   HERO
   ===================================================================== */
.home-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; color: #fff;
  background: var(--ink); padding: 136px 0 120px; isolation: isolate;
}
.hh-bg { position: absolute; inset: -8% 0 0 0; z-index: -3; }
.hh-bg-img {
  position: absolute; inset: 0;
  background: url("images/hero-bg.jpg") center / cover no-repeat;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(var(--hero-scale, 1.08));
  animation: heroZoomIn 2.4s var(--ease-out) both;
}
@keyframes heroZoomIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
.hh-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(7,13,26,.94) 0%, rgba(7,13,26,.8) 45%, rgba(7,13,26,.55) 100%),
    linear-gradient(0deg, rgba(7,13,26,1) 0%, rgba(7,13,26,0) 30%);
}
.hh-spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(37,99,235,.22), transparent 60%);
  transition: background .1s linear;
}
.hh-grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%);
}

.hh-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; width: 100%; }
.hh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 28px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9);
  animation: fadeUp .8s .1s var(--ease-out) both;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }

.hh-title {
  font-size: clamp(42px, 5.8vw, 84px); line-height: .98; letter-spacing: -0.045em;
  color: #fff; margin-bottom: 28px; max-width: 15ch;
}
.hh-title em { font-style: normal; }
.hh-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hh-title .word > span { display: inline-block; transform: translateY(110%); animation: wordUp 1s var(--ease-out) forwards; animation-delay: calc(.25s + var(--i) * .06s); }
.hh-title em .word > span { background: linear-gradient(90deg, var(--blue-l), var(--green-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { to { transform: none; } }

.hh-sub { font-size: 18.5px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 40px; animation: fadeUp .9s .9s var(--ease-out) both; }
.hh-ctas { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp .9s 1.05s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Phone + chips */
.hh-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; animation: fadeUp 1.2s .5s var(--ease-out) both; }
.hh-phone {
  position: relative; z-index: 2; margin: 0; width: min(100%, 300px);
  transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 6deg));
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.hh-phone img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.hh-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(96,165,250,.25); transform: translate(-50%, -50%); pointer-events: none; }
.hh-ring--1 { width: 420px; height: 420px; animation: spin 30s linear infinite; border-style: dashed; }
.hh-ring--2 { width: 560px; height: 560px; border-color: rgba(74,222,128,.14); animation: spin 50s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hh-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; color: #fff;
  background: rgba(13,22,40,.6); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform .3s ease-out;
}
.hh-chip > i, .hh-chip > svg { width: 20px; height: 20px; color: var(--green-l); flex: none; }
.hh-chip small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.hh-chip strong { font-family: 'Manrope'; font-size: 15px; }
.hh-chip--a { top: 12%; left: -12%; animation: bob 6s ease-in-out infinite; }
.hh-chip--b { top: 48%; right: -14%; animation: bob 7s -2s ease-in-out infinite; }
.hh-chip--c { bottom: 8%; left: -6%; animation: bob 6.5s -4s ease-in-out infinite; }
.hh-chip--b > svg { color: var(--blue-l); }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }

.hh-scroll {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255,255,255,.4);
}
.hh-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   STATEMENT + COMPARE
   ===================================================================== */
.statement { padding-top: 160px; }
.statement-text {
  font-family: 'Manrope'; font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; max-width: 1000px; margin: 0 auto 80px; text-align: center;
}
.statement-text .sw { color: rgba(15,23,42,.14); transition: color .3s ease; }
.statement-text .sw.on { color: var(--navy); }
.statement-text strong .sw.on { color: var(--blue); }

.compare {
  position: relative; aspect-ratio: 16 / 8; border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(15,23,42,.18); user-select: none; --pos: 50%; background: var(--ink);
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-before .compare-img { filter: saturate(.7) contrast(1.05); }
.compare-label {
  position: absolute; top: 20px; padding: 8px 14px; border-radius: 100px; font-size: 13px; font-weight: 700;
  background: rgba(7,13,26,.6); color: #fff; backdrop-filter: blur(8px); pointer-events: none;
}
.compare-label--before { left: 20px; }
.compare-label--after { right: 20px; background: rgba(34,197,94,.85); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.compare-handle svg { width: 24px; height: 24px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-range:focus-visible + * , .compare:focus-within .compare-handle span { outline: 3px solid var(--blue-l); outline-offset: 3px; }
.compare-hint { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; color: var(--text); font-size: 13.5px; }

/* =====================================================================
   STATS
   ===================================================================== */
.stats-band { background: var(--ink); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px circle at 20% 0%, rgba(37,99,235,.25), transparent 60%), radial-gradient(500px circle at 80% 100%, rgba(34,197,94,.18), transparent 60%);
}
.stats-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: 'Manrope'; font-weight: 800; font-size: clamp(40px, 5vw, 72px); letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat:first-child .stat-num { background: linear-gradient(90deg, var(--blue-l), var(--green-l)); -webkit-background-clip: text; background-clip: text; }
.stat-label { margin-top: 12px; color: rgba(255,255,255,.6); font-size: 14.5px; }

/* =====================================================================
   HOW IT WORKS — sticky phone
   ===================================================================== */
.how { background: var(--bg); }
.how-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.how-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s ease; }
.how-step.is-active { opacity: 1; }
.how-num { font-family: 'Manrope'; font-weight: 800; font-size: 15px; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.how-num::after { content: ''; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .7s var(--ease-out); }
.how-step.is-active .how-num::after { width: 80px; }
.how-step h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; color: var(--navy); margin-bottom: 16px; }
.how-step p { font-size: 17.5px; color: var(--text); max-width: 460px; line-height: 1.65; }
.how-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.how-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--navy); }
.how-tags svg { width: 14px; height: 14px; color: var(--blue); }

.how-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; gap: 28px; }
.how-phone { position: relative; width: min(100%, 300px); aspect-ratio: 1368 / 2828; }
.how-phone-glow { position: absolute; inset: 10% -20%; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.28), rgba(34,197,94,.12) 50%, transparent 70%); filter: blur(30px); transition: transform .8s var(--ease-out); }
.how-screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateY(30px) scale(.94) rotate(-2deg);
  transition: opacity .6s ease, transform .8s var(--ease-out);
  filter: drop-shadow(0 30px 50px rgba(15,23,42,.25));
}
.how-screen.is-active { opacity: 1; transform: none; }
.how-dots { display: flex; flex-direction: column; gap: 10px; }
.how-dots i { width: 8px; height: 8px; border-radius: 8px; background: #cbd5e1; transition: height .4s var(--ease-out), background .4s; }
.how-dots i.is-active { height: 32px; background: linear-gradient(var(--blue), var(--green)); }

/* =====================================================================
   AUDIENCES
   ===================================================================== */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1000px; }
.aud-card {
  --sx: 50%; --sy: 50%;
  position: relative; overflow: hidden; padding: 36px 32px; border-radius: 28px; background: #fff;
  border: 1px solid var(--border); transform-style: preserve-3d;
  transition: transform .3s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.aud-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(37,99,235,.12), transparent 60%);
}
.aud-card:hover { box-shadow: 0 30px 60px rgba(15,23,42,.12); border-color: rgba(37,99,235,.3); }
.aud-card:hover::before { opacity: 1; }
.aud-card--feature { background: var(--ink); color: #fff; border-color: transparent; }
.aud-card--feature::before { background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(34,197,94,.22), transparent 60%); }
.aud-card--feature h3 { color: #fff !important; }
.aud-card--feature p { color: rgba(255,255,255,.7) !important; }
.aud-card--feature .aud-pills span { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.14); }
.aud-card--feature .aud-tag { color: var(--green-l); background: rgba(34,197,94,.12); }
.aud-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; position: relative; }
.aud-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.aud-icon svg { width: 24px; height: 24px; }
.aud-icon.blue { background: rgba(37,99,235,.1); color: var(--blue); }
.aud-icon.green { background: rgba(34,197,94,.15); color: var(--green-l); }
.aud-icon.navy { background: rgba(15,23,42,.07); color: var(--navy); }
.aud-tag { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: rgba(37,99,235,.08); color: var(--blue); }
.aud-num { display: block; font-family: 'Manrope'; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(37,99,235,.35); margin-bottom: 18px; position: relative; }
.aud-card--feature .aud-num { -webkit-text-stroke-color: rgba(74,222,128,.5); }
.aud-card h3 { font-size: 22px; letter-spacing: -.02em; color: var(--navy); margin-bottom: 12px; position: relative; }
.aud-card p { color: var(--text); font-size: 15.5px; line-height: 1.65; position: relative; }
.aud-pills { display: flex; gap: 8px; margin-top: 28px; position: relative; }
.aud-pills span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border); color: var(--navy); }

/* =====================================================================
   TELEMETRY
   ===================================================================== */
.telemetry { padding-top: 40px; }
.tl-panel {
  position: relative; overflow: hidden; border-radius: 36px; padding: 72px; color: #fff;
  background: radial-gradient(700px circle at 0% 0%, rgba(37,99,235,.35), transparent 55%), radial-gradient(600px circle at 100% 100%, rgba(34,197,94,.2), transparent 55%), var(--ink);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
.tl-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.tl-copy, .tl-dash { position: relative; z-index: 1; }
.tl-copy h2 { color: #fff; margin-bottom: 18px; }
.tl-copy > p { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 28px; }
.tl-tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); margin-bottom: 32px; flex-wrap: wrap; }
.tl-tabs button { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 100px; background: transparent; color: rgba(255,255,255,.7); font: 600 13.5px 'Inter', sans-serif; transition: background .3s, color .3s; }
.tl-tabs button:hover { color: #fff; }
.tl-tabs button.is-active { background: #fff; color: var(--navy); }
.tl-list { list-style: none; display: grid; gap: 18px; }
.tl-list li { display: flex; gap: 14px; align-items: flex-start; }
.tl-list li > svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: rgba(34,197,94,.12); color: var(--green-l); }
.tl-list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.tl-list span { color: rgba(255,255,255,.65); font-size: 14.5px; }

.tl-dash { border-radius: 24px; padding: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.tl-dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.tl-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green-l); text-transform: uppercase; letter-spacing: .08em; }
.tl-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tl-name { font-family: 'Manrope'; font-weight: 700; font-size: 16px; flex: 1; }
.tl-demo { font-size: 11px; color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.15); padding: 3px 8px; border-radius: 100px; }
.tl-dash-grid { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; }
.tl-gauge { position: relative; width: 170px; height: 170px; }
.tl-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tl-gauge circle { fill: none; stroke-width: 10; }
.tl-gauge-track { stroke: rgba(255,255,255,.08); }
.tl-gauge-fill { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.4s var(--ease-out), stroke .4s; }
.tl-gauge-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tl-gauge-label strong { font-family: 'Manrope'; font-size: 34px; letter-spacing: -.03em; }
.tl-gauge-label small { color: rgba(255,255,255,.55); font-size: 12px; }
.tl-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tl-metric { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.tl-metric small { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.tl-metric strong { font-family: 'Manrope'; font-size: 16px; transition: color .3s; }
.tl-metric strong.good { color: var(--green-l); }
.tl-metric strong.warn { color: #fbbf24; }
.tl-metric strong.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.15); color: var(--green-l); } }
.tl-metric strong { display: inline-block; }
.tl-spark { margin-top: 20px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.tl-spark-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.tl-spark-head small { font-size: 11.5px; color: rgba(255,255,255,.5); }
.tl-spark svg { width: 100%; height: 70px; display: block; overflow: visible; }
.tl-spark-area { fill: url(#sparkFill); transition: opacity .6s; }
.tl-spark-line { fill: none; stroke: var(--green-l); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* =====================================================================
   QUOTES
   ===================================================================== */
.quote-stage { position: relative; max-width: 900px; margin: 0 auto; text-align: center; display: grid; }
.quote-mark { font-family: 'Manrope'; font-weight: 800; font-size: 200px; line-height: .6; height: 90px; display: block; background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote { grid-area: 2 / 1; margin: 0; opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity .6s ease, transform .6s var(--ease-out), filter .6s ease; pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.quote blockquote { font-family: 'Manrope'; font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; letter-spacing: -.02em; color: var(--navy); margin-bottom: 24px; }
.quote figcaption { color: var(--text); font-size: 15px; }
.quote figcaption strong { color: var(--navy); }
.quote-nav { grid-area: 3 / 1; display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.quote-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s, transform .2s; }
.quote-arrow:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.quote-arrow svg { width: 18px; height: 18px; }
.quote-dots { display: flex; gap: 8px; }
.quote-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #cbd5e1; cursor: pointer; transition: width .4s var(--ease-out), background .3s; }
.quote-dots button.is-active { width: 32px; background: linear-gradient(90deg, var(--blue), var(--green)); }

/* =====================================================================
   PARTNERS
   ===================================================================== */
.partners-band { padding: 40px 0 80px; text-align: center; overflow: hidden; }
.partners-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 26px; }
.partners-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.partners-track { display: flex; gap: 80px; width: max-content; animation: marquee 26s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-track span { font-family: 'Manrope'; font-weight: 800; font-size: 28px; letter-spacing: -.03em; color: #94a3b8; transition: color .3s; white-space: nowrap; }
.partners-track span:hover { color: var(--navy); }

/* =====================================================================
   CTA — "Ready to deploy"
   ===================================================================== */
.cta-final { padding-top: 40px; }
.cta-card {
  --sx: 70%; --sy: 30%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 80px 72px; border-radius: 40px; color: #fff;
  background: linear-gradient(135deg, #1d3fae 0%, #2563eb 45%, #0f8f6e 100%);
  box-shadow: 0 50px 100px -30px rgba(37,99,235,.55);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(255,255,255,.18), transparent 60%);
}
.cta-noise {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 65%);
}
.cta-rings { position: absolute; right: -140px; bottom: -140px; width: 520px; height: 520px; z-index: -1; pointer-events: none; }
.cta-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: ctaRing 6s ease-out infinite; opacity: 0; }
.cta-rings i:nth-child(2) { animation-delay: 2s; }
.cta-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ctaRing { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }

.cta-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.cta-card.in .cta-copy > * { opacity: 1; transform: none; }
.cta-card.in .cta-copy > :nth-child(2) { transition-delay: .08s; }
.cta-card.in .cta-copy > :nth-child(3) { transition-delay: .16s; }
.cta-card.in .cta-copy > :nth-child(4) { transition-delay: .24s; }
.cta-card.in .cta-copy > :nth-child(5) { transition-delay: .32s; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 26px;
  border-radius: 100px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.cta-pill .pulse-dot, .cta-pill .pulse-dot::after { background: #4ade80; }
.cta-card h2 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; }
.cta-hl { position: relative; white-space: nowrap; z-index: 0; }
.cta-hl::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .32em; z-index: -1;
  background: #4ade80; opacity: .55; border-radius: 4px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s .5s var(--ease-out);
}
.cta-card.in .cta-hl::after { transform: scaleX(1); }
.cta-copy > p { color: rgba(255,255,255,.82); font-size: 17.5px; max-width: 480px; margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-btn { background: #fff; color: var(--navy); box-shadow: 0 16px 40px rgba(7,13,26,.3); transition: box-shadow .3s ease, transform .2s ease; }
.cta-btn:hover { box-shadow: 0 20px 50px rgba(7,13,26,.4); }
.cta-btn-arrow { transition: transform .3s var(--ease-out); }
.cta-btn:hover .cta-btn-arrow { transform: translate(3px, -3px); }
.cta-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #fff; padding-bottom: 2px; background: linear-gradient(#fff, #fff) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); }
.cta-link:hover { background-size: 100% 1.5px; }
.cta-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13.5px; color: rgba(255,255,255,.85); }
.cta-trust span { display: inline-flex; align-items: center; gap: 7px; }
.cta-trust svg { width: 15px; height: 15px; color: #86efac; }

/* Deployment path */
.cta-path {
  position: relative; padding: 30px; border-radius: 28px;
  background: rgba(7,13,26,.28); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(7,13,26,.25);
  opacity: 0; transform: translateY(40px) rotate(2deg); transition: opacity .9s .15s var(--ease-out), transform .9s .15s var(--ease-out);
}
.cta-card.in .cta-path { opacity: 1; transform: none; }
.cta-path-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.cta-steps { list-style: none; position: relative; display: grid; gap: 26px; }
.cta-steps::before, .cta-steps::after { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; }
.cta-steps::before { background: rgba(255,255,255,.15); }
.cta-steps::after { background: #4ade80; transform: scaleY(0); transform-origin: top; transition: transform 1.6s .6s var(--ease-out); box-shadow: 0 0 12px #4ade80; }
.cta-card.in .cta-steps::after { transform: scaleY(1); }
.cta-step { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.cta-step-icon {
  --d: 0s;
  position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(7,13,26,.25);
  opacity: .35; transform: scale(.82);
  transition: transform .5s var(--ease-out);
}
.cta-step-icon svg { width: 19px; height: 19px; }
.cta-step:nth-child(1) .cta-step-icon { --d: .6s; }
.cta-step:nth-child(2) .cta-step-icon { --d: 1.2s; }
.cta-step:nth-child(3) .cta-step-icon { --d: 1.8s; color: #0f8f6e; }
.cta-step > div { opacity: .55; transition: opacity .5s ease; }
.cta-card.in .cta-step-icon { animation: stepOn .6s var(--d) cubic-bezier(.34,1.56,.64,1) forwards; }
.cta-card.in .cta-step > div { opacity: 1; }
.cta-card.in .cta-step:nth-child(1) > div { transition-delay: .6s; }
.cta-card.in .cta-step:nth-child(2) > div { transition-delay: 1.2s; }
.cta-card.in .cta-step:nth-child(3) > div { transition-delay: 1.8s; }
@keyframes stepOn { to { opacity: 1; transform: scale(1); } }
.cta-card.in .cta-step:hover .cta-step-icon { animation: none; opacity: 1; transform: scale(1.1) rotate(-6deg); }
.cta-step strong { display: block; font-family: 'Manrope'; font-size: 16.5px; margin: 2px 0 3px; }
.cta-step small { display: block; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); }
.cta-live-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 100px;
  background: rgba(74,222,128,.16); border: 1px solid rgba(74,222,128,.4); color: #bbf7d0; font-size: 12.5px; font-weight: 600;
  opacity: 0; transform: scale(.85); transition: opacity .5s 2.3s ease, transform .6s 2.3s cubic-bezier(.34,1.56,.64,1);
}
.cta-live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: blink 1.4s ease-in-out infinite; }
.cta-card.in .cta-live-chip { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hh-layout { grid-template-columns: 1fr; gap: 72px; }
  .hh-title { max-width: 16ch; }
  .hh-visual { max-width: 420px; margin: 0 auto; }
  .tl-panel { grid-template-columns: 1fr; padding: 48px; }
  .aud-grid { grid-template-columns: 1fr; }
  .hs-head--split { flex-direction: column; align-items: flex-start; }
  .cta-card { grid-template-columns: 1fr; padding: 64px 48px; }
}
@media (max-width: 860px) {
  .hs-section { padding: 90px 0; }
  .statement { padding-top: 120px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .how-layout { grid-template-columns: 1fr; gap: 0; }
  .how-sticky { position: sticky; top: 76px; height: auto; padding: 16px 0; z-index: 2; background: linear-gradient(var(--bg) 85%, transparent); order: -1; }
  .how-phone { width: 150px; }
  .how-step { min-height: 60vh; }
  .compare { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .home-hero { padding: 112px 0 110px; }
  .hh-chip { padding: 9px 12px; }
  .hh-chip--a { left: -4%; } .hh-chip--b { right: -4%; } .hh-chip--c { left: 0; }
  .hh-ring--1 { width: 320px; height: 320px; } .hh-ring--2 { width: 420px; height: 420px; }
  .hh-phone { width: 230px; }
  .tl-panel { padding: 32px 22px; border-radius: 28px; }
  .tl-dash-grid { grid-template-columns: 1fr; justify-items: center; }
  .tl-metrics { width: 100%; }
  .cta-card { padding: 48px 22px; border-radius: 28px; gap: 40px; }
  .cta-path { padding: 24px 20px; }
  .cta-hl { white-space: normal; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
  .hh-title .word > span { transform: none; }
  .statement-text .sw { color: var(--navy); }
  .cta-copy > *, .cta-path, .cta-live-chip { opacity: 1; transform: none; }
  .cta-step-icon, .cta-step > div { opacity: 1 !important; transform: none !important; }
  .partners-track { animation: none !important; }
}
