/* ============================================
   CLAF DIGITAL · Sistema SAAIA — v2
   Single-file landing, mobile-first, ultra-light
   ============================================ */

:root {
  --bg: #000c28;
  --surface: #060e2a;
  --surface-2: #0b163a;
  --red: #1746ea;
  --red-glow: rgba(23,70,234,.35);
  --red-dim: rgba(23,70,234,.12);
  --cyan: #4576ff;
  --cyan-dim: rgba(69,118,255,.10);
  --green: #4576ff;
  --amber: #4576ff;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, .50);
  --dim: rgba(255, 255, 255, .25);
  --border: rgba(255, 255, 255, .08);
  --border-red: rgba(23,70,234,.30);
  --border-cyan: rgba(69,118,255,.22);
  --display: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: rgba(69,118,255,.35); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
.mono { font-family: var(--mono); }
.txt-red { color: var(--red); }
.txt-cyan { color: var(--cyan); }
.txt-green { color: var(--green); }
.txt-amber { color: var(--amber); }
.txt-muted { color: var(--muted); }

/* ============================================
   GLOBAL BACKGROUND
   ============================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(23,70,234,.10), transparent 55%),
    radial-gradient(ellipse 70% 70% at 80% 100%, rgba(69,118,255,.10), transparent 55%);
  animation: aurora 12s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(0,-20px,0); }
}
.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 { top: -150px; right: -150px; width: 600px; height: 600px; background: rgba(23,70,234,.11); animation: float1 11s ease-in-out infinite alternate; }
.orb-2 { bottom: -120px; left: -150px; width: 500px; height: 500px; background: rgba(0,229,255,.09); animation: float2 13s ease-in-out infinite alternate; }
.orb-3 { top: 50%; left: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; background: rgba(69,118,255,.06); animation: pulseOrb 10s ease-in-out infinite alternate; }
@keyframes float1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-40px, 30px, 0); } }
@keyframes float2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(40px, -30px, 0); } }
@keyframes pulseOrb { 0% { transform: translate3d(-30px,0,0) scale(1); } 100% { transform: translate3d(30px,20px,0) scale(1.12); } }

@media (max-width: 768px) {
  /* Reduce GPU cost on mobile */
  .orb { filter: blur(70px); }
  .orb-1 { width: 380px; height: 380px; top: -100px; right: -100px; }
  .orb-2 { width: 320px; height: 320px; bottom: -80px; left: -80px; }
  .orb-3 { display: none; }
  .bg-layer { background-size: 40px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .bg-aurora { animation: none; }
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 100;
  background: rgba(7,6,15,.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(7,6,15,.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo img {
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(23,70,234,.25));
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px -6px var(--red-glow), 0 0 18px rgba(23,70,234,.18);
  transition: transform .15s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px var(--red), 0 0 24px rgba(23,70,234,.35); }
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 28px; height: 28px;
  align-items: center;
  justify-content: center;
}
.burger span {
  width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(7,6,15,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px;
  gap: 28px;
  z-index: 99;
}
.nav.open + .mobile-menu { display: flex; }
.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.mobile-menu .nav-cta { font-size: 16px; padding: 14px 28px; margin-top: 12px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--display);
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(23,70,234,.6);
}
.btn-primary:hover { box-shadow: 0 18px 38px -10px rgba(23,70,234,.85); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(23,70,234,.55);
  animation: pulseRing 2.6s cubic-bezier(.4,0,.2,1) infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes pulseRing { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.3); opacity: 0; } 100% { transform: scale(1.3); opacity: 0; } }
.btn-outline {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--cyan); color: #fff; }
.btn-outline-red {
  background: transparent;
  border: 1px solid var(--border-red);
  color: rgba(255,255,255,.92);
}
.btn-outline-red:hover { background: var(--red-dim); border-color: var(--red); color: #fff; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-primary::before { animation: none; } }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
.reveal.d5 { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================
   EYEBROW + SECTION TITLES
   ============================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow.red { color: var(--red); }
.eyebrow.amber { color: var(--amber); }
.eyebrow.white { color: rgba(255,255,255,.9); }
.section-h2 {
  font-size: clamp(30px, 4.5vw, 50px);
  margin-bottom: 16px;
}
.section-sub {
  color: rgba(255,255,255,.65);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 56px;
  text-align: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.1fr auto; text-align: left; gap: 60px; justify-items: stretch; }
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (min-width: 980px) { .hero-copy { align-items: flex-start; } }
.hero-grid .phone-scene { justify-self: center; }
.hero-video {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.78;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,6,15,.7) 0%, transparent 18%, transparent 75%, var(--bg) 100%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,229,255,.04), rgba(7,6,15,.6) 60%, var(--bg) 95%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(23,70,234,.35);
  background: rgba(23,70,234,.10);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.hero-pill .spark { color: var(--cyan); }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 720px;
  margin: 0;
}
.hero h1 .em { color: var(--red); }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 540px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin-top: 6px;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; max-width: none; justify-content: center; } }
@media (min-width: 980px) { .hero-ctas { justify-content: flex-start; } }

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 720px) { .hero-stats { grid-template-columns: 1fr 1fr 1fr; padding: 32px; gap: 0; } }
.hstat { text-align: center; padding: 4px 8px; position: relative; }
.hstat-n {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0,229,255,.35);
  line-height: 1;
  margin-bottom: 8px;
}
.hstat-l {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}
.hstat-src {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.scroll-ind {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--dim);
}
.scroll-ind .arrow {
  width: 10px; height: 10px;
  border-right: 1.5px solid rgba(255,255,255,.4);
  border-bottom: 1.5px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  animation: bounceArrow 1.6s ease-in-out infinite;
}
@keyframes bounceArrow { 0%,100% { transform: rotate(45deg) translate(0,0) scale(.85); } 50% { transform: rotate(45deg) translate(3px,3px) scale(1); } }

