/* ═══════════════════════════════════════
   base.css — Body, utilities, cursor, canvas
═══════════════════════════════════════ */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  cursor: none;
}

/* ── Canvas background ── */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Scroll progress bar ── */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 300;
  transition: width 0.1s linear;
  width: 0%;
}

/* ── Custom cursor ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9998;
  pointer-events: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 200, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
body.hovering #cursor       { width: 8px; height: 8px; background: var(--accent3); }
body.hovering #cursor-ring  { width: 60px; height: 60px; border-color: var(--accent3); }

/* ── Section layout ── */
section {
  position: relative;
  z-index: 1;
}
.section-wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 1rem auto 0;
}

/* ── Gradient text ── */
.grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: var(--glow-btn);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.4s;
}
.btn-primary:hover::after  { transform: translateX(120%) skewX(-20deg); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0,200,255,0.5), 0 0 80px rgba(123,79,255,0.25);
}
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  box-shadow: inset 0 0 20px rgba(0,200,255,0.06);
  transform: translateY(-3px);
}

/* ── Burst particles (JS-injected) ── */
.burst {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  border-radius: 50%;
}
