:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c2128;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --accent: #00d4ff;
  --accent-2: #7c3aed;
  --green: #3fb950;
  --cyan: #00d4ff;
  --border: #30363d;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::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-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 12px; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--fg); letter-spacing: -0.02em; }
.nav-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* AGENT PANEL */
.agent-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,212,255,0.06), 0 20px 60px rgba(0,0,0,0.4);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.panel-title { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--fg); }
.panel-status {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}
.panel-status.active { background: rgba(63,185,80,0.2); color: var(--green); }
.panel-body { padding: 20px; }
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.metric-row:last-of-type { border-bottom: none; }
.metric-label { font-size: 0.8rem; color: var(--fg-muted); }
.metric-val { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--fg); }
.metric-val.green { color: var(--green); }
.metric-val.cyan { color: var(--cyan); }
.log-feed { margin-top: 16px; }
.log-line {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(48,54,61,0.5);
  font-family: 'Courier New', monospace;
}
.log-line:last-child { border-bottom: none; }
.log-time { color: var(--fg-muted); min-width: 36px; }
.log-msg { color: var(--fg); }
.log-msg.green { color: var(--green); }
.log-msg.cyan { color: var(--cyan); }

/* SECTION SHARED */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 640px;
}

/* WHAT IT DOES */
.what-it-does {
  padding: 100px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cap-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.cap-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 80px;
  background: var(--bg-2);
}
.how-it-works .section-title { margin-bottom: 60px; }
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,212,255,0.2);
  line-height: 1;
  min-width: 80px;
}
.step-content { padding-bottom: 48px; }
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-content p { font-size: 0.95rem; color: var(--fg-muted); max-width: 560px; line-height: 1.7; }
.step-connector {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin-left: 39px;
}

/* OUTCOMES */
.outcomes {
  padding: 100px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.outcomes .section-title { margin-bottom: 20px; }
.outcome-text p { color: var(--fg-muted); font-size: 1rem; line-height: 1.7; max-width: 480px; }
.outcome-stats { display: flex; flex-direction: column; gap: 32px; }
.stat { display: flex; align-items: baseline; gap: 16px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 100px;
}
.stat-desc { font-size: 0.9rem; color: var(--fg-muted); max-width: 260px; line-height: 1.5; }

/* CLOSING */
.closing {
  padding: 120px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.closing-sub { font-size: 1.1rem; color: var(--fg-muted); }

/* FOOTER */
.footer {
  padding: 40px 80px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--fg); }
.footer-copy { font-size: 0.82rem; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 32px 60px;
    gap: 48px;
  }
  .what-it-does, .how-it-works, .outcomes, .closing { padding: 80px 32px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .nav { padding: 0 24px; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 2rem; }
  .step { flex-direction: column; gap: 8px; }
  .step-num { font-size: 2rem; }
  .stat { flex-direction: column; gap: 4px; }
  .footer { padding: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}