:root {
  --bg: #0a0a0f;
  --bg-surface: #121218;
  --bg-elevated: #1a1a24;
  --border: #2a2a38;
  --fg: #e8e8f0;
  --fg-muted: #7a7a96;
  --accent: #c8f23a;
  --accent-dim: #a0c42e;
  --success: #3ddc84;
  --danger: #ff6b6b;
  --terminal-bg: #0f0f16;
  --mono: 'IBM Plex Mono', monospace;
  --body: 'Inter', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-status {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.meta-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
  background: var(--bg-surface);
}

/* TERMINAL */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,242,58,0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #28c840; }
.t-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-left: 0.5rem;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
}
.t-line { color: var(--fg); }
.t-line.prompt { color: var(--accent); }
.t-line.muted { color: var(--fg-muted); font-size: 0.75rem; }
.t-line.success { color: var(--success); }
.t-line.output { color: #b8d4ff; }
.t-line.br { height: 0.5rem; }

/* SECTION LABELS */
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* HOW IT WORKS */
.howitworks {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.howitworks h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.step-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--border);
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* FEATURES */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.features h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  max-width: 500px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-surface);
  padding: 2rem;
}
.feature-icon {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ISOLATION */
.isolation {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.iso-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.iso-left h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.iso-left > p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.iso-properties { display: flex; flex-direction: column; gap: 0.75rem; }
.iso-prop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.prop-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.iso-diagram {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.diagram-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.host {
  background: var(--bg-elevated);
  border: 1px solid var(--fg-muted);
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
}
.diagram-sep {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 0.25rem 0;
}
.diagram-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sandbox {
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
}
.kernel {
  background: var(--border);
  border-radius: 6px;
  padding: 0.4rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 640px;
}
.closing h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.closing p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; min-height: auto; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .iso-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; }
  .hero-right { order: -1; }
}