:root {
  --bg:        #0a0b10;
  --bg-glow:   #12141c;
  --fg:        #f2f3f7;
  --muted:     #8b8fa3;
  --line:      #262a38;
  --accent:    #bd93f9;
  --accent-2:  #8be9fd;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Hero (the whole page) ---------- */

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

/* Faint dot-grid background, like a circuit board at rest */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 85%);
  opacity: 0.6;
  pointer-events: none;
}

/* Small centered badge, top of the hero — the only "identity" element */
.badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 56px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}

/* Glowing dashed halo behind the headline */
.halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 92vw);
  height: 340px;
  transform: translate(-50%, -52%);
  border: 1px dashed rgba(189, 147, 249, 0.35);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.halo::before {
  content: '';
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(189, 147, 249, 0.18), transparent 70%);
  filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto 36px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: var(--accent-2);
}

.cta-arrow {
  transition: transform 0.15s ease;
}

.cta:hover .cta-arrow {
  transform: translateX(2px);
}

.footnote {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.6;
}

@media (max-width: 520px) {
  .halo { height: 260px; }
  .badge { margin-bottom: 40px; }
}

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