/* ================================================================
   SmartFlux v2 — Sections
   Hero · Stage · Pain · Method · Results · Pricing · FAQ · CTA
   ================================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 72px 0 100px;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  width: 100%;
}

/* Trust row */
/* Linha de badges do hero — os dois pills lado a lado, MESMA altura
   (align-items: stretch) e quebrando juntos no mobile, sem corte. */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-trust-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-badge { display: inline-flex; align-items: center; gap: 7px }
.hero-badge--img { background: none; border: none; padding: 0; line-height: 0 }
.kommo-partner-badge {
  height: 34px; width: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 4px 16px -4px rgba(14,1,66,.4);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.hero-badge--img:hover .kommo-partner-badge {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 8px 28px -4px rgba(14,1,66,.6);
}
.hero-divider { width: 1px; height: 14px; background: var(--line-2); flex-shrink: 0 }
.hero-stat {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-3);
}
.hero-stat-num { font-weight: 700; color: var(--ink); font-family: var(--f-mono) }
.hero-stat-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--a1);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--a1) 18%, transparent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

/* Hero tag — pill com a MESMA espessura da hero-trust-row (mesmo padding
   vertical + align-items: stretch no container garantem altura idêntica). */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-tag .pill {
  padding: 4px 10px;
  border-radius: 99px;
  background: color-mix(in oklab, var(--a1) 16%, transparent);
  color: var(--a1);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--a1);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--a1) 18%, transparent);
  animation: pulse 2.5s ease-in-out infinite;
}

/* Hero title — glassmorphism frosted panel */
.hero h1 {
  position: relative;
  box-sizing: content-box;
  width: fit-content;
  max-width: 16ch;
  margin-left: -22px;
  padding: 28px 38px 32px;
  border-radius: 28px;
  /* Frosted glass: translucent fill + backdrop blur */
  background: linear-gradient(135deg,
    rgba(255,255,255,.14) 0%,
    rgba(255,255,255,.05) 42%,
    rgba(255,255,255,.02) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 1px rgba(255,255,255,.06),
    inset 0 0 40px rgba(255,255,255,.04),
    0 24px 60px -22px rgba(0,0,0,.55);
}
/* Glass glare — diagonal light streak + soft corner highlight */
.hero h1::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(130% 90% at 82% -10%, color-mix(in oklab, var(--a2) 16%, transparent), transparent 55%);
}
.hero h1 .word { display: inline-block; will-change: transform, opacity }

/* Clean bright text on glass — legible, light depth (no heavy relief).
   text-shadow only, so the .word reveal animation keeps working untouched. */
.hero h1 .word:not(.gradient-text) {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  text-shadow:
    0 1px 1px rgba(0,0,0,.28),
    0 2px 14px rgba(0,0,0,.3),
    0 0 1px rgba(255,255,255,.4);
}
.hero h1 .gradient-text {
  /* Vivid cyan reading clearly through the glass, soft halo. */
  background-image: linear-gradient(105deg, var(--a1) 0%, var(--a2) 48%, var(--a3) 100%);
  text-shadow:
    0 0 12px color-mix(in oklab, var(--a2) 72%, transparent),
    0 0 30px color-mix(in oklab, var(--a1) 52%, transparent),
    0 1px 2px rgba(0,0,0,.25);
}
.hero-copy {
  margin: 32px 0 40px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
}

