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

:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-soft: #11111a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f2ee;
  --muted: rgba(246, 242, 238, 0.73);
  --accent: #d7192d;
  --accent-soft: rgba(215, 25, 45, 0.18);
  --gold: #f3c36b;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(215, 25, 45, 0.24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(243, 195, 107, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(215, 25, 45, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0d15 0%, #08080c 42%, #050507 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
  opacity: 0.3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
  opacity: 0.8;
  mix-blend-mode: screen;
}

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

.js-ready {
  scroll-behavior: smooth;
}

.js-ready .car-stage {
  will-change: transform;
}

.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 52px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px 18px 15px 18px;
  background:
    linear-gradient(145deg, rgba(215, 25, 45, 0.95), rgba(107, 10, 19, 0.95)),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 48%);
  box-shadow: 0 14px 30px rgba(215, 25, 45, 0.24);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

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

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 180ms ease;
  outline: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100svh - 110px);
}

.hero-copy {
  padding: 22px 0 22px 4px;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.7rem, 8.2vw, 7.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 3.45vw, 3.6rem);
}

.lead,
.feature p,
.panel-copy p,
.signature-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.22vw, 1.08rem);
  line-height: 1.75;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav a:focus-visible {
  box-shadow: 0 0 0 3px rgba(215, 25, 45, 0.25);
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(215, 25, 45, 0.98), rgba(125, 10, 23, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 42%);
  border-color: rgba(215, 25, 45, 0.35);
  box-shadow: 0 16px 36px rgba(215, 25, 45, 0.22);
}

.button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

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

.stats div {
  padding: 16px 16px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.stats dt {
  color: rgba(246, 244, 241, 0.5);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.stats dd {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.halo-a {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(215, 25, 45, 0.38) 0%, rgba(215, 25, 45, 0.08) 42%, transparent 70%);
  top: 0;
  right: 28px;
}

.halo-b {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(243, 195, 107, 0.18) 0%, rgba(243, 195, 107, 0.04) 46%, transparent 70%);
  bottom: 40px;
  left: 8px;
}

.car-stage {
  position: relative;
  width: min(100%, 660px);
  padding: 26px 26px 12px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(16, 16, 24, 0.96), rgba(7, 7, 10, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
  transition: transform 140ms ease;
}

.car-stage::before {
  content: "";
  position: absolute;
  inset: -30% -15% auto;
  height: 52%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-grid;
  gap: 2px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.32em;
  font-size: 0.66rem;
  font-weight: 800;
}

.stage-copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  gap: 4px;
  padding: 12px 14px 11px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: rgba(246, 242, 238, 0.74);
}

.car-silhouette {
  width: 100%;
  height: auto;
  transform: translateY(14px);
}

.car-shadow,
.car-body,
.car-glass,
.car-highlight,
.wheel,
.wheel-core,
.rim {
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.car-shadow {
  fill: rgba(0, 0, 0, 0.38);
}

.car-body {
  filter: drop-shadow(0 18px 36px rgba(215, 25, 45, 0.22));
}

.car-glass {
  fill: rgba(255, 255, 255, 0.2);
}

.wheel {
  fill: #0f0f14;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.wheel-core {
  fill: rgba(255, 255, 255, 0.12);
}

.rim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.52);
  stroke-width: 2.5;
  stroke-dasharray: 8 10;
}

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

.feature {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  min-height: 240px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.card-glow {
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 45, 0.16), transparent 36%),
    var(--panel);
}

.feature h2 {
  margin-bottom: 12px;
}

.design-panel,
.signature {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.design-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 80% 0%, rgba(215, 25, 45, 0.08), transparent 36%);
  backdrop-filter: blur(18px);
}

.panel-copy {
  padding-right: 14px;
}

.panel-copy h2,
.signature-card h2 {
  margin-bottom: 16px;
}

.panel-list {
  display: grid;
  gap: 14px;
}

.panel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.panel-item p {
  margin: 0;
  color: rgba(246, 244, 241, 0.8);
  line-height: 1.6;
}

.signature-card,
.meter {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.meter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.meter-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter-fill {
  position: absolute;
  inset: 0;
  width: 76%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(215, 25, 45, 0.92), rgba(243, 195, 107, 0.9));
  box-shadow: 0 0 28px rgba(215, 25, 45, 0.28);
  transform-origin: left center;
}

.meter-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(246, 244, 241, 0.82);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-animated .car-silhouette {
  transform: translateY(14px) translateX(1px);
}

.is-animated .meter-fill {
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleX(0.98);
  }

  50% {
    transform: scaleX(1.02);
  }
}

@media (max-width: 1024px) {
  .hero,
  .design-panel,
  .signature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 560px;
  }

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

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 1200px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .nav {
    gap: 12px 16px;
  }

  .hero-copy {
    padding-left: 0;
  }

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

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

  .feature,
  .design-panel,
  .signature-card,
  .meter {
    padding: 20px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .car-stage {
    padding: 18px 16px 8px;
    border-radius: 24px;
  }

  .badge {
    top: 14px;
    left: 14px;
  }

  .stage-copy {
    right: 14px;
    bottom: 14px;
    max-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-visual,
  .car-stage {
    transform: none !important;
  }
}
