/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-void:    #03070F;
  --bg-deep:    #060D1A;
  --bg-surface: #0B1527;
  --bg-panel:   #0F1C35;
  --cyan:       #00E5FF;
  --cyan-dim:   #00B4CC;
  --cyan-ghost: rgba(0,229,255,0.08);
  --amber:      #FFB800;
  --green:      #00FF87;
  --text-hi:    #EEF3FC;
  --text-mid:   #8BA0BF;
  --text-lo:    #4A607A;
  --border:     rgba(0,229,255,0.12);
  --border-hi:  rgba(0,229,255,0.3);
  --glow:       0 0 40px rgba(0,229,255,0.15);
  --glow-hi:    0 0 60px rgba(0,229,255,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-hi);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── GRID BACKGROUND ─── */
.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
