/* ============================================================
   GRAVITAS VISION — AI Automation
   Deep-space navy · electric blue → violet · cyan signal accents
   ============================================================ */

/* ---------- 0. Tokens ---------- */
:root {
  --ink: #070b18;
  --ink-2: #0c1226;
  --ink-3: #121a35;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --text: #e6eaf6;
  --muted: #9aa4c2;
  --muted-2: #6f7a9c;
  --blue: #2f6bff;
  --violet: #7b3bff;
  --cyan: #22d3ee;
  --mint: #34d399;
  --amber: #fbbf24;
  --orange: #e97132;
  --grad: linear-gradient(115deg, var(--blue), var(--violet));
  --grad-text: linear-gradient(110deg, #5b8dff, #22d3ee 50%, #a985ff);
  --glow: 0 0 0 1px rgba(47, 107, 255, 0.35), 0 18px 60px rgba(47, 107, 255, 0.25);

  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6.5rem;
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; width: 100%; }
body {
  font-family: var(--font-body); font-weight: 400; line-height: 1.7;
  color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; width: 100%; position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.container--narrow { width: min(860px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; color: var(--white); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.section { padding: var(--s6) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: var(--s4); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section--soft { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(47, 107, 255, 0.35); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(47, 107, 255, 0.5); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 3. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line); padding: 0.55rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img { height: 52px; width: auto; transition: height 0.4s; }
.nav.is-scrolled .nav__logo-img { height: 42px; }
.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__menu a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.25s; position: relative; }
.nav__menu a:hover { color: #fff; }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: 0.65rem 1.25rem; font-size: 0.88rem; }
.nav__cta-mobile { display: none; }
.nav__burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 9rem 0 5rem; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(47, 107, 255, 0.28), transparent 60%),
    radial-gradient(45% 45% at 85% 20%, rgba(123, 59, 255, 0.28), transparent 60%),
    radial-gradient(50% 40% at 60% 100%, rgba(34, 211, 238, 0.14), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.04);
  font-size: 0.78rem; font-weight: 600; color: var(--text); margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.25);} 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0.05);} }
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.04; margin-bottom: 1.4rem;
}
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin-bottom: 2.2rem; }
.hero__sub strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2.8rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stat__num span { color: var(--cyan); }
.stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

