:root {
  --bg: #030303;
  --bg-soft: #090a0d;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f7f9;
  --muted: #a4a8b1;
  --red: #ff1616;
  --red-hot: #ff3b25;
  --orange: #ff7a1a;
  --blue: #2d7dff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 70% 14%, rgba(255, 22, 22, 0.26), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(45, 125, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #000000 0%, var(--bg-soft) 48%, #030303 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 72%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.main-nav,
.hero-actions,
.hero-points,
.site-footer,
.site-footer div,
.map-bottom-card,
.phone-status {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 900;
  gap: 12px;
}

.brand-logo {
  border-radius: 10px;
  height: 42px;
  width: 42px;
}

.main-nav {
  gap: 24px;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  height: 42px;
  min-width: 54px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(38px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 76px) clamp(54px, 7vw, 88px);
}

.hero-copy {
  max-width: 820px;
}

.slogan {
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  margin: 0 0 16px;
  padding-left: 42px;
  position: relative;
  text-transform: uppercase;
}

.slogan::before {
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
}

.eyebrow {
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.hero-text {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  max-width: 680px;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--red-hot) 48%, var(--orange));
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(255, 22, 22, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.hero-points {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-points span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px 12px;
}

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

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.road-glow {
  background: linear-gradient(135deg, transparent 20%, rgba(255, 22, 22, 0.9) 42%, rgba(255, 122, 26, 0.95) 58%, transparent 78%);
  filter: blur(10px);
  height: 520px;
  position: absolute;
  transform: rotate(-15deg);
  width: 92%;
}

.phone-shell {
  background: #050507;
  border: 10px solid #101014;
  border-radius: 40px;
  box-shadow: var(--shadow);
  min-height: 640px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  width: min(360px, 100%);
}

.phone-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: space-between;
  padding: 0 6px 12px;
}

.status-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px 8px;
}

.map-screen {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.05) 0 14%, transparent 14% 24%, rgba(255, 255, 255, 0.055) 24% 27%, transparent 27%),
    radial-gradient(circle at 18% 24%, rgba(45, 125, 255, 0.28), transparent 28%),
    radial-gradient(circle at 74% 76%, rgba(255, 22, 22, 0.34), transparent 34%),
    #15161a;
  border-radius: 28px;
  height: 574px;
  overflow: hidden;
  position: relative;
}

