* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #05070a;
  color: #f5f7fa;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.scene {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 70% 45%,
      #172333 0,
      #0a0e14 42%,
      #040609 100%
    );
}

.scene:before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      115deg,
      rgba(93,173,255,.06),
      transparent 35%,
      rgba(255,255,255,.025) 70%,
      transparent
    );

  pointer-events: none;
}


/* GRID */

.grid {
  position: absolute;

  width: 160%;
  height: 65%;

  bottom: -28%;
  left: -30%;

  background:
    linear-gradient(
      rgba(120,180,255,.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(120,180,255,.08) 1px,
      transparent 1px
    );

  background-size: 55px 55px;

  transform:
    perspective(450px)
    rotateX(67deg);

  mask-image:
    linear-gradient(
      to top,
      rgba(0,0,0,.9),
      transparent 75%
    );

  animation: gridMove 12s linear infinite;
}


/* AURORA */

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .2;
  pointer-events: none;
}

.aurora-a {
  width: 420px;
  height: 420px;

  background: #087fff;

  right: -150px;
  top: 20%;

  animation: float 8s ease-in-out infinite;
}

.aurora-b {
  width: 300px;
  height: 300px;

  background: #62b8ff;

  left: 18%;
  bottom: -170px;

  animation:
    float 10s ease-in-out infinite reverse;
}


/* CARD */

.card {
  width: min(1500px, 100%);

  min-height:
    calc(100vh - 40px);

  border:
    1px solid
    rgba(175,205,235,.16);

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      rgba(15,20,27,.82),
      rgba(5,8,12,.7)
    );

  box-shadow:
    0 40px 100px rgba(0,0,0,.6),
    inset 0 1px rgba(255,255,255,.06);

  backdrop-filter: blur(12px);

  position: relative;

  z-index: 2;

  overflow: hidden;

  transform-style: preserve-3d;
}


/* NAV */

.nav {
  height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 38px;

  border-bottom:
    1px solid
    rgba(255,255,255,.08);

  position: relative;
  z-index: 5;
}

.brands {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  font-weight: 800;
  letter-spacing: 1.4px;
  font-size: 20px;
}

.faw {
  font-size: 21px;
}

.faw span {
  font-weight: 500;
}

.bestune {
  letter-spacing: 4px;
}

.brands i {
  height: 32px;
  width: 1px;

  background:
    rgba(255,255,255,.35);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #d7dce3;
  text-decoration: none;
  font-size: 14px;
  transition: .25s;
}

nav a:hover {
  color: #68b8ff;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: #d7dce3;
  font-weight: 700;
  cursor: pointer;
}


/* HERO */

.hero {
  min-height:
    calc(100vh - 250px);

  display: flex;
  align-items: center;

  position: relative;
}


/* TEXT */

.copy {
  width: 42%;

  padding:
    50px
    0
    60px
    5%;

  position: relative;
  z-index: 4;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: #80bfff;
  font-weight: 700;

  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 34px;
  height: 1px;

  background: #65b9ff;

  box-shadow:
    0 0 15px #65b9ff;

  animation:
    signalBlink
    1.8s
    ease-in-out
    infinite;
}

h1 {
  font-size:
    clamp(60px, 7vw, 110px);

  line-height: .88;

  letter-spacing: -5px;

  margin:
    24px
    0
    34px;

  font-weight: 800;

  text-shadow:
    0 10px 50px rgba(0,0,0,.6);
}

