/* ============================================================
   KINETIC — kinetic.aliferon.com
   Cinematic scroll, dark theme
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --bg: #0A0A0A;
  --bg-2: #0F0F0F;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --red: #E63946;
  --red-dim: #B82A37;
  --amber: #FF6B35;
  --text: #F1F1F1;
  --muted: #6B6B6B;
  --muted-2: #3A3A3A;
  --green: #00CC88;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.18);

  --display: 'Clash Display', 'Inter', sans-serif;
  --body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg); overflow-x: hidden; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

/* Subtle ambient color wash on <html> so dark surfaces never look flat.
   Painted via background-attachment: fixed (no positioned element, no stacking
   context that fights with pinned sections). */
html {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230,57,70,0.07), transparent 60%) fixed,
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,107,53,0.04), transparent 70%) fixed,
    var(--bg);
}
.nav { z-index: 100; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ---- Lenis ---- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Layout ---- */
.section { position: relative; width: 100%; }
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, background .4s ease, backdrop-filter .4s ease;
}
.nav.visible { opacity: 1; pointer-events: auto; }
.nav.scrolled {
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
}
.nav-logo .dot { color: var(--red); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.theme-toggle svg { width: 15px; height: 15px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: #ef4751; box-shadow: 0 8px 30px rgba(230,57,70,0.4); }
.nav-cta svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-cta .cta-text { display: none; }
  .nav-cta { padding: 10px; border-radius: 999px; }
  .theme-toggle { width: 34px; height: 34px; }
}

/* ============================================================
   SECTION 0 — OPENING
   ============================================================ */
.s0-pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(230,57,70,0.10), transparent 60%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(255,107,53,0.05), transparent 70%),
    #0A0A0A;
}
.s0-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.s0-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.s0-title {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 13vw, 200px);
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  will-change: transform, opacity, filter;
  color: var(--text);
}
.s0-title .dot { color: var(--red); margin-left: 0.05em; }
.s0-title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
.s0-tag {
  position: absolute;
  z-index: 2;
  bottom: calc(50% - clamp(80px, 12vw, 180px));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0;
  white-space: nowrap;
}
.s0-scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.s0-scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--text));
  animation: pulseLine 2s ease-in-out infinite;
}
.s0-scroll-hint .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
@keyframes pulseLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ============================================================
   SECTION 1 — THE PROBLEM
   ============================================================ */
.s1-pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 40px;
  overflow: hidden;
}
.s1-stack {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.s1-line {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  margin: 0;
  padding: 5px 0;
  text-wrap: balance;
}
.s1-punch {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--red);
  margin: 20px 0 0 0;
  opacity: 0;
  transform: translateY(20px);
  text-wrap: balance;
}

/* ============================================================
   SECTION 2 — COST OF BLINDNESS
   ============================================================ */
.s2 {
  padding: 120px 0 120px;
  background: var(--bg);
}
.s2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.s2-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(40px);
  min-height: 280px;
  position: relative;
}
.s2-stat:last-child { border-right: 0; }
.s2-stat::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease;
}
.s2-stat.in-view::after { transform: scaleX(1); }
.s2-stat .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.s2-stat .num .suffix {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--muted);
  font-weight: 500;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.s2-stat .num .prefix {
  font-weight: 500;
  color: var(--red);
}
.s2-stat .label {
  font-family: var(--body);
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text);
  line-height: 1.5;
  max-width: 280px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.s2-stat .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}
.s2-foot {
  margin-top: 56px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}
.s2-foot .dash { color: var(--muted-2); margin: 0 8px; }
@media (max-width: 900px) {
  .s2-grid { grid-template-columns: 1fr; }
  .s2-stat { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; padding: 36px 28px; }
  .s2-stat:last-child { border-bottom: 0; }
}

/* ============================================================
   Shared eyebrow + title block
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   SECTION 3 — THE REVEAL (horizontal pin scroll)
   ============================================================ */
