/**
 * LB DataWorks Design Tokens
 * Theme: Premium dark tech aesthetic with cyan→violet gradient accents
 */

:root {
  /* ============================================
   * DARK MODE (Default)
   * ============================================ */

  /* Core Backgrounds */
  --bg-primary: #0B1220;
  --bg-elevated: #111827;
  --bg-surface: #0F172A;
  --bg-overlay: rgba(11, 18, 32, 0.95);

  /* Gradients */
  --bg-gradient: linear-gradient(135deg, #0B1220 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #2563EB 50%, #7C3AED 100%);
  --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(37, 99, 235, 0.15) 50%, rgba(124, 58, 237, 0.15) 100%);
  --gradient-text: linear-gradient(135deg, #0EA5E9 0%, #7C3AED 100%);

  /* Borders */
  --border-primary: #1E293B;
  --border-subtle: #0F172A;
  --border-accent: rgba(14, 165, 233, 0.3);
  --border-gradient: linear-gradient(135deg, rgba(14, 165, 233, 0.5), rgba(124, 58, 237, 0.5));

  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  /* Accent Colors */
  --accent-cyan: #0EA5E9;
  --accent-cyan-hover: #38BDF8;
  --accent-blue: #2563EB;
  --accent-violet: #7C3AED;
  --accent-glow: rgba(14, 165, 233, 0.25);

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(14, 165, 233, 0.25);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --section-padding-y: 6rem;
  --section-padding-y-sm: 4rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

/* ============================================
 * LIGHT MODE
 * ============================================ */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-elevated: #F8FAFC;
  --bg-surface: #F1F5F9;
  --bg-overlay: rgba(255, 255, 255, 0.95);

  --bg-gradient: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #EFF6FF 100%);
  --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(124, 58, 237, 0.08) 100%);

  --border-primary: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-accent: rgba(14, 165, 233, 0.4);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #F8FAFC;

  --accent-cyan: #0284C7;
  --accent-cyan-hover: #0369A1;
  --accent-blue: #1D4ED8;
  --accent-violet: #6D28D9;
  --accent-glow: rgba(2, 132, 199, 0.15);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.1);
  --shadow-glow-strong: 0 0 40px rgba(2, 132, 199, 0.15);
}