h1 em {
  font-style: normal;

  background:
    linear-gradient(
      100deg,
      #fff,
      #8da5ba
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.line {
  width: 80px;
  height: 2px;

  background: #55b4ff;

  box-shadow:
    0 0 18px #55b4ff;

  margin-bottom: 28px;

  animation:
    linePulse
    2.5s
    ease-in-out
    infinite;
}

.copy p {
  font-size: 16px;
  line-height: 1.8;

  color: #c5ccd5;

  margin:
    0
    0
    30px;
}


/* BUTTON */

.notify {
  border:
    1px solid
    rgba(190,220,245,.5);

  background:
    rgba(255,255,255,.025);

  color: #fff;

  border-radius: 999px;

  padding:
    14px
    23px;

  cursor: pointer;

  font: inherit;

  transition: .35s;

  box-shadow:
    inset
    0 0
    20px
    rgba(255,255,255,.02);

  animation:
    buttonGlow
    3s
    ease-in-out
    infinite;
}

.notify:hover {
  transform: translateY(-3px);

  border-color: #66baff;

  box-shadow:
    0 10px 30px
    rgba(45,158,255,.2);
}

.bell {
  display: inline-block;
  margin-right: 8px;
  color: #72c0ff;
}


/* VIDEO STAGE */

.vehicle-stage {
  position: absolute;

  right: -7%;
  top: 3%;

  width: 76%;
  height: 95%;

  perspective: 1100px;

  transform-style: preserve-3d;

  transform:
    translate3d(
      var(--px, 0px),
      var(--py, 0px),
      0
    );

  animation:
    stageFloat
    7s
    ease-in-out
    infinite;

  will-change: transform;
}


/* VIDEO */

.vehicle-video {
  position: absolute;

  right: 0;
  top: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: 28px;

  z-index: 2;

  display: block;

  opacity: .95;

  filter:
    saturate(.95)
    contrast(1.08)
    brightness(.96);

  transform:
    translateZ(30px)
    scale(1.06);

  will-change:
    transform,
    filter;

  animation:
    videoPulse
    5s
    ease-in-out
    infinite;

  pointer-events: none;

  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 18%,
      black 100%
    );

  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 18%,
      black 100%
    );
}


/* VIDEO OVERLAY */

.video-overlay {
  position: absolute;

  inset: 0;

  z-index: 3;

  border-radius: 28px;

  pointer-events: none;

  background:

    linear-gradient(
      90deg,
      rgba(5,8,12,1) 0%,
      rgba(5,8,12,.42) 17%,
      transparent 42%,
      rgba(30,130,220,.05) 75%,
      rgba(5,8,12,.28) 100%
    ),

    linear-gradient(
      0deg,
      rgba(3,6,10,.5),
      transparent 38%,
      rgba(3,6,10,.08)
    );
}


/* GLOW */

.vehicle-glow {
  position: absolute;

  z-index: 1;

  width: 55%;
  height: 40%;

  right: 12%;
  top: 30%;

  background: #3aaeff;

  filter: blur(100px);

  opacity: .14;

  border-radius: 50%;

  animation:
    glowPulse
    4s
    ease-in-out
    infinite;
}


/* RINGS */

.ring {
  position: absolute;

  z-index: 4;

  border:
    1px solid
    rgba(93,190,255,.16);

  border-radius: 50%;

  transform-style: preserve-3d;

  pointer-events: none;
}

.ring-1 {
  width: 500px;
  height: 500px;

  right: 15%;
  top: 31%;

  transform: rotateX(68deg);

  animation:
    ringSpin 13s linear infinite,
    ringPulse 4s ease-in-out infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;

  right: 23%;
  top: 37%;

  transform: rotateY(70deg);

  animation:
    ringSpin 9s linear infinite reverse,
    ringPulse 3.2s ease-in-out infinite reverse;
}


/* SCAN */

.scan {
  position: absolute;

  z-index: 5;

  right: 10%;
  top: 18%;

  width: 2px;
  height: 65%;

  background:
    linear-gradient(
      transparent,
      #67c4ff,
      transparent
    );

  filter: blur(1px);

  opacity: .5;

  animation:
    scan 4s ease-in-out infinite,
    scanGlow 2s ease-in-out infinite;
}


/* LIGHT SWEEP */

.vehicle-stage::before {
  content: "";

  position: absolute;

  inset:
    5%
    0
    8%
    12%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(70,180,255,.16),
      transparent 62%
    );

  filter: blur(30px);

  opacity: .7;

  animation:
    haloPulse
    5s
    ease-in-out
    infinite;

  pointer-events: none;

  z-index: 0;
}

