/* === BASE === */
:root {
  --bg: #0f0f1a;
  --bg-card: #16162a;
  --bg-card-hover: #1c1c35;
  --fg: #f0f0f8;
  --fg-muted: #8a8aad;
  --accent: #ff5c1a;
  --accent-dim: #e04410;
  --border: rgba(255,255,255,0.07);
  --tag-bg: rgba(255,92,26,0.12);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }

/* === NAV === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,92,26,0.3);
  padding: 4px 10px;
  border-radius: 2px;
}

/* === HERO === */
.hero {
  padding: 80px 48px 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}
.headline-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.75rem; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* === PIPELINE CARD === */
.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pipeline-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pipeline-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22c55e;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}
.status-dot.active { animation: pulse 1.5s ease-in-out infinite; }
.pipeline-items { display: flex; flex-direction: column; gap: 12px; }
.pipeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
}
.pipeline-item.done { opacity: 0.5; }
.pipeline-item.active {
  border-color: rgba(255,92,26,0.3);
  background: rgba(255,92,26,0.05);
}
.pi-icon { font-size: 0.75rem; line-height: 1.6; }
.pi-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
  grid-column: 2;
  grid-row: 1;
}
.pi-meta {
  font-size: 0.65rem;
  color: var(--fg-muted);
  grid-column: 2;
  grid-row: 2;
}
.progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 4px;
  grid-column: 2;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s ease;
}

/* === SECTIONS === */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 56px;
}

/* === PIPELINE STEPS === */
.pipeline-section { padding: 100px 0; border-top: 1px solid var(--border); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.step-card {
  background: var(--bg-card);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
}
.step-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card:hover::before { opacity: 1; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,92,26,0.2);
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.step-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === NICHES === */
.niches-section { padding: 100px 0; border-top: 1px solid var(--border); }
.niches-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.niches-intro {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  align-self: end;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.niche-card {
  display: flex;
  gap: 24px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.3s;
}
.niche-card:hover { background: var(--bg-card-hover); }
.niche-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,92,26,0.1);
  border-radius: 8px;
}
.niche-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.niche-body p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.6; margin-bottom: 14px; }
.niche-cpm {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* === STACK === */
.stack-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 40px;
}
.stack-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.stack-role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.stack-tool {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
}
.stack-desc { font-size: 0.75rem; color: var(--fg-muted); }
.stack-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg);
}

/* === MANIFESTO === */
.manifesto-section {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.manifesto-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.manifesto-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,92,26,0.25);
  padding: 6px 14px;
  border-radius: 2px;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.footer-tagline { font-size: 0.75rem; color: var(--fg-muted); }
.footer-meta { font-size: 0.75rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .niches-grid { grid-template-columns: 1fr; }
  .niches-header { grid-template-columns: 1fr; gap: 24px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-row { grid-template-columns: 80px 1fr; }
  .stack-desc { display: none; }
  .navbar { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .section-inner { padding: 0 24px; }
  .manifesto-section { padding: 80px 24px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; }
  .steps-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
}