:root {
  --bg: #050816;
  --bg-soft: #0a1022;
  --text: #eef2ff;
  --muted: #a8b3cf;
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.04);
  --accent: #7dd3fc;
  --accent-2: #8b5cf6;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.08), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #040714 0%, #070b18 100%);
  overflow: hidden;
}

::selection {
  background: rgba(125, 211, 252, 0.24);
  color: #ffffff;
}

.background,
.glow,
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid {
  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: 44px 44px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.7;
}

.glow {
  filter: blur(90px);
  opacity: 0.55;
}

.glow-1 {
  width: 28rem;
  height: 28rem;
  background: rgba(125, 211, 252, 0.18);
  top: -8rem;
  left: -8rem;
}

.glow-2 {
  width: 24rem;
  height: 24rem;
  background: rgba(139, 92, 246, 0.2);
  right: -6rem;
  top: 20%;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(calc(100% - 32px), 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #dbe9ff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 14px;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h1 span {
  background: linear-gradient(135deg, #e8f7ff 0%, var(--accent) 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: #07101d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    0 18px 50px rgba(96, 165, 250, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 60px rgba(96, 165, 250, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.9);
  outline-offset: 4px;
}

body.is-ready .hero > * {
  opacity: 1;
  transform: translateY(0);
}

.hero > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.hero > *:nth-child(1) {
  transition-delay: 80ms;
}

.hero > *:nth-child(2) {
  transition-delay: 160ms;
}

.hero > *:nth-child(3) {
  transition-delay: 240ms;
}

.hero > *:nth-child(4) {
  transition-delay: 320ms;
}

@media (max-width: 640px) {
  .hero {
    width: min(calc(100% - 24px), 760px);
  }

  .subtitle {
    font-size: 1rem;
  }

  .cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero > *,
  .cta {
    transition: none;
  }
}