:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #080b16;
  --surface: rgba(11, 16, 32, 0.82);
  --surface-2: rgba(17, 24, 39, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(0, 213, 255, 0.34);
  --text: #ffffff;
  --muted: #aab3c5;
  --dim: #727d93;
  --cyan: #00d5ff;
  --blue: #168cff;
  --deep-blue: #1d4ed8;
  --purple: #7c3aed;
  --violet: #a855f7;
  --shadow-blue: 0 0 42px rgba(0, 213, 255, 0.22);
  --shadow-purple: 0 0 52px rgba(124, 58, 237, 0.24);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 213, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(124, 58, 237, 0.19), transparent 30%),
    linear-gradient(180deg, #05070d 0%, #030409 62%, #000 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 213, 255, 0.05), transparent 18%, transparent 82%, rgba(124, 58, 237, 0.05)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34%);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(150px, 17vw, 240px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 213, 255, 0.26));
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 132px clamp(20px, 5vw, 78px) clamp(40px, 7vw, 96px);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.76) 38%, rgba(5, 7, 13, 0.36) 72%, rgba(5, 7, 13, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.02) 0%, rgba(5, 7, 13, 0.4) 68%, #05070d 100%),
    url("/assets/marketing/revradar-race-car.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::before {
  position: absolute;
  right: -14vw;
  bottom: 8vh;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  content: "";
  border: 1px solid rgba(0, 213, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 213, 255, 0.08);
  box-shadow: var(--shadow-blue);
}

.hero::after {
  position: absolute;
  top: 18vh;
  right: 18vw;
  width: 22vw;
  height: 22vw;
  min-width: 260px;
  min-height: 260px;
  content: "";
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  filter: blur(8px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.hero-logo {
  width: min(460px, 74vw);
  margin-bottom: clamp(26px, 5vw, 56px);
  filter: drop-shadow(0 0 22px rgba(22, 140, 255, 0.36));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 10vw, 9.8rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.4vw, 5.7rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.28rem, 2.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
}

p,
li {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.hero-copy {
  max-width: 720px;
  color: #dbe6f7;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
}

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

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

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

.button.primary {
  border-color: rgba(0, 213, 255, 0.55);
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--purple));
  box-shadow: var(--shadow-blue);
  color: #02040a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(11, 16, 32, 0.76);
  color: var(--text);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.signal-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.66);
  color: #d7dfec;
  font-size: 0.82rem;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 70px);
  bottom: 32px;
  z-index: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: clamp(62px, 8vw, 120px) clamp(20px, 5vw, 78px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.section-copy {
  align-self: end;
  max-width: 620px;
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.intro-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(0, 213, 255, 0.08), rgba(124, 58, 237, 0.06), transparent);
}

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

.feature-card,
.tier-grid article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(11, 16, 32, 0.74);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--cyan);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.image-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.image-split.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.image-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-blue), 0 35px 90px rgba(0, 0, 0, 0.44);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 76% 12%, rgba(124, 58, 237, 0.28), transparent 28%),
    linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.58));
}

.copy-panel {
  max-width: 720px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #d8e2f2;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 18px rgba(0, 213, 255, 0.42);
}

.commerce-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 0%, rgba(124, 58, 237, 0.16), transparent 34%),
    rgba(3, 5, 12, 0.88);
}

.section-head {
  max-width: 1040px;
  margin-bottom: clamp(26px, 5vw, 62px);
}

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
}

.commerce-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 16, 32, 0.62);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.metric-row div {
  padding: 18px;
  border: 1px solid rgba(0, 213, 255, 0.16);
  border-radius: 18px;
  background: rgba(0, 213, 255, 0.06);
}

.metric-row strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.commerce-list span {
  display: flex;
  min-height: 110px;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 213, 255, 0.1), transparent 46%),
    rgba(17, 24, 39, 0.72);
  color: #eef6ff;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 900;
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.partner-content {
  max-width: 760px;
}

.tier-grid {
  display: grid;
  gap: 14px;
}

.tier-grid article {
  min-height: auto;
}

.tier-grid article:nth-child(2) {
  border-color: rgba(0, 213, 255, 0.36);
  box-shadow: var(--shadow-blue);
}

.tier-grid article:nth-child(3) {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-purple);
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.preview-copy {
  max-width: 720px;
}

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

.preview-images img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #05070d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.download-section {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 78px);
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98), rgba(5, 7, 13, 0.52), rgba(5, 7, 13, 0.82)),
    linear-gradient(180deg, #05070d, rgba(5, 7, 13, 0.2), #05070d),
    url("/assets/marketing/blue-porsche-mural.png") center / cover no-repeat;
}

.download-content {
  max-width: 850px;
}

.download-content img {
  width: 104px;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 26px rgba(0, 213, 255, 0.38));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 78px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #020309;
}

.site-footer img {
  width: 160px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
}

@media (max-width: 1060px) {
  nav {
    display: none;
  }

  .section-grid,
  .image-split,
  .image-split.reverse,
  .commerce-layout,
  .partner-band,
  .app-preview {
    grid-template-columns: 1fr;
  }

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

  .image-split.reverse .copy-panel {
    order: 2;
  }

  .image-split.reverse .image-panel {
    order: 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 5.6rem);
  }

  .hero::before,
  .hero::after {
    opacity: 0.46;
  }

  .scroll-cue {
    display: none;
  }

  .feature-grid,
  .commerce-list,
  .metric-row,
  .preview-images {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