.vehicle-stage::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      105deg,
      transparent 35%,
      rgba(120,210,255,.12) 48%,
      transparent 58%
    );

  transform:
    translateX(-120%);

  animation:
    lightSweep
    6s
    ease-in-out
    infinite;

  pointer-events: none;

  mix-blend-mode: screen;

  z-index: 6;
}


/* FEATURES */

.features {
  position: absolute;

  bottom: 22px;
  left: 3%;
  right: 3%;

  min-height: 90px;

  border-radius: 22px;

  background:
    rgba(22,27,34,.82);

  border:
    1px solid
    rgba(255,255,255,.06);

  display: grid;

  grid-template-columns:
    1fr
    1fr
    1fr
    1.05fr;

  align-items: center;

  z-index: 5;

  backdrop-filter: blur(15px);
}

.feature {
  display: flex;

  align-items: center;

  gap: 16px;

  padding:
    20px
    28px;

  border-right:
    1px solid
    rgba(255,255,255,.1);

  transition:
    transform .35s ease,
    background .35s ease;
}

.feature:hover {
  transform:
    translateY(-5px);

  background:
    rgba(65,145,210,.08);
}

.feature-icon {
  font-size: 28px;

  color: #71bcff;

  width: 38px;

  text-align: center;
}

.feature strong {
  display: block;

  font-size: 14px;

  margin-bottom: 6px;
}

.feature small {
  color: #9ca7b3;

  font-size: 11px;
}

.footer-brand {
  text-align: center;

  font-size: 19px;

  letter-spacing: 2px;
}

.footer-brand span {
  display: block;

  font-size: 12px;

  letter-spacing: 4px;

  margin-top: 5px;
}


/* TOAST */

.toast {
  position: fixed;

  bottom: 30px;
  left: 50%;

  transform:
    translate(-50%,30px);

  opacity: 0;

  background: #111820;

  border:
    1px solid
    #3b9fe8;

  padding:
    13px
    20px;

  border-radius: 12px;

  z-index: 20;

  transition: .4s;

  box-shadow:
    0 15px 40px #0008;
}

.toast.show {
  opacity: 1;

  transform:
    translate(-50%,0);
}


/* PARTICLES */

#particles {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;
}

.particle {
  position: absolute;

  width: 2px;
  height: 2px;

  border-radius: 50%;

  background: #8ccfff;

  box-shadow:
    0 0 8px
    #8ccfff;

  animation:
    particleFloat
    linear
    infinite;
}


/* ANIMATIONS */

@keyframes gridMove {

  to {
    transform:
      perspective(450px)
      rotateX(67deg)
      translateY(55px);
  }

}

@keyframes ringSpin {

  to {
    rotate:
      0
      0
      1
      360deg;
  }

}

@keyframes scan {

  0%,100% {
    transform:
      translateX(-160px);

    opacity: 0;
  }

  45%,60% {
    opacity: .65;
  }

  80% {
    transform:
      translateX(120px);

    opacity: 0;
  }

}

@keyframes float {

  50% {
    transform:
      translateY(-35px)
      scale(1.08);
  }

}

@keyframes particleFloat {

  from {
    transform:
      translate3d(0,30px,0);

    opacity: 0;
  }

  15% {
    opacity: .7;
  }

  85% {
    opacity: .7;
  }

  to {
    transform:
      translate3d(40px,-110px,0);

    opacity: 0;
  }

}

@keyframes stageFloat {

  0%,100% {
    transform:
      translate3d(
        var(--px,0px),
        var(--py,0px),
        0
      )
      rotateZ(0deg);
  }

  50% {
    transform:
      translate3d(
        var(--px,0px),
        calc(var(--py,0px) - 9px),
        0
      )
      rotateZ(.35deg);
  }

}

@keyframes videoPulse {

  0%,100% {
    filter:
      saturate(.95)
      contrast(1.08)
      brightness(.96);
  }

  50% {
    filter:
      saturate(1.05)
      contrast(1.12)
      brightness(1.05);
  }

}

@keyframes glowPulse {

  0%,100% {
    opacity: .10;
    transform: scale(.92);
  }

  50% {
    opacity: .24;
    transform: scale(1.12);
  }

}

