/* ============================================================
   USAP Theme — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --red:          #e8192c;
  --red-dark:     #c01020;
  --blue-deep:    #0a1628;
  --blue-mid:     #112040;
  --blue-nav:     #0d1f3c;
  --white:        #ffffff;
  --transition:   0.35s ease;
  --radius:       12px;
  --radius-lg:    20px;
  --font-main:    'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ── LIGHT MODE (default) ── */
[data-theme="light"] {
  --bg-page:       #f0f4f8;
  --bg-section:    #ffffff;
  --bg-section-alt:#eef2f7;
  --bg-card:       #ffffff;
  --bg-card-hover: #f5f8fc;
  --bg-nav:        #ffffff;
  --bg-quote:      #ffffff;
  --bg-table:      #ffffff;
  --text-primary:  #0a1628;
  --text-secondary:#3a4a60;
  --text-muted:    #6a7a90;
  --border:        #dce4ef;
  --input-bg:      #f5f8fc;
  --input-border:  #c8d4e4;
  --shadow:        0 4px 24px rgba(10,22,40,0.10);
  --shadow-card:   0 2px 12px rgba(10,22,40,0.08);
  --diamond-bg:    #112040;
  --diamond-text:  #ffffff;
  --check-color:   #e8192c;
  --footer-bg:     #0a1628;
  --toggle-bg:     #dce4ef;
  --toggle-knob:   #ffffff;
  --nav-link:      #0a1628;
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg-page:       #080e1a;
  --bg-section:    #0d1526;
  --bg-section-alt:#0a1020;
  --bg-card:       #111d30;
  --bg-card-hover: #162438;
  --bg-nav:        #0d1525;
  --bg-quote:      #111d30;
  --bg-table:      #0f1a2e;
  --text-primary:  #edf2f8;
  --text-secondary:#a8b8cc;
  --text-muted:    #6a7a90;
  --border:        #1e2e44;
  --input-bg:      #0a1525;
  --input-border:  #1e2e44;
  --shadow:        0 4px 32px rgba(0,0,0,0.45);
  --shadow-card:   0 2px 16px rgba(0,0,0,0.35);
  --diamond-bg:    #162848;
  --diamond-text:  #edf2f8;
  --check-color:   #e8192c;
  --footer-bg:     #050d18;
  --toggle-bg:     #1e2e44;
  --toggle-knob:   #e8192c;
  --nav-link:      #edf2f8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  transition: background-color var(--transition), color var(--transition);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Dark Mode Toggle ── */
.theme-toggle {
  background: var(--toggle-bg);
  border: none;
  border-radius: 30px;
  width: 52px;
  height: 28px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--toggle-knob);
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
[data-theme="dark"] .theme-toggle::after { transform: translateX(24px); }

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none;
}
.theme-toggle .icon-sun { left: 6px; }
.theme-toggle .icon-moon { right: 6px; }

/* ── Navigation ── */
.site-nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--nav-link);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.nav-phone .label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.nav-phone .number {
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-red {
  background: var(--red);
  color: white;
  padding: 14px 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,25,44,0.35); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
  padding: 10px 22px;
  font-size: 13px;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 14px 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-full { width: 100%; }

/* ── Hero Section ── */
.hero {
  background: var(--bg-section);
  padding: 64px 0 72px;
  transition: background var(--transition);
  overflow: hidden;
  position: relative;
}
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #080e1a 0%, #0d1830 50%, #0a1525 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
}
.hero-left { padding-top: 12px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-headline .highlight { color: var(--red); }
.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.badge-icon {
  width: 20px;
  height: 20px;
  background: rgba(232,25,44,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--red);
}
.hero-image-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image-wrap img { width: 100%; height: 220px; object-fit: cover; object-position: center 60%; display: block; }

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: background var(--transition), border-color var(--transition);
}
.hero-stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.5px;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Customer review */
.hero-review {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: background var(--transition), border-color var(--transition);
}
.review-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.review-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 6px;
}
.review-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── Quote Form ── */
.quote-card {
  background: var(--bg-quote);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition);
}
.quote-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-align: center;
}
.quote-card .sub {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s, background var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: var(--text-muted); }

/* Mileage Slider */
.slider-wrap { position: relative; margin-bottom: 8px; }
.mileage-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.mileage-value {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) var(--pct, 20%), var(--input-border) var(--pct, 20%));
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid white;
  box-shadow: 0 0 0 1px var(--red), 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.form-disclaimer {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Features Strip ── */
.features {
  background: var(--bg-section-alt);
  padding: 72px 0;
  transition: background var(--transition);
  text-align: center;
}
.features-head { margin-bottom: 48px; }
.features-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.features-head p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item { padding: 0 16px; }
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--red);
  box-shadow: var(--shadow-card);
  transition: background var(--transition), border-color var(--transition);
}
.feature-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.feature-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Plans ── */
.plans {
  background: var(--bg-section);
  padding: 80px 0 64px;
  transition: background var(--transition);
}
.plans-head {
  text-align: center;
  margin-bottom: 48px;
}
.plans-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 10px;
}
.plans-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.plans-head p { font-size: 16px; color: var(--text-secondary); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}
.plan-card.featured {
  background: var(--diamond-bg);
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(232,25,44,0.2);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.plan-card.featured .plan-name { color: white; }
.plan-sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.plan-card.featured .plan-sub { color: rgba(255,255,255,0.55); }
.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 52px;
}
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.70); }
.plan-features { list-style: none; margin-bottom: 24px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 5px 0;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.9); }
.plan-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(232,25,44,0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plan-card.featured .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: white;
}
.plan-card.featured .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-table);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
}
.comparison-table th {
  background: var(--bg-card);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card-hover); }
