:root {
  --night: #07111f;
  --navy: #102846;
  --blue: #1d5f9f;
  --sky: #9fc8ee;
  --ice: #f4f8fc;
  --line: rgba(11, 35, 61, .14);
  --gold: #d99b28;
  --text: #0b233d;
  --muted: #647487;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--ice);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(29,95,159,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29,95,159,.05) 1px, transparent 1px);
  background-size: 88px 88px;
}

.site-ambient span {
  position: absolute;
  width: 1px;
  height: 36vh;
  background: linear-gradient(180deg, transparent, rgba(29,95,159,.34), transparent);
  animation: ambientScan 8s linear infinite;
}

.site-ambient span:nth-child(1) { left: 18%; animation-delay: -1s; }
.site-ambient span:nth-child(2) { left: 42%; animation-delay: -4s; }
.site-ambient span:nth-child(3) { left: 68%; animation-delay: -2.4s; }
.site-ambient span:nth-child(4) { left: 86%; animation-delay: -6s; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  width: min(1220px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(7,17,31,.66);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background .25s ease, border-color .25s ease, top .25s ease;
}

.site-header.scrolled {
  top: 10px;
  background: rgba(7,17,31,.92);
  border-color: rgba(159,200,238,.22);
}

.brand img {
  width: 112px;
  filter: brightness(8) grayscale(1);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.nav-action,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.main-nav a {
  padding: 0 14px;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.nav-action,
.button-primary {
  padding: 0 20px;
  color: var(--night);
  background: #fff;
  border: 1px solid #fff;
}

.button-ghost {
  padding: 0 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}

.button {
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover,
.nav-action:hover {
  transform: translateY(-3px);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

.menu-button { display: none; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 138px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(29,95,159,.44), transparent 28rem),
    linear-gradient(135deg, #050b14, var(--night) 52%, #123a61);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(7,17,31,.86));
  pointer-events: none;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .42;
}

.hero-mark {
  position: absolute;
  left: -4vw;
  bottom: 7vh;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(159,200,238,.2);
  font-size: min(28vw, 430px);
  font-weight: 950;
  line-height: .75;
  letter-spacing: -18px;
  transform: skewX(-8deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 118px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 1060px;
  margin-bottom: 28px;
  font-size: 96px;
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: 68px;
  line-height: .96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,.76);
  font-size: 23px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.metric-rail {
  position: relative;
  z-index: 3;
  height: 75px;
  overflow: hidden;
  contain: layout paint;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(7,17,31,.82);
  backdrop-filter: blur(16px);
}

.metric-rail div {
  position: absolute;
  inset: 0 auto auto 0;
  width: max-content;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  animation: rail 26s linear infinite;
}

.metric-rail span {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 750;
}

.metric-rail strong {
  color: #fff;
  font-size: 28px;
}

.guided {
  position: relative;
  min-height: 420vh;
  --look-opacity: .16;
  color: #fff;
  background:
    linear-gradient(180deg, #07111f 0%, #0a1a2e 44%, #06101d 100%);
}

.guided::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(159,200,238,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159,200,238,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.guided-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  width: min(1220px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(430px, .72fr);
  gap: 96px;
  align-items: center;
  margin: 0 auto;
  padding: 120px 0 78px;
}

.guided-copy {
  position: relative;
  z-index: 8;
  max-width: 560px;
  padding: 28px 0;
}

.guided-copy h2 {
  font-size: 58px;
  line-height: 1;
}

.guided-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  font-size: 22px;
  line-height: 1.55;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.guide-actions span {
  color: var(--sky);
  font-weight: 950;
}

.growth-system {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  aspect-ratio: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  transform: translateX(24px);
  margin-left: auto;
  overflow: visible;
}

.system-ring {
  position: absolute;
  inset: 9%;
  width: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(159,200,238,.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(29,95,159,.12), transparent 60%),
    conic-gradient(from 90deg, rgba(159,200,238,.24), transparent, rgba(217,155,40,.2), transparent, rgba(159,200,238,.24));
  animation: slowSpin 18s linear infinite;
}

.system-logo {
  position: relative;
  z-index: 2;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.42);
  font-size: 96px;
  font-weight: 950;
  letter-spacing: -6px;
  opacity: var(--look-opacity);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

.system-step-copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(300px, 52%);
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.system-step-copy span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 950;
}

.system-step-copy p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0,0,0,.55);
}

.system-step-copy.switching {
  opacity: 0;
  transform: translate(-50%, -46%);
}

.system-path {
  position: absolute;
  inset: 18%;
  width: auto;
  aspect-ratio: 1;
  overflow: visible;
}

.system-path path {
  fill: none;
  stroke: rgba(217,155,40,.8);
  stroke-width: 2;
  stroke-dasharray: 10 14;
  animation: pathMove 9s linear infinite;
}

.system-node {
  position: absolute;
  z-index: 3;
  width: 132px;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(159,200,238,.24);
  border-radius: 8px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  font-weight: 850;
  transition: transform .45s ease, background .45s ease, color .45s ease, border-color .45s ease;
}

.system-node::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(159,200,238,.32);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.system-node:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(159,200,238,.54);
}

.system-node:hover::after {
  opacity: 1;
  transform: scale(1);
}

.system-node span {
  color: var(--gold);
  font-size: 13px;
}

.system-node.active {
  color: var(--night);
  background: #fff;
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.system-node[data-guide-dot="0"] { left: 50%; top: 4%; transform: translate(-50%, -50%); }
.system-node[data-guide-dot="1"] { left: 91%; top: 36%; transform: translate(-50%, -50%); }
.system-node[data-guide-dot="2"] { left: 77%; top: 91%; transform: translate(-50%, -50%); }
.system-node[data-guide-dot="3"] { left: 23%; top: 91%; transform: translate(-50%, -50%); }
.system-node[data-guide-dot="4"] { left: 9%; top: 36%; transform: translate(-50%, -50%); }

.guide-scroll {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 36px));
  margin-left: max(18px, calc((100vw - 1220px) / 2));
  padding-bottom: 80vh;
  pointer-events: none;
}

.guide-scroll article {
  min-height: 58vh;
  display: grid;
  align-content: center;
  padding: 22px 0;
  color: transparent;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 750;
  text-wrap: balance;
  text-shadow: none;
  user-select: none;
}

.guide-scroll span {
  display: block;
  margin-bottom: 14px;
  color: transparent;
  font-size: 16px;
  font-weight: 950;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .52fr);
  gap: 70px;
  align-items: end;
  padding: 130px 0;
}

.intro-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,17,31,.08);
}

