:root {
  --bg: #0a0c0f;
  --surface: #111318;
  --surface-2: #181b21;
  --border: #1e2230;
  --fg: #e8ecf0;
  --fg-2: #8a92a0;
  --fg-3: #4a5166;
  --green: #00e87a;
  --green-dim: #003d1f;
  --green-glow: rgba(0, 232, 122, 0.15);
  --amber: #f5a623;
  --red: #ff4d4d;
  --font-sans: 'Syne', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

/* ─── NAV ─────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.nav-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0, 232, 122, 0.25);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px 32px 80px;
  display: flex;
  align-items: center;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--green); }
}

.status-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

/* ─── WIDGET ─────────────────────────── */
.hero-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 232, 122, 0.05);
}

.widget-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.widget-live {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.widget-live span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.08em;
}

.widget-feed {
  padding: 6px 0;
}

.feed-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(30, 34, 48, 0.6);
}

.feed-item:last-child { border-bottom: none; }

.feed-icon {
  font-size: 12px;
  padding-top: 2px;
}

.feed-item--fix .feed-icon { color: var(--green); }
.feed-item--pred .feed-icon { color: var(--amber); }
.feed-item--auto .feed-icon { color: #3b82f6; }
.feed-item--mon .feed-icon { color: var(--fg-3); }

.feed-text { min-width: 0; }

.feed-main {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  padding-top: 3px;
  white-space: nowrap;
}

/* ─── SECTION LABEL ─────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── PROBLEM ───────────────────────── */
.problem {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.problem-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.problem-card {
  background: var(--surface-2);
  padding: 36px 32px;
}

.problem-icon {
  font-size: 18px;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ─── AGENT ─────────────────────────── */
.agent { padding: 100px 32px; }

.agent-inner { max-width: 1100px; margin: 0 auto; }

.agent-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.agent-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.agent-header p {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.5;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.agent-card {
  background: var(--surface);
  padding: 36px 32px;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.agent-card-icon {
  font-size: 14px;
  color: var(--green);
  background: var(--green-dim);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 232, 122, 0.2);
}

.agent-card-header span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.agent-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ─── OUTCOMES ──────────────────────── */
.outcomes {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner { max-width: 1100px; margin: 0 auto; }

.outcomes-header { margin-bottom: 60px; }

.outcomes-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 540px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.outcome-card {}

.outcome-number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.outcome-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}

/* ─── CLOSING ─────────────────────── */
.closing {
  padding: 120px 32px;
}

.closing-inner { max-width: 1100px; margin: 0 auto; }

.closing-content { max-width: 680px; }

.closing-statement {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
}

/* ─── FOOTER ─────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-3);
}

/* ─── MOBILE ─────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-widget { display: none; }

  .problem-grid,
  .agent-grid { grid-template-columns: 1fr; }

  .outcomes-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero { padding: 100px 24px 60px; }
  .problem, .agent, .outcomes { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
}
