/* ============================================
   FLOWCARE ENGINEERING - DESIGN TOKENS
   Industrial Clean Design System
   ============================================ */

:root {
  /* ========== COLOR PALETTE ========== */
  
  /* Slate - Primary Neutrals */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* Safety Blue - Trust & Authority */
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;

  /* Industrial Orange - Warning & Highlights */
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;

  /* Success Green */
  --green-600: #16a34a;
  --green-500: #22c55e;

  /* Pure */
  --white: #ffffff;
  --black: #000000;

  /* ========== SEMANTIC COLORS ========== */
  --color-bg-primary: var(--slate-950);
  --color-bg-secondary: var(--slate-900);
  --color-bg-tertiary: var(--slate-800);
  --color-bg-card: var(--slate-800);
  --color-bg-card-hover: var(--slate-700);
  
  --color-text-primary: var(--white);
  --color-text-secondary: var(--slate-300);
  --color-text-tertiary: var(--slate-400);
  --color-text-muted: var(--slate-500);

  --color-border: var(--slate-700);
  --color-border-light: var(--slate-600);

  --color-accent: var(--blue-500);
  --color-accent-hover: var(--blue-400);
  --color-accent-dark: var(--blue-600);

  --color-highlight: var(--orange-500);

  /* ========== TYPOGRAPHY ========== */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ========== SPACING ========== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  /* ========== BORDERS & RADIUS ========== */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 4px;

  /* ========== SHADOWS ========== */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 30px -5px var(--blue-500);
  --shadow-glow-lg: 0 0 60px -10px var(--blue-500);

  /* ========== TRANSITIONS ========== */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* ========== Z-INDEX ========== */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-max: 9999;

  /* ========== GRADIENTS ========== */
  --gradient-dark: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-950) 100%);
  --gradient-card: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  --gradient-accent: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  --gradient-hero: linear-gradient(180deg, transparent 0%, var(--slate-950) 100%);
  --gradient-glow: radial-gradient(ellipse at center, var(--blue-500) 0%, transparent 70%);
}
