:root {
  --red:       #C8102E;
  --red-dark:  #9E0C23;
  --red-light: #E8314E;
  --red-bg:    #FDF0F2;
  --red-mid:   #F5C5CD;
  --gray:      #4A4A4A;
  --gray-light:#7A7A7A;
  --gray-pale: #F4F4F4;
  --gray-line: #E0E0E0;
  --white:     #FFFFFF;
  --ink:       #1A1A1A;
  --ink2:      #3D3D3D;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-divider { width: 1px; height: 28px; background: var(--gray-line); }
.nav-index-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--gray); text-decoration: none; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff;
  padding: 9px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
  border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--red-dark); }

/* ── TICKER ── */
.ticker-bar {
  margin-top: 68px;
  background: var(--red);
  padding: 9px 0; overflow: hidden;
}
.ticker-inner { display: flex; gap: 0; width: max-content; animation: ticker 35s linear infinite; }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.92); white-space: nowrap;
}
.ticker-sep { color: rgba(255,255,255,0.35); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 56px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  background: var(--white);
}
.hero-bg-shape {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: var(--red-bg);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-left { position: relative; z-index: 2; }
.hero-right { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red-bg); border: 1px solid var(--red-mid);
  padding: 6px 14px; border-radius: 2px; margin-bottom: 24px;
}
.hero-eyebrow span { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(52px, 6vw, 86px); line-height: 0.92;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-title .l1 { color: var(--ink); display: block; }
.hero-title .l2 { color: var(--red); display: block; }
.hero-title .l3 { color: var(--gray-light); font-size: 0.52em; letter-spacing: 3px; display: block; font-style: italic; }
.hero-desc { font-size: 17px; font-weight: 300; color: var(--gray); line-height: 1.7; max-width: 500px; margin-bottom: 40px; }
.hero-desc strong { color: var(--ink); font-weight: 600; }
.hero-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 14px 32px; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 16px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--gray);
  padding: 13px 24px; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--gray-line); cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* HERO CARD */
.hero-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  width: 100%; max-width: 400px;
}
.hero-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.hero-card-model {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--ink);
  margin-bottom: 4px;
}
.hero-card-cat { font-size: 13px; color: var(--gray-light); margin-bottom: 24px; }
.hero-card-price-label { font-size: 12px; color: var(--gray-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.hero-card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 46px; color: var(--red); line-height: 1;
  margin-bottom: 8px;
}
.hero-card-range { font-size: 13px; color: var(--gray-light); margin-bottom: 24px; }
.hero-card-divider { height: 1px; background: var(--gray-line); margin-bottom: 20px; }
.hero-card-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.hero-card-row span:first-child { font-size: 13px; color: var(--gray-light); }
.hero-card-row span:last-child { font-size: 13px; font-weight: 600; color: var(--ink2); }
.hero-card-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  background: #EBF5EB; color: #2E7D32;
  padding: 6px 12px; border-radius: 2px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ── STATS ── */
.stats-bar {
  background: var(--ink); display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 36px 40px; border-right: 1px solid rgba(255,255,255,0.08);
  position: relative; cursor: default;
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 52px; line-height: 1; color: var(--white); margin-bottom: 4px;
}
.stat-num span { color: var(--red); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.stat-bar-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.stat-item:hover .stat-bar-line { transform: scaleX(1); }

/* ── SEARCH SECTION ── */
.search-section { padding: 80px 56px; background: var(--gray-pale); }
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.eyebrow-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.eyebrow-text { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--red); }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 42px; text-transform: uppercase;
  color: var(--ink); line-height: 1; margin-bottom: 12px;
}
.section-desc { font-size: 16px; color: var(--gray-light); font-weight: 300; line-height: 1.6; max-width: 520px; }

