/* ==========================================================================
   Design Tokens — Isracollect Premium Design System
   ========================================================================== */

:root {
  /* === BRAND PALETTE (Blue) === */
  --brand-50: #EFF6FF;
  --brand-100: #DBEAFE;
  --brand-200: #BFDBFE;
  --brand-400: #60A5FA;
  --brand-500: #3B82F6;
  --brand-600: #2563EB;
  --brand-700: #1D4ED8;
  --brand-800: #1E40AF;

  /* === BACKGROUNDS === */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFB;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  --bg-hero-card: rgba(255, 255, 255, 0.06);
  --bg-dark: #0F172A;
  --bg-dark-secondary: #1E293B;

  /* === BORDERS === */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-focus: var(--brand-500);
  --border-card: #E2E8F0;

  /* === TEXT === */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-inverse: #FFFFFF;
  --text-on-brand: #FFFFFF;
  --text-link: var(--brand-600);

  /* === ACCENTS === */
  --accent-blue: var(--brand-600);
  --accent-blue-glow: rgba(79, 70, 229, 0.08);
  --accent-blue-hover: var(--brand-700);
  --accent-green: #059669;
  --accent-green-light: #D1FAE5;
  --accent-green-glow: rgba(5, 150, 105, 0.08);
  --accent-orange: #D97706;
  --accent-orange-light: #FEF3C7;
  --accent-orange-glow: rgba(217, 119, 6, 0.08);
  --accent-red: #DC2626;
  --accent-red-light: #FEE2E2;
  --accent-red-glow: rgba(220, 38, 38, 0.08);
  --accent-gold: #B45309;
  --accent-gold-light: #FEF3C7;

  /* === GLASSMORPHISM === */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-blur: blur(24px);
  --glass-dark-bg: rgba(15, 23, 42, 0.85);

  /* === SHADOWS (layered for realism) === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(79, 70, 229, 0.08);
  --shadow-glow-brand: 0 0 24px rgba(99, 102, 241, 0.2);
  --shadow-glow-blue: 0 0 24px rgba(79, 70, 229, 0.2);
  --shadow-glow-green: 0 0 20px rgba(5, 150, 105, 0.15);
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);

  /* === SPACING (8px grid) === */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* === BORDER RADIUS === */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* === TYPOGRAPHY === */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 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.25rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.08em;

  /* === TRANSITIONS === */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === Z-INDEX === */
  --z-dropdown: 50;
  --z-sticky: 60;
  --z-drawer: 70;
  --z-modal-backdrop: 80;
  --z-modal: 90;
  --z-header: 100;
  --z-tooltip: 110;
  --z-toast: 120;

  /* === LAYOUT === */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 64px;
  --header-height: 72px;
  --bottom-nav-height: 68px;
  --max-width: 1320px;
  --max-width-narrow: 960px;
}
