/* ===================================
   LEADLOCAL — Custom Landing Page
   =================================== */

/* --- Variables --- */
:root {
  --bg: #f5f0e8;
  --bg-dark: #e8e0d4;
  --fg: #1a3a2a;
  --fg-muted: #4a6b52;
  --accent: #d4a853;
  --accent-dark: #b8893a;
  --nav-bg: #1a3a2a;
  --white: #ffffff;
  --border: rgba(26, 58, 42, 0.12);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  --radius: 6px;
  --radius-lg: 12px;
}

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

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

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

/* --- Nav --- */
.nav {
  background: var(--nav-bg);
  padding: 1rem 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.55);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* --- Hero --- */
.hero {
  background: var(--bg);
  padding: var(--space-2xl) 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 400;
  line-height: 1.4;
  max-width: 100px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Visual Card --- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(26, 58, 42, 0.08), 0 2px 8px rgba(26, 58, 42, 0.04);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.vc-header {
  background: var(--fg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.vc-dot.green { background: #22c55e; }
.vc-dot.amber { background: #d4a853; }
.vc-dot.red { background: #ef4444; }

.vc-title {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
}

.vc-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vc-lead {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.vc-lead-dim { opacity: 0.55; }

.vc-lead-icon {
  width: 32px;
  height: 32px;
  background: var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-lead-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.vc-lead-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}

.vc-lead-service {
  font-size: 0.75rem;
  color: var(--fg);
  font-weight: 400;
}

.vc-lead-location {
  font-size: 0.68rem;
  color: var(--fg-muted);
}

.vc-lead-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  background: var(--fg);
  color: var(--bg);
  white-space: nowrap;
}

.vc-badge-amber { background: var(--accent); color: var(--fg); }

.vc-footer {
  background: var(--bg-dark);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.vc-footer-badge {
  background: var(--accent);
  color: var(--fg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
}

/* --- Shared Section Styles --- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-2xl) 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0.75rem auto 0;
  font-weight: 300;
}

/* --- How It Works --- */
.how-it-works {
  background: var(--bg-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 0 1rem;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 2.5rem;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(26, 58, 42, 0.06);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* --- Exclusivity Panel --- */
.exclusivity-panel {
  background: var(--fg);
  padding: var(--space-2xl) 2rem;
}

.exclusivity-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ex-left .section-label {
  color: var(--accent);
}

.ex-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.ex-body {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* Comparison Block */
.comparison-block {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  gap: 1rem;
}

.comp-col-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

.comp-col-label:last-child { color: rgba(212, 168, 83, 0.8); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  gap: 1rem;
  align-items: center;
}

.comp-row:last-child { border-bottom: none; }

.comp-item {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.7);
  font-weight: 300;
}

.comp-val {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.comp-val-bad { color: rgba(245, 240, 232, 0.35); }
.comp-val-good { color: var(--accent); }

/* --- Lead Values --- */
.lead-values {
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--fg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.vc-service-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 83, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.vc-service {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.vc-range {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.vc-per-lead {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0;
}

.vc-note {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.vc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  background: rgba(245, 240, 232, 0.08);
  color: rgba(245, 240, 232, 0.5);
}

.values-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 2rem;
  font-weight: 300;
}

/* --- Closing --- */
.closing {
  background: var(--bg-dark);
  padding: var(--space-2xl) 2rem;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
  margin: 0 auto 2.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* --- Footer --- */
.footer {
  background: var(--fg);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-mission {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.4);
  font-weight: 300;
}

.footer-links {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-headline { font-size: 2rem; }

  .hero-stats {
    gap: 1.25rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }

  .step-connector::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -1px;
  }

  .exclusivity-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Entrance animations --- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > *,
.hero-visual {
  animation: fade-up 0.6s ease-out both;
}

.hero-content > *:nth-child(1) { animation-delay: 0ms; }
.hero-content > *:nth-child(2) { animation-delay: 80ms; }
.hero-content > *:nth-child(3) { animation-delay: 160ms; }
.hero-content > *:nth-child(4) { animation-delay: 240ms; }
.hero-visual { animation-delay: 100ms; }