.intro-panel p,
.sticky-copy p,
.platform-copy p,
.footer address {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.stack-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f1fb;
  font-weight: 850;
}

.proof-strip {
  padding: 32px 0;
  color: #fff;
  background: var(--night);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-item {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  border: 1px solid rgba(159,200,238,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 10%, rgba(217,155,40,.2), transparent 13rem),
    rgba(255,255,255,.06);
}

.proof-item strong {
  color: #fff;
  font-size: 50px;
  line-height: .9;
}

.proof-item span {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.challenge-cta {
  padding: 110px 0;
  overflow: hidden;
  background: #fff;
}

.challenge-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.challenge-cta-inner h2 {
  max-width: 780px;
}

.challenge-cta-inner p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.challenge-cta-inner .button-primary {
  min-width: 280px;
  min-height: 68px;
  padding: 0 34px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--night), var(--blue));
  border: 1px solid rgba(11,35,61,.9);
  box-shadow: 0 26px 64px rgba(7,17,31,.24), 0 0 0 8px rgba(29,95,159,.08);
}

.challenge-cta-inner .button-primary:hover {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(217,155,40,.32), 0 0 0 8px rgba(217,155,40,.12);
}

.diagnostic-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 28px;
}

.diagnostic-modal.open {
  display: grid;
}

.diagnostic-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,17,31,.74);
  backdrop-filter: blur(12px);
}

.diagnostic-dialog {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(440px, 1fr);
  gap: 30px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(159,200,238,.22);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 42px 130px rgba(0,0,0,.36);
  overflow: auto;
}

