/* ====================================
   LeadBridge — Custom Landing Page CSS
   ==================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b1628;
  --bg-2: #0f1e35;
  --bg-card: #12213d;
  --fg: #f0ede8;
  --fg-muted: #8a9bb5;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { color: var(--fg-muted); }

a { color: var(--accent); text-decoration: none; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: none;
}
@media (min-width: 640px) { .nav-tag { display: block; } }

/* Section Shared */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-tag.light { color: var(--accent); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-geo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.geo-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.geo-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}
.geo-3 {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  left: 20%;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-label::before {
  content: '';
  display: inline-block;
  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(0.8); }
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-badge {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
}

/* ========== STATS ========== */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
}
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.stat-num.accent { color: var(--accent); }
.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ========== PROBLEM ========== */
.problem { padding: 7rem 2rem; }
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problem-header {
  max-width: 600px;
  margin-bottom: 4rem;
}
.problem-header h2 { margin-top: 0.5rem; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: var(--accent-dim); }
.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.problem-card h3 { margin-bottom: 0.75rem; color: var(--fg); }
.problem-card p { font-size: 0.9rem; }

/* ========== SOLUTION ========== */
.solution {
  background: var(--bg-2);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.solution-inner { max-width: 1200px; margin: 0 auto; }
.solution-headline {
  max-width: 600px;
  margin: 0.5rem 0 3.5rem;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  background: rgba(18, 33, 61, 0.5);
}
.sol-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}
.solution-card h3 { margin-bottom: 0.75rem; color: var(--fg); }
.solution-card p { font-size: 0.9rem; }

/* ========== HOW ========== */
.how { padding: 7rem 2rem; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-inner h2 { max-width: 600px; margin: 0.5rem 0 3.5rem; }
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  width: 60px;
  text-align: right;
}
.step-body { flex: 1; }
.step-body h3 { margin-bottom: 0.5rem; color: var(--fg); }
.step-body p { font-size: 0.9rem; }

/* ========== PRICING ========== */
.pricing {
  background: var(--bg-2);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-inner h2 { max-width: 500px; margin: 0.5rem 0 1rem; }
.pricing-sub { max-width: 480px; margin-bottom: 3rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(18,33,61,0.8));
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0b1628;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}
.pricing-tier {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ========== CLOSING ========== */
.closing { padding: 7rem 2rem; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing h2 { max-width: 650px; }
.closing-sub {
  max-width: 600px;
  font-size: 1.05rem;
  margin: 1.5rem 0 3rem;
  line-height: 1.75;
}
.closing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.closing-stat div {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.closing-stat span {
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.closing-cta {
  font-size: 1rem;
  color: var(--fg);
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  margin-bottom: 3rem;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.footer-links {
  display: flex;
  gap: 3rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .stat-divider { display: none; }
  .stats-inner { justify-content: center; }
  .stat { min-width: 45%; text-align: left; }
  .how-step { gap: 1rem; }
  .step-num { font-size: 2.2rem; width: 40px; }
  .closing-stats { padding: 1.5rem; gap: 1.5rem; }
  .closing-stat div { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .hero { padding: 6rem 1.25rem 4rem; }
  .problem, .solution, .how, .pricing, .closing { padding: 5rem 1.25rem; }
  .stat { min-width: 100%; }
}
