:root {
  --indigo: #1a0664;
  --magenta: #f0025a;
  --purple: #a21caf;
  --bg: #050310;
  --text: #f6f3ff;
  --text-dim: #a49dc2;
  --border: rgba(255,255,255,0.1);
  --grad: linear-gradient(120deg, var(--indigo) 0%, var(--purple) 50%, var(--magenta) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Custom cursor ---------- */

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--magenta);
  box-shadow: 0 0 10px 2px rgba(240, 2, 90, 0.7);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(246, 243, 255, 0.55);
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
.cursor-dot.visible,
.cursor-ring.visible {
  opacity: 1;
}
.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: var(--magenta);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  will-change: transform;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 35%, rgba(5,3,16,0.55) 78%, rgba(5,3,16,0.92) 100%),
    linear-gradient(rgba(5,3,16,0.35), rgba(5,3,16,0.55));
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  padding: 16px 34px;
  box-shadow: 0 8px 30px -8px rgba(240, 2, 90, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(240, 2, 90, 0.8); }
.btn-primary.pulse { animation: btnPulse 0.45s ease; }

@keyframes btnPulse {
  0% { transform: scale(1); }
  35% { transform: scale(0.93); }
  100% { transform: scale(1); }
}

.burst-particle {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  will-change: transform, opacity;
}
.burst-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--magenta);
  pointer-events: none;
  z-index: 200;
  will-change: transform, opacity;
}

/* ---------- Hero (single viewport) ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.grad-text {
  background: linear-gradient(90deg, var(--indigo) 0%, var(--purple) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-logo {
  height: clamp(46px, 7vw, 68px);
  width: auto;
  margin: 4px 0;
  filter: drop-shadow(0 0 20px rgba(240, 2, 90, 0.4)) drop-shadow(0 0 38px rgba(26, 6, 100, 0.45));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.55;
}

/* ---------- Steps strip ---------- */

.steps {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 6px;
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
}
.step-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.step-line {
  width: 28px;
  height: 1px;
  background: var(--border);
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 18px 24px 22px;
}
.site-footer p {
  color: var(--text-dim);
  font-size: 0.78rem;
  opacity: 0.75;
}

/* ---------- Entrance animation ---------- */

.in {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(.16,.8,.3,1) forwards;
}
.eyebrow.in { animation-delay: 0.05s; }
.hero-title.in { animation-delay: 0.15s; }
.hero-logo.in { animation-delay: 0.24s; }
.hero-subtitle.in { animation-delay: 0.32s; }
.steps.in { animation-delay: 0.44s; }
.btn-primary.in { animation-delay: 0.56s; }

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

@media (prefers-reduced-motion: reduce) {
  .in { animation: none; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .hero { gap: 18px; padding: 24px 20px; }
  .steps { gap: 10px; }
  .step-line { width: 16px; }
}

@media (max-height: 700px) {
  .hero { gap: 14px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 3.2rem); }
}
