:root {
  color-scheme: dark;
  --bg: #050506;
  --surface: #111114;
  --surface-2: #19191d;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f2ea;
  --muted: rgba(245, 242, 234, 0.68);
  --gold: #c8a35f;
  --gold-2: #f1d38d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 28rem),
    radial-gradient(circle at 50% 0%, rgba(200,163,95,0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.landing-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 0;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 44px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.contact-section p,
.feature-grid p,
.pricing-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(241, 211, 141, 0.42);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #12100b;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.phone-preview {
  overflow: hidden;
  min-height: 650px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, #16161a, #070708);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
}

.phone-top {
  width: 118px;
  height: 30px;
  margin: 0 auto 22px;
  border-radius: 0 0 18px 18px;
  background: #050506;
}

.preview-card,
.preview-grid article,
.feature-grid article,
.pricing-grid article,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.preview-card {
  padding: 18px;
}

.preview-card.gold {
  background: linear-gradient(135deg, rgba(241, 211, 141, 0.22), rgba(255, 255, 255, 0.05));
}

.preview-card span,
.preview-grid span,
.pricing-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.preview-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.preview-grid article {
  padding: 16px;
}

.preview-grid b {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.preview-car {
  overflow: hidden;
  height: 380px;
  border-radius: 18px;
}

.preview-car img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.78);
}

.section {
  padding: 76px 0;
}

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

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

.feature-grid article,
.pricing-grid article {
  min-height: 168px;
  padding: 22px;
}

.pricing-grid strong {
  display: block;
  margin: 12px 0;
  font-size: 28px;
}

.featured-plan {
  border-color: rgba(241, 211, 141, 0.45) !important;
  background: linear-gradient(180deg, rgba(200, 163, 95, 0.16), rgba(255, 255, 255, 0.055)) !important;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 70px 0;
  padding: 30px;
}

.contact-section div {
  max-width: 700px;
}

.footer {
  justify-content: center;
  gap: 22px;
  padding: 34px 16px max(34px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .landing-shell {
    width: min(100% - 24px, 560px);
  }

  .nav-links {
    display: none;
  }

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

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

  .phone-preview {
    min-height: 560px;
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }
}