.diagnostic-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(7,17,31,.78);
  cursor: pointer;
  font-weight: 950;
}

.diagnostic-copy {
  min-width: 0;
  padding: 18px 10px 0 0;
}

.diagnostic-dialog .diagnostic-copy h2 {
  max-width: 300px;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.diagnostic-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.diagnostic-panel {
  position: relative;
  min-height: 520px;
  padding: 30px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(159,200,238,.2), transparent 20rem),
    linear-gradient(145deg, #07111f, #102846 62%, #123a61);
  box-shadow: 0 36px 110px rgba(7,17,31,.22);
  overflow: hidden;
}

.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(159,200,238,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159,200,238,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

.diagnostic-panel > * {
  position: relative;
  z-index: 1;
}

.diagnostic-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.diagnostic-top span {
  color: var(--sky);
  font-weight: 950;
}

.diagnostic-meter {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}

.diagnostic-meter span {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  transition: width .35s ease;
}

.diagnostic-panel h3 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 42px;
}

.diagnostic-options {
  display: grid;
  gap: 12px;
}

.diagnostic-option {
  position: relative;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.diagnostic-option::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(159,200,238,.2), transparent);
  transition: opacity .25s ease;
}

.diagnostic-option strong,
.diagnostic-option small {
  position: relative;
  z-index: 1;
}

.diagnostic-option small {
  color: rgba(255,255,255,.58);
  font-weight: 750;
}

.diagnostic-option:hover,
.diagnostic-option.selected {
  transform: translateX(10px);
  border-color: rgba(217,155,40,.72);
  background: rgba(255,255,255,.12);
}

.diagnostic-option:hover::before,
.diagnostic-option.selected::before {
  opacity: 1;
}

.diagnostic-result {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(217,155,40,.42);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}

.diagnostic-result.visible {
  display: block;
  animation: resultIn .45s ease both;
}

.diagnostic-result small {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.diagnostic-result strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 30px;
}

.diagnostic-result p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.5;
}

.diagnostic-panel.result-screen {
  min-height: 520px;
  display: grid;
  align-content: center;
}

.diagnostic-panel.result-screen .diagnostic-options {
  display: none;
}

.diagnostic-panel.result-screen h3 {
  max-width: 560px;
  margin: 18px auto 22px;
  text-align: center;
  font-size: 44px;
}

.diagnostic-panel.result-screen .diagnostic-result.visible {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0 auto;
  width: min(620px, 100%);
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(217,155,40,.2), transparent 17rem),
    rgba(255,255,255,.1);
}

.diagnostic-panel.result-screen .diagnostic-result strong {
  max-width: 540px;
  font-size: 42px;
  line-height: 1;
}

.diagnostic-panel.result-screen .diagnostic-result p {
  max-width: 500px;
  margin-bottom: 10px;
  font-size: 20px;
}

.transformation {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(340px, .8fr);
  gap: 72px;
  align-items: start;
  padding: 138px 0;
}

.sticky-copy {
  position: sticky;
  top: 122px;
}

.flow-steps {
  display: grid;
  gap: 18px;
}

.flow-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,17,31,.07);
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(29,95,159,.16), transparent 38%);
  transition: opacity .28s ease;
  pointer-events: none;
}

.flow-card:hover {
  border-color: rgba(29,95,159,.32);
  box-shadow: 0 34px 90px rgba(7,17,31,.12);
  transform: translateY(-8px);
}

.flow-card:hover::before {
  opacity: 1;
}

.flow-card small {
  color: var(--gold);
  font-weight: 950;
}

.flow-card p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.pipeline {
  position: relative;
  padding: 126px 0 146px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(159,200,238,.28), transparent 26rem),
    linear-gradient(180deg, #f4f8fc, #ffffff);
}

.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29,95,159,.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29,95,159,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

.pipeline-head {
  position: relative;
  z-index: 2;
}

.pipeline-head h2 {
  max-width: 920px;
}

.pipeline-stage {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  margin: 42px auto 0;
}

.pipeline-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: rgba(11,35,61,.12);
  overflow: hidden;
}

.pipeline-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--blue), var(--gold), transparent);
  animation: pulseLine 3.6s ease-in-out infinite;
}

