:root {
  --bg: #080c10;
  --bg-card: #0e1318;
  --bg-card-hover: #121820;
  --fg: #e8edf2;
  --fg-dim: #7a8899;
  --accent: #00FF88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --code-bg: #0a0f14;
  --nav-h: 64px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* NAV */
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.nav-badge {
  margin-left: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
}

/* HERO */
.hero {
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(40px, 6vw, 80px);
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 600px;
}
.hero-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* AGENT WIDGET */
.hero-agent-widget {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 560px;
  font-size: 13px;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-dim);
}
.agent-dot.active { background: var(--accent); box-shadow: 0 0 8px rgba(0,255,136,0.5); }
.agent-name { color: var(--fg); font-weight: 500; }
.agent-state { color: var(--accent); font-size: 11px; letter-spacing: 0.08em; margin-left: auto; }
.agent-log .log-line {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  color: var(--fg-dim);
}
.log-time { color: #3d4f5f; min-width: 60px; }
.log-ok { color: var(--accent); min-width: 24px; font-size: 11px; }

/* SHOWCASE */
.showcase {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.showcase-inner { max-width: 1200px; margin: 0 auto; }
.showcase-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.showcase-headline {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 56px;
  max-width: 500px;
}
.agent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: background 0.2s;
}
.agent-card:hover { background: var(--bg-card-hover); }
.card-icon { margin-bottom: 16px; }
.card-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card-desc { color: var(--fg-dim); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.card-status { font-size: 11px; letter-spacing: 0.08em; color: var(--accent); }

/* PROCESS */
.process {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.process-inner { max-width: 900px; margin: 0 auto; }
.process-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 20px; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-desc { color: var(--fg-dim); font-size: 13px; line-height: 1.6; }
.step-divider {
  width: 1px;
  height: 100px;
  background: var(--border);
  align-self: center;
}

/* FEATURES */
.features { padding: 80px 48px; border-top: 1px solid var(--border); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
}
.feature-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.feature-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-desc { color: var(--fg-dim); font-size: 13px; line-height: 1.6; }

/* CLOSING */
.closing {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 24px;
  background: linear-gradient(135deg, #e8edf2 0%, #7a8899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.closing-sub {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.footer-tagline { color: var(--fg-dim); font-size: 13px; margin-bottom: 4px; }
.footer-meta { color: #3d4f5f; font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 60px; }
  .hero-headline { font-size: 36px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .step-divider { display: none; }
  .showcase, .features, .process, .closing { padding: 60px 24px; }
  .nav { padding: 0 24px; }
}