/* ═══════════════════════════════════════════════════════
   LEADBRIDGE PROFESSIONAL DESIGN SYSTEM
   Clean light SaaS — Stripe × Calendly × HubSpot
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --fg: #0F172A;
  --fg-muted: #64748B;
  --fg-light: #94A3B8;
  --accent: #10B981;
  --accent-dark: #059669;
  --accent-dim: #ECFDF5;
  --accent-blue: #3B82F6;
  --accent-blue-dim: #EFF6FF;
  --warm-amber: #F59E0B;
  --warm-amber-dim: #FFFBEB;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ── Base Reset ── */
*, *::before, *::after { 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-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
::selection { background: rgba(16, 185, 129, 0.15); color: var(--fg); }

/* ── Typography ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 48ch;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--fg); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-padded { padding: 1.75rem 2rem; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-green { background: var(--accent-dim); color: var(--accent-dark); }
.badge-blue { background: var(--accent-blue-dim); color: var(--accent-blue); }
.badge-amber { background: var(--warm-amber-dim); color: var(--warm-amber); }

/* ── Section Wrappers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-subtle); }
.section-sm { padding: 3rem 0; }

/* ── Navbar ── */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.navbar-links { display: flex; align-items: center; gap: 0.25rem; }
.navbar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.navbar-links a:hover { color: var(--fg); background: var(--bg-alt); }
.navbar-links a.active { color: var(--accent); background: var(--accent-dim); }
.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.navbar-cta:hover { background: var(--accent-dark); }
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.navbar-hamburger:hover { background: var(--bg-alt); }
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-muted);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 900px) {
  .navbar-hamburger { display: flex; }
  .navbar-links { display: none; position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem; gap: 2px; z-index: 99; box-shadow: var(--shadow-md); }
  .navbar-links.open { display: flex; }
  .navbar-links a { padding: 0.75rem 1rem; width: 100%; }
}

/* ── HERO ── */
.hero {
  background: var(--fg);
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-headline em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 44ch;
  line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-ctas .btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.95rem; border-radius: 10px; text-decoration: none;
  transition: all 0.2s;
}
.hero-ctas .btn-hero-primary:hover { background: #059669; transform: translateY(-1px); }
.hero-ctas .btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2); font-weight: 600; font-size: 0.95rem;
  border-radius: 10px; text-decoration: none; transition: all 0.2s;
}
.hero-ctas .btn-hero-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* Hero Stats Bar */
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  margin-top: 0.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label { font-size: 0.72rem; color: #94A3B8; }
.hero-stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* Hero Visual — Lead Preview */
.hero-visual { position: relative; }
.lead-preview-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.lead-preview-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-2px); }
.lead-preview-card.live { border-color: rgba(16,185,129,0.4); }
.lead-preview-header { display: flex; justify-content: space-between; align-items: center; }
.lead-preview-service { font-weight: 600; font-size: 0.95rem; color: #fff; }
.lead-preview-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(16,185,129,0.15); color: var(--accent);
  border: 1px solid rgba(16,185,129,0.25);
}
.lead-preview-badge.warm { background: rgba(245,158,11,0.12); color: var(--warm-amber); border-color: rgba(245,158,11,0.2); }
.lead-preview-location { font-size: 0.8rem; color: #94A3B8; }
.lead-preview-desc { font-size: 0.85rem; color: #CBD5E1; line-height: 1.5; }
.lead-preview-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.25rem; }
.lead-preview-value { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.lead-preview-time { font-size: 0.72rem; color: #64748B; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
}
@media (max-width: 768px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .hero-stat-divider { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-outline { justify-content: center; }
}

/* ── HOW IT WORKS ── */
.howitworks { padding: 5rem 0; background: var(--bg); }
.howitworks-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.how-header { text-align: center; margin-bottom: 4rem; }
.how-header .section-title { margin-bottom: 0.5rem; }
.how-header p { max-width: 46ch; margin: 0.5rem auto 0; color: var(--fg-muted); font-size: 1.05rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
  transition: all 0.2s;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #CBD5E1; }
.step-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
}
.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-light);
}
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--fg); }
.step-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── NICHE CATEGORIES ── */
.niches { padding: 5rem 0; background: var(--bg-subtle); }
.niches-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.niches-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; gap: 1rem; }
.niches-header .section-title { margin-bottom: 0; }
.niches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.niche-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.niche-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.niche-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
}
.niche-info { display: flex; flex-direction: column; gap: 2px; }
.niche-name { font-size: 0.88rem; font-weight: 600; color: var(--fg); }
.niche-count { font-size: 0.72rem; color: var(--fg-muted); }
@media (max-width: 900px) { .niches-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .niches-grid { grid-template-columns: 1fr; } }

