/* =========================================
   LeadBridge Design System
   Dark, editorial, premium
   ========================================= */

:root {
  --bg: #060912;
  --surface: #0C1424;
  --surface-2: #111c33;
  --accent-teal: #00E5B8;
  --accent-amber: #FF9500;
  --text: #E8EDF4;
  --text-muted: #7A8FA8;
  --text-dim: #3D4F68;
  --border: rgba(255,255,255,0.07);
  --border-teal: rgba(0,229,184,0.18);
  --border-amber: rgba(255,149,0,0.18);
}

*, *::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: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Noise texture overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ---- Typography ---- */
h1, h2, h3 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; line-height: 1.1; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(6, 9, 18, 0.85);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 100px 40px 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,184,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,184,0.1);
  border: 1px solid var(--border-teal);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.meta-stat { display: flex; flex-direction: column; gap: 4px; }
.meta-number { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--accent-teal); }
.meta-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.meta-divider { width: 1px; height: 32px; background: var(--border); }

/* ---- Hero Visual ---- */
.hero-right { display: flex; justify-content: center; }
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.node-network { width: 100%; height: auto; }
.visual-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.label-inbound { font-size: 0.75rem; color: var(--accent-amber); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.label-arrow { font-size: 1rem; color: var(--text-dim); }
.label-outbound { font-size: 0.75rem; color: var(--accent-teal); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- Proof bar ---- */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px;
  background: var(--surface);
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-stats { display: flex; align-items: flex-start; gap: 0; margin-bottom: 12px; }
.proof-stat { flex: 1; padding: 0 32px; }
.proof-stat:first-child { padding-left: 0; }
.proof-stat:last-child { padding-right: 0; }
.proof-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent-teal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.proof-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.proof-sep { width: 1px; background: var(--border); flex-shrink: 0; margin: 0; }
.proof-attribution { font-size: 0.68rem; color: var(--text-dim); }

/* ---- Features ---- */
.features { padding: 100px 40px; }
.features-header { max-width: 1200px; margin: 0 auto 64px; }
.section-eyebrow {
  font-size: 0.72rem;
  color: var(--accent-teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature-accent-1:hover { border-color: var(--border-teal); }
.feature-accent-2:hover { border-color: var(--border-amber); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.feature-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}
.feature-accent-2 .feature-list li::before { background: var(--accent-amber); }

/* ---- Niche ---- */
.niche { padding: 100px 40px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.niche-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.niche-heading { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 24px; }
.niche-body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.niche-card {
  background: var(--bg);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.niche-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,229,184,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.niche-card-header { margin-bottom: 20px; }
.niche-pill {
  display: inline-block;
  background: rgba(0,229,184,0.12);
  border: 1px solid var(--border-teal);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--accent-teal);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.niche-icon-wrap { margin-bottom: 16px; }
.niche-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.niche-reasons { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.niche-reasons li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.niche-reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}
.niche-stats-row { display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.niche-stat { display: flex; flex-direction: column; gap: 4px; }
.niche-stat-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.niche-stat-label { font-size: 0.72rem; color: var(--text-muted); }
.niche-other { margin-top: 20px; }
.niche-other-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; }
.niche-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.niche-tag {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Closing / Model ---- */
.closing { padding: 100px 40px; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-top { text-align: center; margin-bottom: 60px; }
.closing-heading { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 16px; line-height: 1.15; }
.closing-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 36px;
  text-align: center;
  min-width: 200px;
  position: relative;
}
.model-card-primary { border-color: var(--border-teal); }
.model-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.model-value { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.model-desc { font-size: 0.78rem; color: var(--text-muted); }
.model-card-primary .model-value { color: var(--accent-teal); }
.model-plus { font-size: 2rem; color: var(--text-dim); font-weight: 300; }
.model-arrow { margin-top: 12px; }

/* Math display */
.closing-math {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.math-step { display: flex; align-items: baseline; gap: 10px; }
.math-num { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--accent-teal); }
.math-text { font-size: 0.88rem; color: var(--text-muted); }
.math-plus, .math-equals { font-size: 1.2rem; color: var(--text-dim); }
.math-result {
  background: rgba(0,229,184,0.1);
  border: 1px solid var(--border-teal);
  border-radius: 12px;
  padding: 12px 24px;
}
.math-total { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--accent-teal); }

/* Startup cost stats */
.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.cstat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 48px; }
.cstat-val { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.cstat-label { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.cstat-sep { width: 1px; height: 40px; background: var(--border); }

/* ---- Footer ---- */
.footer { padding: 40px; border-top: 1px solid var(--border); }
.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: 8px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-wordmark { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .proof-stats { flex-direction: column; gap: 0; }
  .proof-stat { padding: 24px 0; border-bottom: 1px solid var(--border); }
  .proof-sep { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .niche-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing-model { flex-direction: column; gap: 16px; }
  .model-plus { display: none; }
  .closing-math { flex-direction: column; }
  .closing-stats { flex-direction: column; gap: 24px; }
  .cstat { padding: 0; }
  .cstat-sep { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 24px 60px; }
  .features, .niche, .closing { padding: 64px 24px; }
  .proof { padding: 32px 24px; }
  .nav { padding: 0 24px; }
  .hero-meta { gap: 16px; }
  .meta-divider { display: none; }
  .hero-meta { flex-wrap: wrap; }
}

/* ---- Hero CTA Button ---- */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-teal);
  color: #060912;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 32px rgba(0,229,184,0.2);
  letter-spacing: -0.01em;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0,229,184,0.35);
}
.hero-cta-icon { font-size: 1.1rem; }
.hero-cta-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-cta-link:hover { color: var(--accent-teal); border-color: var(--border-teal); }

/* ---- Animations ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-visual { animation: float 6s ease-in-out infinite; }
