:root {
  --bg: #0a0f1a;
  --bg-secondary: #0f1624;
  --bg-card: #111827;
  --fg: #f0f4f8;
  --fg-muted: #8892a4;
  --fg-subtle: #4b5563;
  --accent: #00e5c8;
  --accent-dim: #00e5c822;
  --accent-glow: #00e5c840;
  --warning: #f59e0b;
  --danger: #ff6b6b;
  --success: #22c55e;
  --text-cyan: #00e5c8;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

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

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

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid #1e2a3a;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.3px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 96px;
  min-height: 85vh;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.03;
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.eyebrow-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: #1e2a3a;
}

/* ── OPS CONSOLE ── */
.ops-console {
  background: #0d1421;
  border: 1px solid #1e2a3a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px #00e5c810, 0 24px 80px #00000080;
}
.console-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #111827;
  border-bottom: 1px solid #1e2a3a;
}
.console-dots {
  display: flex;
  gap: 6px;
}
.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e2a3a;
}
.console-title {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'Space Grotesk', monospace;
  flex: 1;
}
.console-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
}
.console-status.live {
  background: #22c55e22;
  color: #22c55e;
  border: 1px solid #22c55e44;
}
.console-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.workflow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #111827;
  border-radius: 8px;
  border: 1px solid #1e2a3a;
}
.wf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.wf-dot.warn { background: var(--warning); }
.wf-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wf-name { font-size: 13px; font-weight: 500; color: var(--fg); }
.wf-meta { font-size: 11px; color: var(--fg-muted); }
.wf-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.wf-badge.green { background: #22c55e22; color: #22c55e; border: 1px solid #22c55e33; }
.wf-badge.yellow { background: #f59e0b22; color: #f59e0b; border: 1px solid #f59e0b33; }
.log-entry {
  display: flex;
  gap: 10px;
  font-size: 12px;
  padding: 4px 0;
  border-top: 1px solid #1a2535;
  padding-top: 8px;
}
.log-time {
  color: var(--fg-subtle);
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  flex-shrink: 0;
}
.log-text { color: var(--fg-muted); }
.text-cyan { color: var(--accent); }

/* ── PROBLEM ── */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 96px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid #1a2535;
  border-bottom: 1px solid #1a2535;
  align-items: center;
}
.problem-tag, .how-tag, .features-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.problem-headline, .how-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.problem-body {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.pain-points { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.pain { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); }
.chaos-viz {
  background: #0d1421;
  border: 1px solid #1e2a3a;
  border-radius: var(--radius-lg);
  padding: 24px;
}
.chaos-label {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.chaos-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 16px;
}
.bar {
  flex: 1;
  background: linear-gradient(to top, #ff6b6b44, #ff6b6b88);
  border-radius: 3px 3px 0 0;
}
.chaos-line { height: 40px; }
.chaos-line svg { width: 100%; height: 100%; }
.chaos-tag {
  font-size: 11px;
  color: var(--danger);
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin-top: 8px;
}

/* ── HOW IT WORKS ── */
.howitworks {
  padding: 96px 48px;
  border-bottom: 1px solid #1a2535;
}
.how-header { text-align: center; margin-bottom: 64px; }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 32px;
}
.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #1e2a3a, var(--accent), #1e2a3a);
  margin-top: 40px;
  flex-shrink: 0;
}
.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}
.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #00e5c822;
}
.step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.step-body { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* ── FEATURES ── */
.features {
  padding: 96px 48px;
  background: var(--bg-secondary);
}
.features-header { text-align: center; margin-bottom: 64px; }
.features-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--fg-muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid #1e2a3a;
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: #00e5c833;
  box-shadow: 0 0 40px #00e5c808;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #00e5c820;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-body { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* ── MANIFESTO ── */
.manifesto {
  padding: 96px 48px;
  text-align: center;
  border-top: 1px solid #1a2535;
  border-bottom: 1px solid #1a2535;
}
.manifesto-content { max-width: 700px; margin: 0 auto; }
.manifesto-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 24px;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 8px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 28px;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0d1a2e 100%);
}
.closing-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.8;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
}

/* ── FOOTER ── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid #1e2a3a;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  flex: 1;
}
.footer-built {
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 64px;
    gap: 48px;
  }
  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .problem {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 24px;
  }
  .howitworks { padding: 64px 24px; }
  .how-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .step { max-width: 100%; padding: 0; }
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 64px 24px; }
  .manifesto-text { font-size: 20px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .footer-tagline { display: none; }
  .footer-built { width: 100%; }
}