.pipeline-node {
  position: relative;
  min-height: 300px;
  display: grid;
  align-content: end;
  padding: 24px;
  border: 1px solid rgba(11,35,61,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 28px 70px rgba(7,17,31,.08);
  backdrop-filter: blur(14px);
  overflow: hidden;
  animation: nodeFloat 6s ease-in-out infinite;
  --mx: 50%;
  --my: 50%;
  transition: box-shadow .28s ease, border-color .28s ease;
}

.pipeline-node::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(217,155,40,.22), transparent 36%);
  transition: opacity .28s ease;
  pointer-events: none;
}

.pipeline-node:nth-child(3) { animation-delay: -1.2s; transform: translateY(-42px); }
.pipeline-node:nth-child(4) { animation-delay: -2.4s; }
.pipeline-node:nth-child(5) { animation-delay: -3.6s; transform: translateY(42px); }

.pipeline-node::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(29,95,159,.1);
  animation: pingDot 2.8s ease-out infinite;
}

.pipeline-node:hover {
  border-color: rgba(217,155,40,.48);
  box-shadow: 0 42px 110px rgba(7,17,31,.16);
}

.pipeline-node:hover::after {
  opacity: 1;
}

.pipeline-node small {
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(11,35,61,.12);
  font-size: 74px;
  font-weight: 950;
  line-height: .8;
}

.pipeline-node p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.platform {
  padding: 126px 0;
  color: #fff;
  background: var(--night);
}

.platform-inner {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(360px, .82fr);
  gap: 70px;
  align-items: center;
}

.platform-copy p {
  color: rgba(255,255,255,.7);
}

