:root {
  --bg: #0B0F14;
  --surface: #131A24;
  --surface-alt: #1A2332;
  --border: #1E2D3D;
  --accent: #00D9A6;
  --accent-dim: #00D9A620;
  --alert: #FF6B6B;
  --warn: #F0B429;
  --info: #6EB5FF;
  --fg: #E6EDF3;
  --fg-muted: #7A8FA6;
  --fg-dim: #4A5E75;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

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

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

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

/* Navbar */
.navbar { padding: 1.25rem 2rem; border-bottom: 1px solid var(--border); }
.navbar-inner { max-width: 960px; margin: 0 auto; }
.wordmark { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); }

/* Hero */
.hero { padding: 5rem 2rem 4rem; max-width: 960px; margin: 0 auto; }
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-proof { display: flex; align-items: center; gap: 0.6rem; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.proof-text { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-muted); }

/* Dashboard section */
.dashboard-section { padding: 0 2rem 5rem; max-width: 960px; margin: 0 auto; }
.dash-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.dash-title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--fg-muted); font-weight: 500; }
.dash-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.dash-rows { padding: 0.75rem 0; }
.dash-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.dash-row:last-child { border-bottom: none; }
.dash-row--alert { border-left: 3px solid var(--alert); }
.dash-row--clear { border-left: 3px solid var(--fg-dim); }
.dash-row--info { border-left: 3px solid var(--info); }
.row-time { font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-dim); white-space: nowrap; }
.row-title { font-size: 0.85rem; font-weight: 600; color: var(--fg); margin-bottom: 0.15rem; }
.row-meta { font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-muted); }
.row-action { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 4px; white-space: nowrap; }
.row-action.alert { background: #FF6B6B20; color: var(--alert); }
.row-action.clear { background: var(--surface-alt); color: var(--fg-dim); }
.row-action.info { background: #6EB5FF20; color: var(--info); }
.dash-footer {
  padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dash-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.4; }
}

/* Features */
.features { padding: 4rem 2rem; max-width: 960px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.feature-card { background: var(--surface); padding: 1.75rem 1.5rem; }
.feature-icon { margin-bottom: 1rem; }
.feature-title { font-size: 0.95rem; font-weight: 600; color: var(--fg); margin-bottom: 0.6rem; }
.feature-desc { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.65; }

/* How it works */
.howitworks { padding: 4rem 2rem; max-width: 960px; margin: 0 auto; }
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0; }
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  align-self: center;
  margin-top: 1.2rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.step-title { font-size: 0.92rem; font-weight: 600; color: var(--fg); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6; }

/* Closing */
.closing { padding: 5rem 2rem 4rem; max-width: 960px; margin: 0 auto; }
.closing-statement {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 620px;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

/* Footer */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.footer-brand { font-size: 0.85rem; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); }
.footer-sep { color: var(--fg-dim); }
.footer-tagline { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-dim); }

/* Mobile */
@media (max-width: 640px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-headline { font-size: 2rem; }
  .features { padding: 3rem 1.25rem; }
  .howitworks { padding: 3rem 1.25rem; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .step-connector { display: none; }
  .dash-row { grid-template-columns: 50px 1fr; }
  .row-action { display: none; }
  .closing { padding: 3rem 1.25rem 2.5rem; }
}