*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #041018;
  --bg-mid: #0a2840;
  --electric-blue: #00e5ff;
  --volt-green: #39ff14;
  --charge-yellow: #ffe566;
  --text: #e8f4ff;
  --muted: #7eb8d4;
  --brand-ev-size: clamp(3rem, 12vw, 5rem);
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Night highway sky */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 120, 180, 0.35), transparent 55%),
    radial-gradient(circle at 20% 15%, rgba(57, 255, 20, 0.08), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #061525 0%, var(--bg-deep) 45%, #030a10 100%);
}

/* Road perspective */
.road {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 20, 35, 0.9) 25%, #0c1824 100%);
  clip-path: polygon(0 40%, 100% 40%, 100% 100%, 0 100%);
}

.road-lines {
  position: absolute;
  inset: 45% 0 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 28px,
    rgba(255, 229, 102, 0.55) 28px,
    rgba(255, 229, 102, 0.55) 44px
  );
  transform: perspective(400px) rotateX(55deg);
  transform-origin: center top;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 80%, transparent);
}

/* EV illustration */
.ev-scene {
  position: fixed;
  left: 50%;
  bottom: 8vh;
  width: min(920px, 120vw);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, black 40%, transparent 95%);
}

.ev-art {
  width: 100%;
  height: auto;
}

.bolt {
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.6));
  animation: boltPulse 2.4s ease-in-out infinite;
}

.pulse-dot {
  animation: dotPulse 1.8s ease-in-out infinite;
}

.energy-flow {
  stroke-dasharray: 8 12;
  animation: flow 1.2s linear infinite;
}

@keyframes boltPulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.8));
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px #39ff14);
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -40;
  }
}

/* Main content */
.page {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.brand-logo {
  position: relative;
  flex-shrink: 0;
  width: var(--brand-ev-size);
  height: var(--brand-ev-size);
  margin-bottom: 0;
}

.logo-mark {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-symbol {
  transform-origin: 24px 24px;
}

.logo-pin {
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.25));
}

.logo-bolt {
  filter: drop-shadow(0 0 3px #ffe566) drop-shadow(0 0 8px rgba(57, 255, 20, 0.85));
  animation: boltFlash 2s ease-in-out infinite;
  transform-origin: 24px 21px;
}

@keyframes boltFlash {
  0%,
  100% {
    filter: drop-shadow(0 0 3px #ffe566) drop-shadow(0 0 8px rgba(57, 255, 20, 0.75));
  }
  50% {
    filter: drop-shadow(0 0 5px #fffef0) drop-shadow(0 0 14px rgba(57, 255, 20, 1));
  }
}

@keyframes symbolPulse {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}

@keyframes chargeGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2.5vw, 1.1rem);
}

.name {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: var(--brand-ev-size);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.name-prefix {
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.35);
}

.name-ev {
  background: linear-gradient(135deg, var(--electric-blue), var(--volt-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.4));
}

.tagline {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 500;
  color: var(--electric-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charge-yellow);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow:
    0 0 24px rgba(0, 229, 255, 0.15),
    inset 0 0 20px rgba(57, 255, 20, 0.05);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--volt-green);
  box-shadow: 0 0 10px var(--volt-green);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.ev-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  list-style: none;
}

.ev-pills li {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 9999px;
  background: rgba(10, 40, 64, 0.5);
}

.ev-pills li:nth-child(1) {
  border-color: rgba(0, 229, 255, 0.35);
  color: #7eeeff;
}

.ev-pills li:nth-child(2) {
  border-color: rgba(57, 255, 20, 0.35);
  color: #a8ff78;
}

.ev-pills li:nth-child(3) {
  border-color: rgba(255, 229, 102, 0.4);
  color: #ffe566;
}

.footer {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-contact {
  font-size: 0.82rem;
  color: rgba(126, 184, 212, 0.9);
}

.footer-contact a {
  margin-left: 0.25rem;
  font-weight: 500;
}

.footer a {
  color: var(--electric-blue);
  text-decoration: none;
  opacity: 0.85;
}

.footer a:hover {
  opacity: 1;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

@media (max-width: 520px) {
  .ev-scene {
    opacity: 0.35;
    bottom: 4vh;
  }

  .footer {
    position: static;
    margin-top: 2.5rem;
  }
}
