/* Typography */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --border: rgba(139, 148, 158, 0.12);
  --success: #3fb950;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  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 var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: #0d1117;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav-meta {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

/* Hero */
.hero {
  padding: 72px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-eyebrow { margin-bottom: 28px; }
.eyebrow-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { padding: 0 24px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label { font-size: 12px; color: var(--fg-muted); }
.stat-div {
  width: 1px; height: 36px;
  background: var(--border);
  margin-right: 24px;
}

/* Hero card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-label { font-size: 12px; color: var(--fg-muted); font-weight: 500; }
.card-status { font-size: 12px; color: var(--accent); }
.upload-preview {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.upload-icon { color: var(--fg-muted); }
.upload-name { font-size: 14px; color: var(--fg); }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 4px 10px;
  background: var(--accent-dim);
  border-radius: 100px;
  font-size: 11px;
  color: var(--accent);
}

/* Agent flow */
.agent-flow { display: flex; flex-direction: column; gap: 10px; }
.agent-step {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--fg-muted);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.agent-step.done { color: var(--success); border-color: rgba(63, 185, 80, 0.2); background: rgba(63, 185, 80, 0.05); }
.agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.agent-step.done .agent-dot { background: var(--success); }

/* The Gap */
.the-gap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}
.gap-inner { max-width: 900px; margin: 0 auto; }
.gap-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.gap-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.gap-body { font-size: 17px; color: var(--fg-muted); line-height: 1.7; max-width: 600px; margin-bottom: 40px; }
.gap-quote {
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}
.quote-mark {
  display: none;
}
.gap-quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
}

/* Features */
.features { padding: 80px 48px; max-width: 1280px; margin: 0 auto; }
.features-header { margin-bottom: 52px; }
.section-eyebrow {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.section-eyebrow.accent { color: var(--accent); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.humanizer-icon { background: var(--accent-dim); border-color: rgba(245, 166, 35, 0.3); color: var(--accent); }
.feature-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.humanizer-title { color: var(--accent); }
.feature-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* Humanizer section */
.humanizer-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}
.hz-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hz-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.hz-body { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 16px; }
.hz-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mode-tag {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--fg-muted);
}
.demo-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--fg-muted); margin-bottom: 8px; margin-top: 16px; }
.demo-box {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.65;
}
.before { background: rgba(255, 80, 80, 0.04); border-color: rgba(255, 80, 80, 0.15); color: #ff8080; }
.after { background: rgba(63, 185, 80, 0.05); border-color: rgba(63, 185, 80, 0.2); color: var(--success); }
.demo-arrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--accent);
  font-weight: 500;
  padding: 8px 0;
}

/* Pipeline */
.workflow { padding: 80px 48px; max-width: 1280px; margin: 0 auto; }
.workflow-header { margin-bottom: 56px; }
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: start;
}
.pipeline-step { padding: 0 16px 0 0; }
.pipe-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.pipe-body h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.pipe-body p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.pipeline-connector {
  height: 1px;
  background: var(--border);
  margin-top: 24px;
}

/* Closing */
.closing {
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(13,17,23,0) 60%);
  border-top: 1px solid var(--border);
  padding: 100px 48px;
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 36px; }
.closing-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--fg);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.brand-mark-sm {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: #0d1117;
}
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); }
.footer-legal { font-size: 11px; color: rgba(139, 148, 158, 0.5); max-width: 480px; text-align: center; line-height: 1.5; }

/* Responsive */
@media (max-width: 768px) {
  .nav, .hero, .the-gap, .features, .humanizer-section, .workflow, .closing, .footer {
    padding-left: 24px; padding-right: 24px;
  }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hz-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-connector { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .stat-div { display: none; }
  .stat { padding: 0 16px 8px 0; }
}