/* ============================================
   TRUST BAR
   ============================================ */
.trust {
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 12px;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 0 8px; }
.trust-icn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 18px;
  border: 1px solid var(--border-cyan);
}
.trust-item.red .trust-icn { background: var(--red-dim); color: var(--red); border-color: var(--border-red); }
.trust-n { font-family: var(--mono); font-weight: 700; font-size: 16px; color: #fff; line-height: 1; margin-bottom: 4px; }
.trust-l { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ============================================
   SECTION GENERIC PADDING
   ============================================ */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 110px 0; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ============================================
   PAIN CARDS
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .3s, transform .3s;
}
.pain-card:hover { border-color: var(--border-red); transform: translateY(-3px); }
.pain-icn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  font-size: 20px;
  margin-bottom: 20px;
}
.pain-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.pain-card p { font-size: 14.5px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ============================================
   CALCULATOR
   ============================================ */
.calc-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 768px) { .calc-card { padding: 36px; } }
.calc-subgrid { display: grid; gap: 20px; }
.calc-sub {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.calc-sub-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.calc-row { margin-bottom: 22px; }
.calc-row:last-child { margin-bottom: 0; }
.calc-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.calc-row-label { font-size: 13.5px; color: rgba(255,255,255,.7); font-weight: 500; }
.calc-row-out { font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--cyan); white-space: nowrap; }
input[type="range"].cslider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) var(--p, 50%), rgba(255,255,255,.10) var(--p, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"].cslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 0 12px rgba(23,70,234,.6);
  cursor: pointer;
}
input[type="range"].cslider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 0 12px rgba(23,70,234,.6);
  cursor: pointer;
}

