:root {
  --bg: #0c0c14;
  --bg-surface: #13131f;
  --bg-elevated: #1a1a2a;
  --fg: #e8e8f0;
  --fg-muted: #7a7a96;
  --accent: #5b5ef4;
  --accent-dim: rgba(91,94,244,0.12);
  --success: #4ade80;
  --warning: #fbbf24;
  --border: rgba(255,255,255,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12,12,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text {}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat {}
.stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TERMINAL */
.hero-visual {}
.terminal-window {
  background: #0d0d18;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(91,94,244,0.08);
}
.terminal-bar {
  background: var(--bg-surface);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-family: 'DM Sans', monospace;
}
.terminal-body {
  padding: 1.2rem 1.4rem;
  font-family: 'DM Sans', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  min-height: 320px;
}
.t-line { color: var(--fg); }
.t-line.t-dim { color: var(--fg-muted); }
.t-line.t-success { color: var(--success); }
.t-line.t-warning { color: var(--warning); }

/* FEATURES */
.features {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.features-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.features-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(91,94,244,0.3);
  background: var(--bg-elevated);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* HOW */
.how {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.how-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.how-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.how-desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.how-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 2.5rem;
}
.step h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.step p {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e8e8f0 0%, var(--fg-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.closing p {
  color: var(--fg-muted);
  font-size: 1rem;
}

/* FOOTER */
footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.footer-brand p {
  color: var(--fg-muted);
  font-size: 0.8rem;
}
.footer-links {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-value { font-size: 1.4rem; }
  .features { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}