.platform-console {
  padding: 20px;
  border: 1px solid rgba(159,200,238,.2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 34px 110px rgba(0,0,0,.32);
}

.console-top {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.console-grid span {
  min-height: 86px;
  display: flex;
  align-items: end;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  font-weight: 850;
}

.ai-section {
  padding: 134px 0;
}

.ai-section h2 {
  max-width: 980px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}

.ai-grid article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}

.ai-grid article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.ai-grid article:hover {
  color: #fff;
  background: var(--night);
  transform: translateY(-10px);
}

.ai-grid article:hover::after {
  transform: scaleX(1);
}

.ai-grid span {
  color: var(--gold);
  font-size: 44px;
  font-weight: 950;
}

.clients {
  padding: 116px 0;
  overflow: hidden;
  background: #fff;
}

.clients-head h2 {
  max-width: 900px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.case-card {
  min-height: 430px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(11,35,61,.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f4f8fc);
  box-shadow: 0 28px 76px rgba(7,17,31,.08);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .86;
  background:
    radial-gradient(circle at 90% 0, rgba(217,155,40,.2), transparent 16rem),
    linear-gradient(90deg, rgba(29,95,159,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29,95,159,.06) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.case-card > * {
  position: relative;
  z-index: 1;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,155,40,.44);
  box-shadow: 0 38px 100px rgba(7,17,31,.13);
}

.case-card small {
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
}

.case-card strong {
  display: block;
  color: var(--night);
  font-size: 54px;
  line-height: .94;
}

.case-card p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.case-metrics {
  display: grid;
  gap: 8px;
}

.case-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(11,35,61,.12);
  color: var(--muted);
  font-weight: 800;
}

.case-metrics b {
  color: var(--text);
}

.footer {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(300px, .52fr);
  gap: 48px;
  margin: 0 auto 28px;
  padding: 56px;
  border-radius: 12px;
  color: #fff;
  background: var(--night);
}

.footer img {
  width: 150px;
  margin-bottom: 28px;
  filter: brightness(8) grayscale(1);
}

.footer h2 {
  margin-bottom: 0;
  font-size: 54px;
}

.footer address {
  display: grid;
  align-content: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-style: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rail {
  to { transform: translateX(-50%); }
}

@keyframes challengeDrift {
  to { transform: translateX(-38%); }
}

@keyframes ambientScan {
  from { transform: translateY(-45vh); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { transform: translateY(110vh); opacity: 0; }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes pathMove {
  to { stroke-dashoffset: -240; }
}

@keyframes pulseLine {
  0% { transform: translateX(-55%); opacity: .2; }
  35% { opacity: 1; }
  100% { transform: translateX(240%); opacity: .2; }
}

@keyframes nodeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@keyframes pingDot {
  0% { box-shadow: 0 0 0 0 rgba(29,95,159,.24); }
  80%, 100% { box-shadow: 0 0 0 22px rgba(29,95,159,0); }
}

@keyframes resultIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  h1 { font-size: 70px; }
  h2 { font-size: 48px; }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .nav-action { display: none; }

  .menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    gap: 6px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .site-header.open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    padding: 12px;
    border-radius: 20px;
    background: rgba(7,17,31,.96);
  }

  .intro,
  .guided-sticky,
  .challenge-cta-inner,
  .diagnostic-dialog,
  .transformation,
  .pipeline-stage,
  .platform-inner,
  .footer {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: relative;
    top: auto;
  }

  .guided {
    min-height: auto;
  }

  .guided-sticky {
    position: relative;
    top: auto;
    padding-top: 96px;
  }

  .guided-copy h2 {
    font-size: 50px;
  }

  .growth-system {
    width: min(540px, 100%);
    transform: none;
  }

  .guide-scroll {
    display: none;
  }

  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-line {
    display: none;
  }

  .pipeline-node:nth-child(n) {
    transform: none;
  }
}

@media (min-width: 981px) and (max-height: 720px) {
  .guided-sticky {
    min-height: 100vh;
    gap: 46px;
    padding: 78px 0 22px;
  }

  .guided-copy h2 {
    font-size: 46px;
  }

  .guided-copy p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.42;
  }

  .growth-system {
    width: min(360px, 100%);
  }

  .system-logo {
    font-size: 76px;
  }

  .system-step-copy {
    width: min(205px, 58%);
    min-height: 108px;
    top: 50%;
  }

  .system-step-copy p {
    font-size: 13px;
    line-height: 1.22;
  }

  .system-node {
    width: 96px;
    min-height: 46px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .system-node[data-guide-dot="0"] { left: 50%; top: 8%; }
  .system-node[data-guide-dot="1"] { left: 84%; top: 36%; }
  .system-node[data-guide-dot="2"] { left: 74%; top: 84%; }
  .system-node[data-guide-dot="3"] { left: 26%; top: 84%; }
  .system-node[data-guide-dot="4"] { left: 16%; top: 36%; }
}

@media (min-width: 981px) and (max-height: 520px) {
  .guided-sticky {
    min-height: 100vh;
    height: 100vh;
    grid-template-columns: minmax(360px, .76fr) minmax(280px, .64fr);
    gap: 38px;
    padding: 104px 0 18px;
    overflow: visible;
  }

  .guided-copy {
    padding: 0;
  }

  .guided-copy .eyebrow {
    margin-bottom: 10px;
  }

  .guided-copy h2 {
    max-width: 560px;
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.02;
  }

  .guided-copy p:not(.eyebrow) {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.35;
  }

  .guide-actions {
    margin-top: 16px;
  }

  .growth-system {
    width: min(260px, 100%);
    align-self: center;
  }

  .system-node {
    width: 86px;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .system-logo {
    font-size: 48px;
  }

  .system-step-copy {
    width: min(170px, 68%);
    min-height: 100px;
    top: 50%;
  }

  .system-step-copy span {
    font-size: 14px;
  }

  .system-step-copy p {
    font-size: 12px;
    line-height: 1.24;
  }
}

@media (max-width: 620px) {
  .section,
  .hero-inner,
  .footer { width: min(100% - 24px, 1180px); }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 28px; }
  .hero-lead,
  .intro-panel p,
  .sticky-copy p,
  .platform-copy p,
  .footer address {
    font-size: 18px;
  }
  .hero { padding-top: 112px; }
  .hero-inner { padding-bottom: 82px; }
  .hero-mark {
    font-size: 165px;
    letter-spacing: -8px;
  }
  .intro,
  .guided-sticky,
  .transformation,
  .pipeline,
  .platform,
  .ai-section,
  .clients {
    padding: 78px 0;
  }
  .challenge-cta {
    padding: 82px 0;
  }
  .guided-sticky {
    width: min(100% - 24px, 1180px);
    padding: 78px 0;
  }
  .guided-copy h2 {
    font-size: 36px;
  }
  .guided-copy p:not(.eyebrow) {
    font-size: 18px;
  }
  .growth-system {
    width: min(360px, 100%);
  }
  .system-logo {
    font-size: 58px;
  }
  .system-step-copy {
    width: min(250px, 66%);
    min-height: 150px;
    top: 50%;
  }
  .system-step-copy p {
    font-size: 15px;
    line-height: 1.25;
  }
  .system-node {
    width: 104px;
    min-height: 62px;
    font-size: 13px;
  }
  .system-node[data-guide-dot="0"] { left: 50%; top: 5%; }
  .system-node[data-guide-dot="1"] { left: 91%; top: 38%; }
  .system-node[data-guide-dot="2"] { left: 78%; top: 91%; }
  .system-node[data-guide-dot="3"] { left: 22%; top: 91%; }
  .system-node[data-guide-dot="4"] { left: 9%; top: 38%; }
  .pipeline-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pipeline-node {
    min-height: 220px;
  }
  .diagnostic-panel { padding: 22px; min-height: auto; }
  .diagnostic-modal { padding: 14px; }
  .diagnostic-dialog { padding: 20px; max-height: calc(100vh - 28px); }
  .diagnostic-panel h3 { font-size: 30px; }
  .diagnostic-option { min-height: 82px; }
  .console-grid,
  .ai-grid,
  .proof-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .proof-item { min-height: 145px; }
  .proof-item strong,
  .case-card strong { font-size: 42px; }
  .case-card { min-height: auto; }
  .ai-grid article { min-height: 190px; }
  .footer {
    padding: 34px 24px;
  }
  .footer h2 { font-size: 34px; }
}

/* ------------------------------------------------------------------ */
/* Modal de captura de lead (pré-WhatsApp)                             */
/* ------------------------------------------------------------------ */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 28px;
}

.lead-modal.open { display: grid; }

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,17,31,.78);
  backdrop-filter: blur(12px);
  animation: leadFade .3s ease;
}

