/* =========================================
   DetailDeck — Mobile Car Detailing Theme
   Palette: Deep charcoal #12121F
            Warm cream #F4EFE6
            Acid lime #BFFF00
   Font: Bebas Neue (headings) + DM Sans (body)
   ========================================= */

:root {
  --bg: #12121F;
  --bg-2: #1A1A2E;
  --bg-3: #22223A;
  --fg: #F4EFE6;
  --fg-muted: rgba(244, 239, 230, 0.55);
  --lime: #BFFF00;
  --lime-dim: rgba(191, 255, 0, 0.15);
  --lime-glow: rgba(191, 255, 0, 0.08);
  --border: rgba(244, 239, 230, 0.08);
}

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

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

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(18, 18, 31, 0.7);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--fg);
  letter-spacing: 0.03em;
}

.nav-tagline {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 40px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Car silhouette */
.car-silhouette {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.car-body {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--bg-3) 0%, #2D2D4A 50%, var(--bg-3) 100%);
  border-radius: 60px 80px 30px 30px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(191,255,0,0.2),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.car-body::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(100, 120, 180, 0.15), rgba(60, 80, 140, 0.08));
  border-radius: 20px 20px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.car-body::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 20px;
  right: 20px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(18,18,31,0.9), transparent);
  border-radius: 0 0 30px 30px;
}

/* Roofline */
.car-shine {
  position: absolute;
  top: 15px;
  left: 40%;
  width: 55%;
  height: 50px;
  background: linear-gradient(135deg, transparent 30%, rgba(191,255,0,0.15) 50%, transparent 70%);
  border-radius: 30px;
  filter: blur(4px);
}

/* Reflection */
.car-reflection {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(191,255,0,0.04), transparent);
  transform: scaleY(-0.3);
  border-radius: 0 0 50% 50%;
}

/* Lime accent stripe */
.lime-stripe {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 200px;
  background: var(--lime);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(191,255,0,0.4), 0 0 60px rgba(191,255,0,0.1);
}

/* Sparkle particles */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(191,255,0,0.8);
  animation: sparkle 3s ease-in-out infinite;
}

.sparkle.s1 { top: 30%; left: 15%; animation-delay: 0s; }
.sparkle.s2 { top: 60%; left: 80%; animation-delay: 0.6s; }
.sparkle.s3 { top: 20%; left: 70%; animation-delay: 1.2s; }
.sparkle.s4 { top: 75%; left: 25%; animation-delay: 1.8s; }
.sparkle.s5 { top: 45%; left: 90%; animation-delay: 2.4s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* Shine lines */
.shine-overlay { position: absolute; inset: 0; pointer-events: none; }
.shine-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,255,0,0.3), transparent);
  animation: shine 4s ease-in-out infinite;
}
.l1 { top: 25%; left: 10%; width: 60%; animation-delay: 0s; }
.l2 { top: 50%; left: 20%; width: 50%; animation-delay: 1.3s; }
.l3 { top: 70%; left: 5%; width: 70%; animation-delay: 2.6s; }
@keyframes shine {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 24px;
  background: var(--lime-dim);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(191,255,0,0.2);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  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(1.3); }
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-headline .lime {
  color: var(--lime);
  text-shadow: 0 0 40px rgba(191,255,0,0.3);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.meta-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

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

/* ---- SECTION SHARED ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--lime-dim);
  border: 1px solid rgba(191,255,0,0.15);
  border-radius: 20px;
}

.section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 20px;
}

.section-heading.center { text-align: center; }

.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 540px;
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

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

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(191,255,0,0.3);
}

.service-card.featured {
  border-color: rgba(191,255,0,0.4);
  background: linear-gradient(135deg, rgba(26,26,46,1) 0%, rgba(18,18,31,1) 100%);
  box-shadow: 0 0 40px rgba(191,255,0,0.05), inset 0 1px 0 rgba(191,255,0,0.05);
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.service-icon {
  margin-bottom: 24px;
}

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--fg);
  margin-bottom: 8px;
}

.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--lime);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.7;
}

/* ---- HOW ---- */
.how {
  padding: 100px 40px;
  background: var(--bg);
}

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

.how-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--lime);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Sequence visual */
.how-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sequence-ring {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: expand 4s ease-out infinite;
}

.r1 { width: 300px; height: 300px; animation-delay: 0s; }
.r2 { width: 240px; height: 240px; animation-delay: 0.8s; border-color: rgba(191,255,0,0.15); }
.r3 { width: 180px; height: 180px; animation-delay: 1.6s; border-color: rgba(191,255,0,0.25); }
.r4 { width: 120px; height: 120px; animation-delay: 2.4s; border-color: rgba(191,255,0,0.35); }

@keyframes expand {
  0% { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.1); }
}

.ring-center {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  background: var(--bg-2);
  border: 1px solid rgba(191,255,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(191,255,0,0.1);
}

.sequence-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
}

.seq-item { color: var(--fg-muted); }
.seq-item.active { color: var(--lime); }
.seq-arrow { color: rgba(191,255,0,0.4); font-size: 18px; }

/* ---- PRICING ---- */
.pricing {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.pricing > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.pricing .section-heading { margin-bottom: 48px; }

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  padding: 24px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

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

.pricing-row.row-featured {
  background: var(--bg-3);
  border-left: 3px solid var(--lime);
}

.pricing-svc {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-badge {
  background: var(--lime-dim);
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(191,255,0,0.2);
}

.pricing-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--lime);
  text-align: center;
}

.pricing-note {
  font-size: 14px;
  color: var(--fg-muted);
}

.pricing-note-full {
  font-size: 14px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.closing-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.closing-promise {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}

.promise-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(191,255,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--lime-dim);
}

/* ---- FOOTER ---- */
.footer {
  padding: 80px 40px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--fg);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-col span:not(.footer-col-head) {
  font-size: 14px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col span:not(.footer-col-head):hover { color: var(--fg); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .hero-visual { height: 300px; }

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .services, .how, .pricing, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-meta { gap: 16px; }
}