/* Fonts */
:root {
  --bg: #0B0F1A;
  --bg-secondary: #111827;
  --fg: #F0F4F8;
  --fg-muted: #8896A9;
  --accent: #00E5C3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 229, 195, 0.3);
  --font-head: 'Work Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

* { 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);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}
.hero-content {
  flex: 1.1;
  min-width: 0;
}
.hero-visual {
  flex: 0.9;
  min-width: 0;
  display: flex;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* Pipeline widget */
.pipeline-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 80px rgba(0, 229, 195, 0.06);
}
.pipeline-stage {
  flex: 1;
  text-align: center;
}
.pipeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.field-icon { background: rgba(0, 229, 195, 0.1); color: var(--accent); }
.ai-icon { background: rgba(168, 85, 247, 0.12); color: #C084FC; }
.output-icon { background: rgba(0, 183, 255, 0.1); color: #00B7FF; }
.pipeline-label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.pipeline-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.pipeline-arrow {
  color: var(--fg-muted);
  flex-shrink: 0;
  opacity: 0.5;
}

/* Proof */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px clamp(24px, 5vw, 80px);
  background: var(--bg-secondary);
}
.proof-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.proof-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.proof-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 220px;
  margin: 0 auto;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section base */
.section-header {
  margin-bottom: 52px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
}

/* How it works */
.howitworks {
  padding: 100px clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--border) 50%, var(--accent) 100%);
  opacity: 0.4;
}
.step {
  position: relative;
  padding-top: 60px;
}
.step-number {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Niches */
.niches {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--bg-secondary);
}
.niches .section-header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 52px;
}
.niche-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.niche {
  padding: 40px;
  background: var(--bg);
  transition: background 0.2s;
}
.niche:hover { background: #0F1520; }
.niche-icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.8;
}
.niche-title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.niche-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px clamp(24px, 5vw, 80px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-inner {
  position: relative;
}
.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.manifesto-text:last-child { margin-bottom: 0; }
.manifesto-inner::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 40px;
}

/* Closing */
.closing {
  padding: 80px clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px clamp(24px, 5vw, 80px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    gap: 48px;
  }
  .hero-visual { width: 100%; }
  .pipeline-widget { padding: 24px 20px; gap: 10px; }
  .proof-grid { flex-direction: column; gap: 32px; }
  .proof-divider { display: none; }
  .proof-stat { padding: 0; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .niche-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pipeline-widget { flex-direction: column; gap: 20px; }
  .pipeline-arrow { transform: rotate(90deg); }
  .step { padding-top: 48px; }
}