.lead-dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(720px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(320px, 1fr);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 42px 130px rgba(0,0,0,.4);
  animation: leadRise .4s cubic-bezier(.2,.8,.25,1);
}

.lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(7,17,31,.65);
  cursor: pointer;
  font-weight: 950;
  transition: transform .2s ease, background .2s ease;
}
.lead-close:hover { transform: rotate(90deg); background: var(--gold); }

.lead-aside {
  position: relative;
  padding: 38px 30px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(159,200,238,.22), transparent 18rem),
    linear-gradient(155deg, #07111f, #102846 60%, #123a61);
}
.lead-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(159,200,238,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159,200,238,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.lead-aside > * { position: relative; z-index: 1; }
.lead-aside h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
}
.lead-aside-text {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.55;
}
.lead-aside-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.lead-aside-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  font-weight: 650;
  color: rgba(255,255,255,.86);
}
.lead-aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217,155,40,.18);
}
.lead-aside-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #07111f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lead-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px 32px;
  overflow: auto;
}
.lead-field { display: grid; gap: 6px; }
.lead-field label {
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7fafd;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lead-field textarea { resize: vertical; min-height: 52px; }
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29,95,159,.14);
}

.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(208,55,55,.1);
  color: #b3261e;
  font-size: 14px;
  font-weight: 650;
}

.lead-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  font-size: 15.5px;
  background: var(--gold);
  color: var(--night);
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 16px 40px rgba(217,155,40,.32);
}
.lead-submit:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(217,155,40,.42); }
.lead-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.lead-submit.loading span { opacity: .85; }

.lead-note {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes leadRise {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .lead-modal { padding: 12px; }
  .lead-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
  }
  .lead-aside { padding: 28px 24px 22px; }
  .lead-aside-list { display: none; }
  .lead-form { padding: 24px 22px 28px; }
}

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