:root {
  --bg: #0a0f1a;
  --surface: #111827;
  --surface-raised: #1a2435;
  --border: #1e2d40;
  --text: #e8eef5;
  --text-muted: #7a90a8;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.12);
  --critical: #ef4444;
  --critical-dim: rgba(239, 68, 68, 0.12);
  --font-head: 'Syne', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 32px 64px;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow-pulse {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,255,136,0.4);
  animation: blink 2s ease-in-out infinite;
}
.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
}

/* FLEET WIDGET */
.fleet-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.widget-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-title { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.widget-live {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  animation: blink 1.5s ease-in-out infinite;
}
.widget-grid { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.agent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-raised);
  border: 1px solid transparent;
}
.agent-healthy { border-color: rgba(0,255,136,0.1); }
.agent-warning { border-color: rgba(245,158,11,0.2); background: rgba(245,158,11,0.04); }
.agent-critical { border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.04); }
.agent-icon { color: var(--text-muted); flex-shrink: 0; }
.agent-healthy .agent-icon { color: var(--accent); }
.agent-warning .agent-icon { color: var(--warning); }
.agent-critical .agent-icon { color: var(--critical); }
.agent-info { flex: 1; min-width: 0; }
.agent-name { display: block; font-size: 11px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-latency { font-size: 10px; color: var(--text-muted); }
.agent-badge {
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}
.agent-badge.healthy { color: var(--accent); background: var(--accent-dim); }
.agent-badge.warning { color: var(--warning); background: var(--warning-dim); }
.agent-badge.critical { color: var(--critical); background: var(--critical-dim); }
.widget-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.footer-stat strong { color: var(--accent); }
.footer-stat.warning { color: var(--warning); }
.footer-stat.critical { color: var(--critical); }
.footer-divider { color: var(--border); }

/* SIGNAL */
.signal { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.signal-inner { max-width: 1200px; margin: 0 auto; }
.signal-header { max-width: 600px; margin-bottom: 64px; }
.signal-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.signal-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.signal-card { padding: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.signal-icon { color: var(--text-muted); margin-bottom: 20px; }
.signal-card-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.signal-card-body { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ARCHITECTURE */
.architecture { padding: 100px 32px; }
.architecture-inner { max-width: 1200px; margin: 0 auto; }
.arch-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.arch-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 16px; }
.arch-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.arch-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.arch-pipeline { display: flex; align-items: center; justify-content: center; gap: 0; }
.pipe-step { max-width: 280px; }
.pipe-number { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.pipe-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pipe-body { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.pipe-arrow { padding: 0 24px; color: var(--border); flex-shrink: 0; }

/* OUTCOMES */
.outcomes { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.outcomes-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 16px; }
.outcomes-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.outcomes-body { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.outcome-list { display: flex; flex-direction: column; gap: 0; }
.outcome-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.outcome-item:first-child { border-top: 1px solid var(--border); }
.outcome-check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.outcome-text { font-size: 14px; line-height: 1.5; }
.outcome-text strong { color: var(--text); }

/* CLOSING */
.closing { padding: 100px 32px; }
.closing-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.closing-headline { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 20px; }
.closing-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; max-width: 520px; }
.closing-visual { position: relative; width: 120px; height: 120px; }
.closing-pulse { position: relative; width: 120px; height: 120px; }
.pulse-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,255,136,0.2); animation: expand 3s ease-out infinite; }
.pulse-ring-1 { animation-delay: 0s; }
.pulse-ring-2 { animation-delay: 1s; }
.pulse-ring-3 { animation-delay: 2s; }
@keyframes expand {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0,255,136,0.6);
}

/* FOOTER */
.footer { padding: 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-visual { display: none; }
  .arch-pipeline { flex-direction: column; gap: 32px; }
  .pipe-arrow { transform: rotate(90deg); }
  .signal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 20px 48px; }
  .signal, .architecture, .outcomes, .closing { padding: 64px 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}