:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #eef4ff;
  --text: #101827;
  --muted: #5d6b82;
  --primary: #ff8a00;
  --primary-dark: #d76d00;
  --secondary: #0d1b2a;
  --secondary-soft: #17324a;
  --border: rgba(13, 27, 42, 0.09);
  --shadow: 0 22px 50px rgba(14, 23, 38, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf2fb 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 24, 39, 0.05);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #ffb14a);
  border-radius: 12px;
  color: #fff;
  box-shadow: var(--shadow);
}

.small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.text-link:hover {
  color: var(--primary-dark);
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0;
}

.kicker,
.eyebrow {
  display: inline-block;
  background: rgba(255, 138, 0, 0.12);
  color: var(--primary-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ffae42);
  color: #fff;
  box-shadow: 0 18px 30px rgba(255, 138, 0, 0.28);
}

.btn-secondary {
  background: #fff;
  border-color: rgba(16, 24, 39, 0.08);
  color: var(--text);
}

.stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stats div {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
}

.stats strong {
  display: block;
  font-size: 1.28rem;
  margin-bottom: 6px;
}

.stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.car-card {
  position: relative;
  width: min(100%, 430px);
  background: linear-gradient(180deg, #10263d 0%, #173b5e 100%);
  border-radius: 30px;
  padding: 18px 18px 24px;
  box-shadow: var(--shadow);
}

.car-badge {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.car-image {
  height: 190px;
  position: relative;
  margin: 18px 0 10px;
}

.car-shape {
  position: absolute;
  inset: 25px 28px 16px;
  border-radius: 48% 52% 50% 50% / 55% 52% 48% 45%;
  background: linear-gradient(135deg, #f7b954, #f58d26, #d76500);
  box-shadow: inset -18px -18px 0 rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.18);
}

.car-shape::before,
.car-shape::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #182332;
  border: 10px solid #dfe7f0;
  bottom: -26px;
}

.car-shape::before {
  left: 42px;
}

.car-shape::after {
  right: 42px;
}

.car-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  color: #fff;
}

.label {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.section {
  padding: 46px 0 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading.center {
  justify-content: center;
  text-align: center;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.car-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.car-item.accent {
  background: linear-gradient(180deg, #fff9f2 0%, #fff 100%);
}

.car-thumb {
  height: 220px;
  position: relative;
  background: linear-gradient(135deg, #dfe9f5, #b4c9e7);
}

.thumb-one::before,
.thumb-two::before,
.thumb-three::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76%;
  height: 34%;
  transform: translate(-50%, -50%);
  border-radius: 30% 35% 25% 25% / 45% 55% 45% 55%;
  background: linear-gradient(135deg, #ffb13f, #ec7d00);
  box-shadow: inset -16px -12px 0 rgba(0, 0, 0, 0.08), 0 20px 26px rgba(16, 24, 39, 0.12);
}

.thumb-one::after,
.thumb-two::after,
.thumb-three::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--secondary-soft);
  border: 10px solid #dfe7f0;
  bottom: 30px;
}

.thumb-one::after { left: 90px; }
.thumb-two::after { left: 110px; }
.thumb-three::after { left: 100px; }

.thumb-two::before { background: linear-gradient(135deg, #4eb0ff, #3e7ad6); }
.thumb-three::before { background: linear-gradient(135deg, #8ddfa9, #4ba77a); }

.car-body {
  padding: 18px 18px 22px;
}

.title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.title-row h3 {
  margin: 0;
  font-size: 1.5rem;
}

.price {
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.car-body p {
  color: var(--muted);
  margin-bottom: 12px;
}

.car-body ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.alt {
  background: linear-gradient(180deg, rgba(20, 38, 58, 0.02), rgba(20, 38, 58, 0.06));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 138, 0, 0.12);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-section {
  padding: 36px 0 52px;
}

.cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-soft) 100%);
  border-radius: 28px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer {
  border-top: 1px solid rgba(16, 24, 39, 0.06);
  padding: 22px 0 38px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid,
  .inventory-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .section-heading,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
