:root {
  --bg: #070b10;
  --bg-strong: #0d141b;
  --panel: rgba(15, 23, 31, 0.9);
  --panel-2: rgba(12, 18, 24, 0.8);
  --text: #edf5ff;
  --muted: #a6b3c4;
  --line: rgba(169, 186, 209, 0.12);
  --line-strong: rgba(169, 186, 209, 0.17);
  --cyan: #7fd2ff;
  --blue: #7d82ff;
  --teal: #6fe0c5;
  --amber: #f0b66d;
  --violet: #ad8cf6;
  --shadow: rgba(2, 8, 12, 0.48);
  --container: 1200px;
  --body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(125, 130, 255, 0.12), transparent 20%),
    radial-gradient(circle at 80% 2%, rgba(127, 210, 255, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

h1, h2, h3, h4, h5, p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 8px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,0.02);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(125, 130, 255, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 210, 255, 0.3);
}
.btn-primary {
  background: rgba(127, 210, 255, 0.08);
  color: var(--text);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 16, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  width: 104px;
  height: auto;
  opacity: 0.96;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.nav-links a:hover { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
}

.hero {
  padding: 52px 0 20px;
}
.hero-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 32px;
  min-height: 680px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: var(--text);
}
.hero-copy p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.proof-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 23, 0.9);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 20px 55px rgba(2, 7, 12, 0.38);
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(127,210,255,0.05), transparent 28%, transparent 72%, rgba(125,130,255,0.04));
  pointer-events: none;
}
.stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 0;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(111,224,197,0.8);
}
.chat-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 28px 22px 20px;
}
.bubble {
  max-width: 82%;
  padding: 14px 15px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  box-shadow: 0 10px 24px rgba(3, 7, 10, 0.18);
}
.bubble.customer {
  margin-right: auto;
  border-color: rgba(125, 130, 255, 0.12);
}
.bubble.ai {
  margin-left: auto;
  background: rgba(127, 210, 255, 0.06);
  border-color: rgba(127, 210, 255, 0.2);
}
.bubble-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.bubble p {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
}
.status-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.tiny-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(127,210,255,0.75);
}
.mini-trace {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.mini-trace .arrow {
  color: var(--cyan);
}

.section {
  padding: 100px 0;
}
.section-lg {
  padding-top: 84px;
}
.section-light {
  background: transparent;
}
.section-head {
  max-width: 760px;
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: var(--text);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.flow-card {
  position: relative;
  min-height: 260px;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.01);
}
.flow-card.flow-strong {
  background: linear-gradient(180deg, rgba(127,210,255,0.05), rgba(255,255,255,0.01));
}
.flow-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.flow-card h3 {
  margin-top: 18px;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--text);
}
.flow-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.ecosystem-section {
  background: rgba(12, 18, 24, 0.9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ecosystem {
  margin-top: 28px;
  padding: 26px 18px 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.ecosystem-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.ecosystem-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
}
.ecosystem-track::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 22%;
  height: 1px;
  background: linear-gradient(90deg, rgba(127,210,255,0.15), rgba(125,130,255,0.25), rgba(127,210,255,0.15));
}
.eco-node {
  position: relative;
  z-index: 1;
  min-height: 150px;
  padding: 18px 14px 10px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 16, 0.7);
}
.eco-node span {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.eco-node strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.eco-nova { border-color: rgba(240, 182, 109, 0.25); }
.eco-assist { border-color: rgba(111, 224, 197, 0.25); }
.eco-insight { border-color: rgba(125, 130, 255, 0.25); }
.eco-lead { border-color: rgba(173, 140, 246, 0.25); }
.eco-vingler { border-color: rgba(127, 210, 255, 0.25); }

.portfolio-stack {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.product-panel {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 20px;
  align-items: center;
  padding: 18px 18px 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-visual {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 18, 0.78);
}
.product-copy {
  padding: 0 8px 0 0;
}
.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.nova-tag { border-color: rgba(240, 182, 109, 0.25); }
.assist-tag { border-color: rgba(111, 224, 197, 0.25); }
.insight-tag { border-color: rgba(125, 130, 255, 0.25); }
.lead-tag { border-color: rgba(173, 140, 246, 0.25); }
.vingler-tag { border-color: rgba(127, 210, 255, 0.25); }
.product-copy h3 {
  margin-top: 18px;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--text);
}
.product-copy p {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 0.96rem;
}
.product-copy a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.visual-chat {
  display: grid;
  align-content: center;
  gap: 12px;
}
.visual-card {
  width: min(84%, 390px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.visual-card.small-card { margin-right: auto; }
.visual-card.large-card { margin-left: auto; background: rgba(127, 210, 255, 0.06); border-color: rgba(127,210,255,0.18); }
.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.visual-card p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}
.assist-bubble { margin-right: auto; }
.assist-answer { margin-left: auto; background: rgba(111,224,197,0.06); border-color: rgba(111,224,197,0.2); }

.visual-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(180deg, rgba(125,130,255,0.08), rgba(255,255,255,0.015));
}
.chart-bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: min(84%, 420px);
  height: 170px;
}
.chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, rgba(125,130,255,0.8), rgba(127,210,255,0.45));
  border-radius: 4px 4px 0 0;
}
.chart-line {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 26%;
  height: 2px;
  background: linear-gradient(90deg, rgba(127,210,255,0.6), rgba(125,130,255,0.95));
  box-shadow: 0 0 16px rgba(127,210,255,0.2);
}

.visual-leads {
  display: grid;
  gap: 12px;
  align-content: center;
}
.lead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-size: 0.9rem;
}
.lead-row strong {
  color: var(--amber);
  font-size: 1.1rem;
}

.visual-player {
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-head {
  width: min(90%, 440px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--bg);
  background: var(--violet);
  border-radius: 50%;
  font-size: 0.9rem;
}
.runner {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.runner span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.time { color: var(--muted); font-size: 0.74rem; }

.signal-logic {
  background: rgba(12, 18, 24, 0.85);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.logic-step {
  min-height: 180px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.logic-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.logic-step h3 {
  margin-top: 16px;
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text);
}
.logic-step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  padding: 0 0 100px;
}
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}
.cta-panel h2 {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 64px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.01);
}
.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}
.footer-logo {
  width: 96px;
  height: auto;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 22px;
}
.footer-title {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-shell,
  .flow-grid,
  .logic-grid,
  .ecosystem-track {
    grid-template-columns: 1fr 1fr;
  }
  .hero-shell,
  .product-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0 14px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .nav-links a {
    letter-spacing: 0.08em;
  }
  .hero-shell {
    min-height: auto;
  }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }
  .bubble { max-width: 90%; }
  .flow-grid,
  .logic-grid,
  .ecosystem-track,
  .footer-links {
    grid-template-columns: 1fr;
  }
  .cta-panel,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn { transition: none; }
}