.check { color: var(--red); font-size: 18px; }
.dash { color: var(--text-muted); font-size: 18px; }

/* ── Perks ── */
.perks {
  background: var(--bg-section-alt);
  padding: 80px 0;
  transition: background var(--transition);
}
.perks-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.perks-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.perks-left p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.perk-icon {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.perk-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.perk-item p { font-size: 13px; color: var(--text-secondary); }
.perks-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #1a3050;
}
.perks-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #112040 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-phone .icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.cta-phone .number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
}

/* ── Footer ── */
.site-footer {
  background: var(--footer-bg);
  padding: 56px 0 32px;
  transition: background var(--transition);
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 220px;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-top: 12px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--red); }
.footer-newsletter { }
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 14px;
  color: white;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form button {
  background: var(--red);
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--red-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-text .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .quote-card { max-width: 540px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .plans-grid { grid-template-columns: 1fr; }
  .perks-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
}

/* ── VIN In-Form Styles ── */
.label-with-badge {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.vin-badge {
  background: linear-gradient(135deg, var(--red), #ff4d5e);
  color: white;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.6;
}
.vin-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.vin-input-row .form-control {
  flex: 1;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 13px;
}
.vin-input-row .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,25,44,0.12);
}
.btn-vin-lookup {
  background: var(--red);
  border: none;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn-vin-lookup:hover { background: var(--red-dark); transform: scale(1.05); }
.btn-vin-lookup:active { transform: scale(0.97); }
.vin-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.4;
}
.vin-status {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.vin-status.success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #16a34a;
}
[data-theme="dark"] .vin-status.success { color: #4ade80; }
.vin-status.error {
  background: rgba(232,25,44,0.08);
  border: 1px solid rgba(232,25,44,0.2);
  color: var(--red);
}
/* Section dividers inside form */
.vin-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
}
.vin-divider::before,
.vin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.vin-divider span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  white-space: nowrap;
}
/* Fields that got auto-filled light up */
.form-control.autofilled {
  border-color: rgba(34,197,94,0.5) !important;
  background: rgba(34,197,94,0.04) !important;
  transition: border-color 0.3s, background 0.3s;
}
/* Hide the plugin's own UI — we drive it via JS */
#vin-plugin-wrap { display: none !important; }

/* ══════════════════════════════════════
   PROGRAM BLOCKS (Choice + Drive)
══════════════════════════════════════ */
.program-block {
  margin-top: 48px;
}
.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.program-title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.program-logo-badge {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  text-transform: uppercase;
  flex-shrink: 0;
}
.program-logo-badge strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.program-logo-badge.choice {
  background: linear-gradient(135deg, #0a1628, #1a3050);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}
.program-logo-badge.drive {
  background: linear-gradient(135deg, #e8192c, #c01020);
  color: white;
}
.program-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.program-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}
.btn-download {
  padding: 13px 24px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Plan grid variants */
.plans-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.plans-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 0;
}

/* Redline special card */
.plan-card-redline {
  background: linear-gradient(135deg, #1a0a0a, #2a0f0f) !important;
  border-color: var(--red) !important;
}
[data-theme="light"] .plan-card-redline {
  background: linear-gradient(135deg, #fff5f5, #fff0f0) !important;
  border-color: var(--red) !important;
}
.plan-card-redline .plan-name { color: var(--red) !important; }
[data-theme="light"] .plan-card-redline .plan-name { color: var(--red) !important; }
.plan-card-redline .plan-sub,
.plan-card-redline .plan-desc,
.plan-card-redline .plan-features li { color: var(--text-secondary); }
[data-theme="dark"] .plan-card-redline .plan-sub,
[data-theme="dark"] .plan-card-redline .plan-desc,
[data-theme="dark"] .plan-card-redline .plan-features li { color: rgba(255,220,220,0.75); }

.plan-badge-dark {
  background: #1a0505 !important;
  color: var(--red) !important;
  border: 1px solid var(--red);
}

/* Pills / extras */
.plan-extras {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.drive-benefits {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.extras-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.extras-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background var(--transition), border-color var(--transition);
}
.plan-card.featured .pill {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* Repair cost bar */
.repair-cost-bar {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: background var(--transition), border-color var(--transition);
}
.repair-cost-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}
.repair-cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.repair-cost-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: var(--bg-section-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.rci-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.rci-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.repair-cost-src {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* Disclaimer */
.plans-disclaimer {
  margin-top: 28px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 16px 20px;
  background: var(--bg-section-alt);
  border-radius: 8px;
  border-left: 3px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .plans-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .plans-grid-2 { grid-template-columns: 1fr; }
  .plans-grid-4 { grid-template-columns: 1fr; }
  .repair-cost-grid { grid-template-columns: repeat(2, 1fr); }
  .program-header { flex-direction: column; align-items: flex-start; }
  .btn-download { width: 100%; justify-content: center; }
}