@keyframes haloPulse {

  0%,100% {
    opacity: .35;
    transform: scale(.88);
  }

  50% {
    opacity: .85;
    transform: scale(1.08);
  }

}

@keyframes lightSweep {

  0%,25% {
    transform:
      translateX(-120%);

    opacity: 0;
  }

  38%,55% {
    opacity: 1;
  }

  75%,100% {
    transform:
      translateX(120%);

    opacity: 0;
  }

}

@keyframes signalBlink {

  0%,100% {
    opacity: .35;
    transform: scaleX(.8);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.25);
  }

}

@keyframes linePulse {

  0%,100% {
    width: 60px;
    opacity: .55;
  }

  50% {
    width: 115px;
    opacity: 1;
  }

}

@keyframes buttonGlow {

  0%,100% {
    box-shadow:
      inset
      0 0
      20px
      rgba(255,255,255,.02),
      0 0
      0
      rgba(70,180,255,0);
  }

  50% {
    box-shadow:
      inset
      0 0
      20px
      rgba(255,255,255,.04),
      0 0
      28px
      rgba(70,180,255,.18);
  }

}

@keyframes ringPulse {

  0%,100% {
    opacity: .35;
    scale: .96;
  }

  50% {
    opacity: .85;
    scale: 1.04;
  }

}

@keyframes scanGlow {

  0%,100% {
    filter: blur(2px);
  }

  50% {
    filter: blur(.2px);
  }

}


/* TABLET */

@media (max-width: 900px) {

  .scene {
    padding: 8px;
  }

  .card {
    min-height:
      calc(100vh - 16px);

    border-radius: 20px;
  }

  .nav {
    padding: 0 20px;
    height: 72px;
  }

  .nav nav a {
    display: none;
  }

  .hero {
    min-height:
      calc(100vh - 190px);

    display: block;

    overflow: hidden;
  }

  .copy {
    width: 100%;
    padding:
      55px
      24px
      0;
  }

  .copy h1 {
    font-size: 64px;
  }

  .vehicle-stage {
    width: 125%;
    height: 65%;

    right: -28%;
    top: 28%;

    opacity: .88;
  }

  .vehicle-video {
    object-position: center center;
  }

  .features {
    position: relative;

    bottom: auto;
    left: auto;
    right: auto;

    margin:
      0
      12px
      12px;

    grid-template-columns:
      1fr
      1fr;
  }

  .feature {
    padding: 16px;

    border-bottom:
      1px solid
      rgba(255,255,255,.08);
  }

  .footer-brand {
    display: none;
  }

}


/* MOBILE */

@media (max-width: 520px) {

  .brands {
    gap: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .faw {
    font-size: 15px;
  }

  .bestune {
    font-size: 12px;
  }

  .brands i {
    height: 24px;
  }

  .copy {
    padding-top: 40px;
  }

  .copy h1 {
    font-size: 54px;
    letter-spacing: -3px;
  }

  .copy p {
    font-size: 13px;
  }

  .vehicle-stage {

    top: 34%;

    height: 55%;

    width: 145%;

    right: -38%;

    opacity: .78;
  }

  .vehicle-video {
    object-position: center center;
    border-radius: 18px;
  }

  .features {
    grid-template-columns:
      1fr
      1fr;

    gap: 8px;
  }

  .feature {
    min-width: 0;

    overflow: hidden;

    padding: 10px;
  }

  .feature:nth-child(3) {
    display: none;
  }

  .feature-icon {
    width: 30px;

    font-size: 22px;

    flex:
      0 0 auto;
  }

  .feature strong {
    font-size: 11px;

    line-height: 1.25;
  }

  .feature small {
    font-size: 9px;

    line-height: 1.25;
  }

  .ring-1 {
    width: 88vw;
    height: 88vw;
  }

  .ring-2 {
    width: 66vw;
    height: 66vw;
  }

  .notify {
    padding:
      12px
      18px;

    font-size: 13px;
  }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {

    animation-duration:
      .01ms !important;

    animation-iteration-count:
      1 !important;
  }

}