/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === TOKENS === */
:root {
  --bg: #080a0f;
  --surface: #111318;
  --surface-2: #1a1d24;
  --border: #22262f;
  --text: #e8eaf0;
  --text-muted: #7a8194;
  --accent: #00e87a;
  --accent-dim: #00e87a22;
  --red: #ff4f6a;
  --yellow: #f5c542;
  --blue: #4f9fff;
}

/* === BASE === */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  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: var(--bg);
  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 {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 420px;
}

/* === AGENT WINDOW === */
.agent-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.agent-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.agent-live {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.06em;
}
.agent-feed {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feed-entry {
  display: flex;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.feed-entry--system { background: transparent; }
.feed-entry--qualified { background: #00e87a0f; border-left: 2px solid var(--accent); }
.feed-entry--alert { background: #4f9fff0f; border-left: 2px solid var(--blue); }
.feed-entry--cold { background: transparent; }
.feed-time {
  font-family: 'DM Mono', monospace;
  color: var(--text-muted);
  font-size: 11px;
  min-width: 32px;
  padding-top: 1px;
}
.feed-text { color: var(--text-muted); }
.feed-text strong { color: var(--text); font-weight: 500; }

/* === STATUS BAR === */
.status-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.status-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.status-item {
  flex: 1;
  padding: 28px 0;
  text-align: center;
}
.status-number {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.status-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.status-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === HOW === */
.how {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 64px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.how-step { }
.step-num {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.how-step h3 {
  font-family: 'DM Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.how-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === WHY === */
.why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
.why-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.why-body:last-child { margin-bottom: 0; }

/* === CLOSING === */
.closing {
  padding: 100px 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-statement {
  font-family: 'DM Mono', monospace;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.closing-statement strong { color: var(--text); }

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .status-inner { flex-wrap: wrap; }
  .status-item { flex: 0 0 50%; }
  .status-divider { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 20px 48px; }
  .how, .why, .closing { padding: 64px 20px; }
  .nav-inner { padding: 0 20px; }
  .status-inner { padding: 0 20px; }
  .status-item { padding: 20px 0; }
}
