/* =========================================
   DetailFlow — Custom Landing Page CSS
   Brand: Dark automotive, electric amber
   ========================================= */

:root {
  --bg: #080c10;
  --bg-2: #0e1318;
  --bg-3: #141a21;
  --amber: #f97316;
  --amber-dim: rgba(249, 115, 22, 0.12);
  --amber-glow: rgba(249, 115, 22, 0.25);
  --text: #f0ede8;
  --text-muted: #8a939e;
  --text-dim: #555e6a;
  --border: rgba(255,255,255,0.07);
  --green: #22c55e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bg);
  background: var(--amber);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  padding: 0 32px;
  padding-top: 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 64px;
  position: relative;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.hero-accent { color: var(--amber); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-counter {
  display: inline-block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 20px 28px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.counter-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.counter-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.counter-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ---- PHONE MOCK ---- */
.hero-visual { position: relative; z-index: 1; }
.phone-mock {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  padding: 0;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 60px rgba(249,115,22,0.08);
  max-width: 380px;
  width: 100%;
  overflow: hidden;
}
.phone-topbar {
  background: #000;
  padding: 12px 16px 8px;
  display: flex;
  justify-content: center;
}
.phone-notch {
  width: 80px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 100px;
}
.phone-screen {
  padding: 16px;
}
.screen-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.screen-leads-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.screen-lead-card {
  background: var(--bg-3);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.screen-lead-card.faded { opacity: 0.55; border-color: var(--border); }
.lead-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.lead-icon { color: var(--amber); display: flex; flex: 0 0 auto; }
.lead-row span:first-of-type { flex: 1; font-weight: 600; color: var(--text); }
.lead-time { font-size: 10px; color: var(--text-dim); }
.lead-service { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.lead-vehicle { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.lead-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.score-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.score-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* ---- PROOF STRIP ---- */
.proof {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 32px;
}
.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.proof-stat { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); max-width: 140px; }
.proof-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 32px;
}

/* ---- SECTIONS ---- */
section { padding: 96px 32px; max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 64px;
  max-width: 600px;
}

/* ---- FEATURES ---- */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--amber-dim);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- HOW ---- */
.how { background: var(--bg-2); border-radius: 16px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(249,115,22,0.1) 100%);
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--amber);
  opacity: 0.3;
  margin-bottom: 20px;
  line-height: 1;
}
.step-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- RESULTS ---- */
.results { background: var(--bg); }
.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.results-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 20px;
}
.results-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}
.results-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.metric-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.metric-unit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  margin: 4px 0 6px;
}
.metric-label {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- CLOSING ---- */
.closing {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.detail-item svg { color: var(--amber); flex-shrink: 0; }
.closing-vision {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-style: italic;
  color: var(--amber);
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.footer-tagline { font-size: 12px; color: var(--text-dim); }
.footer-note {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 12px 20px; }
  .nav-tagline { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    text-align: center;
  }
  .hero-inner { order: 1; }
  .hero-visual { order: 0; }
  .phone-mock { max-width: 280px; margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .hero-headline { font-size: 64px; }
  section { padding: 64px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .results-inner { grid-template-columns: 1fr; gap: 40px; }
  .results-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .metric-val { font-size: 40px; }
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proof-sep { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-note { order: -1; }
}
@media (max-width: 480px) {
  .results-metrics { grid-template-columns: 1fr; }
  .hero-headline { font-size: 52px; }
  .counter-num { font-size: 40px; }
}
