:root {
  --bg: #0b1020;
  --panel: #111833;
  --panel-2: #151d3d;
  --text: #eef3ff;
  --muted: #afbddb;
  --line: rgba(255,255,255,.08);
  --accent: #5eead4;
  --accent-2: #7c3aed;
  --shadow: 0 18px 50px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #09101f 0%, #0f1730 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }
.centered { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(9, 16, 31, 0.75);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}
.logo span { color: var(--accent); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-nav a {
  color: var(--muted);
  font-weight: 600;
}
.site-nav a.active,
.site-nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: .65rem .8rem;
  border-radius: .8rem;
}

.hero, .page-hero {
  padding: 5.5rem 0 4rem;
}
.hero-grid, .split, .contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-grid { grid-template-columns: 1.2fr .8fr; }
.split { grid-template-columns: 1fr 1fr; }
.contact-grid { grid-template-columns: 1.1fr .9fr; }

h1, h2, h3, h4 {
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.lead { font-size: 1.12rem; max-width: 58ch; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--accent), #6ee7b7);
  color: #08111f;
  font-weight: 800;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.btn-sm { padding: .72rem 1rem; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hero-stats div,
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-stats div {
  padding: 1rem;
}
.hero-stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}
.hero-stats span { color: var(--muted); font-size: .92rem; }
.card { padding: 1.5rem; }
.hero-card { padding: 1.25rem; }
.terminal {
  background: #070b18;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.terminal-bar {
  display: flex;
  gap: .4rem;
  padding: .85rem 1rem;
  background: #0c1224;
}
.terminal-bar span {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.terminal-body { padding: 1.2rem; font-family: ui-monospace, SFMono-Regular, monospace; }
.terminal-body p { margin-bottom: .8rem; color: #c8d5ee; }
.terminal-body .highlight { color: var(--accent); }

.section { padding: 4.5rem 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.5rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.dark-band {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.03));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-list {
  display: grid;
  gap: 1rem;
}
.feature-list > div,
.small-card,
.result-card,
.step-card,
.detail-card,
.service-card { min-height: 100%; }
.step {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(94,234,212,.12);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: .8rem;
}
.result-metric {
  color: var(--accent);
  font-weight: 700;
}
.cta-strip {
  padding: 2rem 0 4.5rem;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(94,234,212,.18));
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: 1.6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}
label {
  display: grid;
  gap: .45rem;
  font-weight: 600;
  color: var(--text);
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 1rem;
  padding: .95rem 1rem;
  color: var(--text);
  font: inherit;
}
.note-box {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(94,234,212,.08);
  border: 1px solid rgba(94,234,212,.16);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 2rem;
}
.footer-grid h4 { margin-bottom: .8rem; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: .5rem; color: var(--muted); }

ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .grid.three,
  .grid.two,
  .footer-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(12, 18, 36, 0.98);
  }
  .site-nav.open { display: flex; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