.opt-grid { display: grid; gap: 10px; }
.opt-grid.cols-3 { grid-template-columns: 1fr; }
.opt-grid.cols-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  transition: all .2s ease;
  text-align: left;
}
.opt:hover { border-color: rgba(23,70,234,.30); color: #fff; }
.opt input { display: none; }
.opt .opt-icn { font-size: 16px; flex-shrink: 0; }
.opt.active {
  border-color: var(--red);
  background: rgba(23,70,234,.10);
  color: #fff;
  box-shadow: 0 0 0 1px var(--red), 0 0 18px rgba(23,70,234,.20);
}

.calc-preview {
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(23,70,234,.12), rgba(23,70,234,.04));
  border: 1px solid var(--border-red);
  border-radius: 14px;
  text-align: center;
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}
.calc-preview b {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 800;
  color: var(--red);
  font-size: 19px;
  margin: 0 4px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.calc-preview b.bump { transform: scale(1.12); }

.calc-go {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 18px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 16.5px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 32px -10px var(--red-glow);
  transition: transform .2s, box-shadow .3s;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .calc-go { font-size: 15px; padding: 16px 14px; }
}
.calc-go:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px var(--red); }

/* Loading */
.calc-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 24px;
}
.calc-loading.show { display: flex; }
.spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(23,70,234,.15);
  border-top-color: var(--red);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.load-steps { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); font-family: var(--mono); text-align: center; }
.load-step { opacity: 0; transition: opacity .35s; }
.load-step.on { opacity: 1; color: var(--green); }

/* Results */
.calc-results { display: none; flex-direction: column; gap: 22px; margin-top: 30px; }
.calc-results.show { display: flex; }
.res-block {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.res-block.in { opacity: 1; transform: none; }

.res-loss-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 18px;
  background: rgba(23,70,234,.06);
  border: 1px solid var(--border-red);
  text-align: center;
  overflow: hidden;
}
.res-loss-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.res-loss-cap {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.res-loss-n {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 88px);
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 32px rgba(23,70,234,.45);
}
.res-loss-yr {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-family: var(--mono);
}
.res-loss-yr b { color: var(--red); font-weight: 700; }
.res-eq {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.res-eq-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.res-eq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: left;
}
@media (min-width: 720px) { .res-eq-grid { grid-template-columns: repeat(3, 1fr); } }
.res-eq-item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  display: flex; gap: 10px; align-items: center;
}
.res-eq-item .ico { font-size: 18px; flex-shrink: 0; }

