:root {
  --bg-deep: #03081a;
  --bg-mid: #050d24;
  --bg-soft: #0a1638;
  --grid: rgba(120, 180, 255, 0.06);
  --grid-strong: rgba(120, 180, 255, 0.1);
  --cyan: #38d6ff;
  --royal: #2a6bff;
  --ink: #eaf2ff;
  --ink-dim: #8fa6d4;
  --ring: rgba(56, 214, 255, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  min-height: 100dvh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      ellipse at 50% -10%,
      rgba(42, 107, 255, 0.25) 0%,
      rgba(42, 107, 255, 0) 55%
    ),
    radial-gradient(
      ellipse at 50% 120%,
      rgba(56, 214, 255, 0.18) 0%,
      rgba(56, 214, 255, 0) 60%
    ),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 60%, var(--bg-soft) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-strong) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 45%,
    rgba(0, 0, 0, 0) 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 45%,
    rgba(0, 0, 0, 0) 80%
  );
}

.glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.55;
}

.glow-a {
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--royal) 0%, rgba(42, 107, 255, 0) 70%);
}

.glow-b {
  width: 620px;
  height: 620px;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--cyan) 0%, rgba(56, 214, 255, 0) 70%);
  opacity: 0.35;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 6vw, 72px) clamp(20px, 5vw, 48px);
  gap: clamp(20px, 3.5vw, 36px);
}

.logo {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(120, 180, 255, 0.12),
    0 30px 80px -20px rgba(42, 107, 255, 0.55),
    0 0 60px -10px var(--ring);
  animation: float 7s ease-in-out infinite;
}

.headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.title {
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.05;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #cfe2ff 55%,
    var(--cyan) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(56, 214, 255, 0.15);
}

.tagline {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
}

.footnote {
  position: relative;
  z-index: 1;
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(143, 166, 212, 0.6);
}

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

@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
  }
}

@media (max-width: 480px) {
  .glow-a {
    width: 360px;
    height: 360px;
  }
  .glow-b {
    width: 420px;
    height: 420px;
  }
}