.search-widget {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.search-steps { display: grid; grid-template-columns: repeat(3,1fr); }
.search-step {
  padding: 28px 32px; border-right: 1px solid var(--gray-line);
}
.search-step:last-child { border-right: none; }
.step-num { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.step-label { font-size: 12px; font-weight: 600; color: var(--gray-light); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.step-select {
  width: 100%; background: var(--gray-pale); border: 1.5px solid var(--gray-line);
  color: var(--ink); padding: 10px 14px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  border-radius: 2px; appearance: none; cursor: pointer; outline: none;
  transition: border-color 0.2s;
}
.step-select:focus { border-color: var(--red); background: var(--white); }
.step-select:disabled { opacity: 0.45; cursor: not-allowed; }
.search-bottom {
  padding: 20px 32px;
  background: var(--gray-pale);
  border-top: 1px solid var(--gray-line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.search-note { font-size: 13px; color: var(--gray-light); }
.search-note strong { color: var(--red); font-weight: 700; }

/* ── RESULTS ── */
#results-area { padding: 0 56px 80px; display: none; background: var(--white); }
.results-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 40px 0 20px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 0;
}
.results-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 32px; text-transform: uppercase; color: var(--ink);
}
.results-subtitle { font-size: 13px; color: var(--gray-light); margin-top: 4px; }
.results-badge {
  background: var(--red-bg); border: 1px solid var(--red-mid); color: var(--red);
  padding: 6px 16px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead tr { background: var(--gray-pale); }
.price-table th {
  padding: 14px 24px; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-light); text-align: left; border-bottom: 1px solid var(--gray-line);
}
.price-table th:not(:first-child) { text-align: right; }
.price-table tbody tr { border-bottom: 1px solid var(--gray-line); transition: background 0.12s; cursor: pointer; }
.price-table tbody tr:hover { background: var(--red-bg); }
.price-table tbody tr.highlighted { background: var(--red-bg); border-left: 3px solid var(--red); }
.price-table td { padding: 16px 24px; font-size: 15px; }
.price-table td:not(:first-child) { text-align: right; }
.year-cell { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; color: var(--gray); }
.price-cell { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 24px; color: var(--red); }
.range-cell { font-size: 13px; color: var(--gray-light); }
.var-up { color: #2E7D32; font-weight: 700; font-size: 13px; }
.var-down { color: #C62828; font-weight: 700; font-size: 13px; }
.var-neutral { color: var(--gray-light); font-size: 13px; }

/* ── CATEGORIES ── */
.categories-section { padding: 80px 56px; background: var(--white); }
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
  margin-top: 48px;
}
.cat-card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: 4px;
  padding: 32px 28px; position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none; display: block;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.cat-card:hover { box-shadow: 0 6px 28px rgba(200,16,46,0.1); border-color: var(--red-mid); transform: translateY(-2px); }
.cat-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gray-line); transition: background 0.2s;
}
.cat-card:hover .cat-card-accent { background: var(--red); }
.cat-icon { font-size: 32px; margin-bottom: 18px; display: block; }
.cat-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 21px;
  text-transform: uppercase; color: var(--ink); margin-bottom: 4px; line-height: 1.1;
}
.cat-meta { font-size: 12px; color: var(--gray-light); margin-bottom: 18px; }
.cat-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-tag {
  font-size: 10px; font-weight: 700; color: var(--gray-light); letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px;
  border: 1px solid var(--gray-line); border-radius: 2px; background: var(--gray-pale);
  transition: all 0.2s;
}
.cat-card:hover .brand-tag { border-color: var(--red-mid); color: var(--red); background: var(--red-bg); }
.cat-arrow { position: absolute; right: 20px; bottom: 20px; font-size: 20px; color: var(--gray-line); transition: all 0.2s; }
.cat-card:hover .cat-arrow { color: var(--red); transform: translateX(3px); }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 56px; background: var(--gray-pale); }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.how-card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: 4px;
  padding: 40px 36px; position: relative; border-top: 3px solid var(--red);
}
.how-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 72px;
  line-height: 1; color: var(--red-bg); position: absolute; top: 20px; right: 24px;
  user-select: none;
}
.how-icon { font-size: 28px; margin-bottom: 20px; }
.how-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.how-desc { font-size: 15px; color: var(--gray-light); font-weight: 300; line-height: 1.7; }

/* ── TRUST ── */
.trust-section {
  padding: 80px 56px; background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.trust-left {}
.trust-logo img { height: 56px; width: auto; margin-bottom: 32px; filter: brightness(0) invert(1); }
.trust-quote {
  font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.7;
  border-left: 3px solid var(--red); padding-left: 24px; font-style: italic;
}
.trust-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.trust-point {
  background: rgba(255,255,255,0.04); padding: 24px;
  border: 1px solid rgba(255,255,255,0.08); border-top: 2px solid var(--red); border-radius: 2px;
}
.trust-point-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 6px; }
.trust-point-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ── CTA BAND ── */
.cta-band {
  padding: 72px 56px; background: var(--red);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.cta-pre { font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.cta-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 52px; text-transform: uppercase; color: #fff; line-height: 1; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--red);
  padding: 14px 32px; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: rgba(255,255,255,0.85);
  padding: 13px 24px; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; }

/* ── FOOTER ── */
footer {
  background: #111; padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  border-top: 3px solid var(--red);
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-tag { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 2px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.hero-eyebrow { animation: fadeUp 0.5s ease both 0.2s; opacity:0; }
.hero-title    { animation: fadeUp 0.7s ease both 0.35s; opacity:0; }
.hero-desc     { animation: fadeUp 0.6s ease both 0.5s; opacity:0; }
.hero-btns     { animation: fadeUp 0.5s ease both 0.65s; opacity:0; }
.hero-card     { animation: fadeUp 0.7s ease both 0.45s; opacity:0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav, .hero, .search-section, .categories-section, .how-section, .trust-section, .cta-band, footer, #results-area { padding-left: 24px; padding-right: 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero-bg-shape { display: none; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .search-steps { grid-template-columns: 1fr; }
  .search-step { border-right: none; border-bottom: 1px solid var(--gray-line); }
  .how-grid { grid-template-columns: 1fr; }
  .trust-section { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
}