.s3 { position: relative; }
.s3-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.s3-track {
  display: flex;
  width: 300vw;
  height: 100%;
  align-items: center;
}
.s3-frame {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 0 8vw;
}
.s3-frame .copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.s3-frame .copy .eyebrow { margin-bottom: 0; color: var(--muted); }
.s3-frame .copy .num {
  font-family: var(--mono);
  color: var(--red);
}
.s3-frame .copy h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.s3-frame .copy h3 .typed {
  border-right: 2px solid var(--red);
  padding-right: 4px;
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret { 50% { border-color: transparent; } }
.s3-frame .copy .desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 440px;
}
.s3-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
}
.s3-glow {
  position: absolute;
  inset: -10% -10%;
  background: radial-gradient(closest-side, rgba(230,57,70,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Dashboard mock */
.mock-dashboard {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: perspective(1400px) rotateY(8deg) rotateX(3deg);
  display: grid;
  grid-template-columns: 200px 1fr;
}
.md-side {
  background: #0E0E0E;
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.md-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.md-brand .dot { color: var(--red); }
.md-nav { display: flex; flex-direction: column; gap: 4px; }
.md-nav-item {
  font-size: 11px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.md-nav-item.active { background: rgba(230,57,70,0.12); color: var(--text); }
.md-nav-item .ic { width: 12px; height: 12px; background: currentColor; opacity: 0.6; mask-size: contain; border-radius: 2px; }
.md-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.md-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.md-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.md-card .l { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.md-card .v { font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 4px; }
.md-card .v.red { color: var(--red); }
.md-card .v.green { color: var(--green); }
.md-row.big { grid-template-columns: 2fr 1fr; flex: 1; }
.md-chart {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.md-chart .t { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.md-chart svg { flex: 1; width: 100%; }
.md-list {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 10px;
}
.md-list .li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--border); }
.md-list .li:last-child { border-bottom: 0; }
.md-list .li .name { color: var(--text); }
.md-list .li .stat { color: var(--red); font-family: var(--mono); }
.md-list .t { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }

/* AI Chat mock */
.mock-chat {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: perspective(1400px) rotateY(-4deg);
}
.mock-chat .head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.mock-chat .head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.mock-chat .head .label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
.bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble.you { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble.ai .table {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
}
.bubble.ai .table .col-h { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; }
.bubble.ai .table .nm { color: var(--text); }
.bubble.ai .table .ph { color: var(--muted); }
.bubble.ai .table .dy { color: var(--red); }

/* Alert card */
.mock-alert {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.mock-alert .top { display: flex; align-items: center; gap: 10px; }
.mock-alert .top .ic { font-size: 18px; }
.mock-alert .top .src { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.2em; }
.mock-alert .top .time { margin-left: auto; font-size: 11px; color: var(--muted); }
.mock-alert .title { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--text); }
.mock-alert .body { font-size: 13px; color: var(--muted); line-height: 1.5; }
.mock-alert .members {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.mock-alert .m { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); }
.mock-alert .m .nm { color: var(--text); }
.mock-alert .m .dy { color: var(--red); }

/* Section 3 progress dots */
.s3-progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  z-index: 5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.s3-progress span { transition: color .3s ease; }
.s3-progress span.active { color: var(--text); }

@media (max-width: 900px) {
  .s3-pin { height: auto; }
  .s3-track { display: flex; flex-direction: column; width: 100%; height: auto; gap: 80px; padding: 80px 0; }
  .s3-frame { width: 100%; height: auto; grid-template-columns: 1fr; padding: 0 24px; gap: 32px; overflow: hidden; }
  .s3-frame .copy { min-width: 0; }
  .s3-frame .copy h3 { font-size: clamp(22px, 6vw, 32px); word-break: break-word; }
  .s3-visual { height: auto; min-height: 280px; overflow: hidden; }
  .mock-dashboard { grid-template-columns: 120px 1fr; transform: perspective(1400px) rotateY(4deg) rotateX(2deg) scale(0.85); }
  .s3-progress { display: none; }
}

/* ============================================================
   SECTION 4 — MEMBER APP (phone LEFT, all cards RIGHT)
   ============================================================ */
.s4 { position: relative; }
.s4-pin {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 60px;
  overflow: hidden;
}
.s4-head {
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.s4-head .eyebrow { margin-bottom: 12px; }
.s4-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.s4-head h2 em { color: var(--red); font-style: normal; }

.s4-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 0;
}
.s4-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.s4-cards {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.s4-card {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translate(40px, -50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  opacity: 0;
  transition: opacity .5s ease, transform .6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.s4-card.active {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}
.s4-card .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
}
.s4-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}
.s4-card p {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}

.phone {
  position: relative;
  width: clamp(220px, 20vw, 270px);
  aspect-ratio: 290 / 600;
  background: #0B0B0B;
  border: 8px solid #1a1a1a;
  border-radius: 44px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #050505;
  border-radius: 14px;
  z-index: 10;
}
.phone-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0F0F0F 0%, #0A0A0A 100%);
  overflow: hidden;
}
.phone-screen .status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text);
  font-weight: 600;
}
.phone-screen .status .right { display: flex; gap: 5px; align-items: center; }
.phone-screen .status .icns { display: inline-flex; gap: 3px; }
.phone-screen .status .icns span { width: 3px; height: 6px; background: #fff; border-radius: 1px; }
.phone-screen .status .icns span:nth-child(1) { height: 4px; }
.phone-screen .status .icns span:nth-child(2) { height: 6px; }
.phone-screen .status .icns span:nth-child(3) { height: 8px; }
.phone-screen .status .icns span:nth-child(4) { height: 10px; }

.app-screen {
  position: absolute;
  inset: 0;
  padding: 48px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity .35s ease;
}
.app-screen.active { opacity: 1; }
.app-screen .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.app-screen .brand .logo {
  width: 26px; height: 26px;
  background: var(--red);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff;
}
.app-screen .brand .name { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.05em; }
.app-screen .brand .greet { font-size: 9px; color: var(--muted); }
.app-screen .brand .meta { margin-left: auto; text-align: right; }
.app-screen .brand .meta .lbl { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.app-screen .brand .meta .v { font-family: var(--mono); font-size: 11px; color: var(--text); font-weight: 600; }

/* App: Member Dashboard */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.app-hero {
  background: linear-gradient(135deg, #1a0d0e, #220e0e);
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-hero .lbl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.app-hero .plan { font-family: var(--display); font-weight: 600; font-size: 18px; }
.app-hero .days { font-size: 11px; color: var(--muted); margin-top: 4px; }
.app-hero .days b { color: var(--red); font-family: var(--mono); }
.app-hero .bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.app-hero .bar i { display: block; height: 100%; width: 62%; background: var(--red); border-radius: 2px; }

.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.app-stat .lbl { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.app-stat .v { font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 2px; display: flex; align-items: baseline; gap: 4px; }
.app-stat .v .u { font-size: 9px; color: var(--muted); font-family: var(--body); }
.app-stat .v.green { color: var(--green); }
.app-stat .v.red { color: var(--red); }

.app-list { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.app-list .t { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; }
.app-list .row { display: flex; justify-content: space-between; font-size: 11px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.app-list .row:last-child { border: 0; }
.app-list .row .v { font-family: var(--mono); }

/* App: Progress */
.streak-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.streak-grid .d {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--surface-2);
}
.streak-grid .d.a { background: rgba(230,57,70,0.3); }
.streak-grid .d.b { background: rgba(230,57,70,0.6); }
.streak-grid .d.c { background: var(--red); }
.app-pr {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.app-pr .row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 10px; }
.app-pr .row .name { color: var(--muted); }
.app-pr .row .v { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--text); }
.app-pr .row .v .u { font-size: 9px; color: var(--muted); font-family: var(--body); font-weight: 400; }

/* App: Payments */
.pay-amount {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.pay-amount .l { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.pay-amount .v { font-family: var(--display); font-weight: 600; font-size: 28px; margin-top: 4px; }
.pay-amount .d { font-size: 10px; color: var(--muted); margin-top: 2px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pay-m {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.pay-m .ic { width: 22px; height: 22px; background: var(--surface-2); border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pay-btn {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* App: Notifications */
.notif {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 8px;
}
.notif .ic { width: 28px; height: 28px; border-radius: 7px; background: rgba(230,57,70,0.15); display: grid; place-items: center; color: var(--red); flex-shrink: 0; font-size: 14px; }
.notif .body { flex: 1; }
.notif .src { font-size: 9px; color: var(--muted); display: flex; justify-content: space-between; }
.notif .t { font-size: 11px; font-weight: 600; margin-top: 2px; }
.notif .d { font-size: 10px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

.leaderboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.leaderboard .ttl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; display: flex; justify-content: space-between; }
.leaderboard .ttl .nm { color: var(--text); font-weight: 600; }
.leaderboard .row { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 4px 0; }
.leaderboard .row .rk { font-family: var(--mono); color: var(--muted); width: 16px; }
.leaderboard .row .nm { flex: 1; }
.leaderboard .row .v { font-family: var(--mono); color: var(--red); }
.leaderboard .row.me { background: rgba(230,57,70,0.1); border-radius: 6px; margin: 2px -6px; padding: 4px 6px; }

/* App: Community */
.post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.post .head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.post .head .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--amber)); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 10px; color: #fff; }
.post .head .nm { font-size: 11px; font-weight: 600; }
.post .head .t { font-size: 9px; color: var(--muted); margin-left: auto; }
.post .txt { font-size: 11px; color: var(--text); line-height: 1.4; }
.post .reacts { display: flex; gap: 12px; margin-top: 8px; font-size: 9px; color: var(--muted); }

.review-prompt {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.review-prompt .stars { color: #FFC107; letter-spacing: 2px; font-size: 14px; margin-bottom: 4px; }
.review-prompt .t { font-size: 11px; font-weight: 600; }
.review-prompt .b {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

/* App: Store */
.store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.store-item .img {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a1010, #1a0d0d);
  display: grid; place-items: center;
  font-size: 22px;
}
.store-item .nm { font-size: 11px; font-weight: 600; margin-top: 4px; }
.store-item .p { font-family: var(--mono); font-size: 11px; color: var(--red); }
.store-item .b {
  margin-top: 4px;
  text-align: center;
  font-size: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* S4 dots */
.s4-dots {
  flex-shrink: 0;
  margin-top: 32px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.s4-dots .dt { width: 24px; height: 2px; background: var(--muted-2); border-radius: 2px; transition: background .3s ease, width .3s ease; }
.s4-dots .dt.active { background: var(--red); width: 32px; }

.s4-outro {
  padding: 80px 0 100px;
  text-align: center;
}
.s4-outro p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.s4-outro p em { font-style: normal; color: var(--red); }

@media (max-width: 900px) {
  /* Hide the desktop s4 entirely on mobile — s4-mobile replaces it */
  .s4 { display: none !important; }
}

/* ============================================================
   SECTION 5 — HINDI MOMENT
   ============================================================ */
.s5 {
  padding: 120px 0;
  position: relative;
  background: var(--bg);
}
.s5-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 1100px;
  margin: 0 auto;
  text-wrap: balance;
  text-align: center;
}
.s5-text .w {
  display: inline;
  color: var(--muted-2);
  transition: color .25s ease;
}
.s5-text .w.lit { color: var(--text); }
.s5-text .w.red { color: var(--red); }

.s5-bubbles {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.s5-bubble {
  padding: 18px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.s5-bubble::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--red);
}

/* ============================================================
   SECTION 6 — MODULES
   ============================================================ */
.s6 { padding: 120px 0; }
.s6-head { text-align: center; margin-bottom: 80px; }
.s6-head h2 { max-width: 800px; margin: 0 auto; }
.s6-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.s6-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 36px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  opacity: 0;
  align-items: center;
}
.s6-card:hover { border-color: var(--red); background: #161213; }
.s6-card .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 32px;
  color: var(--red);
  letter-spacing: -0.02em;
}
.s6-card .body { display: flex; flex-direction: column; gap: 8px; }
.s6-card .body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.s6-card .body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .s6-card { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
}

/* ============================================================
   SECTION 7 — THE MATH
   ============================================================ */
.s7 { padding: 120px 0; }
.s7-head { text-align: center; margin-bottom: 80px; }
.s7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.s7-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.s7-col.red {
  border-color: rgba(230,57,70,0.25);
  background: linear-gradient(180deg, rgba(230,57,70,0.06), transparent 60%), var(--surface);
}
.s7-col.green {
  border-color: rgba(0,204,136,0.18);
  background: linear-gradient(180deg, rgba(0,204,136,0.04), transparent 60%), var(--surface);
}
.s7-col h3 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin: 0 0 32px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.s7-col h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.s7-col.red h3 { color: var(--red); }
.s7-col.red h3::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.s7-col.green h3 { color: var(--green); }
.s7-col.green h3::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.s7-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.s7-line {
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 1.5em;
}
.s7-line .op {
  font-family: var(--mono);
  color: var(--muted-2);
  font-size: 18px;
  width: 16px;
  flex-shrink: 0;
}
.s7-line .txt { color: var(--muted); flex: 1; }
.s7-line .amt {
  font-family: var(--display);
  font-weight: 600;
  color: var(--red);
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.s7-col.green .s7-line .amt { color: var(--green); }
.s7-line.note { color: var(--muted); font-size: 13px; padding-left: 26px; font-style: italic; }
.s7-line.note .amt { display: none; }
.s7-total {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.s7-col.red .s7-total { color: var(--red); }
.s7-col.green .s7-total { color: var(--green); }
.s7-total .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.s7-foot {
  margin-top: 80px;
  text-align: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.3;
  color: var(--red);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
@media (max-width: 800px) {
  .s7-grid { grid-template-columns: 1fr; }
  .s7-col { min-height: 0; padding: 36px 28px; }
}

/* ============================================================
   SECTION 8 — THE PACKAGE
   ============================================================ */
.s8 { padding: 120px 0; background: var(--bg); }
.s8-head { text-align: center; margin-bottom: 80px; }
.s8-head h2 { max-width: 900px; margin: 0 auto; }

.s8-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.s8-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease, border-color .3s ease;
  opacity: 0;
  transform: translateY(60px);
}
.s8-pillar:hover { border-color: var(--red); transform: translateY(-4px); }
.s8-pillar .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(230,57,70,0.12);
  display: grid; place-items: center;
  color: var(--red);
}
.s8-pillar .icon svg { width: 28px; height: 28px; }
.s8-pillar .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}
.s8-pillar h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
.s8-pillar ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s8-pillar li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.s8-pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.s8-pillar.featured {
  border-color: rgba(230,57,70,0.3);
  background: linear-gradient(180deg, rgba(230,57,70,0.06), var(--surface));
}
.s8-pillar .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: flex-start;
}

.s8-pricing {
  margin-top: 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.s8-pricing-head {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.s8-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.s8-tier {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: var(--surface);
}
.s8-tier .name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.25em; color: var(--muted); text-transform: uppercase; }
.s8-tier .size { font-size: 14px; color: var(--text); margin: 12px 0 6px; }
.s8-tier .price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.s8-tier .price .per { font-size: 14px; color: var(--muted); font-weight: 400; }
.s8-tier .gst { font-size: 12px; color: var(--muted); font-family: var(--mono); }

.s8-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.s8-foot strong { color: var(--text); font-weight: 600; }

.s8-cta {
  margin-top: 64px;
  text-align: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 36px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 0 0 0 rgba(230,57,70,0.6);
  animation: pulseShadow 2.4s ease-in-out infinite;
  cursor: pointer;
}
.btn-primary:hover { transform: scale(1.04); background: #ef4751; }
.btn-primary svg { width: 22px; height: 22px; }
@keyframes pulseShadow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.45); }
  50% { box-shadow: 0 0 0 24px rgba(230,57,70,0); }
}
.s8-call {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.s8-call a { color: var(--text); border-bottom: 1px solid var(--muted); }

@media (max-width: 900px) {
  .s8-pillars { grid-template-columns: 1fr; }
  .s8-tiers { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 9 — FREE SCORE FORM
   ============================================================ */
.s9 {
  padding: 120px 0;
  background: #0F0F0F;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  position: relative;
}
.s9::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}
.s9 .container { position: relative; }
.s9-head { text-align: center; margin-bottom: 56px; }
.s9-head h2 { max-width: 800px; margin: 0 auto 18px; }
.s9-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.6; text-wrap: balance; }

.s9-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.s9-field {
  position: relative;
  opacity: 0;
  transform: translateY(16px);
}
.s9-field input {
  width: 100%;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.s9-field input::placeholder { color: var(--muted); }
.s9-field input:focus {
  outline: 0;
  border-color: var(--red);
  background: rgba(230,57,70,0.04);
}
.btn-outline {
  margin-top: 8px;
  padding: 20px;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.s9-trust {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
}
.s9-confirm {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: none;
}
.s9-confirm .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,204,136,0.12);
  color: var(--green);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
}
.s9-confirm h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 8px;
}
.s9-confirm p { color: var(--muted); margin: 0; }

/* ============================================================
   STICKY MOBILE WHATSAPP FAB
   ============================================================ */
.wa-fab {
  display: none; /* hidden on desktop */
}
@media (max-width: 900px) {
  .wa-fab {
    display: none !important;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 200;
    padding: 14px 20px;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    font-family: var(--body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 32px rgba(230,57,70,0.45);
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s cubic-bezier(0.22,1,0.36,1), background .2s ease, box-shadow .2s ease;
    animation: none;
  }
  .wa-fab.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: waPulse 2.6s ease-in-out infinite;
  }
  .wa-fab:hover { background: #ef4751; box-shadow: 0 12px 40px rgba(230,57,70,0.55); }
  .wa-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
  @keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(230,57,70,0.45); }
    50%       { box-shadow: 0 8px 48px rgba(230,57,70,0.15), 0 0 0 10px rgba(230,57,70,0); }
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border);
}
.foot .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-brand .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.1em;
}
.foot-brand .name .dot { color: var(--red); }
.foot-brand .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
}
.foot-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  max-width: 560px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.foot-quote em { color: var(--red); font-style: normal; }
.foot-meta {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.foot-meta .links { display: flex; gap: 24px; }
.foot-meta .links a { color: var(--muted); transition: color .2s ease; }
.foot-meta .links a:hover { color: var(--text); }

/* ============================================================
   GENERIC UTILS
   ============================================================ */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.red-txt { color: var(--red); }

/* Mobile globals */
@media (max-width: 900px) {
  .section { padding-left: 0; padding-right: 0; }
  .s2, .s5, .s6, .s7, .s8, .s9 { padding-top: 80px; padding-bottom: 80px; }

  /* Section 4 outro tightens */
  .s4-outro { padding: 60px 0 80px; }

  /* Footer rows stack */
  .foot { padding: 60px 0 40px; }
  .foot .row { flex-direction: column; gap: 30px; }
  .foot-meta { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }

  /* Section 8 CTA shrinks */
  .btn-primary { padding: 18px 28px; font-size: 16px; }
  .s8-pillars { gap: 16px; }
  .s8-pillar { padding: 28px; }
  .s8-pricing { margin-top: 60px; }
  .s8-head { margin-bottom: 60px; }

  /* Section 5 bubbles shrink */
  .s5-bubble { padding: 14px 20px; font-size: 15px; }
  .s5-text { font-size: clamp(22px, 5.5vw, 32px); }

  /* Section 6 head margin */
  .s6-head { margin-bottom: 56px; }

  /* Nav slightly tighter */
  .nav-logo { font-size: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .s2, .s5, .s6, .s7, .s8, .s9 { padding-top: 64px; padding-bottom: 64px; }

  /* Hero scroll hint pulled up so it doesn't bump into mobile chrome */
  .s0-scroll-hint { bottom: 28px; }

  /* Section 1 padding tighter */
  .s1-pin { padding: 60px 20px 40px; }

  /* Section 2 stats smaller */
  .s2-stat { padding: 28px 24px; }
  .s2-stat .num { font-size: clamp(36px, 11vw, 52px); }

  /* Section 4 hidden on mobile — s4-mobile handles it */

  /* Section 6 cards */
  .s6-card { padding: 24px 20px; }
  .s6-card .num { font-size: 24px; }

  /* Section 7 columns padding */
  .s7-col { padding: 28px 22px; min-height: 0; }
  .s7-line { font-size: 14px; gap: 8px; flex-wrap: wrap; }
  .s7-line .amt { font-size: 16px; }
  .s7-grid { grid-template-columns: 1fr; }

  /* Section 8 tiers */
  .s8-tier { padding: 24px; }
  .btn-primary { padding: 16px 22px; font-size: 15px; gap: 10px; }
  .btn-primary svg { width: 18px; height: 18px; }

  /* Section 9 form */
  .s9-field input { padding: 16px 18px; font-size: 15px; }
  .btn-outline { padding: 16px; font-size: 15px; }

  /* Eyebrows quieter */
  .eyebrow { font-size: 11px; letter-spacing: 0.25em; margin-bottom: 16px; }

  /* Footer */
  .foot-brand .name { font-size: 20px; }
  .foot-quote { font-size: 16px; line-height: 1.5; }
  .foot-meta .links { flex-wrap: wrap; gap: 16px; }

  /* Modules heading tighter */
  .h-display { font-size: clamp(22px, 6.5vw, 36px); }
}

/* Very small phones */
@media (max-width: 380px) {
  .s2-stat .num { font-size: clamp(32px, 10vw, 44px); }
  .nav { padding: 12px 14px; }
  .container { padding: 0 16px; }
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

/* CSS custom property overrides */
html[data-theme="light"] {
  --bg: #F4F4F4;
  --bg-2: #EAEAEA;
  --surface: #FFFFFF;
  --surface-2: #F0F0F0;
  --text: #0A0A0A;
  --muted: #737373;
  --muted-2: #C0C0C0;
  --green: #00A86B;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.18);
}

/* Ambient wash — light version */
html[data-theme="light"] {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230,57,70,0.05), transparent 60%) fixed,
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,107,53,0.03), transparent 70%) fixed,
    var(--bg);
}
html[data-theme="light"] body { background: var(--bg); color: var(--text); }

/* Nav */
html[data-theme="light"] .nav.scrolled {
  background: rgba(244,244,244,0.85);
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .theme-toggle { border-color: rgba(0,0,0,0.15); }
html[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.05); }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Section 0 hero */
html[data-theme="light"] .s0-pin {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(230,57,70,0.07), transparent 60%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(255,107,53,0.03), transparent 70%),
    var(--bg);
}
html[data-theme="light"] .s0-pin::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
}
html[data-theme="light"] .s0-pin::after { mix-blend-mode: multiply; opacity: 0.25; }
html[data-theme="light"] .s0-scroll-hint .line {
  background: linear-gradient(180deg, transparent, var(--text));
}

/* Section 2 */
html[data-theme="light"] .s2 { background: var(--bg); }

/* Section 3 — keep mock UIs dark (they represent the product's own dark UI) */
html[data-theme="light"] .mock-dashboard,
html[data-theme="light"] .mock-chat,
html[data-theme="light"] .mock-alert {
  --surface: #141414;
  --surface-2: #1A1A1A;
  --text: #F1F1F1;
  --muted: #6B6B6B;
  --muted-2: #3A3A3A;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.18);
}

/* Section 4 — phone shell adapts, screen stays dark */
html[data-theme="light"] .phone {
  background: #E0E0E0;
  border-color: #CACACA;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}
html[data-theme="light"] .phone::before { background: #B8B8B8; }
html[data-theme="light"] .phone-screen {
  --surface: #141414;
  --surface-2: #1A1A1A;
  --text: #F1F1F1;
  --muted: #6B6B6B;
  --muted-2: #3A3A3A;
  --border: rgba(255,255,255,0.08);
  --green: #00CC88;
}

/* Section 5 bubbles */
html[data-theme="light"] .s5 { background: var(--bg); }
html[data-theme="light"] .s5-bubble { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); }

/* Section 6 card hover */
html[data-theme="light"] .s6-card:hover { background: #FBF0F0; border-color: var(--red); }

/* Section 7 */
html[data-theme="light"] .s7-col.red {
  background: linear-gradient(180deg, rgba(230,57,70,0.05), transparent 60%), var(--surface);
  border-color: rgba(230,57,70,0.2);
}
html[data-theme="light"] .s7-col.green {
  background: linear-gradient(180deg, rgba(0,168,107,0.04), transparent 60%), var(--surface);
  border-color: rgba(0,168,107,0.15);
}

/* Section 8 */
html[data-theme="light"] .s8 { background: var(--bg); }
html[data-theme="light"] .s8-pillar.featured {
  background: linear-gradient(180deg, rgba(230,57,70,0.05), var(--surface));
  border-color: rgba(230,57,70,0.25);
}

/* Section 9 form */
html[data-theme="light"] .s9 {
  background: #EBEBEB;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
html[data-theme="light"] .s9::before {
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 100%);
}
html[data-theme="light"] .s9-field input {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.12);
  color: var(--text);
}
html[data-theme="light"] .s9-field input::placeholder { color: var(--muted); }
html[data-theme="light"] .s9-field input:focus {
  border-color: var(--red);
  background: rgba(230,57,70,0.04);
}
html[data-theme="light"] .btn-outline {
  border-color: var(--text);
  color: var(--text);
}
html[data-theme="light"] .btn-outline:hover { background: var(--text); color: var(--bg); }

/* Footer */
html[data-theme="light"] .foot { border-top-color: rgba(0,0,0,0.10); }
html[data-theme="light"] .foot-meta { border-top-color: rgba(0,0,0,0.10); }

/* ============================================================
   SECTION 4 MOBILE — self-contained, zero dependency on .s4
   Hidden on desktop, visible only ≤ 900px
   ============================================================ */
.s4m { display: none; }

@media (max-width: 900px) {
  /* Section: tall enough so scroll drives 6 steps */
  .s4m {
    display: block;
    position: relative;
    height: 500vh;
    background: var(--bg);
  }

  /* Viewport-locked frame: phone top, card bottom */
  .s4m-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* --- Header --- */
  .s4m-head {
    text-align: center;
    padding: 64px 20px 4px;
    flex-shrink: 0;
  }
  .s4m-head .eyebrow { margin-bottom: 6px; }
  .s4m-head h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .s4m-head h2 em { color: var(--red); font-style: normal; }

  /* --- Phone: centered, takes available space --- */
  .s4m-phone-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 0;
  }
  .s4m-phone-area .phone {
    width: clamp(180px, 44vw, 220px);
    flex-shrink: 0;
  }

  /* --- Card overlay: fixed to bottom, one card at a time --- */
  .s4m-cards {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38vh;
    z-index: 4;
    pointer-events: none;
  }
  /* Gradient fade at top so phone shows through */
  .s4m-cards::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 1;
  }
  .s4m-cards-bg {
    position: absolute;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
  }

  /* Each card: stacked, only active visible */
  .s4m-card {
    position: absolute;
    top: 60px; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 20px 24px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }
  .s4m-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .s4m-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--red);
    margin-bottom: 10px;
  }
  .s4m-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(20px, 5.5vw, 26px);
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    line-height: 1.1;
    text-transform: uppercase;
  }
  .s4m-card p {
    margin: 0 auto;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 300px;
  }

  /* Progress dots */
  .s4m-dots {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
  }
  .s4m-dot {
    width: 20px; height: 2px;
    background: var(--muted-2);
    border-radius: 2px;
    transition: background 0.3s, width 0.3s;
  }
  .s4m-dot.active { background: var(--red); width: 28px; }

  /* --- Outro: comes after the sticky frame --- */
  .s4m-outro {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 48px 20px 60px;
    text-align: center;
    background: var(--bg);
    z-index: 6;
  }
  .s4m-outro p {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.35;
    max-width: 340px;
    margin: 0 auto;
    text-wrap: balance;
  }
  .s4m-outro p em { font-style: normal; color: var(--red); }
}

/* Light theme for s4m */
html[data-theme="light"] .s4m { background: var(--bg); }
html[data-theme="light"] .s4m-cards::before { background: linear-gradient(to bottom, transparent, var(--bg)); }
html[data-theme="light"] .s4m-cards-bg { background: var(--bg); }
html[data-theme="light"] .s4m-outro { background: var(--bg); }