.screen-slot {
  border-radius: 24px;
  display: none;
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.screen-slot.has-image {
  display: block;
}

.screen-slot img {
  border-radius: inherit;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.map-screen::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.55;
  position: absolute;
}

.route-line {
  border: 8px solid transparent;
  border-left-color: var(--red-hot);
  border-radius: 42% 46% 48% 44%;
  height: 360px;
  left: 86px;
  position: absolute;
  top: 102px;
  transform: rotate(34deg);
  width: 210px;
}

.car-marker,
.waypoint {
  border-radius: 50%;
  position: absolute;
  z-index: 2;
}

.car-marker {
  background: #ffffff;
  border: 4px solid var(--red-hot);
  box-shadow: 0 0 0 8px rgba(255, 22, 22, 0.18);
  height: 22px;
  width: 22px;
}

.car-one { left: 140px; top: 196px; }
.car-two { left: 190px; top: 294px; }
.car-three { left: 150px; top: 404px; }

.waypoint {
  background: var(--blue);
  height: 13px;
  width: 13px;
}

.waypoint-one { left: 234px; top: 118px; }
.waypoint-two { left: 74px; top: 456px; }

.glass {
  backdrop-filter: blur(24px);
  background: rgba(10, 10, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}

.map-top-card,
.map-bottom-card {
  border-radius: 18px;
  left: 16px;
  padding: 16px;
  position: absolute;
  right: 16px;
  z-index: 3;
}

.map-top-card {
  top: 16px;
}

.map-bottom-card {
  bottom: 16px;
  justify-content: space-between;
}

.tiny-label {
  color: var(--red-hot);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eta {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 900;
  padding: 8px 10px;
}

.section {
  padding: clamp(68px, 9vw, 122px) clamp(20px, 5vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.steps-grid,
.feature-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

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

.step-card,
.feature-card,
.stat-card,
.legal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step-card,
.feature-card {
  min-height: 230px;
  padding: 26px;
}

.card-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 46px;
}

.step-card .number {
  color: var(--red-hot);
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
}

.icon-wrap {
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 22, 22, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.icon-wrap svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 24px;
}

.feature-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

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

.feature-card {
  background:
    linear-gradient(145deg, rgba(255, 22, 22, 0.1), transparent 45%),
    var(--panel);
}

.feature-card .icon-wrap {
  color: var(--red-hot);
  margin-bottom: 34px;
}

.split-section,
.recap-section {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
}

.split-section {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.split-section p {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

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

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

.stat-card {
  min-height: 148px;
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 14px;
}

.stat-card span {
  color: var(--muted);
  font-weight: 800;
}

.explore-section {
  background:
    linear-gradient(135deg, rgba(45, 125, 255, 0.18), transparent 44%),
    linear-gradient(315deg, rgba(255, 22, 22, 0.14), transparent 42%);
}

.explore-section > div {
  max-width: 760px;
}

.safety-section {
  padding-top: 0;
}

.safety-card {
  border-radius: 24px;
  margin-inline: auto;
  max-width: 980px;
  padding: clamp(28px, 5vw, 54px);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-inline: auto;
  max-width: 980px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq-item summary {
  color: #ffffff;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 900;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--red-hot);
  content: "+";
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 22px 22px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta p {
  max-width: 620px;
}

.cta-logo {
  border-radius: 22px;
  height: 88px;
  margin-bottom: 24px;
  width: 88px;
}

.site-footer {
  color: var(--muted);
  justify-content: space-between;
  min-height: 88px;
  padding: 24px clamp(20px, 5vw, 76px);
}

.site-footer div {
  gap: 18px;
}

.legal-page {
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 76px) clamp(74px, 9vw, 122px);
}

.join-page {
  min-height: calc(100vh - 164px);
}

.join-hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  min-height: calc(100vh - 164px);
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.join-card {
  border-radius: 28px;
  max-width: 760px;
  padding: clamp(26px, 5vw, 54px);
}

.join-logo {
  border-radius: 22px;
  height: 86px;
  margin-bottom: 26px;
  width: 86px;
}

.party-code-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 30px;
  padding: 18px 20px;
}

.party-code-panel span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.party-code-panel strong {
  color: #ffffff;
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: anywhere;
}

.join-actions {
  margin-top: 22px;
}

.join-note {
  font-size: 0.95rem;
  margin: 20px 0 0;
}

.join-preview {
  display: grid;
  min-height: 440px;
  place-items: center;
  position: relative;
}

.invite-visual-card {
  border-radius: 28px;
  display: grid;
  gap: 26px;
  max-width: 360px;
  padding: 30px;
  position: relative;
  width: 100%;
}

.invite-visual-card .icon-wrap {
  color: var(--red-hot);
  height: 58px;
  width: 58px;
}

.invite-route {
  display: grid;
  gap: 14px;
}

.invite-route span {
  background: linear-gradient(90deg, var(--red-hot), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  display: block;
  height: 10px;
}

.invite-route span:nth-child(2) {
  margin-left: 42px;
  width: 74%;
}

.invite-route span:nth-child(3) {
  width: 46%;
}

.invite-visual-card p {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
}

.legal-hero,
.legal-content {
  margin-inline: auto;
  max-width: 900px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.legal-content {
  padding: clamp(24px, 4vw, 48px);
}

.legal-content h2 {
  font-size: 1.24rem;
  margin: 30px 0 8px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero,
  .split-section,
  .recap-section,
  .join-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .phone-shell {
    min-height: 590px;
  }

  .map-screen {
    height: 524px;
  }

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

  .join-preview {
    min-height: 300px;
  }
}

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

  .brand-logo {
    height: 36px;
    width: 36px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .phone-shell {
    border-width: 8px;
    border-radius: 34px;
    min-height: 520px;
  }

  .map-screen {
    height: 456px;
  }

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

  [data-parallax] {
    transform: none;
  }

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

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

  [data-parallax] {
    transform: none;
  }

  .button {
    transition: none;
  }
}