.res-mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 720px) { .res-mgrid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.res-metric {
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.res-metric.red { border-color: var(--border-red); background: rgba(23,70,234,.06); }
.res-metric.amber { border-color: rgba(69,118,255,.30); background: rgba(69,118,255,.06); }
.res-metric.green { border-color: rgba(69,118,255,.30); background: rgba(69,118,255,.06); }
.res-metric-n { font-family: var(--mono); font-weight: 800; font-size: clamp(20px, 4vw, 28px); line-height: 1; margin-bottom: 6px; }
.res-metric.red .res-metric-n { color: var(--red); }
.res-metric.amber .res-metric-n { color: var(--amber); }
.res-metric.green .res-metric-n { color: var(--green); }
.res-metric-l { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.4; }

.res-hours-card {
  padding: 26px;
  border-radius: 16px;
  background: rgba(23,70,234,.06);
  border: 1px solid var(--border-red);
}
.res-hours-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.res-hours-n { font-family: var(--mono); font-weight: 800; font-size: clamp(38px, 6vw, 54px); color: var(--red); line-height: 1; }
.res-hours-l { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 500; }
.bar-track { height: 8px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--red); border-radius: 4px; width: 0%; transition: width 1.4s cubic-bezier(.16,1,.3,1); }
.bar-fill.amber { background: var(--amber); }
.bar-fill.green { background: var(--green); }
.res-hours-pct { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.res-dist { display: flex; flex-direction: column; gap: 14px; }
.res-dist-row { }
.res-dist-head { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
.res-dist-head .lbl { color: rgba(255,255,255,.7); }
.res-dist-head .val { font-family: var(--mono); font-weight: 700; }
.res-dist-row.r .val { color: var(--red); }
.res-dist-row.a .val { color: var(--amber); }
.res-dist-row.g .val { color: var(--green); }

.res-diag {
  padding: 24px;
  border-radius: 16px;
  background: rgba(0,229,255,.04);
  border: 1px solid var(--border-cyan);
}
.res-diag-title { font-size: 13px; font-family: var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.res-diag ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.res-diag li { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.5; }
.res-diag li .ic { font-size: 18px; flex-shrink: 0; }

.res-cta {
  text-align: center;
  padding: 26px 20px;
  background: rgba(23,70,234,.08);
  border: 1px solid var(--border-red);
  border-radius: 16px;
}
.res-cta p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 16px; font-weight: 500; }

/* particles canvas */
#money-fx { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

/* ============================================
   VSL
   ============================================ */
.vsl-wrap { max-width: 820px; margin: 0 auto; }
.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23,70,234,.10), rgba(69,118,255,.06));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.vsl-frame::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(23,70,234,.4), transparent 40%, rgba(0,229,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1.5px;
  border-radius: 16px;
  pointer-events: none;
}
.vsl-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(23,70,234,.45);
  cursor: pointer;
  transition: transform .2s;
}
.vsl-play:hover { transform: scale(1.06); }
.vsl-play svg { width: 28px; height: 28px; margin-left: 4px; }
.vsl-meta { text-align: center; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.vsl-sub { text-align: center; margin: 24px auto 0; max-width: 600px; color: rgba(255,255,255,.7); font-size: 15.5px; line-height: 1.65; }

/* ============================================
   SAAIA FLOW — 5 steps
   ============================================ */
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 22px 16px 0;
}
@media (min-width: 768px) {
  .flow-step { grid-template-columns: 80px 1fr; gap: 24px; padding: 18px 26px 18px 0; }
}
.flow-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--red);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(23,70,234,.30);
}
.flow-step:nth-child(even) .flow-num { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 4px var(--bg), 0 0 18px rgba(69,118,255,.30); }
.flow-body { padding-top: 4px; }
.flow-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.015em; text-transform: uppercase; font-family: var(--mono); }
@media (min-width: 768px) { .flow-title { font-size: 19px; } }
.flow-desc { font-size: 14px; color: rgba(255,255,255,.70); line-height: 1.55; max-width: 560px; }
.flow-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(69,118,255,.08);
  border: 1px solid var(--border-cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.flow-step:nth-child(odd) .flow-tag { background: rgba(23,70,234,.08); border-color: var(--border-red); color: var(--red); }
/* vertical connector line */
.flow::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--cyan), var(--red), var(--cyan), var(--red));
  background-size: 100% 600%;
  background-position: 0 0;
  border-radius: 2px;
  opacity: .35;
  z-index: 1;
}
@media (min-width: 768px) { .flow::before { left: 38px; } }

/* ============================================
   WHATSAPP PHONE MOCKUP (Hero + Flow)
   ============================================ */
