:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: rgba(255,255,255,0.08);
  --panel-border: rgba(255,255,255,0.12);
  --text: #e7edf7;
  --muted: #9da9ba;
  --primary: #73a7ff;
  --accent: #8cf1d4;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(97,140,255,0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(116,255,211,0.10), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .55;
}
.orb-1 {
  width: 380px; height: 380px;
  top: -80px; left: -40px;
  background: rgba(82,133,255,.35);
}
.orb-2 {
  width: 420px; height: 420px;
  right: -80px; top: 120px;
  background: rgba(68,255,208,.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7,17,31,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(7,17,31,0.72);
  border-color: rgba(255,255,255,0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 24px rgba(115,167,255,.7);
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .2s ease;
  font-weight: 600;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, #6fa3ff, #6cf0cc);
  color: #07111f;
  box-shadow: 0 12px 30px rgba(115,167,255,0.26);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}

.hero {
  padding: 84px 0 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 11ch;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.mini-stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.mini-stats div {
  min-width: 140px;
}
.mini-stats strong {
  display: block;
  font-size: 24px;
}
.mini-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  min-height: 520px;
}
.glass-card,
.floating-card,
.metrics-card,
.feature-card,
.stack-card,
.cta-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.terminal {
  border-radius: 22px;
  padding: 18px;
  position: absolute;
  inset: 50px 0 40px 40px;
}
.terminal-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
}
.terminal pre {
  margin: 0;
  color: #d7e6ff;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.floating-card {
  position: absolute;
  max-width: 270px;
  border-radius: 18px;
  padding: 18px;
}
.top-right { top: 10px; right: 10px; }
.bottom-left { bottom: 0; left: 0; }
.chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 10px;
}

.logo-strip {
  padding: 14px 0 30px;
}
.logo-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}
.logo-fakes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.logo-fakes span { opacity: .9; }

.section {
  padding: 74px 0;
}
.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  border-radius: 22px;
  padding: 24px;
}
.feature-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
  color: var(--accent);
}
.feature-card h3 {
  margin: 0 0 10px;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.metrics-section {
  padding-top: 0;
}
.metrics-card {
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  padding: 8px 6px;
}
.metric-value {
  display: block;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}
.check-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.stack-card {
  border-radius: 22px;
  padding: 20px;
}
.stack-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stack-row:last-child { border-bottom: 0; }
.stack-row span { color: var(--muted); }

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.cta-card {
  border-radius: 28px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-card h2 {
  margin: 0 0 10px;
}
.cta-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 60px;
  color: var(--muted);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .feature-grid,
  .metrics-card {
    grid-template-columns: 1fr;
  }

  .terminal {
    position: relative;
    inset: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin-top: 16px;
    max-width: none;
  }

  .nav {
    display: none;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
