:root {
  --navy-950: #050d1a;
  --navy-900: #0a1930;
  --navy-800: #122a4a;
  --navy-700: #1a3a6b;
  --blue-500: #3d7eff;
  --blue-300: #8bb4ff;
  --ink: #e8eef8;
  --ink-muted: #9aafc9;
  --accent: #5eead4;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #163a6e 0%, transparent 55%),
    radial-gradient(90% 60% at 100% 100%, #0c2748 0%, transparent 50%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 55%, #061222 100%);
  overflow-x: hidden;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: #1e4d8c;
  top: 8%;
  left: -8%;
}

.glow-b {
  width: min(45vw, 340px);
  height: min(45vw, 340px);
  background: #0f3d5c;
  bottom: 5%;
  right: -6%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.route {
  position: absolute;
  inset: 18% 10% auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(94, 234, 212, 0.15) 20%,
    rgba(61, 126, 255, 0.35) 50%,
    rgba(94, 234, 212, 0.15) 80%,
    transparent 100%
  );
  transform-origin: left center;
  animation: draw-route 2.4s ease-out both;
}

.route::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.7);
  transform: translate(-50%, -50%);
  animation: courier 3.2s ease-in-out 1.2s infinite;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 40rem);
  text-align: center;
  padding: 2rem 0 3rem;
}

.mark {
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--blue-300);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.package {
  width: clamp(4.5rem, 14vw, 5.75rem);
  height: auto;
  animation: float 4.5s ease-in-out 0.6s infinite;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 12vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(135deg, #ffffff 10%, var(--blue-300) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.headline {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.tagline {
  margin-top: 1.75rem;
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.status {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  animation: ping 1.8s ease-out infinite;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.45rem);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(3%, 4%) scale(1.08);
  }
}

@keyframes draw-route {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes courier {
  0% {
    left: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(94, 234, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
  }
}

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

  .mark,
  .brand,
  .headline,
  .tagline,
  .status,
  .package {
    opacity: 1;
    transform: none;
  }
}
