/* ==========================================================================
   Lead Flow by The Modern Builder – Design System
   ========================================================================== */

/* --- Custom Properties (Design Tokens) --- */
:root {
  --color-bg: #0D1117;
  --color-surface: #161B22;
  --color-surface-hover: #1C2333;
  --color-card: #1A2030;
  --color-card-alt: #141C28;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 107, 44, 0.3);

  --color-orange: #FF6B2C;
  --color-orange-light: #FF8F5E;
  --color-orange-dark: #E05A1F;
  --color-orange-glow: rgba(255, 107, 44, 0.15);
  --color-orange-subtle: rgba(255, 107, 44, 0.08);

  --color-blue: #3B82F6;
  --color-blue-glow: rgba(59, 130, 246, 0.15);
  --color-green: #22C55E;
  --color-green-glow: rgba(34, 197, 94, 0.15);
  --color-amber: #F59E0B;
  --color-red: #EF4444;

  --color-text: #F0F4F8;
  --color-text-secondary: #8B95A5;
  --color-text-muted: #4A5568;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 4px 24px rgba(255, 107, 44, 0.25);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--color-orange); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-orange-light); }

img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { max-width: 680px; }
.text-gradient {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--color-text-secondary); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p {
  margin: 16px auto 0;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--color-orange-subtle);
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 44, 0.15);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}
.nav.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 100px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  padding: 10px 24px;
  background: var(--color-orange);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--color-orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-orange-glow), transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}