/* ── FOR BUSINESSES ── */
.forbiz { padding: 5rem 0; background: var(--bg); }
.forbiz-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.forbiz-text { display: flex; flex-direction: column; gap: 1.25rem; }
.forbiz-text .section-title { margin-bottom: 0; }
.forbiz-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.forbiz-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--fg-muted); }
.forbiz-list li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.forbiz-cards { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 900px) { .forbiz-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── PRICING ── */
.pricing { padding: 5rem 0; background: var(--bg-subtle); }
.pricing-inner { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.pricing-header { text-align: center; margin-bottom: 3rem; }
.pricing-header .section-title { margin-bottom: 0.5rem; }
.pricing-header p { color: var(--fg-muted); max-width: 44ch; margin: 0.5rem auto 0; font-size: 1.05rem; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.2s;
  display: flex; flex-direction: column;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(16,185,129,0.1), var(--shadow-md); }
.plan-card-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.68rem; padding: 4px 14px; border-radius: 99px;
  font-weight: 700; letter-spacing: 0.06em; white-space: nowrap;
}
.plan-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.25rem; }
.plan-card.featured .plan-tier { color: var(--accent); }
.plan-title { font-size: 1.25rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--fg); line-height: 1; letter-spacing: -0.03em; margin: 0.5rem 0; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--fg-muted); }
.plan-leads { color: var(--accent); font-weight: 600; font-size: 0.88rem; margin-bottom: 1rem; }
.plan-desc { color: var(--fg-muted); font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.6; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--fg-muted); }
.plan-features li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.plan-cta { width: 100%; padding: 0.75rem; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; text-decoration: none; display: block; border: none; }
.plan-cta.primary { background: var(--accent); color: #fff; }
.plan-cta.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.plan-cta.secondary { background: var(--bg); color: var(--fg); border: 1.5px solid var(--border); }
.plan-cta.secondary:hover { border-color: var(--accent); color: var(--accent); }
.plan-cta:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 700px) { .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 2.5rem; } }

/* ── FOOTER ── */
.footer { background: var(--fg); color: #fff; padding: 3rem 0 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 0.82rem; color: #64748B; }
.footer-meta { font-size: 0.78rem; color: #64748B; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: #94A3B8; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── WHY SECTION ── */
.why-section { padding: 5rem 0; background: var(--bg); }
.why-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.why-header { text-align: center; margin-bottom: 3rem; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 0; }
.comparison-card {
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
}
.comparison-card.bad { background: #FEF2F2; border-color: #FECACA; }
.comparison-card.good { background: var(--accent-dim); border-color: #A7F3D0; }
.comparison-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.comparison-card.bad .comparison-label { color: #DC2626; }
.comparison-card.good .comparison-label { color: var(--accent-dark); }
.comparison-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.comparison-list li { font-size: 0.92rem; color: var(--fg-muted); padding-left: 1.5rem; position: relative; }
.comparison-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
}
.comparison-card.bad .comparison-list li::before { background: #DC2626; }
.comparison-card.good .comparison-list li::before { background: var(--accent); }
@media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; } }

/* ── VISION ── */
.vision { padding: 6rem 0; background: var(--bg-subtle); }
.vision-inner { max-width: 800px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.vision-statement { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--fg); margin-bottom: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.vision-sub { font-size: 1.05rem; color: var(--fg-muted); max-width: 52ch; margin: 0 auto; line-height: 1.7; }