:root {
  --bg-primary: #0A1628;
  --bg-secondary: #0F1D32;
  --bg-card: #142238;
  --bg-elevated: #1A2D4A;
  --fg-primary: #F0F4F8;
  --fg-secondary: #8899AA;
  --fg-muted: #5A6B7D;
  --accent: #00E5A0;
  --accent-dim: rgba(0, 229, 160, 0.15);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --danger: #FF6B6B;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 229, 160, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 100, 200, 0.04) 0%, transparent 50%),
              var(--bg-primary);
}

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

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 480px;
}

/* Agent Feed Visual */
.agent-feed {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3), 0 0 80px rgba(0, 229, 160, 0.04);
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.feed-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-primary);
}

.feed-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.feed-item.subtle {
  opacity: 0.6;
}

.feed-icon {
  font-size: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 8px;
  flex-shrink: 0;
}

.feed-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.feed-action {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-primary);
}

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

.feed-ts {
  font-size: 11px;
  color: var(--fg-muted);
  flex-shrink: 0;
  padding-top: 2px;
}

/* ==================== PROOF (Stats Bar) ==================== */
.proof {
  background: var(--bg-secondary);
  padding: 48px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.proof-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.proof-stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 8px;
}

.proof-stat.accent .stat-number {
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
}

/* ==================== PIPELINE ==================== */
.pipeline {
  padding: 120px 48px;
  background: var(--bg-primary);
}

.pipeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pipeline-header {
  margin-bottom: 72px;
}

.pipeline-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pipeline-sub {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.step {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 32px 24px;
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(0, 229, 160, 0.2);
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg-primary);
}

.step p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ==================== ECONOMICS ==================== */
.economics {
  padding: 120px 48px;
  background: var(--bg-secondary);
}

.economics-container {
  max-width: 900px;
  margin: 0 auto;
}

.economics h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-col {
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
}

.comparison-col.human {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
}

.comparison-col.forge {
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.08) 0%, rgba(0, 229, 160, 0.02) 100%);
  border: 1px solid rgba(0, 229, 160, 0.2);
}

.col-header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.forge .col-header {
  color: var(--accent);
  border-bottom-color: rgba(0, 229, 160, 0.15);
}

.col-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.row-label {
  font-size: 14px;
  color: var(--fg-muted);
}

.row-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
}

.forge .row-value {
  color: var(--accent);
}

/* ==================== MANIFESTO ==================== */
.manifesto {
  padding: 120px 48px;
  background: var(--bg-primary);
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 229, 160, 0.3), transparent);
}

.manifesto-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.manifesto p {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.manifesto-closer {
  color: var(--fg-primary) !important;
  font-weight: 500;
}

.manifesto-vision {
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem !important;
  margin-top: 32px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  padding: 48px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 8px;
}

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

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-container {
    flex-direction: column;
    gap: 24px;
  }

  .proof-divider {
    width: 48px;
    height: 1px;
  }

  .pipeline {
    padding: 80px 24px;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .economics {
    padding: 80px 24px;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .manifesto {
    padding: 80px 24px;
  }

  .manifesto::before {
    height: 48px;
  }
}