:root {
  --ink: #12101c;
  --ink-soft: #28243a;
  --muted: #706c80;
  --paper: #fbf9ff;
  --panel: #fffef9;
  --line: #ded8ec;
  --purple: #6d49ff;
  --purple-deep: #4a2ed5;
  --purple-soft: #efeaff;
  --blue: #2f6bff;
  --amber: #dda13a;
  --shadow: 0 28px 90px rgba(45, 32, 92, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(109, 73, 255, 0.25), transparent 26%),
    linear-gradient(135deg, #f7f4ff 0%, #f2effa 52%, #fbf9ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: linear-gradient(rgba(18, 16, 28, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 16, 28, 0.55) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridDrift 18s linear infinite;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  animation: riseIn 700ms ease both;
}

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

.brand img {
  width: 142px;
  height: auto;
  display: block;
}

.primary-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--purple);
  box-shadow: 0 16px 34px rgba(74, 46, 213, 0.24);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 56px;
  padding: 32px 0 72px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-copy > * {
  animation: riseIn 760ms ease both;
}

.hero-copy > :nth-child(1) {
  animation-delay: 90ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 180ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 270ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 360ms;
}

.eyebrow {
  margin: 0;
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(58px, 8.5vw, 118px);
  letter-spacing: -0.068em;
  line-height: 0.88;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(74, 46, 213, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--purple-deep);
  background: rgba(109, 73, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.product-scene {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(17, 19, 15, 0.12);
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 23% 17%, rgba(109, 73, 255, 0.38), transparent 25%),
    linear-gradient(145deg, #151022, #2b2442);
  box-shadow: var(--shadow);
  animation: floatIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 240ms both, sceneFloat 7s ease-in-out 1.2s infinite;
  transform-origin: center;
}

.scene-header,
.scene-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scene-header span,
.scene-metrics span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-header strong {
  color: #b9a7ff;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.scene-map {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 36px 36px;
}

.scene-map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 50%, rgba(221, 161, 58, 0.16), transparent 20%),
    radial-gradient(circle at 82% 50%, rgba(109, 73, 255, 0.18), transparent 19%);
  opacity: 0.8;
  animation: ambientMapGlow 5.5s ease-in-out infinite;
}

.scene-map::after {
  content: "";
  position: absolute;
  inset: 56px 82px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transform: rotate(-14deg);
  animation: orbitTrace 12s linear infinite;
}

.map-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(185, 167, 255, 0.18), transparent);
  transform: translateX(-120%);
  animation: scanPass 4.8s ease-in-out infinite;
}

.map-glow {
  position: absolute;
  left: 12%;
  top: 28%;
  z-index: 1;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 73, 255, 0.28), transparent 68%);
  filter: blur(6px);
  animation: movingGlow 8s ease-in-out infinite;
}

.route-particle {
  position: absolute;
  top: 168px;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(185, 167, 255, 0.9);
  opacity: 0;
  animation: routeParticle 3.2s linear infinite;
}

.route-particle.p1 {
  animation-delay: 0s;
}

.route-particle.p2 {
  animation-delay: 1.05s;
}

.route-particle.p3 {
  animation-delay: 2.1s;
}

.radar-ring {
  position: absolute;
  left: calc(45% + 33px);
  top: 168px;
  z-index: 2;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(185, 167, 255, 0.52);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  animation: radarPing 3s ease-out infinite;
}

.radar-ring.r2 {
  animation-delay: 1.45s;
}

.map-tag {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 12px;
  font-weight: 900;
}

.map-tag.lobby {
  left: 24px;
  top: 26px;
}

.map-tag.bay {
  right: 24px;
  bottom: 24px;
}

