:root {
  --bg: #050812;
  --ink: #f4f1ff;
  --muted: rgba(244, 241, 255, 0.68);
  --accent: #e23cff;
  --accent-soft: rgba(226, 60, 255, 0.28);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

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

body {
  min-height: 100svh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(90, 24, 140, 0.35), transparent 60%),
    radial-gradient(900px 500px at 85% 80%, rgba(18, 70, 160, 0.22), transparent 55%),
    linear-gradient(180deg, #070b18 0%, #050812 45%, #03050d 100%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(56vw, 520px);
  height: min(56vw, 520px);
  left: -8%;
  top: 18%;
  background: radial-gradient(circle, rgba(226, 60, 255, 0.35), transparent 68%);
}

.glow-b {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  right: -6%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(64, 140, 255, 0.28), transparent 68%);
  animation-delay: -4s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.45;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scan {
  position: absolute;
  inset: -40% 0 auto;
  height: 40%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.035),
    transparent
  );
  animation: scan 7.5s linear infinite;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 920px;
  margin: 0 auto;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  width: clamp(148px, 28vw, 220px);
  height: auto;
  display: block;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 10px 30px rgba(226, 60, 255, 0.18));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

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

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 9ch;
}

.lede {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  font-weight: 400;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(280%);
  }
}

@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;
  }
}

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