:root {
  /* BMW logo blue */
  --bmw-blue: #0066b1;
  --bmw-blue-deep: #004e8c;
  --bmw-blue-soft: rgba(0, 102, 177, 0.45);
  --bg: #05080e;
  --ink: #f4f7fa;
  --muted: #b4c0cc;
  --line: rgba(244, 247, 250, 0.14);
  --accent: var(--bmw-blue);
  --accent-soft: var(--bmw-blue-soft);
  --steel: #d0dae3;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #02050a;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.03);
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.35) 0%, rgba(2, 5, 10, 0.55) 42%, rgba(2, 5, 10, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 102, 177, 0.22) 0%, transparent 45%, rgba(0, 78, 140, 0.18) 100%);
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -12%;
  bottom: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 177, 0.35), transparent 68%);
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(5rem, 10vh, 7rem);
  max-width: 920px;
  margin: 0 auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(0, 102, 177, 0.45);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 20, 40, 0.45);
  backdrop-filter: blur(8px);
  animation: rise 0.9s ease both;
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: pulse 2.2s ease-out infinite;
}

.brand {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  animation: rise 1s 0.08s ease both;
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  animation: rise 1s 0.16s ease both;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  animation: rise 1s 0.24s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 0.15rem;
  background: var(--bmw-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(0, 102, 177, 0.38);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  background: var(--bmw-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 102, 177, 0.48);
}

.domains {
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  color: rgba(180, 192, 204, 0.8);
  font-size: 0.8rem;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  70% {
    box-shadow: 0 0 0 12px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-3%, -4%, 0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@media (max-width: 640px) {
  .shell {
    padding-bottom: 5.5rem;
  }

  .hero-img {
    object-position: center 35%;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-img {
    transform: none;
  }
}