@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.6; }
  to { transform: translate(-80px, 40px) scale(1.2); opacity: 0.9; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 44, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 44, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
}
.hero-powered img { height: 20px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-orange);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-orange-light);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--color-text-secondary);
  background: var(--color-surface);
}
.hero-stats-row {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.stat-number .accent { color: var(--color-orange); }
.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* --- Pipeline Section --- */
.pipeline-track {
  display: flex;
  gap: 40px;
  position: relative;
  margin-top: 32px;
}
.pipeline-step {
  flex: 1;
  padding: 32px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  position: relative;
  text-align: center;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
  overflow: visible;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.pipeline-step:hover {
  z-index: 3;
}
.pipeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 2px 8px rgba(255, 107, 44, 0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.pipeline-step:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
}
.pipeline-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.pipeline-icon.orange { background: var(--color-orange-subtle); }
.pipeline-icon.blue { background: var(--color-blue-glow); }
.pipeline-icon.green { background: var(--color-green-glow); }
.pipeline-icon.amber { background: rgba(245, 158, 11, 0.15); }
.pipeline-step h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.pipeline-step p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 auto;
}

/* --- Dashboard Section --- */
.dashboard-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 620px;
  box-shadow: var(--shadow-lg);
}
.dashboard-map {
  position: relative;
  background: var(--color-card);
  min-height: 620px;
}
.dashboard-map #map {
  width: 100%;
  height: 100%;
  min-height: 620px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.map-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 500;
  display: flex;
  gap: 8px;
}
.map-badge {
  padding: 8px 14px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.dashboard-sidebar {
  background: var(--color-card);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-header h3 {
  font-size: 1rem;
  font-weight: 700;
}
.sidebar-count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--color-orange-subtle);
  color: var(--color-orange);
  border-radius: 100px;
}
.sidebar-filters {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-chip.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}
.filter-chip:hover:not(.active) {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}
.sidebar-cards {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-cards::-webkit-scrollbar { width: 4px; }
.sidebar-cards::-webkit-scrollbar-track { background: transparent; }
.sidebar-cards::-webkit-scrollbar-thumb { background: var(--color-text-muted); border-radius: 4px; }

/* --- Application Cards --- */
.app-card {
  padding: 16px;
  background: var(--color-card-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: visible;
}
.app-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
}
.app-card.blurred .card-details {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}
.app-card.blurred::after {
  content: '🔒 Upgrade to unlock';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-orange);
  background: rgba(13, 17, 23, 0.8);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-orange);
  white-space: nowrap;
  z-index: 2;
}
.app-card.revealed {
  border-color: var(--color-green);
  background: rgba(34, 197, 94, 0.05);
}
.app-card.revealed .card-details {
  filter: none;
  animation: revealPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-card.revealed::after { display: none; }
.app-card.revealed::before {
  content: '✓ UNLOCKED';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--color-green);
  letter-spacing: 0.05em;
}
@keyframes revealPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.card-type {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.card-type.new-build { background: rgba(59, 130, 246, 0.15); color: var(--color-blue); }
.card-type.extension { background: rgba(34, 197, 94, 0.15); color: var(--color-green); }
.card-type.renovation { background: rgba(245, 158, 11, 0.15); color: var(--color-amber); }
.card-type.change-of-use { background: rgba(168, 85, 247, 0.15); color: #A855F7; }
.card-type.commercial { background: rgba(239, 68, 68, 0.15); color: var(--color-red); }
.card-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-address {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
.card-distance {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-orange);
  font-weight: 600;
}
.card-value {
  font-weight: 700;
  color: var(--color-green);
}

/* --- Card Detail Grid (unlocked state) --- */
.card-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  background: rgba(255, 107, 44, 0.04);
  border: 1px solid rgba(255, 107, 44, 0.12);
  border-radius: 8px;
}
.card-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-detail-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.card-detail-value {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
.card-value-highlight {
  color: var(--color-green) !important;
  font-weight: 700 !important;
}
.card-status {
  color: var(--color-blue) !important;
  font-weight: 600 !important;
}

/* --- Outreach Preview --- */
.outreach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.email-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #1a1a1a;
}
.email-header {
  padding: 16px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.email-row {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
}
.email-label {
  font-weight: 600;
  color: #6b7280;
  min-width: 50px;
}
.email-value { color: #1f2937; }
.email-body {
  padding: 28px 24px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #374151;
}
.email-body p { margin-bottom: 16px; max-width: 100%; }
.email-body .highlight {
  background: rgba(255, 107, 44, 0.12);
  color: var(--color-orange-dark);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.email-body .cta-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--color-orange);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}
.outreach-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.channel-card {
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.channel-card:hover {
  border-color: var(--color-border-hover);
}
.channel-card.primary {
  border-color: var(--color-orange);
  background: var(--color-orange-subtle);
}
.channel-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.channel-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.channel-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.channel-badge.mvp { background: var(--color-orange); color: #fff; }
.channel-badge.phase2 { background: var(--color-blue-glow); color: var(--color-blue); }
.channel-badge.phase3 { background: rgba(168, 85, 247, 0.15); color: #A855F7; }

/* --- Acquisition / Growth Engine Section --- */
.acquisition-flow {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.acq-step {
  width: 100%;
}
.acq-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 12px;
}
.acq-arrow-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
}
.acq-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(255, 107, 44, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}
.acq-arrow-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Cold email variant */
.cold-email {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-card);
}
.cold-email .email-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-card);
}
.cold-email .email-from {
  display: flex;
  align-items: center;
  gap: 12px;
}
.email-avatar.cold {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), #e05a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}
.email-address {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.email-subject-line {
  padding: 14px 20px;
  background: rgba(255, 107, 44, 0.06);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.email-body-content {
  padding: 24px 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.email-body-content p { margin-bottom: 12px; }
.teaser-detail-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
}
.teaser-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.teaser-row:last-child { border-bottom: none; }
.teaser-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.teaser-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}
.teaser-value.highlight {
  color: var(--color-green) !important;
  font-weight: 700;
}
.blurred-row {
  opacity: 0.5;
}
.blurred-text {
  filter: blur(4px);
  user-select: none;
  color: var(--color-text-muted) !important;
}

/* Claim Your Area mock */
.claim-page-mock {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-card);
}
.claim-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.claim-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.claim-body {
  padding: 28px 24px;
}
.claim-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.claim-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}
.claim-form-mock {
  margin-top: 8px;
}
.claim-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.claim-input-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.claim-radius-preview {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.claim-radius-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 12px;
}
.claim-radius-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.claim-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
}
.claim-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Flywheel Economics */
.flywheel-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.flywheel-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 24px 0;
}
.flywheel-step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
}
.flywheel-step.highlight-step {
  background: rgba(255, 107, 44, 0.08);
  border-color: var(--color-orange);
  box-shadow: 0 0 20px rgba(255, 107, 44, 0.15);
}
.flywheel-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.flywheel-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-step .flywheel-num {
  color: var(--color-orange);
}
.flywheel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}
.flywheel-detail {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.flywheel-connector {
  font-size: 1.5rem;
  color: var(--color-orange);
  font-weight: 700;
  padding: 0 8px;
  flex-shrink: 0;
}
.flywheel-summary {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255, 107, 44, 0.06);
  border: 1px solid rgba(255, 107, 44, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 2px 12px rgba(255, 107, 44, 0.4); }
  50% { box-shadow: 0 2px 24px rgba(255, 107, 44, 0.7); }
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  padding: 40px 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-base);
}
.pricing-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--color-orange);
  background: linear-gradient(180deg, rgba(255, 107, 44, 0.06) 0%, var(--color-card) 100%);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--color-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 100px;
}
.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pricing-amount {
  margin-bottom: 8px;
}
.pricing-amount .price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pricing-amount .period {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
.pricing-promo {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.pricing-original {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  margin-left: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
}
.pricing-features li::before {
  content: '✓';
  color: var(--color-green);
  font-weight: 700;
  font-size: 0.9rem;
}
.pricing-features li.disabled {
  opacity: 0.35;
}
.pricing-features li.disabled::before {
  content: '—';
  color: var(--color-text-muted);
}
.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  display: block;
  border: none;
}
.pricing-btn.primary {
  background: var(--color-orange);
  color: #fff;
}
.pricing-btn.primary:hover {
  background: var(--color-orange-light);
  box-shadow: var(--shadow-orange);
}
.pricing-btn.secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.pricing-btn.secondary:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

/* --- Wizard Section --- */
.wizard-preview {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wizard-progress {
  display: flex;
  padding: 24px 32px;
  background: var(--color-card-alt);
  border-bottom: 1px solid var(--color-border);
  gap: 32px;
}
.wizard-step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.wizard-step-indicator.active { color: var(--color-orange); }
.wizard-step-indicator.done { color: var(--color-green); }
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.wizard-step-indicator.active .step-circle {
  border-color: var(--color-orange);
  background: var(--color-orange-subtle);
  color: var(--color-orange);
}
.wizard-step-indicator.done .step-circle {
  border-color: var(--color-green);
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green);
}
.wizard-body {
  padding: 40px 32px;
  text-align: center;
}
.wizard-body h3 { margin-bottom: 8px; }
.wizard-body p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin: 0 auto 32px;
}
.wizard-input-group {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 24px;
}
.wizard-input {
  flex: 1;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}