/* Hero visual — orchestration panel */
.hero__visual { position: relative; }
.panel {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.panel__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.panel__bar .dots { display: flex; gap: 6px; }
.panel__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3352; }
.panel__bar .dots i:nth-child(1) { background: #ff5f57; } .panel__bar .dots i:nth-child(2) { background: #febc2e; } .panel__bar .dots i:nth-child(3) { background: #28c840; }
.panel__bar .title { margin-left: 0.4rem; }
.panel__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--mint); }
.panel__bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
.hero__flow { padding: 1.2rem 1.2rem 1rem; }
.hero__flow svg { width: 100%; height: auto; }
.hero__ticker {
  border-top: 1px solid var(--line); padding: 0.75rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
  display: flex; flex-direction: column; gap: 0.35rem; min-height: 96px;
}
.hero__ticker div { display: flex; gap: 0.7rem; align-items: baseline; opacity: 0; transform: translateY(6px); animation: tick 0.5s var(--ease) forwards; }
.hero__ticker .t { color: var(--muted-2); }
.hero__ticker .ok { color: var(--mint); }
.hero__ticker .ai { color: var(--cyan); }
.hero__ticker .hs { color: #ff7a59; }
@keyframes tick { to { opacity: 1; transform: none; } }

.float-card {
  position: absolute; padding: 0.8rem 1rem; border-radius: 14px;
  background: rgba(12, 18, 38, 0.9); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45); backdrop-filter: blur(8px);
  font-size: 0.8rem; display: flex; align-items: center; gap: 0.7rem;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: #fff; }
.float-card small { color: var(--muted); }
.float-card--a { top: -22px; right: -14px; animation-delay: -2s; }
.float-card--b { bottom: -34px; left: -22px; animation-delay: -4s; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(34,211,238,0.12); color: var(--cyan); }
.float-card .ic.v { background: rgba(123,59,255,0.18); color: #b691ff; }
.float-card .ic svg { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

/* SVG flow animations */
.flow-line { stroke: rgba(255,255,255,0.14); stroke-width: 1.5; fill: none; }
.flow-dash { stroke: url(#flowGrad); stroke-width: 2; fill: none; stroke-dasharray: 6 14; stroke-linecap: round; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.node { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.16); stroke-width: 1; }
.node--core { fill: rgba(47,107,255,0.14); stroke: rgba(91,141,255,0.6); }
.node-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; fill: #fff; }
.node-sub { font-family: var(--font-mono); font-size: 8.5px; fill: #9aa4c2; }
.pulse-ring { fill: none; stroke: var(--cyan); stroke-width: 1.5; opacity: 0; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { opacity: 0.8; transform: scale(0.6);} 100% { opacity: 0; transform: scale(1.6);} }
.orbit { transform-origin: center; animation: spin 14s linear infinite; }
.orbit--rev { animation-direction: reverse; animation-duration: 20s; }
@keyframes spin { to { transform: rotate(360deg);} }

/* ---------- 5. Stack strip ---------- */
.stack { padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.stack__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.stack__label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; white-space: nowrap; }
.stack__logos { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 1rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: #fff;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.chip:hover { border-color: rgba(91,141,255,0.6); background: rgba(47,107,255,0.1); transform: translateY(-2px); }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- 6. Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  position: relative; padding: 1.8rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(91,141,255,0.6), rgba(34,211,238,0.3) 50%, rgba(123,59,255,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(47,107,255,0.14); color: #7fa6ff; margin-bottom: 1.2rem;
  border: 1px solid rgba(91,141,255,0.25);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.tag { font-family: var(--font-mono); font-size: 0.68rem; padding: 0.25rem 0.6rem; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--muted); }
.card__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); }

/* ---------- 7. Architecture diagram ---------- */
.arch { position: relative; }
.arch__wrap {
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: radial-gradient(80% 80% at 50% 0%, rgba(47,107,255,0.12), transparent 60%), var(--ink-2);
  padding: 1.5rem; overflow: hidden;
}
.arch__scroll { overflow-x: auto; }
.arch__wrap svg { width: 100%; min-width: 860px; height: auto; }
.arch__legend { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.arch__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.arch__legend i { width: 10px; height: 10px; border-radius: 3px; }
.layer-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; fill: #6f7a9c; }
.a-node { fill: rgba(255,255,255,0.035); stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.a-node--t { stroke: rgba(34,211,238,0.5); fill: rgba(34,211,238,0.06); }
.a-node--o { stroke: rgba(91,141,255,0.6); fill: rgba(47,107,255,0.1); }
.a-node--r { stroke: rgba(169,133,255,0.7); fill: rgba(123,59,255,0.14); }
.a-node--a { stroke: rgba(52,211,153,0.55); fill: rgba(52,211,153,0.07); }
.a-node--h { stroke: rgba(251,191,36,0.55); fill: rgba(251,191,36,0.07); }
.a-title { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; fill: #fff; }
.a-sub { font-family: var(--font-body); font-size: 10px; fill: #9aa4c2; }
.a-link { stroke: rgba(255,255,255,0.12); stroke-width: 1.5; fill: none; }
.a-flow { stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 5 13; animation: dash 1.4s linear infinite; }
.a-flow.t { stroke: var(--cyan); } .a-flow.o { stroke: #5b8dff; } .a-flow.r { stroke: #a985ff; } .a-flow.a { stroke: var(--mint); } .a-flow.h { stroke: var(--amber); }

/* ---------- 8. Live agent demo ---------- */
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.demo__steps { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1.5rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: 14px;
  border: 1px solid transparent; transition: background 0.4s, border-color 0.4s;
}
.step.is-active { background: rgba(47,107,255,0.08); border-color: rgba(91,141,255,0.35); }
.step.is-done .step__n { background: var(--mint); color: #062; }
.step__n {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); color: var(--muted); transition: background 0.4s, color 0.4s;
}
.step.is-active .step__n { background: var(--grad); color: #fff; border-color: transparent; }
.step strong { display: block; color: #fff; font-family: var(--font-display); font-size: 0.95rem; }
.step small { color: var(--muted); font-size: 0.85rem; }
.demo__panel .panel__body { padding: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-card { border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 1rem; font-size: 0.82rem; }
.lead-card h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.7rem; font-family: var(--font-mono); font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { color: #fff; font-weight: 500; text-align: right; }
.kv .pending { color: var(--muted-2); font-style: italic; }
.gauge { display: grid; place-items: center; position: relative; }
.gauge svg { width: 150px; height: 150px; }
.gauge__val { position: absolute; text-align: center; }
.gauge__val b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.gauge__val small { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.gauge__arc { fill: none; stroke: url(#gaugeGrad); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 330; stroke-dashoffset: 330; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge__track { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 10; }
.demo__log { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.7; color: var(--muted); background: #050813; border-radius: 12px; padding: 0.9rem 1rem; min-height: 132px; border: 1px solid var(--line); }
.demo__log div { opacity: 0; animation: tick 0.4s var(--ease) forwards; }
.demo__log .k { color: var(--cyan); }
.demo__log .g { color: var(--mint); }
.demo__log .p { color: #b691ff; }
.demo__log .y { color: var(--amber); }
.demo__log .cursor { display: inline-block; width: 7px; height: 12px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo__replay { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); display: inline-flex; gap: 0.5rem; align-items: center; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.demo__replay:hover { color: #fff; border-color: rgba(91,141,255,0.6); }

/* ---------- 9. ROI calculator ---------- */
.roi { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
.roi__form { display: flex; flex-direction: column; gap: 1.4rem; }
.range { display: flex; flex-direction: column; gap: 0.5rem; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; }
.range__head output { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.1); outline: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); border: 3px solid var(--ink-2); box-shadow: 0 0 0 2px rgba(91,141,255,0.5); cursor: pointer; }
.range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); border: 3px solid var(--ink-2); cursor: pointer; }
.roi__out { display: flex; flex-direction: column; gap: 1rem; }
.roi__big { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: 0 20px 60px rgba(47,107,255,0.35); }
.roi__big small { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; font-weight: 600; }
.roi__big b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 0.3rem; }
.roi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.roi__mini { padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); }
.roi__mini small { color: var(--muted); font-size: 0.75rem; }
.roi__mini b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.roi__note { font-size: 0.78rem; color: var(--muted-2); }

/* ---------- 10. Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.process::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); opacity: 0.5; }
.pstep { position: relative; padding-top: 4.2rem; }
.pstep__n {
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  background: var(--ink); border: 2px solid rgba(91,141,255,0.6); color: #fff; box-shadow: 0 0 0 6px var(--ink);
}
.pstep h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.pstep p { font-size: 0.88rem; color: var(--muted); }
.pstep small { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan); }

/* ---------- 11. Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.outcome { padding: 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.outcome b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.outcome p { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; }
.outcome small { display: block; margin-top: 0.8rem; font-size: 0.72rem; color: var(--muted-2); }

/* ---------- 12. Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why__list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.why__item { display: flex; gap: 1rem; align-items: flex-start; }
.why__item .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.5); display: grid; place-items: center; color: var(--mint); margin-top: 0.15rem; }
.why__item .ck svg { width: 14px; height: 14px; }
.why__item strong { color: #fff; display: block; }
.why__item span { color: var(--muted); font-size: 0.92rem; }
.why__visual .panel { padding: 1.4rem; }
.why__visual svg { width: 100%; height: auto; }

/* ---------- 13. FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.025); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(91,141,255,0.45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-display); font-weight: 700; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--cyan); transition: transform 0.3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- 14. Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__points { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact__points li { display: flex; gap: 0.8rem; align-items: center; color: var(--muted); font-size: 0.95rem; }
.contact__points li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.contact__points a:hover { color: #fff; }
.form {
  padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(7,11,24,0.6); color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field select option { background: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #5b8dff; box-shadow: 0 0 0 4px rgba(47,107,255,0.18); }
.field textarea { min-height: 120px; resize: vertical; }
.form__submit { width: 100%; margin-top: 0.4rem; }
.form__note { text-align: center; font-size: 0.78rem; color: var(--muted-2); margin-top: 0.9rem; }
.form__msg { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; font-size: 0.9rem; }
.form__msg.ok { display: block; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.45); color: #b8f5dd; }
.form__msg.err { display: block; background: rgba(233,113,50,0.12); border: 1px solid rgba(233,113,50,0.45); color: #ffd3bd; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 15. CTA band ---------- */
.cta-band { padding: 4rem 0; }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 3.5rem;
  background: linear-gradient(115deg, rgba(47,107,255,0.25), rgba(123,59,255,0.25)), var(--ink-2);
  border: 1px solid rgba(91,141,255,0.35); display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2rem; align-items: center;
}
.cta-band__inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,0.25), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.7rem; }
.cta-band p { color: var(--muted); }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: stretch; position: relative; }

/* ---------- 16. Footer ---------- */
.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); background: #04070f; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__logo img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer__tag { color: var(--muted); font-size: 0.9rem; max-width: 40ch; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer ul a { color: var(--muted); font-size: 0.9rem; transition: color 0.25s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.8rem; color: var(--muted-2); }

/* ---------- 17. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; } .reveal[data-delay="2"] { transition-delay: 0.2s; } .reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; } .reveal[data-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: auto; padding-top: 8rem; }
  .hero__visual { max-width: 640px; }
  .float-card--a { right: 0; } .float-card--b { left: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .process::before { display: none; }
  .demo, .roi, .why, .contact { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; padding: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__menu {
    position: fixed; inset: 0; background: rgba(7,11,24,0.97); flex-direction: column; justify-content: center;
    gap: 1.6rem; transform: translateX(100%); visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav__menu.is-open { transform: none; visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
  .nav__menu a { font-size: 1.2rem; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; }
  .nav__burger { display: flex; position: relative; z-index: 2; }
}
@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .stack__label { white-space: normal; letter-spacing: 0.18em; }
  .contact > *, .form, .field { min-width: 0; }
  .form__submit { white-space: normal; width: 100%; line-height: 1.3; }
  .grid-3, .grid-2, .outcomes, .roi__row, .form__row, .process { grid-template-columns: 1fr; }
  .demo__panel .panel__body { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
  .hero__title { font-size: 2.3rem; }
  .float-card { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .cta-band__inner { padding: 2rem 1.5rem; }
}