/* Actions */
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center }
.cta-reassure {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: .01em;
}
.actions-trust {
  margin-top: 40px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.actions-trust .check { display: inline-flex; align-items: center; gap: 8px }
.actions-trust .check svg { width: 14px; height: 14px; color: var(--a1) }

/* ===== STAGE CONSOLE ===== */
.stage {
  margin-top: 48px;
  position: relative;
  perspective: 2800px;
  isolation: isolate;
}
/* Liquid glass — colored light blobs behind the console for the glass to refract */
.stage::before,
.stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  opacity: .55;
  animation: stageBlob 14s ease-in-out infinite;
}
.stage::before {
  width: 46%; aspect-ratio: 1;
  top: -8%; left: 6%;
  background: radial-gradient(circle, color-mix(in oklab, var(--a2) 70%, transparent), transparent 70%);
}
.stage::after {
  width: 42%; aspect-ratio: 1;
  bottom: -10%; right: 8%;
  background: radial-gradient(circle, color-mix(in oklab, var(--a3) 65%, transparent), transparent 70%);
  animation-delay: -7s;
}
@keyframes stageBlob {
  0%, 100% { transform: translate3d(0,0,0) scale(1) }
  50%      { transform: translate3d(4%, -3%, 0) scale(1.08) }
}
.stage-shell {
  position: relative;
  border-radius: var(--r-2xl);
  /* Liquid-glass rim: bright top-left highlight fading into a dark bottom-right edge */
  background:
    linear-gradient(140deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.08) 22%, rgba(255,255,255,.02) 60%, rgba(0,0,0,.35) 100%);
  padding: 1px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .5s var(--ease);
  box-shadow:
    0 80px 180px -50px rgba(0,0,0,.75),
    0 60px 120px -40px color-mix(in oklab, var(--a2) 28%, transparent),
    0 0 100px -30px color-mix(in oklab, var(--a1) 18%, transparent);
}
.stage-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: conic-gradient(from var(--ang, 0deg) at 50% 50%,
    transparent 0deg, color-mix(in oklab, var(--a1) 50%, transparent) 60deg,
    transparent 120deg, color-mix(in oklab, var(--a2) 50%, transparent) 200deg,
    transparent 280deg, color-mix(in oklab, var(--a3) 50%, transparent) 340deg, transparent 360deg);
  filter: blur(12px);
  opacity: .5;
  animation: stageRot 10s linear infinite;
}
@keyframes stageRot { to { --ang: 360deg } }
.stage-inner {
  position: relative;
  border-radius: calc(var(--r-2xl) - 1px);
  /* Liquid glass body: translucent tint + frosted backdrop */
  background:
    linear-gradient(180deg, rgba(20,28,46,.55) 0%, rgba(10,14,24,.62) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(0,0,0,.5),
    inset 0 0 60px rgba(255,255,255,.03);
}
/* Liquid sheen — soft diagonal highlight across the glass */
.stage-inner::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 9;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(120% 60% at 80% -10%, color-mix(in oklab, var(--a2) 14%, transparent), transparent 55%),
    radial-gradient(80% 50% at 0% 105%, color-mix(in oklab, var(--a3) 12%, transparent), transparent 60%);
}
.stage-bar {
  height: 40px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
}
.stage-bar .dot { width: 10px; height: 10px; border-radius: 50% }
.stage-bar .dot.r { background: #ff5f57 }
.stage-bar .dot.y { background: #febc2e }
.stage-bar .dot.g { background: #28c840 }
.stage-bar .url {
  margin: 0 auto;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-4);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); padding: 5px 14px; border-radius: 99px;
  border: 1px solid var(--line);
}
.stage-bar .url::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--a1); box-shadow: 0 0 8px var(--a1);
}
.stage-bar .live {
  font-family: var(--f-mono); font-size: 10px; color: var(--a1);
  text-transform: uppercase; letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 6px;
}
.stage-bar .live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--a1); animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--a1) 50%, transparent) }
  100% { box-shadow: 0 0 0 10px transparent }
}

.stage-body {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(255,255,255,.06);
  min-height: 480px;
}
@media (min-width: 980px) {
  .stage-body { grid-template-columns: 320px 1fr 300px }
}
.stage-pane {
  /* Translucent glass pane — keeps the liquid-glass look through the console */
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  padding: 16px;
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
}
/* Console scan line */
.stage-pane:first-child::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1.5px;
  background: linear-gradient(90deg,
    transparent, color-mix(in oklab, var(--a1) 60%, transparent) 40%,
    color-mix(in oklab, var(--a2) 80%, transparent) 60%, transparent);
  box-shadow: 0 0 10px 1px color-mix(in oklab, var(--a1) 30%, transparent);
  animation: stageScan 5s linear infinite;
  pointer-events: none; z-index: 10;
}
@keyframes stageScan {
  0% { transform: translateY(0); opacity: 0 }
  5% { opacity: .8 }
  88% { opacity: .4 }
  100% { transform: translateY(480px); opacity: 0 }
}

