/* =========================================
   LocalScout — Dark, Industrial, Confident
   ========================================= */

:root {
  --bg: #090d09;
  --surface: #111a11;
  --surface-2: #192019;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --green: #2a6e2a;
  --green-bright: #3d8b3d;
  --text: #e8f0e8;
  --text-muted: #8aab8a;
  --text-dim: #4a6a4a;
  --border: rgba(245, 158, 11, 0.12);
  --font-display: 'Bricolage Grotesque', 'Georgia', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(42,110,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 80px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── MAP PHONE VISUAL ───────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.map-phone-frame {
  position: relative;
  width: 280px;
}

.scout-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--accent);
  color: #0a0d09;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.phone-bezel {
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(42,110,42,0.15);
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #111;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}

.search-bar-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f1f1f1;
  border-bottom: 1px solid #e0e0e0;
}

.search-bar-mock span {
  font-size: 12px;
  color: #555;
  font-family: system-ui, sans-serif;
}

.map-results { padding: 12px; }

.map-pack { border: 1.5px solid #e0e0e0; border-radius: 8px; overflow: hidden; }

.map-slot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  background: white;
}

.map-slot.top { background: #f0fff0; }

.map-slot:last-child { border-bottom: none; }

.biz-rank {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #2a6e2a;
  min-width: 16px;
  padding-top: 2px;
}

.biz-info { flex: 1; }

.biz-name {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: system-ui, sans-serif;
  margin-bottom: 2px;
}

.biz-name.highlight { color: #1a5c1a; }

.biz-rating {
  font-size: 10px;
  color: #666;
  font-family: system-ui, sans-serif;
  margin-bottom: 2px;
}

.biz-services {
  font-size: 10px;
  color: #888;
  font-family: system-ui, sans-serif;
}

.biz-badge {
  font-size: 9px;
  font-weight: 600;
  background: #d4edda;
  color: #155724;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── SOCIAL PROOF ───────────────────────── */
.social-proof {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-inner { max-width: 1200px; margin: 0 auto; }

.proof-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.proof-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-tag {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── HOW IT WORKS ───────────────────────── */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg);
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step { padding: 0 24px; }

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.5;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--accent));
  margin-top: 48px;
  flex-shrink: 0;
}

/* keyword cloud */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kw {
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

.kw-hot {
  background: var(--accent-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--accent);
}

/* citation grid */
.citation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cite-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.cite-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.gmb { background: #4285f4; }
.yelp { background: #d32323; }
.home { background: #6bab3d; }
.angi { background: #0094de; }
.bing { background: #00a1e0; }
.apple { background: #555; }

/* lead dashboard */
.lead-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dash-label { font-size: 11px; color: var(--text-dim); }

.dash-trend {
  font-size: 12px;
  font-weight: 600;
}

.dash-trend.up { color: #22c55e; }

.dash-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}

.dash-sources { display: flex; flex-direction: column; gap: 8px; }

.source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.source-row span:last-child {
  margin-left: auto;
  font-weight: 600;
  color: var(--text);
}

.source-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gmb-dot { background: #4285f4; }
.organic-dot { background: var(--green-bright); }
.geo-dot { background: #8b5cf6; }

/* ── MANIFESTO ──────────────────────────── */
.manifesto {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.quote-mark {
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 32px;
  opacity: 0.4;
}

blockquote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 36px;
}

.manifesto-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 300;
}

.manifesto-cta {
  margin-top: 40px;
  padding: 20px 28px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 4px;
  display: inline-block;
}

.cta-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-text strong { color: var(--accent); }

/* ── NICHES ────────────────────────────── */
.niches {
  padding: 100px 24px;
  background: var(--bg);
}

.niches-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.niches-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.6;
  font-weight: 300;
}

.niche-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.niche-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.niche-card:hover {
  border-color: var(--green);
  background: var(--surface-2);
}

.niche-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--green-bright);
  border-radius: 3px;
  opacity: 0.8;
}

.nicho-hvac::after { background: #60a5fa; }
.nicho-plumb::after { background: #3b82f6; }
.nicho-roof::after { background: #f59e0b; }
.nicho-elect::after { background: #fbbf24; }
.nicho-land::after { background: #4ade80; }
.nicho-remod::after { background: #a78bfa; }

.niche-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}

.niche-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── OUTRO ──────────────────────────────── */
.outro {
  padding: 120px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.outro::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42,110,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.outro-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.outro-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 24px;
}

.outro-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 32px;
}

.outro-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 300;
}

.outro-vision {
  max-width: 620px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.vision-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-sep { color: var(--text-dim); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { display: none; }

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

  .step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--green), var(--accent));
    margin: 0 auto;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .manifesto-inner { text-align: left; }

  .outro-headline { font-size: 48px; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 64px; }
  .hero-headline { font-size: 44px; }
  .how-it-works { padding: 64px 20px; }
  .manifesto { padding: 64px 20px; }
  .niches { padding: 64px 20px; }
  .niche-grid { grid-template-columns: 1fr; }
  .outro { padding: 80px 20px; }
  .step-number { font-size: 48px; }
}