/* ========== CSS TOKENS - Design System Variables ========== */
/* Aesthetic: Assembly Line | Palette: Warm Steel (gray-purple) */

:root {
  /* Backgrounds - Warm Steel base */
  --bg-primary: #101014;
  --bg-secondary: #18181f;
  --bg-tertiary: #202028;
  --bg-hover: #282832;
  --bg-elevated: #1c1c24;

  /* Borders - purple-tinted grays */
  --border: #2e2e3a;
  --border-subtle: #242430;
  --border-strong: #3a3a48;

  /* Text */
  --text-primary: #e8e8ec;
  --text-secondary: #9898a8;
  --text-muted: #5c5c6c;
  --text-accent: #c4b5fd;

  /* Accent colors - Soft Lavender */
  --accent: #a78bfa;
  --accent-bright: #c4b5fd;
  --accent-dim: #7c3aed;
  --accent-glow: rgba(167, 139, 250, 0.4);
  --accent-subtle: rgba(167, 139, 250, 0.12);

  /* Secondary accent - Steel Purple */
  --accent-secondary: #7c7c8a;
  --accent-secondary-glow: rgba(124, 124, 138, 0.3);

  /* Category colors (for Gantt chart) */
  --planning: #a78bfa;
  --characters: #f0abfc;
  --environment: #86efac;
  --misc: #c4b5fd;

  /* Status colors */
  --status-success: #4ade80;
  --status-success-subtle: rgba(74, 222, 128, 0.15);
  --status-warning: #fbbf24;
  --status-warning-subtle: rgba(251, 191, 36, 0.15);
  --status-error: #f87171;
  --status-error-subtle: rgba(248, 113, 113, 0.15);
  --status-info: #a78bfa;
  --status-info-subtle: rgba(167, 139, 250, 0.15);

  /* Assembly line specific */
  --track-color: #2e2e3a;
  --track-active: #a78bfa;
  --station-bg: #1c1c24;
  --station-border: #3a3a48;
  --conveyor-line: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);

  /* Spacing scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;

  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-2xl: 12px;

  /* Font sizes */
  --font-xs: 11px;
  --font-sm: 12px;
  --font-base: 13px;
  --font-md: 14px;
  --font-lg: 16px;
  --font-xl: 20px;
  --font-2xl: 24px;
  --font-3xl: 32px;
  --font-4xl: 40px;

  /* Line heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* Transitions - Mechanical/Industrial feel */
  --transition-fast: 0.1s ease;
  --transition-base: 0.15s ease;
  --transition-slow: 0.2s ease;
  --transition-slower: 0.3s ease;

  /* Mechanical easing curves */
  --ease-mechanical: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-snap: cubic-bezier(0.68, -0.1, 0.32, 1.1);
  --ease-step-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-step-out: cubic-bezier(0, 0, 0.2, 1);

  /* Shadows - purple tinted */
  --shadow-sm: 0 1px 2px rgba(16, 16, 20, 0.6);
  --shadow-md: 0 4px 12px rgba(16, 16, 20, 0.5);
  --shadow-lg: 0 8px 24px rgba(16, 16, 20, 0.6);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.03);

  /* Grid / Track lines */
  --grid-color: rgba(167, 139, 250, 0.06);
  --grid-size: 40px;
}