.wizard-input:focus {
  border-color: var(--color-orange);
}
.wizard-input::placeholder { color: var(--color-text-muted); }
.radius-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.radius-option {
  padding: 12px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.radius-option.selected {
  border-color: var(--color-orange);
  background: var(--color-orange-subtle);
  color: var(--color-orange);
}
.radius-option:hover:not(.selected) {
  border-color: var(--color-text-muted);
}

/* --- Roadmap Section --- */
.roadmap-track {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.roadmap-track::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.roadmap-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.roadmap-dot {
  width: 50px;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}
.roadmap-dot.active {
  background: var(--color-orange);
  box-shadow: 0 0 20px var(--color-orange-glow);
}
.roadmap-dot.future {
  background: var(--color-card);
  border: 2px solid var(--color-border);
}
.roadmap-content h4 { margin-bottom: 4px; }
.roadmap-content p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.roadmap-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
}
.roadmap-tag.current { background: var(--color-orange-subtle); color: var(--color-orange); }
.roadmap-tag.planned { background: var(--color-blue-glow); color: var(--color-blue); }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 50%, var(--color-bg) 100%);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  margin: 0 auto 40px;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img { height: 28px; }

/* --- Animations (Scroll-triggered) --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease-out;
}
.fade-in.visible { opacity: 1; }

/* --- Leaflet Overrides --- */
.leaflet-container { background: var(--color-card) !important; }
.leaflet-tile-pane { filter: brightness(0.7) contrast(1.1) saturate(0.3); }
.leaflet-popup-content-wrapper {
  background: var(--color-card) !important;
  color: var(--color-text) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.leaflet-popup-tip { background: var(--color-card) !important; }
.leaflet-popup-content { font-family: var(--font-body) !important; font-size: 0.85rem !important; margin: 14px !important; }
.leaflet-popup-close-button { color: var(--color-text-secondary) !important; }
.leaflet-control-zoom a {
  background: var(--color-card) !important;
  color: var(--color-text) !important;
  border-color: var(--color-border) !important;
}

/* Custom map marker */
.custom-marker {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.3);
}
.custom-marker.orange { background: var(--color-orange); }
.custom-marker.blue { background: var(--color-blue); }
.custom-marker.green { background: var(--color-green); }
.custom-marker.amber { background: var(--color-amber); }

/* --- Discussion Questions Section --- */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.question-card {
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-orange);
  transition: all var(--transition-base);
}
.question-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
}
.question-card .q-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.question-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.question-card p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; height: auto; }
  .dashboard-map { min-height: 400px; }
  .outreach-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .questions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-stats-row { flex-direction: column; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-track { flex-direction: column; }
  .pipeline-step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pipeline-step:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .pipeline-step:not(:last-child)::after { display: none; }
  .nav-links { display: none; }
}