.pane-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: .11em;
}
.pane-head .badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 7px; border-radius: 5px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--a1); font-size: 9.5px;
}
.pane-head .badge::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}

/* Console prompt */
.prompt {
  padding: 12px; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  border: 1px solid var(--line);
}
.prompt-label {
  font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px;
}
.typing { font-size: 14px; line-height: 1.5; color: var(--ink); min-height: 68px }
.caret {
  display: inline-block; width: 7px; height: 1.1em;
  background: var(--a1); vertical-align: -2px; margin-left: 2px;
  animation: blink .8s steps(2, start) infinite;
  box-shadow: 0 0 8px var(--a1);
  border-radius: 1px;
}
@keyframes blink { 50% { opacity: 0 } }

.chips { display: flex; flex-wrap: wrap; gap: 5px }
.chip {
  font-size: 11px; padding: 5px 9px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-3);
  transition: all .3s var(--spring);
}
.chip:hover {
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--a1) 10%, transparent);
  border-color: color-mix(in oklab, var(--a1) 25%, transparent);
  color: var(--a1);
}

/* Analysis items */
.analysis { display: flex; flex-direction: column; gap: 5px; margin-top: auto }
.a-item {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  border: 1px solid var(--line);
  opacity: 0; transform: translateY(6px);
  animation: aIn 8s ease infinite;
  transition: background .35s, box-shadow .35s;
}
.a-item:nth-child(1) { animation-delay: 0s }
.a-item:nth-child(2) { animation-delay: .6s }
.a-item:nth-child(3) { animation-delay: 1.2s }
.a-item:nth-child(4) { animation-delay: 1.8s }
@keyframes aIn {
  0%, 3% { opacity: 0; transform: translateY(6px) }
  10%, 88% { opacity: 1; transform: none }
  100% { opacity: 0; transform: translateY(-2px) }
}
.a-item.a-active {
  background: color-mix(in oklab, var(--a1) 6%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--a1) 18%, transparent) inset;
}
.a-icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--a2) 12%, transparent);
  color: var(--a2); font-size: 11px;
}
.a-item b { font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em }
.a-item small {
  display: block; font-size: 10px; color: var(--ink-4);
  margin-top: 1px; font-family: var(--f-mono);
}
.a-tag {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  padding: 2px 6px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: .06em;
  background: color-mix(in oklab, var(--a2) 10%, transparent); color: var(--a2);
  border: 1px solid color-mix(in oklab, var(--a2) 20%, transparent);
}
.a-tag.ok { background: color-mix(in oklab, var(--a1) 10%, transparent); color: var(--a1); border-color: color-mix(in oklab, var(--a1) 20%, transparent) }
.a-tag.warn { background: rgba(255,204,102,.1); color: #ffcc66; border-color: rgba(255,204,102,.2) }

/* Center flow pane */
.flow {
  position: relative; background: #060a12; padding: 20px;
  display: grid; place-items: center; overflow: hidden;
}
.flow::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--a2) 8%, transparent), transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.015) 60px 61px),
    repeating-linear-gradient(0deg, transparent 0 60px, rgba(255,255,255,.015) 60px 61px);
}
.flow::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 450px; height: 450px;
  background: repeating-radial-gradient(circle at center, transparent 0 36px, rgba(255,255,255,.02) 38px);
  border-radius: 50%; pointer-events: none;
  mask-image: radial-gradient(circle, #000 25%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 65%);
}