.map-route {
  position: absolute;
  left: 74px;
  right: 88px;
  top: 164px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.map-node {
  position: absolute;
  top: 153px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: var(--amber);
}

.map-node.start {
  left: 65px;
  animation: nodePulse 2.3s ease-in-out infinite, nodeNudge 4.8s ease-in-out infinite;
}

.map-node.end {
  right: 76px;
  background: var(--purple);
  animation: nodePulse 2.3s ease-in-out 600ms infinite, nodeNudge 5.2s ease-in-out 700ms infinite;
}

.mini-car {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.mini-car svg {
  width: 17px;
  height: 17px;
}

.mini-car.c1 {
  left: 18%;
  top: 68%;
  animation: miniCruiseOne 9s ease-in-out infinite;
}

.mini-car.c2 {
  right: 15%;
  top: 24%;
  animation: miniCruiseTwo 10s ease-in-out 1.4s infinite;
}

.car-chip {
  position: absolute;
  left: 45%;
  top: 135px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 5px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  background: var(--purple);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
  animation: carBreathe 2.8s ease-in-out infinite;
}

.scene-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.scene-metrics div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scene-metrics div:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 167, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.scene-metrics strong {
  font-size: 26px;
  letter-spacing: -0.05em;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.72);
  box-shadow: 0 18px 44px rgba(30, 35, 22, 0.08);
}

.proof-strip div {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span {
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 900;
}

.proof-strip strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.proof-strip p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.access-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 96px 0;
}

.access-copy {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 28px;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.access-copy p:last-child {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}

.access-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 254, 249, 0.86);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbc8ba;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

input,
select {
  min-height: 54px;
}

textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(109, 73, 255, 0.2);
}

.submit-button {
  width: 100%;
  min-height: 56px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.primary-link:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
}

.form-status.is-success {
  color: var(--purple-deep);
}

.form-status.is-error {
  color: #a72d28;
}

.submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.footer-brand img {
  display: block;
  width: 124px;
  height: auto;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(109, 73, 255, 0.2);
  border-radius: 999px;
  color: var(--purple-deep);
  background: rgba(255, 254, 249, 0.76);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  color: #ffffff;
  background: var(--purple);
}

.social-links svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sceneFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes orbitTrace {
  from {
    transform: rotate(-14deg);
  }
  to {
    transform: rotate(346deg);
  }
}

@keyframes scanPass {
  0%,
  18% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.26);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
}

@keyframes nodeNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes carBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.035);
  }
}

@keyframes routeParticle {
  0% {
    left: 74px;
    opacity: 0;
    transform: scale(0.7);
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 94px);
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes radarPing {
  0% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.25);
  }
}

@keyframes movingGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  45% {
    transform: translate(175px, 22px) scale(1.18);
  }
  72% {
    transform: translate(300px, -34px) scale(0.92);
  }
}

@keyframes ambientMapGlow {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes miniCruiseOne {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
    opacity: 0.42;
  }
  45% {
    transform: translate(110px, -56px) rotate(8deg);
    opacity: 0.9;
  }
  75% {
    transform: translate(220px, -22px) rotate(2deg);
    opacity: 0.5;
  }
}

@keyframes miniCruiseTwo {
  0%,
  100% {
    transform: translate(0, 0) rotate(8deg);
    opacity: 0.38;
  }
  42% {
    transform: translate(-120px, 44px) rotate(-7deg);
    opacity: 0.82;
  }
  72% {
    transform: translate(-230px, 20px) rotate(-2deg);
    opacity: 0.5;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 32px 32px;
  }
}

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

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .hero,
  .access-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 22px;
  }

  .scene-map {
    min-height: 260px;
  }

  .map-route {
    top: 130px;
  }

  .map-node {
    top: 119px;
  }

  .route-particle {
    top: 134px;
  }

  .radar-ring {
    top: 134px;
  }

  .car-chip {
    top: 101px;
  }

  .mini-car.c1 {
    left: 16%;
    top: 70%;
  }

  .mini-car.c2 {
    right: 12%;
    top: 22%;
  }

  .access-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 78px;
  }

  .brand img {
    width: 118px;
  }

  h1 {
    font-size: 56px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .scene-metrics,
  .proof-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .access-section {
    padding: 56px 0;
  }

  .access-form {
    padding: 18px;
  }

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

  .social-links {
    justify-content: flex-start;
  }
}
