/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0F1B2E;
  --bg-alt: #0A1220;
  --bg-card: #142035;
  --cream: #F4F0E8;
  --cream-dim: #C8C2B4;
  --teal: #00D9A6;
  --teal-dim: #00A882;
  --teal-glow: rgba(0,217,166,0.18);
  --navy-mid: #1A2D45;
  --text: #E8E4DC;
  --text-dim: #8A8A8A;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,27,46,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark { color: var(--teal); font-size: 1.1rem; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-body); }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.btn-dashboard {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid rgba(0,217,166,0.4);
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-dashboard:hover { background: var(--teal-glow); border-color: var(--teal); }

/* === BUYER BANNER === */
.buyer-banner {
  background: rgba(0,217,166,0.07);
  border-bottom: 1px solid rgba(0,217,166,0.15);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.buyer-banner-link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.15s;
}
.buyer-banner-link:hover { opacity: 0.8; }

/* === HERO === */
.hero {
  position: relative;
  padding: 7rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
}
.hero-inner { max-width: 720px; }
.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.7;
}

/* Orb decorative elements */
.hero-orb-wrap {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orb-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(0,217,166,0.07) 0%, transparent 70%);
  animation: pulse-orb 4s ease-in-out infinite;
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,217,166,0.14) 0%, transparent 70%);
  animation: pulse-orb 3s ease-in-out infinite 0.5s;
}
.orb-3 {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0,217,166,0.3);
  animation: pulse-orb 2s ease-in-out infinite 1s;
}
@keyframes pulse-orb {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: 1rem;
  width: fit-content;
  gap: 0;
}
.stat { padding: 0 2.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.stat:first-child { padding-left: 0; }
.stat-val {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.stat-lab { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.08); }

/* === SECTION LABELS === */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
}

/* === PIPELINE SECTION === */
.pipeline {
  background: var(--bg-alt);
  padding: 7rem 2rem;
}
.pipeline-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}
.pipeline-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.pipeline-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.pipe-card {
  background: var(--bg-alt);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.pipe-card:hover { background: var(--bg-card); }
.pipe-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.pipe-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
}
.pipe-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }
.pipe-card-accent { border-left: 2px solid var(--teal); }
.pipe-card-accent h3 { color: var(--teal); }

/* === HOW SECTION === */
.how { padding: 7rem 2rem; }
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.how-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.how-text p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.how-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.how-list li {
  font-size: 0.88rem;
  color: var(--cream);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.how-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

/* Funnel visual */
.funnel {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.funnel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.funnel-row:last-child { border-bottom: none; }
.f-label { font-size: 0.78rem; color: var(--text-dim); }
.f-val { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.f-high { color: var(--cream); }
.f-mid { color: var(--cream-dim); }
.f-low { color: var(--text-dim); }
.f-accent { color: var(--teal); font-size: 1.4rem; }
.funnel-arrow {
  width: 2px;
  height: 12px;
  background: linear-gradient(to bottom, var(--teal-dim), transparent);
  margin-left: 10rem;
}
.funnel-final { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(0,217,166,0.2); }

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  padding: 7rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.manifesto-inner { max-width: 1100px; margin: 0 auto; }
.manifesto-rule { height: 1px; background: linear-gradient(to right, var(--teal-dim), transparent); margin: 2rem 0; }
blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.45;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.m-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.m-col p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.65; }

/* === CLOSING === */
.closing { padding: 8rem 2rem; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.closing p { font-size: 0.92rem; color: var(--text-dim); max-width: 520px; line-height: 1.75; }
.closing-rule { height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.08), transparent); margin: 3rem 0 2rem; }
.closing-meta { display: flex; gap: 2rem; align-items: center; }
.closing-meta span { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }

/* === FOOTER === */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0; }
  .stat { padding: 0.8rem 0; }
  .stat-sep { width: 80px; height: 1px; }
  .pipeline { padding: 5rem 1.5rem; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .how { padding: 5rem 1.5rem; }
  .how-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .manifesto-details { grid-template-columns: 1fr; gap: 2rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero-orb-wrap { display: none; }
  .pipe-card-accent { border-left: none; border-top: 2px solid var(--teal); }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .closing h2 { font-size: 1.6rem; }
}