/* Hub */
.hub {
  position: relative; z-index: 3;
  width: 140px; height: 140px; border-radius: 28px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.14), transparent 50%),
    linear-gradient(135deg, color-mix(in oklab, var(--a1) 22%, #0b1424), #0b1424);
  border: 1px solid color-mix(in oklab, var(--a1) 25%, var(--line-2));
  box-shadow:
    0 24px 60px -10px rgba(0,0,0,.5),
    0 0 50px -8px color-mix(in oklab, var(--a1) 30%, transparent),
    inset 0 1px 1px rgba(255,255,255,.15);
  text-align: center; padding: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: -0.02em;
  animation: hubBreathe 4s ease-in-out infinite;
}
@keyframes hubBreathe {
  0%, 100% { box-shadow: 0 24px 60px -10px rgba(0,0,0,.5), 0 0 50px -8px color-mix(in oklab, var(--a1) 30%, transparent), inset 0 1px 1px rgba(255,255,255,.15) }
  50% { box-shadow: 0 24px 60px -10px rgba(0,0,0,.5), 0 0 80px -4px color-mix(in oklab, var(--a1) 50%, transparent), inset 0 1px 1px rgba(255,255,255,.2) }
}
.hub small {
  display: block; font-family: var(--f-mono); font-size: 9px;
  color: var(--ink-3); text-transform: uppercase;
  letter-spacing: .12em; font-weight: 500; margin-top: 4px;
}
.hub::after {
  content: ""; position: absolute; inset: -16px; border-radius: inherit;
  border: 1px dashed color-mix(in oklab, var(--a1) 25%, transparent);
  animation: hubRing 16s linear infinite;
}
@keyframes hubRing { to { transform: rotate(360deg) } }

/* Hub orbits */
.hub-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid color-mix(in oklab, var(--a1) 15%, transparent);
}
.hub-orbit.r1 { width: 220px; height: 220px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbitSpin 22s linear infinite }
.hub-orbit.r2 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbitSpin 32s linear infinite reverse; border-style: dashed; opacity: .4 }
.hub-orbit.r3 { width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbitSpin 28s linear infinite; opacity: .25 }
@keyframes orbitSpin { to { transform: translate(-50%,-50%) rotate(360deg) } }
.hub-orbit::before {
  content: ""; position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--a1); box-shadow: 0 0 10px var(--a1);
  top: -3px; left: 50%; margin-left: -3px;
}
.hub-orbit.r2::before { background: var(--a2); box-shadow: 0 0 10px var(--a2); width: 5px; height: 5px; top: auto; bottom: -2.5px; margin-left: -2.5px }
.hub-orbit.r3::before { background: var(--a3); box-shadow: 0 0 10px var(--a3); width: 4px; height: 4px; left: auto; right: -2px; top: 50%; margin-top: -2px }

/* Energy pulses */
.energy-pulse {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 140px; height: 140px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid var(--a1); opacity: 0;
  animation: ePulse 4s ease-out infinite;
}
.energy-pulse.ep2 { animation-delay: 1.3s; border-color: var(--a2) }
.energy-pulse.ep3 { animation-delay: 2.6s; border-color: var(--a3) }
@keyframes ePulse {
  0% { width: 140px; height: 140px; opacity: .5; border-width: 1.5px }
  100% { width: 460px; height: 460px; opacity: 0; border-width: .3px }
}

/* Diagnostic progress */
.diag-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 12;
  background: rgba(255,255,255,.03); overflow: hidden;
}
.diag-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  box-shadow: 0 0 10px var(--a1);
  animation: diagFill 8s ease-in-out infinite;
}
@keyframes diagFill { 0% { width: 0% } 58% { width: 92% } 68% { width: 92% } 88% { width: 100% } 100% { width: 0% } }

