:root {
  --bg: #07111d;
  --bg-soft: #0d1727;
  --surface: rgba(10, 18, 30, 0.78);
  --surface-strong: #0f172a;
  --surface-alt: #101b2d;
  --card: rgba(14, 22, 36, 0.82);
  --card-strong: #101b2d;
  --card-soft: rgba(148, 163, 184, 0.08);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e6eefb;
  --muted: #9db0c9;
  --primary: #7dd3fc;
  --primary-alt: #60a5fa;
  --primary-deep: #1d4ed8;
  --accent: #2dd4bf;
  --violet: #8b5cf6;
  --gold: #fbbf24;
  --shadow: 0 25px 80px rgba(2, 6, 23, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.16), transparent 22%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 18%),
    linear-gradient(180deg, #050d18 0%, #0a1223 32%, #0d172a 100%);
  color: var(--text);
  overflow-x: clip;
}

main > section {
  animation: page-rise-in 520ms ease both;
}

@keyframes page-rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  main > section { animation: none; }
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-spacing {
  padding: 88px 0;
}

.section-spacing-sm {
  padding: 30px 0 0;
}

.card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(13, 20, 33, 0.9));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 15, 25, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7dd3fc, #1d4ed8 55%, #8b5cf6);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(96, 165, 250, 0.4);
}

.brand strong {
  display: block;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  color: white;
}

.brand small {
  display: block;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: rgba(125, 211, 252, 0.08);
  color: white;
}

.nav-cta,
.primary-button,
.secondary-button,
.inline-link,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #07111d;
  box-shadow: 0 18px 34px rgba(96, 165, 250, 0.34);
}

.secondary-button {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
}

.inline-link {
  padding: 0.72rem 1rem;
  background: rgba(96, 165, 250, 0.08);
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: white;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.inline-link:hover,
.filter-pill:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 82px 0 42px;
}

.hero-copy h1,
.vehicle-copy h1,
.compare-hero h1 {
  color: white;
}

.hero {
  padding: 82px 0 42px;
}

.hero-grid,
.vehicle-hero-grid,
.comparison-grid,
.two-column-layout,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-grid,
.vehicle-hero-grid,
.comparison-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.vehicle-copy h1,
.compare-hero h1 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
}

.lead {
  margin-top: 20px;
  color: #bfd1ef;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 620px;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.brand-strip span {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  background: rgba(125, 211, 252, 0.06);
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-metrics {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics li {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero-metrics strong,
.stat-box strong,
.feature-stat strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: white;
}

.hero-metrics span,
.stat-box span,
.feature-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75), rgba(13, 20, 33, 0.8));
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.hero-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.45);
}

.car-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-stat {
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.9), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.coverage-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.coverage-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.coverage-row:last-child {
  border-bottom: 0;
}

.coverage-label {
  color: var(--muted);
}

.coverage-row strong {
  color: white;
  font-variant-numeric: tabular-nums;
}

.coverage-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fbbf24;
}

.coverage-dot.verified {
  background: #5eead4;
}

.coverage-dot.partial {
  background: #7dd3fc;
}

.catalog-coverage {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 16px 18px;
  margin: 22px auto 10px;
  border-left: 3px solid var(--gold);
  background: rgba(251, 191, 36, 0.06);
  color: var(--muted);
  line-height: 1.6;
}

.catalog-coverage strong {
  flex: 0 0 auto;
  color: var(--gold);
}

.catalog-tools {
  padding-top: 12px;
}

.catalog-shell {
  padding: 24px 24px 18px;
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.94), rgba(16, 27, 45, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.1);
}

.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: white;
}

.catalog-form {
  display: grid;
  gap: 16px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  padding: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.catalog-filter-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.catalog-filter-group label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.catalog-filter-group select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.catalog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.small-button {
  padding: 0.7rem 1rem !important;
  font-size: 0.85rem;
}

.catalog-results {
  min-width: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.04);
  padding: 0 16px;
}

.search-box span {
  color: var(--primary);
  font-size: 1.25rem;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 1rem 0;
  color: var(--text);
  outline: none;
  font-size: 1rem;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--muted);
  cursor: pointer;
  min-width: 98px;
}

.filter-pill.active {
  background: linear-gradient(135deg, #7dd3fc, #1d4ed8);
  border-color: transparent;
  color: #07111d;
  box-shadow: 0 12px 24px rgba(96, 165, 250, 0.35);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: white;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.vehicle-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.9), rgba(9, 15, 25, 0.95));
  border: 1px solid rgba(125, 211, 252, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.28);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pill {
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  padding: 0.45rem 0.8rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.price {
  font-weight: 700;
  color: #dfeeff;
}

.vehicle-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: white;
}

.vehicle-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.vehicle-card .vehicle-trim {
  margin: -8px 0 10px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.vehicle-data-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.vehicle-data-meta strong {
  color: white;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.verification-badge.pending {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
}

.verification-badge.verified {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.2);
}

.availability-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 9px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 700;
}

