/* Pitchr — theme.css */

:root {
  --bg: #0c0c0e;
  --surface: #141417;
  --surface-2: #1c1c21;
  --border: #2a2a32;
  --text: #f0ede6;
  --text-muted: #8a8894;
  --accent: #FF6B35;
  --accent-dim: #cc4f1f;
  --teal: #0D9488;
  --teal-dim: #0a756a;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.7rem; color: var(--text-muted); line-height: 1.4; max-width: 120px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Campaign Visualization */
.campaign-viz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.viz-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.viz-nodes { display: flex; flex-direction: column; gap: 0; }
.viz-node {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  position: relative;
}
.viz-node-inner { display: flex; align-items: center; gap: 12px; }
.viz-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.viz-text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}
.viz-text span { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.viz-status {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.viz-status.active { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.viz-status.running { background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: pulse 1.5s infinite; }
.viz-status.pending { background: var(--border); }
.viz-start { border-color: rgba(34, 197, 94, 0.3); }
.viz-active { border-color: rgba(255, 107, 53, 0.4); }
.viz-connector {
  width: 1px;
  height: 12px;
  background: var(--border);
  margin: 0 auto;
}
.viz-metrics {
  display: flex;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.viz-metric { flex: 1; text-align: center; }
.viz-metric + .viz-metric { border-left: 1px solid var(--border); }
.vm-val { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.vm-lbl { display: block; font-size: 0.62rem; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }

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

/* ── How It Works ── */
.howitworks {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.step { background: var(--surface); padding: 40px 36px; }
.step-num {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── Features ── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px;
}
.feature-primary {
  grid-row: span 2;
  background: linear-gradient(135deg, var(--surface) 0%, #1a1a2a 100%);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Manifesto ── */
.manifesto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mq-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 20px;
}
.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text);
}
.manifesto-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* ── Closing ── */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 640px; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  display: block;
}
.footer-desc { font-size: 0.8rem; color: var(--text-muted); }
.footer-meta { font-size: 0.75rem; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-primary { grid-row: auto; grid-column: span 2; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat { min-width: 120px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 64px; }
  .howitworks { padding: 48px 20px; }
  .features { padding: 48px 20px; }
  .manifesto { padding: 48px 20px; }
  .closing { padding: 48px 20px 64px; }
  .nav-inner { padding: 14px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-primary { grid-column: auto; }
  .viz-metrics { flex-direction: column; gap: 12px; }
  .viz-metric + .viz-metric { border-left: none; border-top: 1px solid var(--border); padding-top: 12px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
}