/* Nodes */
.node {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 99px;
  background: color-mix(in oklab, #0b1220 80%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 500; letter-spacing: -0.01em;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.5);
  transition: border-color .4s, box-shadow .4s;
}
.node .ico { width: 7px; height: 7px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 7px var(--a1); transition: transform .3s var(--spring), box-shadow .3s }
.node.active { border-color: var(--a1); box-shadow: 0 8px 24px -6px rgba(0,0,0,.5), 0 0 16px -3px color-mix(in oklab, var(--a1) 40%, transparent) }
.node.active .ico { transform: scale(1.5); box-shadow: 0 0 12px var(--a1) }
.node.n1 { top: 14%; left: 8%; animation: nFloat1 7s ease-in-out infinite }
.node.n2 { top: 10%; right: 8%; animation: nFloat2 8s ease-in-out infinite }
.node.n3 { bottom: 14%; left: 6%; animation: nFloat2 6.5s ease-in-out infinite }
.node.n4 { bottom: 10%; right: 8%; animation: nFloat1 7.5s ease-in-out infinite }
.node.n5 { top: 50%; left: 0%; transform: translateY(-50%); animation: nFloat3 7s ease-in-out infinite }
.node.n6 { top: 50%; right: 0%; transform: translateY(-50%); animation: nFloat3 8s ease-in-out infinite }
@keyframes nFloat1 { 50% { transform: translateY(-6px) } }
@keyframes nFloat2 { 50% { transform: translateY(6px) } }
@keyframes nFloat3 { 50% { transform: translateY(calc(-50% + -5px)) } }

/* SVG flow lines */
.flow svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none }
.flow svg .conn-line { fill: none; stroke: url(#flowGrad); stroke-width: 1; stroke-dasharray: 4 6; opacity: .5; animation: dashMove 3.5s linear infinite }
.flow svg .conn-active { fill: none; stroke: var(--a1); stroke-width: 1.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0; stroke-linecap: round }
.flow svg .conn-active.fire { animation: connFire 1.5s ease-out forwards }
@keyframes connFire { 0% { stroke-dashoffset: 1000; opacity: .7 } 60% { stroke-dashoffset: 0; opacity: .5 } 100% { stroke-dashoffset: 0; opacity: 0 } }
@keyframes dashMove { to { stroke-dashoffset: -100 } }
.flow svg .packet { fill: var(--a1); filter: url(#packetGlow) }
.flow svg .packet.p2 { fill: var(--a2) }
.flow svg .packet.p3 { fill: var(--a3) }
.flow svg .trail { opacity: .3 }

/* Toast notifications */
.toast-area { position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 15; display: flex; flex-direction: column; gap: 5px; pointer-events: none }
.toast {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 8px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 500;
  opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.show { opacity: 1; transform: none }
.toast .t-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 6px var(--a1); flex-shrink: 0 }
.toast .t-dot.t-warn { background: #ffcc66; box-shadow: 0 0 6px #ffcc66 }
.toast .t-dot.t-blue { background: var(--a2); box-shadow: 0 0 6px var(--a2) }
.toast .t-time { margin-left: auto; font-family: var(--f-mono); font-size: 8.5px; color: var(--ink-4); letter-spacing: .06em }

/* KPI pane */
.seal {
  display: flex; align-items: center; gap: 11px;
  padding: 12px; border-radius: var(--r-md);
  background: linear-gradient(135deg, color-mix(in oklab, var(--a3) 12%, transparent), rgba(255,255,255,.015));
  border: 1px solid color-mix(in oklab, var(--a3) 20%, var(--line-2));
}
.seal-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  overflow: hidden;
  background: #0b1424;
  border: 1px solid rgba(255,255,255,.08);
  padding: 5px;
}
.seal-logo {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}
.seal b { font-size: 12.5px; letter-spacing: -0.01em }
.seal span { display: block; font-size: 10.5px; color: var(--ink-3); font-family: var(--f-mono); margin-top: 2px }

.kpi-grid { display: flex; flex-direction: column; gap: 8px }
.kpi {
  padding: 12px; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line);
}
.kpi b { display: block; font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px }
.kpi .num { font-size: 30px; letter-spacing: -0.04em; font-weight: 600; line-height: 1; font-feature-settings: "tnum" }
.kpi .num .unit { font-size: 16px; color: var(--ink-3); margin-left: 2px }
.kpi .sub { font-size: 10.5px; color: var(--ink-3); margin-top: 5px; font-family: var(--f-mono) }
.bar { height: 5px; border-radius: 99px; background: var(--surface); overflow: hidden; margin-top: 8px }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a1), var(--a2)); border-radius: inherit; width: 0%; animation: fillBar 4s ease-in-out infinite alternate }
.bar.warn i { background: linear-gradient(90deg, #ffcc66, #ff9a55); width: 72%; animation-name: fillBarWarn }
@keyframes fillBar { from { width: 28% } to { width: 86% } }
@keyframes fillBarWarn { from { width: 58% } to { width: 76% } }

/* Pipeline */
.pipeline { display: flex; flex-direction: column; gap: 5px }
.pipeline-head { font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px }
.pipeline-stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; font-family: var(--f-mono); font-size: 8.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; text-align: center; margin-bottom: 5px }
.pipeline-stage { padding: 3px 2px; border-radius: 3px; background: var(--surface); border-bottom: 2px solid var(--line) }
.pipeline-stage.active { border-bottom-color: var(--a1); color: var(--a1) }
.pipeline-track { position: relative; min-height: 100px; overflow: hidden }
.lead-card {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 7px 9px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 500;
  opacity: 0; transform: translateX(-16px);
  transition: all .7s var(--ease);
}
.lead-card.visible { opacity: 1; transform: translateX(0) }
.lead-card .avatar {
  width: 20px; height: 20px; border-radius: 5px;
  display: grid; place-items: center;
  font-size: 8px; font-weight: 700; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--a1), var(--a2)); flex-shrink: 0;
}
.lead-card .lead-name { font-weight: 600; font-size: 10.5px }
.lead-card .lead-stage { font-family: var(--f-mono); font-size: 8.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px }
.lead-card .lead-status { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; background: var(--a1); box-shadow: 0 0 6px var(--a1) }