.availability-badge.upcoming {
  border-color: rgba(251, 191, 36, 0.2);
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.mini-stats div {
  padding: 14px 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
}

.mini-stats strong {
  display: block;
  font-size: 1.06rem;
  color: white;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.text-link {
  font-weight: 700;
  color: var(--primary);
}

.empty-state {
  padding: 36px 26px;
  text-align: center;
}

.empty-state h3 {
  margin-top: 0;
}

.comparison-grid {
  align-items: stretch;
}

.comparison-grid > *,
.detail-trust-grid > *,
.recommend-grid > *,
.compare-spotlight-grid > *,
.simulation-grid > * {
  min-width: 0;
  max-width: 100%;
}

.detail-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.provenance-card,
.model-year-card {
  padding: 26px 24px;
}

.provenance-card .section-heading,
.model-year-card .section-heading {
  margin-bottom: 16px;
}

.provenance-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.source-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.source-list a {
  color: var(--primary);
  font-weight: 700;
}

.source-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.model-year-table-wrap {
  overflow-x: auto;
}

.model-year-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

.model-year-table th,
.model-year-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}

.model-year-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.model-year-table td {
  color: white;
  font-size: 0.84rem;
}

.model-year-table td a {
  color: var(--primary);
  font-weight: 700;
}

.model-year-table .current-model-year td {
  background: rgba(125, 211, 252, 0.04);
}

.stats-card,
.analytics-card,
.details-card,
.chart-card,
.comparison-table-wrap,
.scenario-card {
  padding: 30px;
}

.stats-card ul {
  padding-left: 1.2rem;
  margin: 20px 0 0;
  line-height: 2;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.stats-card h3,
.analytics-card strong,
.details-card h2,
.chart-card h2,
.scenario-card h3 {
  color: white;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.bar-chart {
  height: 230px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 24px;
  min-width: 0;
}

.stats-card,
.analytics-card {
  min-width: 0;
  width: 100%;
}

.chart-header {
  flex-wrap: wrap;
}

.chart-header strong {
  min-width: 0;
  white-space: normal;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.bar-track {
  width: 52px;
  height: 150px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 16px 16px 12px 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}

.bar-fill {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #1d4ed8, #60a5fa);
  border-radius: 16px 16px 12px 12px;
}

.insight-panel {
  padding: 30px;
  background: linear-gradient(180deg, rgba(11, 18, 30, 0.92), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 18px;
}

.insight-block {
  padding: 18px 16px;
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.09);
  border-radius: 18px;
}

.insight-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
}

.insight-label-row strong {
  color: white;
}

.insight-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.insight-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7dd3fc, #60a5fa, #8b5cf6);
}

.bar-label,
.bar-value {
  font-size: 0.8rem;
  color: var(--muted);
}

.page-shell {
  padding: 68px 0 90px;
}

.vehicle-image {
  padding: 20px;
}

.vehicle-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-pill {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-box {
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(13, 20, 33, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.15);
}

.two-column-layout {
  grid-template-columns: 1.3fr 0.7fr;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 18px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.spec-list span {
  color: var(--muted);
}

.small-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.radial-wrap {
  display: flex;
  justify-content: center;
  margin: 26px 0;
}

.radial-chart {
  --progress: 80;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#1d4ed8 calc(var(--progress) * 1%), rgba(148,163,184,0.14) 0);
  position: relative;
}

.radial-chart::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #101b2d;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.radial-inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
}

.radial-inner strong {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}

.radial-inner span {
  color: var(--muted);
  font-size: 0.8rem;
}

.score-list {
  display: grid;
  gap: 18px;
}

.score-item {
  display: grid;
  gap: 8px;
}

.score-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.score-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f172a, #1d4ed8);
}

.compare-hero {
  padding-top: 30px;
}

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

.narrow {
  width: min(780px, calc(100% - 32px));
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.comparison-table thead th {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
}

.scenario-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.scenario-panel label {
  font-weight: 700;
  color: var(--primary);
}

.scenario-panel select {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  min-width: 240px;
  font: inherit;
  background: grey;
  color: var(--text);
}

.scenario-results {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.scenario-range-box {
  background: linear-gradient(135deg, #111827, #1d4ed8);
  color: white;
  border-radius: 20px;
  padding: 22px 18px;
}

.scenario-range-box span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.scenario-range-box strong {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

.scenario-info {
  padding: 18px 0;
}

.scenario-info p {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.scenario-info small {
  color: var(--muted);
  line-height: 1.7;
}

.range-meter {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

.range-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f172a, #1d4ed8, #4f9dff);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.news-card {
  padding: 26px 22px;
}

.news-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.12);
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.news-card h3 {
  margin: 0 0 12px;
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-meta a {
  color: var(--primary);
  font-weight: 600;
}

.feature-list.news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-thumb {
  height: 180px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}

.article-item {
  display: flex;
  flex-direction: column;
}

.article-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.compare-picker {
  padding: 30px;
}

.simulation-card {
  padding: 30px;
}

.simulation-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.simulation-controls label {
  display: grid;
  gap: 12px;
  padding: 18px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.simulation-controls span {
  color: var(--muted);
  font-weight: 600;
}

.simulation-controls strong {
  color: white;
}

.simulation-controls input[type="range"] {
  accent-color: var(--primary-alt);
  width: 100%;
}

.simulation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.sim-card {
  padding: 22px;
}

.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.sim-head h3 {
  margin: 8px 0 0;
  color: white;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.sim-label {
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.sim-head strong {
  color: var(--primary);
}

.sim-axis {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.sim-axis span {
  color: var(--muted);
  font-size: 0.82rem;
}

.sim-meter {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.sim-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7dd3fc, #60a5fa, #8b5cf6);
}

.sim-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sim-meta div {
  display: grid;
  gap: 4px;
}

.sim-meta small {
  color: var(--muted);
}

.sim-meta strong {
  color: white;
  font-size: 0.9rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.article-shell {
  padding: 30px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-shell h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
}

.source-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 20px;
}

.source-line a {
  color: var(--primary);
  font-weight: 700;
}

.article-hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 26px;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body p {
  margin: 0;
  color: #dfeaf9;
  line-height: 1.9;
  font-size: 1.04rem;
}

.disclaimer-box {
  margin-top: 28px;
  padding: 22px 20px;
  background: rgba(125, 211, 252, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 18px;
}

.disclaimer-box strong {
  color: white;
  display: block;
  margin-bottom: 8px;
}

.disclaimer-box p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.disclaimer-box a {
  color: var(--primary);
  font-weight: 700;
}

.article-side {
  position: sticky;
  top: 110px;
}

.side-card {
  padding: 24px 22px;
}

.related-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.related-list a {
  display: grid;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
}

.related-list strong {
  color: white;
  line-height: 1.5;
}

.related-list small {
  color: var(--muted);
}

.compare-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.compare-spotlight {
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}

.compare-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.spotlight-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
}

.spotlight-header h3 {
  margin: 6px 0 0;
  color: white;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.spotlight-header strong {
  color: var(--primary);
  font-size: 1.08rem;
}

.compare-spotlight ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.compare-spotlight li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted);
}

.compare-spotlight li strong {
  color: white;
}

.compare-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compare-summary {
  padding: 26px 22px;
}

.compare-summary span,
.compare-summary small {
  display: block;
  color: var(--muted);
}

.compare-summary strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: white;
  letter-spacing: -0.02em;
}

.site-footer {
  background: linear-gradient(180deg, #040c16, #0f172a 35%, #0c1524 100%);
  color: rgba(255,255,255,0.8);
  padding-top: 70px;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
}

.compare-count-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 600;
}

.compare-count-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-count-btn {
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.compare-count-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
  color: #07111d;
}

.compare-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.compare-form label,
.compare-usage-field {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.compare-usage-field {
  padding: 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.54));
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.compare-usage-field input[type="range"] {
  accent-color: var(--primary-alt);
  width: 100%;
}

.compare-usage-field select,
.compare-usage-field input {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(148, 163, 184, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.compare-slot {
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.54));
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.04);
}

.compare-slot span {
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-form .hidden-slot {
  display: none;
}

.compare-form select {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(148, 163, 184, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  outline: none;
}

.compare-form .primary-button {
  min-height: 52px;
}

.quiz-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.quiz-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  letter-spacing: -0.02em;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
}

.recommend-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.quiz-form {
  gap: 20px;
}

.quiz-field {
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.54));
  color: var(--muted);
  font-weight: 600;
}

.recommend-form input,
.recommend-form select {
  width: 100%;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(148, 163, 184, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.quiz-submit {
  min-height: 58px;
  width: 100%;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.recommendation-card {
  padding: 24px 22px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.24);
  min-width: 0;
}

.recommend-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.small-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--primary);
}

.decision-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #9ae6d9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
}

.decision-highlight {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 14px;
  margin-top: 18px;
}

.decision-highlight span {
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.decision-highlight strong {
  color: white;
  line-height: 1.55;
}

.decision-title {
  margin: 16px 0 10px;
  font-weight: 700;
  color: white;
  line-height: 1.6;
}

.decision-summary {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.rationale-box {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.16);
  margin-bottom: 18px;
}

.rationale-box span,
.reason-inline span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.rationale-box strong,
.reason-inline strong {
  color: white;
  line-height: 1.65;
}

.reason-inline {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.critical-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.12);
  margin-bottom: 18px;
}

.critical-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.critical-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.critical-points li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
  color: #dfeafc;
}

.critical-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.mini-trend {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.mini-trend span {
  color: var(--muted);
  font-size: 0.78rem;
}

.trend-bar {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.trend-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mini-trend strong {
  color: white;
  font-size: 0.88rem;
}

.economy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.econ-chip {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 4px;
}

.econ-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.econ-chip strong {
  color: white;
  line-height: 1.5;
}

.recommend-reasons {
  margin: 16px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.recommend-reasons li + li {
  margin-top: 4px;
}

.recommend-reasons li,
.critical-points li {
  overflow-wrap: anywhere;
}

.recommend-score {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #07111d;
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
  box-shadow: 0 14px 28px rgba(96, 165, 250, 0.3);
}

.ownership-card {
  padding: 28px 24px;
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.ownership-box {
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(15, 23, 42, 0.7);
  display: grid;
  gap: 8px;
}

.ownership-box span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ownership-box strong {
  color: white;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.ownership-table-wrap {
  margin-top: 22px;
}

.ownership-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.ownership-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted);
}

.ownership-table tr:last-child td {
  border-bottom: none;
}

.ownership-table td:last-child {
  color: white;
  text-align: right;
  font-weight: 700;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.chart-panel {
  padding: 26px 22px;
}

.vehicle-bar-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 220px;
  margin-top: 16px;
}

.bar-item {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.bar-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.bar-stack {
  width: 72px;
  height: 150px;
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
}

.bar-stack-line,
.bar-stack-sim {
  width: 100%;
  display: block;
  border-radius: 10px 10px 0 0;
}

.bar-stack-line {
  background: linear-gradient(180deg, #60a5fa, #1d4ed8);
}

.bar-stack-sim {
  background: linear-gradient(180deg, #8b5cf6, #2dd4bf);
}

.bar-item strong {
  color: white;
  font-size: 0.82rem;
}

.condition-chart {
  width: 100%;
  height: 220px;
  margin-top: 12px;
}

.condition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legend-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.compare-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compare-summary {
  padding: 26px 22px;
}

.compare-summary span,
.compare-summary small {
  display: block;
  color: var(--muted);
}

.compare-summary strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: white;
  letter-spacing: -0.02em;
}

.site-footer {
  background: linear-gradient(180deg, #040c16, #0f172a 35%, #0c1524 100%);
  color: rgba(255,255,255,0.8);
  padding-top: 70px;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  color: white;
}

.site-footer p,
.site-footer li {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.site-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0 26px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,0.7);
}

.error-page {
  min-height: 55vh;
}

.error-card {
  padding: 42px 30px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .comparison-grid,
  .vehicle-hero-grid,
  .detail-trust-grid,
  .catalog-layout,
  .chart-grid,
  .two-column-layout,
  .footer-grid,
  .overview-grid,
  .vehicle-grid,
  .feature-strip-grid,
  .scenario-results,
  .compare-spotlight-grid,
  .simulation-grid,
  .recommend-grid,
  .article-layout,
  .feature-list.news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .comparison-grid > *,
  .detail-trust-grid > *,
  .recommend-grid > *,
  .compare-spotlight-grid > *,
  .simulation-grid > * {
    min-width: 0;
    width: 100%;
  }

  .stats-card,
  .analytics-card,
  .provenance-card,
  .model-year-card,
  .recommendation-card,
  .compare-spotlight,
  .sim-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .comparison-grid > *,
  .detail-trust-grid > *,
  .recommend-grid > *,
  .compare-spotlight-grid > *,
  .simulation-grid > *,
  .article-layout > * {
    min-width: 0;
    width: 100%;
  }

  .detail-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-card,
  .analytics-card,
  .provenance-card,
  .model-year-card,
  .recommendation-card,
  .compare-spotlight,
  .sim-card,
  .article-shell,
  .article-side {
    min-width: 0;
    max-width: 100%;
  }

  .source-list li,
  .source-list small,
  .provenance-note,
  .recommend-reasons li,
  .critical-points li {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bar-chart {
    gap: 8px;
  }

  .bar-group {
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0 18px;
    min-height: auto;
  }

  .main-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .catalog-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-coverage {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-grid,
  .compare-summary-grid,
  .compare-form {
    grid-template-columns: 1fr;
  }

  .recommend-card-header {
    flex-wrap: wrap;
  }

  .recommendation-card .card-top {
    flex-wrap: wrap;
  }

  .article-side {
    position: static;
  }
}

/* ==========================================================================
   ARABASAYFAM ULTRA-PREMIUM EXTENSIONS (COHESIVE DESIGN SYSTEM)
   ========================================================================== */

/* 1. Global Keyboard Accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 2. Text Floor Adjustment */
small,
.vehicle-trim,
.bar-meta-sub,
.provenance-note,
.article-meta span,
.news-meta span,
.sim-meta small {
  font-size: 12.5px;
}

/* 3. Header Actions & Favorites Button */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  font-size: 0.90rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.nav-fav-btn:hover {
  background: rgba(244, 63, 94, 0.24);
  color: #ffffff;
  border-color: rgba(244, 63, 94, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
}

.nav-fav-btn .fav-icon {
  color: #f43f5e;
  font-size: 1.05rem;
}

.nav-fav-badge {
  background: #f43f5e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
}

/* 4. Global Favorites Slide-over Drawer Modal */
.fav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: flex-end;
  z-index: 2000;
  animation: page-rise-in 0.25s ease;
}

.fav-drawer {
  width: min(440px, 100%);
  height: 100%;
  background: linear-gradient(180deg, #0b1526 0%, #070e1a 100%);
  border-left: 1px solid rgba(125, 211, 252, 0.25);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 0;
}

.fav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.modal-close-btn {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #ffffff;
  border-color: #f43f5e;
}

.fav-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fav-drawer-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.fav-drawer-item:hover {
  border-color: rgba(125, 211, 252, 0.4);
}

.fav-item-main strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.fav-item-main small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 6px;
}

.fav-item-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fav-price-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.fav-wltp-tag {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.fav-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-fav-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
}

.remove-fav-btn:hover {
  color: #f43f5e;
}

.empty-fav-drawer {
  padding: 48px 16px;
  text-align: center;
}

.fav-drawer-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* 5. Instant Search Floating Dropdown */
.instant-search-container {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.instant-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #091322;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  z-index: 500;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  backdrop-filter: blur(16px);
}

.instant-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.instant-search-item:last-child {
  border-bottom: none;
}

.instant-search-item:hover {
  background: rgba(125, 211, 252, 0.14);
}

.instant-item-info strong {
  font-size: 14.5px;
  color: #ffffff;
  display: block;
}

.instant-item-info small {
  font-size: 12px;
  color: var(--muted);
}

.instant-item-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instant-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.instant-wltp {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}

.instant-search-empty {
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

/* 6. Non-destructive Favorite Filter on Catalog */
.vehicle-card.fav-hidden {
  display: none !important;
}

.fav-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fav-filter-toggle:hover,
.fav-filter-toggle.active {
  background: #f43f5e;
  color: #ffffff;
  border-color: #f43f5e;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}

.fav-filter-pill {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.fav-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fav-btn:hover {
  transform: scale(1.12);
  color: #f43f5e;
}

.fav-btn.active {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.18);
}

/* 7. ÖTV Badges & Brand Fallbacks */
.otv-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.otv-badge.ten-percent {
  background: rgba(5, 150, 105, 0.22);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  background: #091322;
  margin-bottom: 14px;
}

.vehicle-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-card-thumb {
  transform: scale(1.03);
}

.brand-fallback-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #13243a 0%, #08111e 100%);
  padding: 16px;
  text-align: center;
}

.brand-fallback-card.fallback-hidden {
  display: none;
}

.brand-monogram {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.brand-fallback-card small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* 8. Official Fuel Benchmark Reference Banner */
.fuel-benchmark-card {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 1px solid rgba(125, 211, 252, 0.28);
}

.fuel-benchmark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.fuel-badge {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

.fuel-date {
  font-size: 12.5px;
  color: var(--muted);
}

.fuel-prices-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.fuel-price-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.fuel-price-item span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.fuel-price-item strong {
  font-size: 1.35rem;
  color: #ffffff;
}

.fuel-price-item small {
  font-size: 12px;
  color: var(--primary);
}

.fuel-type-toggle-buttons {
  display: flex;
  gap: 8px;
}

.fuel-toggle-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fuel-toggle-btn.active {
  background: var(--primary);
  color: #07111d;
  border-color: var(--primary);
  font-weight: 800;
}

/* 9. Interactive Route Simulator Cockpit & Scrubber */
.sim-cockpit-panel {
  padding: 28px;
  background: linear-gradient(180deg, #0d172a 0%, #070e1b 100%);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 26px;
  margin-bottom: 24px;
}

.sim-cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.sim-hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.hud-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hud-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hud-battery-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
  margin-top: 6px;
}

.hud-battery-fill {
  height: 100%;
  background: #34d399;
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s ease;
}

.sim-scrubber-wrap {
  position: relative;
  padding: 26px 10px 10px;
}

.sim-track {
  position: relative;
  width: 100%;
  height: 10px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 5px;
}

.sim-track-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 5px;
  transition: width 0.2s linear;
}

.sim-car-marker {
  position: absolute;
  top: -14px;
  font-size: 22px;
  transition: left 0.2s linear;
  user-select: none;
}

.sim-track-points {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

/* 10. Low Battery (<30%) Critical Reserve Advisory Card */
.low-battery-advisory-card {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-radius: 22px;
}

.low-battery-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.low-battery-content h4 {
  margin: 0 0 6px 0;
  color: #fbbf24;
  font-size: 1.2rem;
}

.reserve-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.reserve-benchmark-chip {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benchmark-car-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 13.5px;
}

.benchmark-range-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: #cbd5e1;
}

/* 11. Ultra-Luxury Community Comments Section */
.community-comments-panel {
  padding: 32px 28px;
}

.comments-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}

.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.comment-card {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 16, 28, 0.95) 100%);
  border: 1px solid rgba(125, 211, 252, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.comment-card:hover {
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
}

.comment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.comment-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7dd3fc, #1d4ed8);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4);
}

.comment-author-meta strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}

.comment-vehicle-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.comment-rating-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.comment-text {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.comment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 12px;
}

.comment-date {
  color: var(--muted);
}

.comment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verified-driver-pill {
  color: #34d399;
  font-weight: 700;
  font-size: 12px;
  background: rgba(52, 211, 153, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.comment-like-btn {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-like-btn:hover,
.comment-like-btn.liked {
  color: #38bdf8;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.comment-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: page-rise-in 0.2s ease;
}

.comment-modal-card {
  width: 100%;
  max-width: 540px;
  padding: 32px 28px;
  background: #0b1526;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 26px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.modal-form-group label {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 700;
}

.modal-form-group input,
.modal-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* 12. Popular Comparisons Pills */
.popular-comp-strip {
  padding: 18px 22px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 22px;
}

.popular-comp-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.popular-comp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-comp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.popular-comp-pill:hover {
  background: rgba(125, 211, 252, 0.16);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.popular-comp-pill small {
  font-size: 12px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.15);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

/* ==========================================================================
   FINAL VISUAL SYSTEM
   ========================================================================== */

:root {
  --bg: #060b14;
  --bg-soft: #0b1422;
  --surface: rgba(13, 23, 38, 0.84);
  --surface-strong: #101c2d;
  --surface-alt: #142238;
  --card: rgba(15, 27, 45, 0.88);
  --card-strong: #14243b;
  --border: rgba(148, 181, 218, 0.18);
  --text: #edf5ff;
  --muted: #9eb1c8;
  --primary: #8be4ff;
  --primary-alt: #5da8ff;
  --primary-deep: #2563eb;
  --accent: #45e0c3;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

body {
  background:
    radial-gradient(circle at 8% -4%, rgba(76, 182, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(58, 225, 190, 0.12), transparent 23rem),
    linear-gradient(180deg, #060b14 0%, #091322 42%, #0c1726 100%);
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: linear-gradient(rgba(139, 228, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 228, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  z-index: -1;
}

.container {
  width: min(1240px, calc(100% - 40px));
}

.section-spacing {
  padding: 104px 0;
}

.card {
  border-color: rgba(139, 228, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  background: rgba(6, 11, 20, 0.76);
  border-bottom-color: rgba(139, 228, 255, 0.12);
}

.nav-wrap {
  min-height: 76px;
}

.brand-mark {
  border-radius: 13px;
  background: linear-gradient(145deg, #b8f3ff 0%, #4da8ff 48%, #7048e8 100%);
  box-shadow: 0 12px 28px rgba(77, 168, 255, 0.3);
}

.main-nav a {
  color: #a9bad0;
  font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(139, 228, 255, 0.1);
  color: #f5fbff;
}

.primary-button,
.secondary-button,
.inline-link,
.nav-cta {
  min-height: 46px;
  border-radius: 14px;
}

.primary-button {
  background: linear-gradient(135deg, #a5efff 0%, #5eaaff 58%, #315be5 100%);
  box-shadow: 0 14px 28px rgba(57, 139, 255, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.inline-link:hover,
.nav-cta:hover {
  box-shadow: 0 12px 24px rgba(63, 151, 255, 0.18);
}

.secondary-button {
  background: rgba(19, 34, 55, 0.72);
}

.inline-link {
  background: rgba(93, 168, 255, 0.1);
}

.hero {
  padding: 106px 0 52px;
}

.hero-copy h1,
.vehicle-copy h1,
.compare-hero h1 {
  max-width: 760px;
  font-weight: 800;
  text-wrap: balance;
  background: linear-gradient(120deg, #ffffff 15%, #c6f5ff 54%, #8cb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #b6c8df;
  max-width: 650px;
}

.hero-badge-pill,
.car-badge {
  box-shadow: inset 0 0 18px rgba(139, 228, 255, 0.04);
}

.hero-visual {
  position: relative;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(24, 48, 77, 0.86), rgba(11, 18, 30, 0.86));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.hero-visual img {
  height: 580px;
  border-radius: 22px;
  filter: saturate(1.05) contrast(1.04);
}

.hero-metrics li,
.feature-stat,
.catalog-sidebar,
.vehicle-card,
.stats-card,
.analytics-card,
.details-card,
.chart-card,
.scenario-card,
.news-card,
.compare-picker,
.simulation-card,
.recommendation-card {
  background: linear-gradient(145deg, rgba(20, 36, 59, 0.82), rgba(10, 19, 32, 0.84));
  border-color: rgba(139, 228, 255, 0.12);
}

.hero-metrics li:hover,
.feature-stat:hover,
.vehicle-card:hover,
.news-card:hover,
.recommendation-card:hover {
  border-color: rgba(139, 228, 255, 0.34);
  transform: translateY(-4px);
}

.hero-metrics li,
.feature-stat,
.vehicle-card,
.news-card,
.recommendation-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-shell {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(13, 27, 46, 0.96), rgba(9, 17, 29, 0.94));
}

.catalog-head {
  margin-bottom: 24px;
}

.catalog-head h2,
.section-heading h2 {
  font-weight: 800;
  text-wrap: balance;
}

.search-box,
.catalog-filter-group select,
.compare-form select,
.recommend-form select,
.recommend-form input,
.compare-usage-field select,
.compare-usage-field input {
  border-color: rgba(139, 228, 255, 0.18);
  background: rgba(4, 12, 23, 0.5);
}

.search-box:focus-within,
.catalog-filter-group select:focus,
.compare-form select:focus,
.recommend-form select:focus,
.recommend-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 228, 255, 0.1);
  outline: none;
}

.filter-pill {
  min-height: 42px;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
}

.filter-pill.active {
  background: linear-gradient(135deg, #a5efff, #4d9bff 62%, #315be5);
}

.card-thumb-wrap {
  height: 210px;
  border-radius: 20px;
  background: linear-gradient(145deg, #152b47, #07111f);
}

.vehicle-card h3 {
  font-size: 1.75rem;
}

.mini-stats div,
.insight-block,
.simulation-controls label,
.quiz-field,
.compare-slot {
  background: rgba(4, 13, 25, 0.42);
  border-color: rgba(139, 228, 255, 0.12);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-heading.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-wrap,
.model-year-table-wrap {
  border: 1px solid rgba(139, 228, 255, 0.12);
  border-radius: 20px;
}

.comparison-table th,
.comparison-table td,
.model-year-table th,
.model-year-table td {
  border-bottom-color: rgba(139, 228, 255, 0.1);
}

.comparison-table tbody tr:hover td,
.model-year-table tbody tr:hover td {
  background: rgba(139, 228, 255, 0.045);
}

.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, #050b14, #0b1626);
  border-top-color: rgba(139, 228, 255, 0.16);
}

.site-footer a:hover {
  color: var(--primary);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding: 9px 10px;
  }

  .hero {
    padding-top: 76px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .section-spacing {
    padding: 72px 0;
  }

  .hero {
    padding: 64px 0 34px;
  }

  .hero-visual img {
    height: min(480px, 72vw);
  }

  .catalog-shell {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .catalog-head-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 480px);
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .header-right-actions {
    margin-left: auto;
  }

  .fav-label {
    display: none;
  }

  .nav-fav-btn {
    padding: 10px 12px;
  }

  .hero-copy h1,
  .vehicle-copy h1,
  .compare-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-actions > * {
    width: 100%;
  }

  .hero-visual {
    padding: 10px;
  }

  .hero-visual img {
    height: 360px;
  }

  .catalog-head-actions .inline-link,
  .catalog-head-actions .fav-filter-toggle {
    width: 100%;
  }

  .mini-stats,
  .sim-meta {
    gap: 8px;
  }

  .vehicle-card,
  .stats-card,
  .analytics-card,
  .details-card,
  .chart-card,
  .simulation-card,
  .recommendation-card {
    padding: 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }
}

/* ==========================================================================
   REFINED RESPONSIVE PASS
   ========================================================================== */

::selection {
  color: #03111d;
  background: var(--primary);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #070e19;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #070e19;
  border-radius: 999px;
  background: linear-gradient(180deg, #3276bd, #1d385c);
}

.site-header {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

.nav-wrap {
  gap: 12px;
  min-height: 72px;
}

.brand {
  flex: 0 0 auto;
  min-width: 178px;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav a {
  padding: 8px 9px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.header-right-actions {
  gap: 8px;
}

.nav-fav-btn {
  padding: 9px 13px;
  font-size: 0.78rem;
}

.nav-cta {
  min-height: 42px;
  padding: 0.72rem 1rem;
  font-size: 0.8rem;
}

.hero,
.page-shell {
  isolation: isolate;
}

.hero::before,
.page-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 42rem;
  height: 26rem;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(62, 160, 235, 0.08), transparent 68%);
}

.hero,
.page-shell {
  position: relative;
}

.eyebrow {
  color: var(--primary);
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:active,
.primary-button:active,
.secondary-button:active,
.inline-link:active {
  transform: translateY(1px);
}

.primary-button,
.secondary-button,
.inline-link,
.nav-cta,
.filter-pill,
.fav-filter-toggle,
.compare-count-btn,
.fuel-toggle-btn {
  cursor: pointer;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.inline-link:focus-visible,
.nav-cta:focus-visible,
.filter-pill:focus-visible,
.fav-filter-toggle:focus-visible,
.compare-count-btn:focus-visible,
.fuel-toggle-btn:focus-visible {
  outline: 3px solid rgba(139, 228, 255, 0.34);
  outline-offset: 3px;
}

.section-spacing-sm {
  padding-top: 40px;
}

.page-shell {
  padding-top: 54px;
}

.page-shell > .compare-hero,
.page-shell > .vehicle-hero {
  padding-top: 22px;
}

.compare-hero h1,
.vehicle-copy h1 {
  line-height: 0.98;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.card,
.catalog-shell,
.hero-visual,
.sim-cockpit-panel {
  overflow: clip;
}

.feature-stat,
.stat-box,
.route-stat-box,
.summary-stat,
.highlight-stat {
  position: relative;
}

.feature-stat::before,
.stat-box::before,
.route-stat-box::before,
.summary-stat::before,
.highlight-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(139, 228, 255, 0.7), transparent);
  opacity: 0.55;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
}

.catalog-results {
  min-width: 0;
}

.catalog-results .vehicle-grid {
  align-items: stretch;
}

.vehicle-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.vehicle-card .card-actions-row,
.vehicle-card > .text-link {
  margin-top: auto;
}

.vehicle-card p {
  max-width: 56ch;
}

.comparison-table,
.model-year-table {
  font-variant-numeric: tabular-nums;
}

.comparison-table thead th,
.model-year-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #12243a;
}

.comparison-table tbody tr:nth-child(even) td,
.model-year-table tbody tr:nth-child(even) td {
  background: rgba(139, 228, 255, 0.018);
}

.search-box {
  min-height: 54px;
}

.search-box input::placeholder,
textarea::placeholder {
  color: #6f849d;
}

.instant-search-dropdown {
  border-color: rgba(139, 228, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
}

.calc-control-group,
.quiz-field,
.simulation-controls label {
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.calc-control-group:focus-within,
.quiz-field:focus-within,
.simulation-controls label:focus-within {
  border-color: rgba(139, 228, 255, 0.36);
  background: rgba(11, 34, 56, 0.56);
}

.hud-item {
  min-width: 0;
}

.hud-value,
.hud-item small {
  overflow-wrap: anywhere;
}

.sim-track-points {
  gap: 12px;
}

.sim-track-points span {
  text-align: center;
}

.low-battery-advisory-card {
  box-shadow: 0 20px 50px rgba(107, 54, 18, 0.14);
}

.article-shell,
.article-side .side-card {
  border-radius: 24px;
}

.article-body-label {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.comment-card,
.fav-drawer-item,
.popular-comp-strip {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.comment-card:hover,
.fav-drawer-item:hover {
  transform: translateY(-3px);
}

.comment-card,
.fav-drawer-item {
  transition: transform 180ms ease, border-color 180ms ease;
}

@media (max-width: 1240px) and (min-width: 901px) {
  .brand {
    min-width: 160px;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .main-nav a {
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .nav-fav-btn {
    padding-inline: 9px;
  }

  .fav-label {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    min-height: auto;
    padding: 13px 0 15px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px 0 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .catalog-sidebar {
    position: static;
  }

  .page-shell {
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding-top: 20px;
  }

  .section-spacing {
    padding: 64px 0;
  }

  .section-spacing-sm {
    padding-top: 26px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .nav-fav-btn {
    min-width: 42px;
    padding-inline: 10px;
  }

  .main-nav {
    margin-inline: -6px;
    padding-inline: 6px;
  }

  .vehicle-image,
  .vehicle-image img,
  .vehicle-image .hero-fallback {
    min-height: 290px;
  }

  .comparison-table-wrap,
  .model-year-table-wrap {
    margin-inline: -4px;
  }

  .comparison-table th,
  .comparison-table td,
  .model-year-table th,
  .model-year-table td {
    padding: 13px 12px;
  }

  .sim-track-points {
    display: none;
  }

  .low-battery-advisory-card {
    flex-direction: column;
  }
}

/* ==========================================================================
   ULTRA PREMIUM ART DIRECTION
   ========================================================================== */

:root {
  --ink: #050912;
  --ink-soft: #091321;
  --panel: rgba(15, 27, 45, 0.9);
  --panel-raised: rgba(19, 37, 61, 0.86);
  --line: rgba(163, 205, 244, 0.16);
  --line-bright: rgba(139, 228, 255, 0.35);
  --cyan: #a4efff;
  --blue: #579eff;
  --mint: #65e8c9;
  --pink: #ff6f9a;
}

body {
  min-width: 0;
  background:
    radial-gradient(800px 500px at 15% -5%, rgba(52, 126, 223, 0.2), transparent 70%),
    radial-gradient(700px 500px at 92% 18%, rgba(36, 185, 164, 0.11), transparent 68%),
    linear-gradient(180deg, var(--ink) 0%, #081220 38%, #0b1727 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 35vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  background: linear-gradient(180deg, transparent, rgba(28, 93, 150, 0.07));
}

.site-header {
  background: rgba(5, 9, 18, 0.86);
  border-bottom: 1px solid rgba(164, 239, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.nav-wrap {
  min-height: 78px;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d6faff 0%, #64b8ff 43%, #6948ea 100%);
  box-shadow: 0 10px 32px rgba(70, 155, 255, 0.3);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 45%;
  top: -18%;
  left: -20%;
  transform: rotate(-24deg);
  background: rgba(255, 255, 255, 0.28);
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -0.045em;
}

.brand small {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.main-nav a {
  color: #b6c6d9;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(164, 239, 255, 0.09);
}

.nav-fav-btn {
  background: rgba(255, 76, 125, 0.09);
  border-color: rgba(255, 111, 154, 0.28);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(93, 168, 255, 0.22), rgba(37, 99, 235, 0.12));
  border-color: rgba(139, 228, 255, 0.25);
}

.hero,
.page-shell {
  padding-top: 88px;
}

.hero {
  padding-bottom: 72px;
}

.vehicle-copy h1,
.compare-hero h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  text-shadow: 0 18px 50px rgba(39, 130, 255, 0.12);
}

.compare-hero h1 {
  max-width: 920px;
  margin-inline: auto;
}

.hero-copy .lead,
.compare-hero .lead {
  color: #b5c7dc;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-badge-pill,
.car-badge,
.quiz-badge {
  border-color: rgba(164, 239, 255, 0.25);
  background: rgba(93, 168, 255, 0.1);
  color: var(--cyan);
}

.hero-actions {
  gap: 12px;
}

.primary-button,
.secondary-button,
.inline-link,
.nav-cta {
  min-height: 50px;
  padding-inline: 1.2rem;
  border-radius: 13px;
}

.primary-button {
  background: linear-gradient(115deg, var(--cyan) 0%, #5ab2ff 53%, #3459df 100%);
  box-shadow: 0 16px 34px rgba(41, 118, 236, 0.28);
}

.primary-button:hover {
  box-shadow: 0 20px 42px rgba(41, 118, 236, 0.4);
}

.secondary-button {
  border-color: rgba(164, 239, 255, 0.2);
  background: rgba(15, 31, 51, 0.7);
}

.hero-visual {
  padding: 12px;
  border: 1px solid rgba(164, 239, 255, 0.22);
  background: linear-gradient(145deg, rgba(20, 52, 82, 0.84), rgba(7, 14, 25, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 80px rgba(39, 139, 244, 0.08);
}

.hero-visual img {
  height: 620px;
  border-radius: 20px;
}

.hero-metrics li,
.feature-stat,
.stat-box,
.vehicle-card,
.news-card,
.recommendation-card,
.compare-spotlight,
.compare-summary,
.sim-card {
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(21, 40, 65, 0.9), rgba(8, 17, 29, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.feature-stat,
.stat-box {
  padding: 24px;
}

.feature-stat strong,
.stat-box strong {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.catalog-shell,
.compare-picker,
.calculator-panel,
.route-planner-card,
.sim-cockpit-panel,
.article-shell,
.community-comments-panel {
  border: 1px solid rgba(164, 239, 255, 0.16);
  background: linear-gradient(145deg, rgba(15, 32, 54, 0.96), rgba(7, 15, 27, 0.95));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.23);
}

.catalog-shell {
  padding: 34px;
}

.section-heading h2,
.catalog-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.065em;
}

.section-heading::after {
  width: 64px;
  height: 4px;
  box-shadow: 0 0 16px rgba(101, 232, 201, 0.3);
}

.search-box {
  min-height: 58px;
  border-radius: 16px;
  background: rgba(3, 10, 19, 0.62);
}

.filter-pill {
  min-height: 44px;
  border-color: rgba(164, 239, 255, 0.16);
  background: rgba(15, 34, 56, 0.72);
}

.filter-pill.active {
  color: #04111d;
  box-shadow: 0 10px 24px rgba(62, 151, 255, 0.26);
}

.card-thumb-wrap {
  height: 220px;
  border: 1px solid rgba(164, 239, 255, 0.1);
  background: radial-gradient(circle at 50% 20%, #1d3b5f, #07111e 72%);
}

.vehicle-card {
  padding: 22px;
  border-radius: 22px;
}

.vehicle-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.mini-stats div,
.calc-control-group,
.quiz-field,
.simulation-controls label,
.hud-item,
.sim-slider-box {
  border-color: rgba(164, 239, 255, 0.13);
  background: rgba(3, 12, 23, 0.5);
}

.high-contrast-select,
.calc-control-group select,
.compare-form select,
.recommend-form select,
.recommend-form input {
  min-height: 50px;
  border-color: rgba(164, 239, 255, 0.18);
  border-radius: 13px;
  background: #0a192b;
}

.high-contrast-select:focus,
.calc-control-group select:focus,
.compare-form select:focus,
.recommend-form select:focus,
.recommend-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(164, 239, 255, 0.09);
}

.calc-highlight-banner {
  border: 1px solid rgba(101, 232, 201, 0.22);
  background:
    radial-gradient(circle at 0% 50%, rgba(101, 232, 201, 0.16), transparent 38%),
    linear-gradient(120deg, rgba(11, 51, 62, 0.94), rgba(22, 38, 89, 0.9));
}

.savings-amount {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(164, 239, 255, 0.2);
}

.fuel-benchmark-card,
.low-battery-advisory-card {
  border-color: rgba(101, 232, 201, 0.2);
}

.route-stat-box strong,
.hud-value,
.summary-stat strong,
.highlight-stat strong {
  color: #f7fbff;
}

.comparison-table-wrap,
.model-year-table-wrap {
  background: rgba(5, 13, 24, 0.55);
}

.comparison-table thead th,
.model-year-table th {
  background: #12253d;
}

.comparison-table tbody tr:hover td,
.model-year-table tbody tr:hover td {
  background: rgba(164, 239, 255, 0.07);
}

.site-footer {
  padding-top: 92px;
  background:
    radial-gradient(circle at 15% 0%, rgba(59, 142, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #040811, #091322);
}

@media (max-width: 900px) {
  .hero,
  .page-shell {
    padding-top: 58px;
  }

  .hero {
    padding-bottom: 40px;
  }

  .vehicle-copy h1,
  .compare-hero h1 {
    font-size: clamp(2.7rem, 10vw, 4.5rem);
  }

  .hero-visual img {
    height: min(520px, 85vw);
  }

  .catalog-shell {
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .hero,
  .page-shell {
    padding-top: 38px;
  }

  .vehicle-copy h1,
  .compare-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
    line-height: 0.94;
  }

  .hero-copy .lead,
  .compare-hero .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions > *,
  .vehicle-hero-actions > * {
    width: 100%;
  }

  .hero-visual img {
    height: 360px;
  }

  .catalog-shell {
    padding: 20px 14px;
  }

  .site-footer {
    padding-top: 64px;
  }
}

/* ==========================================================================
   SIGNATURE LUXURY LAYER
   ========================================================================== */

:root {
  --luxury-white: #f7fbff;
  --luxury-muted: #a7bad1;
  --luxury-glass: rgba(18, 35, 57, 0.62);
  --luxury-stroke: rgba(181, 226, 255, 0.2);
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(164, 239, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 239, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 34%);
  z-index: -1;
}

.hero::after,
.compare-hero::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(74vw, 920px);
  height: 360px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(101, 232, 201, 0.07), transparent 68%);
  filter: blur(18px);
  z-index: -1;
}

.card,
.catalog-shell,
.hero-visual,
.sim-cockpit-panel,
.article-shell {
  position: relative;
}

.card::before,
.catalog-shell::before,
.hero-visual::before,
.sim-cockpit-panel::before,
.article-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.card::after,
.catalog-shell::after,
.hero-visual::after,
.sim-cockpit-panel::after,
.article-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 28%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transition: left 700ms ease, opacity 300ms ease;
}

.card:hover::after,
.catalog-shell:hover::after,
.hero-visual:hover::after,
.sim-cockpit-panel:hover::after,
.article-shell:hover::after {
  left: 120%;
  opacity: 1;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.hero-metrics strong,
.feature-stat strong,
.stat-box strong,
.savings-amount,
.route-stat-box strong,
.hud-value,
.price,
.hero-price-tag {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.hero-metrics li,
.feature-stat,
.stat-box,
.route-stat-box,
.summary-stat,
.highlight-stat,
.multi-year-chip {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-metrics li:hover,
.feature-stat:hover,
.stat-box:hover,
.route-stat-box:hover,
.summary-stat:hover,
.highlight-stat:hover {
  border-color: var(--luxury-stroke);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28), 0 0 24px rgba(87, 158, 255, 0.06);
}

.primary-button,
.nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.primary-button::before,
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.32), transparent 32%);
  opacity: 0.65;
  z-index: -1;
}

.primary-button:hover,
.nav-cta:hover {
  filter: brightness(1.08) saturate(1.08);
}

.nav-fav-btn {
  box-shadow: inset 0 0 18px rgba(255, 111, 154, 0.04);
}

.feature-strip {
  position: relative;
}

.feature-strip-grid {
  gap: 14px;
}

.catalog-head,
.quiz-header,
.sim-cockpit-header,
.fuel-benchmark-header {
  border-bottom: 1px solid rgba(164, 239, 255, 0.09);
  padding-bottom: 20px;
}

.catalog-head-actions {
  align-items: center;
}

.instant-search-container {
  margin: 24px 0;
}

.vehicle-card .card-top {
  min-height: 34px;
}

.vehicle-card .text-link,
.news-meta a,
.related-list a {
  transition: color 180ms ease, transform 180ms ease;
}

.vehicle-card .text-link:hover,
.news-meta a:hover {
  color: var(--luxury-white);
  transform: translateX(3px);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 23ch;
}

.text-center .section-heading h2,
.compare-hero h1 {
  max-width: none;
}

.table-price,
.spotlight-price,
.hero-price-tag {
  color: var(--mint);
}

.verification-badge.verified,
.otv-badge.ten-percent {
  box-shadow: 0 0 18px rgba(69, 224, 195, 0.08);
}

.chart-card,
.analytics-card,
.stats-card,
.details-card,
.scenario-card {
  border-color: var(--luxury-stroke);
}

.bar-fill,
.insight-bar span,
.score-bar span,
.range-meter span,
.sim-meter span {
  box-shadow: 0 0 16px rgba(87, 158, 255, 0.26);
}

.site-footer h3 {
  letter-spacing: -0.02em;
}

.site-footer h4 {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-bottom {
  border-top-color: rgba(164, 239, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge-pill .badge-pulse {
    animation: luxury-pulse 2.4s ease-in-out infinite;
  }

  .hero-visual,
  .calc-highlight-banner,
  .sim-cockpit-panel {
    animation: luxury-float 8s ease-in-out infinite;
  }
}

@keyframes luxury-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(101, 232, 201, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(101, 232, 201, 0); }
}

@keyframes luxury-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 600px) {
  .card::after,
  .catalog-shell::after,
  .hero-visual::after,
  .sim-cockpit-panel::after,
  .article-shell::after {
    display: none;
  }

  .catalog-head,
  .quiz-header,
  .sim-cockpit-header,
  .fuel-benchmark-header {
    padding-bottom: 16px;
  }
}

/* ==========================================================================
   COMPARISON + VEHICLE FINDER RESTORATION
   ========================================================================== */

.decision-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(32px, 7vw, 110px);
  max-width: 1240px;
  padding-top: 24px;
  padding-bottom: 26px;
}

.decision-hero-copy {
  min-width: 0;
}

.decision-hero-copy h1 {
  max-width: 900px;
  margin: 10px 0 24px;
}

.decision-hero-copy .lead {
  max-width: 720px;
  margin: 0;
}

.decision-hero-panel {
  position: relative;
  min-height: 235px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(164, 239, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 232, 201, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(26, 54, 84, 0.9), rgba(7, 16, 29, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.decision-hero-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  border: 1px solid rgba(164, 239, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(164, 239, 255, 0.03), 0 0 0 42px rgba(164, 239, 255, 0.025);
}

.decision-panel-label {
  display: block;
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.decision-hero-panel > strong {
  display: block;
  color: var(--luxury-white);
  font-size: 1.35rem;
  letter-spacing: -0.045em;
}

.decision-hero-panel > p {
  max-width: 28ch;
  margin: 8px 0 22px;
  color: var(--luxury-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.decision-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}

.decision-hero-stats div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(164, 239, 255, 0.18);
}

.decision-hero-stats strong {
  color: var(--cyan);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.decision-hero-stats span {
  color: #8299b2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-picker {
  padding: 34px;
}

.picker-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.picker-header-row h2,
.quiz-header h2 {
  margin: 8px 0 0;
  max-width: 30ch;
}

.share-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(164, 239, 255, 0.2);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(93, 168, 255, 0.08);
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(93, 168, 255, 0.16);
}

.compare-count-picker {
  margin: 28px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(164, 239, 255, 0.11);
  border-radius: 15px;
  background: rgba(3, 12, 23, 0.36);
}

.compare-count-picker > span {
  color: var(--luxury-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-count-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border-color: rgba(164, 239, 255, 0.15);
  background: rgba(15, 34, 56, 0.7);
}

.compare-count-btn.active {
  color: #04111d;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 22px rgba(87, 158, 255, 0.2);
}

.compare-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-slot {
  position: relative;
  padding: 18px;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(26, 48, 77, 0.7), rgba(4, 14, 26, 0.65));
}

.compare-slot::before {
  content: "01";
  position: absolute;
  top: 14px;
  right: 15px;
  color: rgba(164, 239, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.compare-slot:nth-child(2)::before { content: "02"; }
.compare-slot:nth-child(3)::before { content: "03"; }
.compare-slot:nth-child(4)::before { content: "04"; }

.compare-slot.active-slot {
  border-color: rgba(164, 239, 255, 0.25);
}

.compare-slot span,
.compare-usage-field > span {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-usage-field {
  min-width: 0;
  padding: 17px;
  border-radius: 17px;
}

.compare-form > .primary-button {
  grid-column: 1 / -1;
  width: 100%;
}

.compare-spotlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}

.compare-spotlight {
  min-width: 0;
  padding: 22px;
  border-radius: 21px;
}

.compare-spotlight:first-child {
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 232, 201, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(24, 58, 76, 0.92), rgba(8, 18, 30, 0.94));
}

.spotlight-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 3px 12px;
  margin-top: 0;
}

.spotlight-brand {
  grid-column: 1 / -1;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.spotlight-header h3 {
  margin: 3px 0 0;
  font-size: 1.35rem;
}

.spotlight-header small {
  color: var(--luxury-muted);
  text-align: right;
}

.spotlight-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  font-size: 1.05rem;
}

.spotlight-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.spotlight-metrics > div {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 13px;
}

.spotlight-metrics strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.charging-curve-panel,
.simulation-control-panel,
.chart-panel {
  padding: 30px;
  border-radius: 24px;
}

.charging-curve-panel,
.chart-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 158, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(18, 41, 68, 0.94), rgba(6, 14, 25, 0.95));
}

.charging-card {
  border-color: rgba(164, 239, 255, 0.15) !important;
  background: rgba(4, 14, 26, 0.42) !important;
  border-radius: 18px !important;
}

.charging-card-head strong,
.charging-big-metric strong {
  color: var(--luxury-white);
}

.curve-legend-note,
.charging-mini-timeline,
.charging-timeline-labels {
  color: var(--luxury-muted);
}

.charging-curve-grid,
.charging-curve-overview-grid {
  gap: 16px;
}

.simulation-control-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 158, 255, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(17, 39, 67, 0.94), rgba(6, 14, 25, 0.94));
}

.sim-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sim-slider-box {
  padding: 17px;
  border: 1px solid rgba(164, 239, 255, 0.13);
  border-radius: 16px;
}

.sim-slider-box input[type="range"] {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--blue);
}

.slider-label-row {
  align-items: baseline;
}

.chart-panel {
  background: linear-gradient(145deg, rgba(18, 38, 63, 0.86), rgba(7, 16, 29, 0.9));
}

.bar-chart,
.condition-chart {
  filter: drop-shadow(0 10px 20px rgba(52, 141, 255, 0.1));
}

.bar-chart {
  min-height: 300px;
  padding: 26px 20px 18px;
  border: 1px solid rgba(164, 239, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(rgba(164, 239, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 239, 255, 0.04) 1px, transparent 1px),
    rgba(2, 10, 20, 0.34);
  background-size: 100% 25%, 25% 100%, auto;
}

.bar-title,
.bar-meta-value {
  color: var(--luxury-white);
}

.bar-meta-sub {
  color: #7890aa;
}

.comparison-table-wrap {
  border-radius: 20px;
}

.comparison-table {
  min-width: 760px;
}

.comparison-table tbody td:first-child {
  color: var(--luxury-white);
}

.comparison-table tbody td:not(:first-child) {
  color: #c5d5e8;
}

.quiz-header {
  align-items: center;
}

.quiz-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.quiz-badge {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 11px;
}

.quiz-form {
  gap: 13px;
}

.quiz-field {
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 46, 74, 0.65), rgba(4, 14, 26, 0.58));
}

.quiz-field > span {
  color: var(--luxury-white);
  font-size: 0.82rem;
}

.quiz-field small {
  color: #8299b2 !important;
}

.quiz-field strong {
  color: var(--cyan);
  font-size: 0.82rem;
}

.quiz-submit {
  min-height: 58px;
  border-radius: 15px;
  letter-spacing: 0.01em;
}

.recommend-grid {
  gap: 16px;
}

.recommendation-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  border-radius: 22px;
}

.recommendation-card:first-child {
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 232, 201, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(22, 56, 70, 0.94), rgba(7, 17, 28, 0.95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 36px rgba(101, 232, 201, 0.06);
}

.recommendation-card:not(:first-child) {
  opacity: 0.96;
}

.recommend-card-header h3 {
  margin: 8px 0 0;
  color: var(--luxury-white);
  font-size: 1.35rem;
  letter-spacing: -0.045em;
}

.recommend-rank {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recommend-price-box {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--mint);
  text-align: right;
}

.recommend-price-box strong {
  white-space: nowrap;
}

.recommend-score-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(164, 239, 255, 0.12);
  border-radius: 13px;
  background: rgba(3, 12, 23, 0.38);
}

.recommend-score-strip span {
  color: var(--luxury-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.recommend-score-strip strong {
  font-size: 0.86rem;
}

.decision-rationale-box {
  padding: 15px 16px;
  border: 1px solid rgba(101, 232, 201, 0.18);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(42, 121, 112, 0.14), rgba(3, 12, 23, 0.3));
}

.decision-rationale-box strong {
  color: var(--mint);
  font-size: 0.79rem;
}

.decision-rationale-box p {
  margin: 8px 0 0;
  color: #b6c8db;
  font-size: 0.84rem;
  line-height: 1.65;
}

.economy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.econ-chip {
  padding: 11px 10px;
  border-color: rgba(164, 239, 255, 0.11);
  background: rgba(3, 12, 23, 0.42);
}

.econ-chip span {
  font-size: 0.78rem;
  line-height: 1.35;
}

.econ-chip strong {
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.recommendation-card .mini-stats {
  margin-top: auto;
  padding-top: 16px;
}

.recommendation-card .hero-actions {
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .decision-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .decision-hero-panel {
    max-width: 520px;
  }

  .compare-form,
  .sim-controls-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 600px) {
  .decision-hero {
    gap: 22px;
  }

  .decision-hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .decision-hero-panel {
    min-height: 0;
    padding: 20px;
  }

  .decision-panel-label {
    margin-bottom: 16px;
  }

  .compare-picker,
  .charging-curve-panel,
  .simulation-control-panel,
  .chart-panel {
    padding: 20px 16px;
  }

  .picker-header-row,
  .quiz-header {
    align-items: stretch;
    flex-direction: column;
  }

  .share-btn,
  .quiz-badge {
    width: 100%;
  }

  .compare-form,
  .sim-controls-grid,
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .compare-form > .primary-button {
    grid-column: auto;
  }

  .recommendation-card .hero-actions {
    flex-wrap: wrap;
  }

  .recommendation-card .hero-actions > * {
    width: 100%;
  }

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

  .comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   PAGE-SPECIFIC PRODUCT UI
   ========================================================================== */

.vehicle-hero {
  padding: 70px 0 30px;
}

.vehicle-copy {
  min-width: 0;
}

.vehicle-hero-actions,
.card-actions-row,
.sim-cockpit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-price-tag,
.spotlight-price,
.table-price {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-price-tag {
  padding: 10px 14px;
  border: 1px solid rgba(69, 224, 195, 0.25);
  border-radius: 12px;
  background: rgba(69, 224, 195, 0.08);
}

.feature-pills {
  gap: 8px;
}

.feature-pill {
  border: 1px solid rgba(139, 228, 255, 0.14);
  background: rgba(14, 31, 51, 0.72);
}

.otv-feature-pill {
  color: #7ff2d7;
  border-color: rgba(69, 224, 195, 0.3);
  background: rgba(69, 224, 195, 0.1);
}

.vehicle-image {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 46, 75, 0.78), rgba(7, 15, 26, 0.9));
}

.vehicle-image img,
.vehicle-image .hero-fallback {
  width: 100%;
  min-height: 390px;
  border-radius: 20px;
  object-fit: cover;
}

.provenance-status-row,
.provenance-status-row,
.summary-metric-row,
.spotlight-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.provenance-status-row {
  margin-bottom: 14px;
}

.summary-metric-row,
.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.summary-stat,
.highlight-stat,
.spotlight-metrics > div {
  padding: 13px 14px;
  border: 1px solid rgba(139, 228, 255, 0.1);
  border-radius: 14px;
  background: rgba(3, 12, 23, 0.38);
}

.summary-stat span,
.highlight-stat span,
.spotlight-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-stat strong,
.highlight-stat strong,
.spotlight-metrics strong {
  display: block;
  margin-top: 5px;
  color: white;
  font-size: 1.05rem;
}

.compare-hero {
  padding-top: 58px;
}

.comparison-hero {
  padding-bottom: 24px;
}

.compare-hero h1 {
  margin-top: 8px;
}

.compare-picker,
.calculator-panel,
.route-planner-card,
.simulation-control-panel {
  border-radius: 24px;
}

.high-contrast-select,
.calc-control-group select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(139, 228, 255, 0.18);
  border-radius: 13px;
  background: #0c1a2c;
  color: var(--text);
  color-scheme: dark;
}

.high-contrast-select option,
.calc-control-group select option {
  background: #0c1a2c;
  color: #edf5ff;
}

.calc-grid,
.route-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calc-control-group {
  display: grid;
  gap: 9px;
  padding: 17px;
  border: 1px solid rgba(139, 228, 255, 0.12);
  border-radius: 17px;
  background: rgba(3, 12, 23, 0.34);
}

.calc-control-group > label,
.calc-control-group label {
  color: #c9d8e9;
  font-size: 0.83rem;
  font-weight: 700;
}

.calc-control-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary-alt);
}

.slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider-label-row strong {
  color: var(--primary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.calc-sub-note,
.savings-narrative,
.timeline-desc,
.timeline-expert-tip {
  color: var(--muted);
  line-height: 1.65;
}

.calc-highlight-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(24, 70, 91, 0.65), rgba(33, 37, 89, 0.7));
}

.calc-savings-box {
  padding: 22px;
  border: 1px solid rgba(139, 228, 255, 0.2);
  border-radius: 19px;
  background: rgba(3, 12, 23, 0.38);
}

.savings-eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.savings-amount {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.07em;
}

.savings-multi-year-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.multi-year-chip,
.savings-stat {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(139, 228, 255, 0.14);
  border-radius: 16px;
  background: rgba(3, 12, 23, 0.36);
}

.multi-year-chip span,
.savings-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.multi-year-chip strong,
.savings-stat strong {
  color: white;
  font-size: 1.15rem;
}

.fuel-price-item {
  cursor: pointer;
}

.fuel-price-item.active-fuel,
.fuel-price-item:hover {
  border-color: rgba(139, 228, 255, 0.5);
  background: rgba(38, 79, 111, 0.55);
  transform: translateY(-2px);
}

.fuel-price-item {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.route-stat-box {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(139, 228, 255, 0.13);
  border-radius: 16px;
  background: rgba(4, 13, 25, 0.42);
}

.route-stat-box span {
  color: var(--muted);
  font-size: 0.78rem;
}

.route-stat-box strong {
  color: white;
  font-size: 1.18rem;
}

.sim-cockpit-panel {
  border-radius: 28px;
}

.hud-value {
  color: #f5fbff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.hud-item small {
  color: var(--muted);
}

.timeline-head,
.timeline-content,
.timeline-operator-list {
  min-width: 0;
}

.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-step {
  padding: 18px;
  border: 1px solid rgba(139, 228, 255, 0.12);
  border-radius: 17px;
  background: rgba(4, 13, 25, 0.4);
}

.timeline-step + .timeline-step {
  margin-top: 12px;
}

.operator-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(93, 168, 255, 0.1);
  border: 1px solid rgba(93, 168, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-top-bar,
.login-card,
.admin-row {
  border: 1px solid rgba(139, 228, 255, 0.14);
  background: linear-gradient(145deg, rgba(20, 36, 59, 0.82), rgba(10, 19, 32, 0.84));
}

.login-card {
  max-width: 540px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
}

.login-badge-lock {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(69, 224, 195, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-row {
  padding: 13px 14px;
  border-radius: 13px;
}

.admin-alert-success {
  padding: 13px 16px;
  border: 1px solid rgba(69, 224, 195, 0.26);
  border-radius: 13px;
  color: #8af2da;
  background: rgba(69, 224, 195, 0.09);
}

.pagination-nav,
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-btn,
.page-num {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(139, 228, 255, 0.14);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(13, 28, 47, 0.72);
}

.page-num.active,
.page-btn:hover {
  color: #07111d;
  background: var(--primary);
  border-color: var(--primary);
}

.results-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(139, 228, 255, 0.12);
  border-radius: 14px;
  background: rgba(4, 13, 25, 0.4);
}

.brand-chip {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(139, 228, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(13, 28, 47, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-chip:hover,
.brand-chip.active {
  color: #07111d;
  background: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .calc-highlight-banner,
  .calc-grid,
  .route-form-grid {
    grid-template-columns: 1fr;
  }

  .route-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-hero {
    padding-top: 38px;
  }
}

@media (max-width: 560px) {
  .summary-metric-row,
  .spotlight-metrics,
  .savings-multi-year-grid,
  .route-metric-strip {
    grid-template-columns: 1fr;
  }

  .vehicle-hero-actions > * {
    width: 100%;
  }

  .slider-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .calc-highlight-banner,
  .calc-savings-box {
    padding: 16px;
  }
}

@media (min-width: 901px) and (max-width: 1500px) {
  .nav-wrap {
    min-width: 0;
  }

  .main-nav {
    flex-wrap: nowrap;
    gap: 3px;
    min-width: 0;
  }

  .main-nav a {
    padding-inline: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .nav-cta {
    padding-inline: 1rem;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .site-header,
  .nav-wrap,
  .main-nav,
  .page-shell,
  main,
  .container {
    min-width: 0;
    max-width: 100%;
  }

  .nav-wrap {
    overflow: hidden;
  }

  .main-nav {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .sim-track-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    line-height: 1.35;
  }

  .sim-track-points span {
    min-width: 0;
  }

  .sim-track-points span:nth-child(even) {
    text-align: right;
  }

  .sim-cockpit-panel {
    padding: 18px 14px;
  }
}

/* Final editorial polish */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.72);
  outline-offset: 3px;
}

.hero-visual,
.news-card,
.article-shell,
.side-card,
.catalog-shell,
.catalog-sidebar,
.feature-stat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-visual::after,
.news-card::after,
.article-shell::after,
.side-card::after,
.catalog-shell::after,
.feature-stat::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(125, 211, 252, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.09), transparent 38%);
}

.feature-stat {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-stat:hover,
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}

.news-card {
  padding: 14px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.news-card .article-thumb {
  height: 214px;
  margin-bottom: 20px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  filter: saturate(0.9);
  transition: transform 400ms ease, filter 400ms ease;
}

.news-card:hover .article-thumb {
  transform: scale(1.035);
  filter: saturate(1.12);
}

.news-card .article-content {
  padding: 0 8px 8px;
}

.news-card .news-meta {
  margin-top: auto;
  padding-top: 20px;
}

.news-card .news-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 180ms ease, color 180ms ease;
}

.news-card:hover .news-meta a {
  gap: 9px;
  color: #b7f4ff;
}

.article-shell {
  padding: clamp(22px, 4vw, 48px);
}

.article-shell::before {
  opacity: 0.75;
}

.article-shell h1 {
  max-width: 900px;
  text-wrap: balance;
}

.article-body {
  max-width: 780px;
  margin-inline: auto;
}

.article-body-label {
  color: var(--primary) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.article-body p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--primary);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 0.8;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  background:
    radial-gradient(circle at 15% 0%, rgba(96, 165, 250, 0.13), transparent 30%),
    linear-gradient(180deg, #081321, #050b14);
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.55), transparent);
}

.site-footer h3 {
  letter-spacing: -0.02em;
}

.site-footer li {
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer li:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.fav-drawer-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(2, 6, 23, 0.72) !important;
}

.fav-drawer {
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: -20px 0 90px rgba(2, 6, 23, 0.52);
}

.fav-drawer-item {
  border-color: rgba(125, 211, 252, 0.14);
  background: linear-gradient(145deg, rgba(19, 39, 63, 0.86), rgba(7, 16, 29, 0.9));
}

@media (max-width: 700px) {
  .news-card .article-thumb {
    height: 190px;
  }

  .article-body p:first-of-type::first-letter {
    font-size: 3.2rem;
  }
}

/* Comparison desk and vehicle profile identity pass */
.compare-hero,
.vehicle-hero {
  position: relative;
  overflow: hidden;
}

.compare-hero::before,
.vehicle-hero::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(139, 228, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(139, 228, 255, 0.025),
    0 0 0 86px rgba(139, 228, 255, 0.018);
}

.decision-hero-copy h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 0.94;
}

.decision-hero-compare .decision-hero-panel {
  min-height: 250px;
}

.popular-comp-strip {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(139, 228, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 38, 63, 0.78), rgba(7, 16, 29, 0.8));
}

.popular-comp-title {
  color: #b6d9f4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.popular-comp-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.popular-comp-pill {
  display: grid;
  flex: 0 0 auto;
  gap: 5px;
  min-width: 190px;
  padding: 11px 13px;
  border: 1px solid rgba(139, 228, 255, 0.13);
  border-radius: 13px;
  background: rgba(3, 12, 23, 0.5);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.popular-comp-pill strong {
  color: #eaf7ff;
  font-size: 0.78rem;
}

.compare-picker {
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.4);
}

.picker-header-row {
  align-items: center;
}

.compare-form {
  position: relative;
}

.compare-form::before {
  position: absolute;
  top: -8px;
  right: 0;
  color: rgba(139, 228, 255, 0.35);
  content: "ARAÇ SEÇİM PANELİ";
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.compare-slot select,
.compare-usage-field select,
.compare-usage-field input:not([type="range"]) {
  min-height: 50px;
  border-radius: 13px;
}

.compare-spotlight {
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.compare-spotlight:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 228, 255, 0.35);
  box-shadow: 0 30px 78px rgba(2, 6, 23, 0.42);
}

.vehicle-hero {
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: 28px;
}

.vehicle-hero-grid {
  align-items: center;
  gap: clamp(34px, 7vw, 104px);
}

.vehicle-copy {
  position: relative;
  z-index: 1;
}

.vehicle-copy h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.9;
  text-wrap: balance;
}

.vehicle-copy > .eyebrow {
  color: var(--accent);
}

.vehicle-copy > .lead {
  max-width: 580px;
  font-size: 1.12rem;
}

.feature-pills {
  max-width: 650px;
}

.feature-pill {
  padding: 0.62rem 0.85rem;
  border-radius: 11px;
  background: rgba(19, 42, 67, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.vehicle-hero-actions {
  margin-top: 28px;
}

.vehicle-image {
  position: relative;
  min-height: 540px;
  padding: 14px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 25%, rgba(93, 168, 255, 0.22), transparent 46%),
    linear-gradient(145deg, rgba(23, 49, 80, 0.96), rgba(5, 14, 26, 0.96));
  box-shadow: 0 36px 100px rgba(2, 6, 23, 0.52);
}

.vehicle-image::before {
  position: absolute;
  inset: 14px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(139, 228, 255, 0.13);
  border-radius: 24px;
}

.vehicle-image img,
.vehicle-image .hero-fallback {
  position: relative;
  z-index: 1;
  min-height: 510px;
  border-radius: 24px;
}

.hero-price-tag {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
  border-radius: 14px;
}

.provenance-card,
.model-year-card {
  min-height: 100%;
}

.provenance-card .section-heading h2,
.model-year-card .section-heading h2 {
  max-width: 18ch;
}

.stat-box {
  min-height: 126px;
  display: grid;
  align-content: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(20, 43, 69, 0.84), rgba(8, 17, 30, 0.9));
}

.stat-box strong {
  color: #f3fbff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

@media (max-width: 900px) {
  .decision-hero-copy h1,
  .vehicle-copy h1 {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
  }

  .vehicle-image {
    min-height: 430px;
  }

  .vehicle-image img,
  .vehicle-image .hero-fallback {
    min-height: 400px;
  }
}

@media (max-width: 560px) {
  .compare-form::before {
    display: none;
  }

  .decision-hero-copy h1,
  .vehicle-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .vehicle-image {
    min-height: 360px;
    padding: 10px;
    border-radius: 25px;
  }

  .vehicle-image::before {
    inset: 10px;
    border-radius: 18px;
  }

  .vehicle-image img,
  .vehicle-image .hero-fallback {
    min-height: 340px;
    border-radius: 18px;
  }

  .vehicle-hero-actions {
    align-items: stretch;
  }
}

/* Finish the overlooked utility, community and admin states */
.compare-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(139, 228, 255, 0.18);
  border-radius: 10px;
  color: var(--cyan, #8be4ff);
  background: rgba(93, 168, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.compare-add-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: rgba(93, 168, 255, 0.18);
}

.charging-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.13);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.charging-progress-bar .progress-fill {
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(69, 224, 195, 0.22);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(139, 228, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-badge.upcoming {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.1);
}

.page-dots {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  color: var(--muted);
}

.share-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: none;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(69, 224, 195, 0.35);
  border-radius: 14px;
  color: #b7ffeb;
  background: rgba(8, 39, 43, 0.92);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(14px);
}

.ownership-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  background: rgba(45, 212, 191, 0.06);
  line-height: 1.7;
}

.soft-card {
  background: linear-gradient(145deg, rgba(20, 38, 62, 0.86), rgba(7, 16, 29, 0.92));
}

.error-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
}

.error-card h1 {
  margin: 0;
  max-width: 18ch;
  color: #f5fbff;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

.error-card p:not(.eyebrow) {
  max-width: 48ch;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
}

.community-comments-panel {
  padding: clamp(20px, 3vw, 32px);
  border-color: rgba(139, 228, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(18, 38, 61, 0.88), rgba(7, 16, 29, 0.94));
}

.comments-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.comments-section-header h2 {
  max-width: 30ch;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.045em;
}

.empty-comment-box {
  display: grid;
  place-items: center;
  padding: 34px 22px;
  border: 1px dashed rgba(139, 228, 255, 0.22);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(4, 13, 25, 0.36);
}

.empty-comment-box p {
  max-width: 46ch;
  margin: 0;
  line-height: 1.7;
}

.comment-form {
  display: grid;
  gap: 2px;
}

.admin-top-bar {
  border-radius: 16px;
}

.admin-row td {
  vertical-align: middle;
}

.admin-row:hover td {
  background: rgba(139, 228, 255, 0.04);
}

#adminSearchInput {
  min-height: 42px;
  border-color: rgba(139, 228, 255, 0.18) !important;
}

@media (max-width: 700px) {
  .comments-section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .comments-section-header .primary-button {
    width: 100%;
  }

  .share-toast {
    right: 16px;
    bottom: 16px;
  }
}

/* Signature product layer */
body {
  background:
    linear-gradient(rgba(125, 211, 252, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(96, 165, 250, 0.14), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(45, 212, 191, 0.1), transparent 24%),
    linear-gradient(180deg, #050b15 0%, #091322 42%, #0c1728 100%);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

.hero {
  position: relative;
  padding-top: clamp(70px, 9vw, 126px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 760px;
  text-wrap: balance;
  text-shadow: 0 16px 44px rgba(2, 6, 23, 0.42);
}

.hero-badge-pill {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.09);
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.025);
}

.hero-visual {
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 34px 100px rgba(2, 6, 23, 0.5), 0 0 70px rgba(45, 212, 191, 0.07);
}

.hero-visual img {
  height: clamp(440px, 42vw, 600px);
  border-radius: 24px;
  filter: saturate(0.9) contrast(1.05);
}

.hero-visual .car-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  margin: 0;
  background: rgba(4, 13, 25, 0.7);
  backdrop-filter: blur(14px);
}

.hero-metrics li {
  border-color: rgba(125, 211, 252, 0.16);
  background: linear-gradient(145deg, rgba(18, 38, 62, 0.72), rgba(7, 16, 29, 0.78));
}

.catalog-shell {
  border-radius: 32px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.3);
}

.catalog-head {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

.catalog-head h2 {
  text-wrap: balance;
}

.search-box {
  min-height: 58px;
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(5, 14, 27, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.vehicle-card {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.28);
}

.vehicle-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.12), transparent 34%);
}

.vehicle-card .card-top,
.vehicle-card h3,
.vehicle-card p,
.vehicle-card .vehicle-trim,
.vehicle-card .card-actions-row,
.vehicle-card > .text-link,
.vehicle-card .vehicle-specs,
.vehicle-card .vehicle-price {
  margin-inline: 8px;
}

.card-thumb-wrap {
  height: 224px;
  border-radius: 20px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(96, 165, 250, 0.2), transparent 52%),
    #07111d;
}

.vehicle-card-thumb {
  filter: saturate(0.92) contrast(1.04);
}

.vehicle-card h3 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.vehicle-card .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.feature-strip {
  position: relative;
  z-index: 2;
}

.feature-strip-grid {
  gap: 14px;
}

.feature-stat {
  min-height: 112px;
  border-radius: 20px;
  padding: 20px;
}

@media (max-width: 900px) {
  .hero-visual {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 48px;
  }

  .hero-visual img {
    height: 360px;
  }

  .hero-visual .car-badge {
    top: 24px;
    left: 24px;
  }

  .vehicle-card {
    padding: 12px;
  }

  .card-thumb-wrap {
    height: 196px;
  }
}

/* Data-dense premium components */
.spec-card,
.provenance-card,
.model-year-card,
.scenario-card,
.charging-curve-panel,
.route-stops-panel {
  padding: clamp(20px, 3vw, 32px);
  border-color: rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(17, 35, 57, 0.88), rgba(7, 16, 29, 0.94));
}

.charging-curve-overview-grid,
.ownership-summary-grid,
.verified-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.charging-big-metric-card,
.ownership-summary-grid > *,
.verified-summary-list > * {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(27, 55, 85, 0.68), rgba(5, 15, 28, 0.7));
}

.charging-big-metric-card span,
.ownership-summary-grid span,
.verified-summary-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.charging-big-metric-card strong,
.ownership-summary-grid strong,
.verified-summary-list strong {
  color: #f5fbff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.charging-big-metric-card small,
.ownership-summary-grid small,
.verified-summary-list small {
  color: #7f96b1;
}

.curve-chart-container {
  margin-top: 20px;
  padding: 22px 18px 16px;
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.035) 1px, transparent 1px),
    rgba(2, 10, 20, 0.42);
  background-size: 100% 25%, 12.5% 100%, auto;
}

.curve-chart-title {
  display: block;
  margin-bottom: 20px;
  color: #dbeafe;
  font-weight: 800;
}

.curve-bars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 238px;
}

.curve-bar-col {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.curve-bar-track {
  display: flex;
  align-items: end;
  width: 100%;
  max-width: 52px;
  height: 160px;
  padding: 4px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 14px 14px 8px 8px;
  background: rgba(148, 163, 184, 0.08);
}

.curve-bar-fill {
  width: 100%;
  min-height: 4px;
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.22);
}

.curve-bar-col strong {
  color: #e8f5ff;
  font-size: 0.78rem;
}

.curve-soc-label,
.curve-min-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.curve-legend-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.route-stops-panel {
  margin-top: 24px;
}

.route-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.route-timeline::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--accent), rgba(125, 211, 252, 0.15), var(--primary-alt));
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px 16px 10px;
  border-color: rgba(125, 211, 252, 0.14);
  background: linear-gradient(145deg, rgba(20, 43, 68, 0.78), rgba(6, 16, 29, 0.84));
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 50%;
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.07);
}

.charging-step .timeline-node {
  color: #07111d;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.end-step .timeline-node {
  background: linear-gradient(135deg, #a7f3d0, #34d399);
}

.timeline-content {
  padding-top: 3px;
}

.timeline-content > p {
  color: #c5d5e8;
  line-height: 1.65;
}

.timeline-expert-tip {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(251, 191, 36, 0.08);
}

.comparison-table-wrap {
  border-radius: 24px;
  border-color: rgba(125, 211, 252, 0.16);
  background: linear-gradient(145deg, rgba(16, 35, 57, 0.88), rgba(6, 15, 28, 0.94));
}

.comparison-table th,
.comparison-table td {
  border-bottom-color: rgba(125, 211, 252, 0.1);
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #10233a;
  color: #b6d9f4;
}

.comparison-table tbody tr:hover td {
  background: rgba(125, 211, 252, 0.045);
}

@media (max-width: 700px) {
  .charging-curve-overview-grid,
  .ownership-summary-grid,
  .verified-summary-list {
    grid-template-columns: 1fr;
  }

  .curve-bars-grid {
    gap: 7px;
  }

  .curve-bar-track {
    height: 130px;
  }

  .timeline-step {
    padding-right: 12px;
  }
}

/* ==========================================================================
   FINAL PRODUCTION POLISH OVERRIDES (ZERO COLLISION, DARK INPUTS, MOBILE NAV)
   ========================================================================== */

/* Fix 1: Temel Veri Özeti (summary-metric-row) overlap fix */
.verified-summary-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.summary-metric-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  margin-top: 0 !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(125, 211, 252, 0.14) !important;
  width: 100% !important;
}

.summary-metric-row span {
  font-size: 0.86rem !important;
  color: var(--muted) !important;
  white-space: normal !important;
  text-align: left !important;
}

.summary-metric-row strong {
  font-size: 0.92rem !important;
  color: #ffffff !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

/* Fix 2: Min/Max TL Price Inputs in Sidebar (dark theme + zero overflow) */
.price-filter-group .price-input-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.price-filter-group .price-input-row input[type="number"] {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 10px 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(125, 211, 252, 0.22) !important;
  background: #0b1526 !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  color-scheme: dark !important;
}

.price-filter-group .price-input-row input[type="number"]::placeholder {
  color: #94a3b8 !important;
}

/* Fix 3: Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.28);
  cursor: pointer;
  padding: 8px;
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-wrap {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
  }

  .brand {
    width: auto !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .header-right-actions {
    display: flex !important;
    order: 2;
    gap: 8px;
  }

  .nav-cta {
    display: none !important;
  }

  .main-nav {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    order: 3 !important;
    background: rgba(9, 17, 30, 0.96) !important;
    border: 1px solid rgba(125, 211, 252, 0.2) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-top: 8px !important;
    gap: 6px !important;
  }

  .main-nav.mobile-open {
    display: flex !important;
  }

  .main-nav a {
    width: 100% !important;
    text-align: left !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
  }
}

/* ==========================================================================
   v2.0 PRODUCTION UPGRADES: ÖTV/TCO Lab, Nav Highlight & Partner Lead Strips
   ========================================================================== */
.main-nav a.nav-highlight-link {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 700;
}
.main-nav a.nav-highlight-link:hover {
  background: rgba(16, 185, 129, 0.22);
  color: #ffffff !important;
}
.tool-spotlight-banner,
.partner-cta-strip {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(7, 17, 29, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.comment-like-btn.liked {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}


/* ==========================================================================
   v5.0 CLEAN V2-NATIVE REFINEMENTS (Zero Layout Shift & Visual Harmony)
   ========================================================================== */

/* 1. Centered text blocks (.text-center) without breaking block flow */
.text-center {
  text-align: center;
}
.text-center h1,
.text-center h2,
.text-center h3,
.text-center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* 2. Compare Page (.compare-spotlight) Thumbnail, Winner Badges & Locked Alignment */
.compare-spotlight-grid {
  align-items: stretch;
}
.compare-spotlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.spotlight-thumb-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 14px;
}
.spotlight-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spotlight-winner-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.spotlight-metrics .metric-winner-box {
  border-color: rgba(52, 211, 153, 0.45) !important;
  background: rgba(16, 185, 129, 0.1) !important;
}
.spotlight-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
}

/* 3. Route Planner (.v2-elevation-stage) Clean Topographic Map Inside v2 Cockpit */
.v2-elevation-stage {
  margin: 18px 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(7, 17, 29, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.v2-elev-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.v2-charging-alert-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-weight: 700;
  font-size: 11.5px;
}


/* ==========================================================================
   v6.0 TYPOGRAPHY, QUICK CHIP & SHARE TOAST REFINEMENTS
   ========================================================================== */
h1, h2, h3 {
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
}

.smart-chip small,
.filter-pill small {
  opacity: 0.78;
  font-weight: 500;
  margin-left: 3px;
}

.share-toast {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 9999 !important;
  background: rgba(6, 78, 59, 0.96) !important;
  border: 1px solid #34d399 !important;
  color: #ecfdf5 !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.share-toast.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
