:root {
  --bg: #061122;
  --fg: #eaf2ff;
  --accent: #00d4ff;
  --accent2: #5b7bff;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: 'Outfit', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, #0f2144 0%, var(--bg) 55%);
  color: var(--fg);
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

h1 {
  font-size: clamp(2rem, 7vw, 5rem);
  margin: 0 0 0.4em;
  font-weight: 900;
  line-height: 1.05;
  text-wrap: balance;
  background: linear-gradient(90deg, #fff, #95c4ff, #79f1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
  opacity: 0.75;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 1;
}
.orb-a {
  width: 320px;
  height: 320px;
  left: -60px;
  top: -40px;
  background: var(--accent2);
  animation: drift 8s ease-in-out infinite;
}
.orb-b {
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: -40px;
  background: var(--accent);
  animation: drift 10s ease-in-out infinite reverse;
}

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -20px); }
}