/* ===== LOGOS / TRUST BAR ===== */
.logos {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 55%, transparent);
}
.logos-row {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: .14em;
}
.logos-row .label { color: var(--ink-3); min-width: max-content }
.logos-row .marquee {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 36s linear infinite }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink-2); font-size: 17px;
  letter-spacing: -0.02em; font-family: var(--f-sans);
  text-transform: none; white-space: nowrap;
}
.marquee-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4) }

/* ===== Continued in next file for remaining sections ===== */

/* ===== STAGE + SECTIONS MOBILE ===== */
@media (max-width: 720px) {
  /* Stage console: hide KPI right-pane, simplify */
  .stage-body { min-height: auto; }
  .stage-pane:last-child { display: none; }
  .stage-shell {
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  }
  .stage-shell::before { display: none; }
  /* Liquid glass: lighter blur + drop blobs on mobile */
  .stage::before, .stage::after { display: none; }
  .stage-inner {
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }

  /* Hub: remove orbit rings and pulse animations */
  .hub-orbit, .energy-pulse, .diag-progress { display: none; }
  .hub::after { display: none; }
  .hub { animation: none; width: 100px; height: 100px; border-radius: 22px; font-size: 12px; }

  /* Nodes: disable float animation */
  .node { animation: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .node { padding: 5px 9px; font-size: 10.5px; }

  /* Toast: no blur */
  .toast { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Hero: tighter spacing */
  .hero { padding: 44px 0 64px; min-height: auto; }
  .hero h1 {
    margin-left: 0;
    padding: 20px 22px 24px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.4),
      inset 0 0 24px rgba(255,255,255,.04),
      0 18px 40px -20px rgba(0,0,0,.55);
  }
  .hero h1 .word:not(.gradient-text) {
    text-shadow:
      0 1px 1px rgba(0,0,0,.28),
      0 2px 12px rgba(0,0,0,.3);
  }
  .hero-copy { font-size: 16px; margin: 22px 0 28px; }
  .hero-badges { gap: 10px; margin-bottom: 20px; }
  .hero-trust-row { padding: 8px 14px; font-size: 11.5px; gap: 10px; }
  .actions-trust { margin-top: 24px; gap: 14px; font-size: 12px; }

  /* Marquee: tighter */
  .marquee-track { gap: 36px; }
  .marquee-item { font-size: 15px; }
}

@media (max-width: 480px) {
  /* Stage panes: compact */
  .stage-pane { padding: 12px; gap: 8px; }
  .flow { min-height: 240px; padding: 12px; }
  .hub { width: 80px; height: 80px; border-radius: 18px; font-size: 11px; }

  /* Pain/Method/Pricing cards: reduce padding */
  .pain { padding: 18px 14px; }
  .method-card { padding: 20px 16px; }
  .price { padding: 20px 16px; }

  /* Hero tag compact */
  .hero-tag { padding: 8px 14px; font-size: 12px; }
}