:root {
  --wa-green: #25D366;
  --wa-dark: #075E54;
  --wa-bubble: #DCF8C6;
  --wa-bg: #ECE5DD;
}
.phone-scene {
  perspective: 1000px;
  flex-shrink: 0;
  cursor: default;
  position: relative;
  z-index: 3;
}
.phone-wrapper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .08s linear;
  will-change: transform;
}
.phone-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(23,70,234,.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: phoneGlow 3s ease-in-out infinite alternate;
}
.phone-glow.cyan {
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(69,118,255,.14), transparent 70%);
}
@keyframes phoneGlow { 0% { transform: scale(.92); } 100% { transform: scale(1.10); } }
.phone-frame {
  position: relative; z-index: 1;
  width: 280px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
}
@media (max-width: 480px) { .phone-frame { width: 260px; } }
.phone-notch {
  width: 90px; height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 6px;
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.notch-cam { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2a; border: 1px solid #333; }
.notch-speaker { width: 40px; height: 4px; border-radius: 2px; background: #2a2a2a; }
.phone-screen {
  border-radius: 34px; overflow: hidden;
  background: var(--wa-bg);
  height: 540px;
  display: flex; flex-direction: column;
}
.wa-header {
  background: var(--wa-dark);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.wa-back { color: rgba(255,255,255,.7); font-size: 18px; line-height: 1; }
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #128C7E, #25D366);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.wa-info { flex: 1; min-width: 0; }
.wa-name { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
.wa-status { font-size: 11px; color: rgba(255,255,255,.65); }
.wa-icons { display: flex; gap: 14px; color: rgba(255,255,255,.7); font-size: 16px; }
.wa-body {
  flex: 1; overflow: hidden;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.wa-body::before, .wa-body::after {
  content: ''; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
}
.wa-body::before { top: 0; height: 30px; background: linear-gradient(to bottom, var(--wa-bg), transparent); }
.wa-body::after { bottom: 0; height: 40px; background: linear-gradient(to top, var(--wa-bg), transparent); }
.wa-scroll {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 5px; padding: 4px 2px;
  scrollbar-width: none;
}
.wa-scroll::-webkit-scrollbar { display: none; }
.wa-date { text-align: center; margin: 4px 0; }
.wa-date span {
  background: rgba(255,255,255,.8);
  font-size: 10px; color: #555;
  padding: 3px 10px; border-radius: 8px;
}
.msg {
  display: flex; flex-direction: column;
  max-width: 80%;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.msg.visible { opacity: 1; transform: translateY(0); }
.msg.incoming { align-self: flex-start; }
.msg.outgoing { align-self: flex-end; }
.msg .bubble {
  padding: 7px 10px 16px;
  border-radius: 8px;
  font-size: 12px; line-height: 1.5;
  position: relative;
  word-break: break-word; white-space: pre-wrap;
  color: #111;
}
.msg.incoming .bubble { background: #fff; border-top-left-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.msg.outgoing .bubble { background: var(--wa-bubble); border-top-right-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.bubble-link { color: #075E54; text-decoration: underline; font-size: 11px; word-break: break-all; }
.bubble-time { position: absolute; bottom: 4px; right: 8px; font-size: 9px; color: rgba(0,0,0,.45); display: flex; align-items: center; gap: 3px; }
.ticks { color: #53bdeb; font-size: 10px; }
.typing-bubble {
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px; border-top-left-radius: 2px;
  display: inline-flex; gap: 4px; align-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  opacity: 0; transition: opacity .3s;
  align-self: flex-start;
}
.typing-bubble.show { opacity: 1; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: #999; animation: tdot 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes tdot { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.wa-input-bar {
  background: #f0f0f0; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.wa-input-field {
  flex: 1; background: #fff; border-radius: 20px;
  padding: 8px 14px; font-size: 12px; color: #999;
}
.wa-send-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-send-btn svg { width: 16px; height: 16px; fill: #fff; }
@media (max-width: 980px) {
  .phone-glow { animation: none; }
}

/* ============================================
   TESTIMONIALS — infinite marquee
   ============================================ */
.testi-marquees {
  margin: 0 -20px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-row {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
@keyframes marqueeL { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes marqueeR { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }
.testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 10px;
  will-change: transform;
  backface-visibility: hidden;
  animation-duration: 80s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.testi-track.l { animation-name: marqueeL; }
.testi-track.r { animation-name: marqueeR; }
.testi-row:hover .testi-track { animation-play-state: paused; }
.testi-card:hover ~ * .testi-track,
.testi-track:has(.testi-card:hover) { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .testi-track { animation: none !important; } }
@media (max-width: 768px) {
  .testi-track.l { animation-duration: 120s; }
  .testi-track.r { animation-duration: 140s; }
}
.testi-card {
  flex-shrink: 0;
  width: 320px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
  transition: border-color .3s;
}
.testi-card:hover { border-color: var(--border-cyan); }
.testi-card .stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; }
.testi-card blockquote { margin: 0; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.65; }
.testi-card .who { padding-top: 14px; border-top: 1px solid var(--border); }
.testi-card .nm { font-weight: 700; font-size: 13.5px; color: #fff; }
.testi-card .rl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================
   FLOW · 2-col layout with phone
   ============================================ */
.flow-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .flow-section-grid { grid-template-columns: auto 1fr; gap: 56px; align-items: start; }
}
.flow-section-grid .phone-scene { justify-self: center; align-self: start; }
.flow-section-grid .flow { padding-top: 6px; }
.flow-section-grid + .container,
.section .section-head + .flow-section-grid { margin-top: -10px; }

/* ============================================
   COMPARE TABLE
   ============================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.025);
}
@media (min-width: 720px) { .compare-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.compare-cell {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
@media (max-width: 719px) { .compare-cell { display: flex; justify-content: space-between; gap: 16px; } }
@media (min-width: 720px) { .compare-cell { border-right: 1px solid var(--border); } .compare-cell:nth-child(3n) { border-right: 0; } }
.compare-cell.head {
  background: rgba(255,255,255,.04);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 700;
}
.compare-cell.head.red { color: var(--red); }
.compare-cell.head.cyan { color: var(--cyan); }
.compare-cell .lbl-mob { display: inline; color: var(--muted); font-size: 12px; font-family: var(--mono); }
@media (min-width: 720px) { .compare-cell .lbl-mob { display: none; } }
.compare-cell.label { font-weight: 600; color: rgba(255,255,255,.9); font-size: 13.5px; }
.compare-bad { color: rgba(255,255,255,.55); }
.compare-bad::before { content: "\2715 "; color: var(--red); font-weight: 700; margin-right: 4px; }
.compare-good { color: #fff; }
.compare-good::before { content: "\2713 "; color: var(--green); font-weight: 700; margin-right: 4px; }

.equiv-box {
  margin-top: 32px;
  padding: 26px;
  background: rgba(69,118,255,.04);
  border: 1px solid rgba(69,118,255,.20);
  border-radius: 16px;
}
.equiv-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--amber);
  display: flex; gap: 8px;
}
.equiv-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.equiv-box li { display: flex; gap: 14px; font-size: 14.5px; color: rgba(255,255,255,.80); line-height: 1.6; }
.equiv-box li .ic { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .3s, transform .3s;
}
.testi:hover { border-color: var(--border-cyan); transform: translateY(-3px); }
.testi-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
.testi-q { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.65; flex: 1; }
.testi-who { padding-top: 14px; border-top: 1px solid var(--border); }
.testi-name { font-weight: 700; font-size: 14px; color: #fff; }
.testi-role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat-sources {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  text-align: center;
  line-height: 1.7;
  margin-top: 8px;
}
.stat-sources b { color: rgba(255,255,255,.55); font-weight: 700; }

/* ============================================
   FAQ
   ============================================ */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 22px 4px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  cursor: pointer;
}
.faq-q .chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .35s, background .25s, border-color .25s;
}
.faq-q .chev svg { width: 12px; height: 12px; stroke: rgba(255,255,255,.6); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: rgba(23,70,234,.10); border-color: var(--border-red); }
.faq-item.open .faq-q .chev svg { stroke: var(--red); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 4px 22px; font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 760px; }

/* ============================================
   PRICING
   ============================================ */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 980px) { .plans { grid-template-columns: 1fr 1fr 1fr; gap: 22px; } }
.plan {
  position: relative;
  padding: 38px 32px 32px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-3px); }
.plan.featured {
  background: linear-gradient(160deg, rgba(69,118,255,.06), var(--surface) 70%);
  border-color: var(--border-cyan);
  box-shadow: 0 0 0 1px rgba(69,118,255,.20), 0 0 40px rgba(69,118,255,.08);
  order: 0;
}
@media (min-width: 980px) { .plan.featured { order: 0; } }
.plan-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--cyan);
  color: #060e2a;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  box-shadow: 0 0 18px rgba(0,229,255,.5);
}
.plan-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.plan-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.plan-desc { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.55; }
.plan-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 520px) {
  .plan-prices { grid-template-columns: 1fr; gap: 12px; }
  .plan-pblock-val { font-size: 26px; }
}
.plan-pblock-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.plan-pblock-val { font-family: var(--mono); font-weight: 800; font-size: 22px; color: #fff; line-height: 1; }
.plan.featured .plan-pblock-val { color: var(--cyan); }
.plan-pblock-meta { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.plan-feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-feat li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.45; }
.plan-feat li::before { content: "\2726"; color: var(--cyan); font-family: var(--mono); flex-shrink: 0; }
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  margin-top: auto;
  transition: transform .2s, background .25s, color .25s, border-color .25s;
}
.plan-cta.solid { background: var(--red); color: #fff; box-shadow: 0 12px 26px -10px var(--red-glow); }
.plan-cta.solid:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -10px var(--red); }
.plan-cta.outline { background: transparent; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.plan-cta.outline:hover { transform: translateY(-2px); border-color: var(--cyan); color: #fff; }
.plans-note {
  margin: 28px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA — flat + accent line + subtle dots
   ============================================ */
.final-cta {
  position: relative;
  padding: 90px 0 100px;
  background: var(--surface);
  border-top: 1px solid var(--border-red);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: glide 4s ease-in-out infinite;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(23,70,234,.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(69,118,255,.06) 1px, transparent 1px);
  background-size: 80px 80px, 100px 100px;
  pointer-events: none;
  opacity: .7;
}
@keyframes glide { 0%,100% { transform: scaleX(.5); } 50% { transform: scaleX(1); } }
.final-cta .container { text-align: center; }
.final-cta h2 { font-size: clamp(32px, 5.5vw, 56px); max-width: 820px; margin: 0 auto 22px; }
.final-cta h2 .em { color: var(--red); }
.final-cta .sub { font-size: 16px; color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.final-cta .btn-primary { padding: 22px 36px; font-size: 17.5px; max-width: 460px; width: 100%; }
.final-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--muted); }
.final-trust span { display: inline-flex; align-items: center; gap: 8px; }
.final-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--surface);
}
.foot-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
@media (min-width: 720px) { .foot-row { flex-direction: row; justify-content: space-between; } }
.foot-links { display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.foot-links a:hover { color: #fff; }
.copy { text-align: center; font-size: 12.5px; color: var(--dim); font-family: var(--mono); letter-spacing: 0.05em; }

/* ============================================
   WOW — extras
   ============================================ */
.hero-pill::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: blink 1.6s ease-in-out infinite;
  margin-left: 6px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.plan.featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan), transparent 40%, transparent 60%, var(--cyan));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
  animation: featBorder 4s ease-in-out infinite;
}
@keyframes featBorder { 0%,100% { opacity: .35; } 50% { opacity: .75; } }

.pain-card { transition: border-color .3s, transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.pain-card:hover { border-color: var(--border-red); transform: translateY(-6px); box-shadow: 0 18px 40px -10px rgba(23,70,234,.18); }
.plan { transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -10px rgba(0,0,0,.5), 0 0 0 1px var(--border-cyan); }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg) translateX(-140%);
  animation: btnShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine { 0%,40% { transform: skewX(-20deg) translateX(-140%); } 70%,100% { transform: skewX(-20deg) translateX(433%); } }

.hero h1 .em { text-shadow: 0 0 30px rgba(23,70,234,.45); }

.trust { position: relative; }
.trust::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69,118,255,.30), transparent);
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  z-index: 200;
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(23,70,234,.5);
}

/* ============================================
   MOBILE PERF OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  .calc-card, .pain-card, .testi-card, .plan, .res-loss-card, .res-diag {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .res-loss-n { text-shadow: 0 0 18px rgba(23,70,234,.35); }
  .hstat-n { text-shadow: 0 0 14px rgba(69,118,255,.30); }
  .pain-card:hover, .plan:hover, .testi-card:hover { transform: none; }
  .btn-primary { animation-duration: 3.2s; }
  .btn-primary::before { animation-duration: 6s; }
  .hero-video video { opacity: .65; }
  .plan.featured::after { animation: none; opacity: .55; }
  .btn-primary::after { animation: none; }
  .compare-cell .lbl-mob { font-size: 11.5px; }
  .equiv-box { padding: 22px; }
  .equiv-box li { font-size: 14px; }
  .res-eq-grid { gap: 8px; }
  .res-mgrid { gap: 10px; }
}
