/* ============================================================
   HELIWARE — BASE DESIGN SYSTEM
   Design tokens, typography, global layout primitives.
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Backgrounds — Premium Luxury Dark Theme */
  --bg-deep: #020611;
  --bg-mid: #05172A;
  --bg-surface: #0A1F3A;
  --bg-raised: #103357;

  /* Accent / Brand — Pure Vibrant Electric Blue Theme */
  --accent-cyan: #00D8FF;
  --accent-teal: #0066FF;
  /* Shifted greenish-blue to pure vibrant blue */
  --accent-blue: #2563EB;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* Surfaces — Clean Minimal Glass */
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.18);

  /* Glow / Shadows */
  --glow-cyan: rgba(0, 216, 255, 0.35);
  --glow-teal: rgba(0, 102, 255, 0.40);
  --glow-blue: rgba(37, 99, 235, 0.30);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-pill: 9999px;

  /* Z-index layers */
  --z-canvas: 1;
  --z-overlay: 10;
  --z-ui: 20;
  --z-nav: 30;
  --z-cursor: 100;
  --z-loading: 200;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── Global Body ──────────────────────────────────────────── */
html,
body {
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-deep);
}

/* ── Canvas Wrapper ───────────────────────────────────────── */
#canvas-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-canvas);
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

#heliware-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Typography Scale ─────────────────────────────────────── */
.scene-headline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.scene-headline .line {
  display: block;
  margin-bottom: 0.15rem;
}

.scene-headline .line:last-child {
  margin-bottom: 0;
}

.scene-headline .accent {
  color: var(--accent-teal);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Headline size variants */
.scene-headline {
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
}

.scene-headline--medium {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.scene-headline--large {
  font-size: clamp(3.5rem, 7vw, 7.5rem);
}

.scene-description {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
}

.eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.9;
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background: rgba(0, 216, 255, 0.2);
  color: var(--text-primary);
}