/* ==========================================================================
   CSS Custom Properties (Variables) - PRODUCTION
   Design System Foundation - Purple Theme + Yellow Footer Icon
   ========================================================================== */

:root {
  /* ===== PRIMARY COLOR PALETTE (Purple Theme) ===== */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #4f46e5;  /* Main purple */
  --primary-600: #4338ca;
  --primary-700: #3730a3;
  --primary-800: #312e81;
  --primary-900: #1e1b4b;
  
  /* ===== SECONDARY COLOR PALETTE (Slate - for dark footer) ===== */
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-300: #cbd5e1;
  --secondary-400: #94a3b8;
  --secondary-500: #64748b;
  --secondary-600: #475569;
  --secondary-700: #334155;
  --secondary-800: #1e293b;  /* Footer dark */
  --secondary-900: #0f172a;  /* Footer darker */
  
  /* ===== ACCENT COLORS ===== */
  --accent-400: #34d399;
  --accent-500: #10b981;  /* Green accent */
  --accent-600: #059669;
  
  /* ===== YELLOW/GOLD (Footer JS Icon) ===== */
  --yellow-400: #fbbf24;
  --yellow-500: #f7df1e;  /* Footer icon bright yellow */
  --yellow-600: #ffeb3b;  /* Footer icon gold */
  
  /* ===== SEMANTIC COLORS ===== */
  --success-50: #f0fdf4;
  --success-100: #dcfce7;
  --success-200: #bbf7d0;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-800: #065f46;
  
  --warning-50: #fffbeb;
  --warning-200: #fde68a;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --warning-900: #78350f;
  
  --error-50: #fef2f2;
  --error-200: #fecaca;
  --error-500: #ef4444;
  --error-600: #dc2626;
  --error-700: #991b1b;
  --error-800: #7f1d1d;
  
  /* ===== NEUTRAL COLORS ===== */
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
  
  /* ===== MODERN GRADIENTS ===== */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-surface: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-footer-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-footer-icon: linear-gradient(135deg, #f7df1e, #ffeb3b);
  
  /* ===== TYPOGRAPHY ===== */
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.7;
  
  /* ===== SPACING SCALE ===== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* ===== LAYOUT ===== */
  --container-max-width: 1280px;
  --header-height: 70px;
  --footer-height: auto;
  
  /* ===== BORDER RADIUS ===== */
  --radius-sm: 0.5rem;    /* 8px */
  --radius-md: 0.75rem;   /* 12px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-2xl: 2rem;     /* 32px */
  --radius-full: 9999px;
  
  /* ===== 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);
  
  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== Z-INDEX SCALE ===== */
  --z-dropdown: 1000;
  --z-sticky: 1030;
  --z-fixed: 1040;
  --z-modal-backdrop: 1050;
  --z-modal: 1060;
  --z-popover: 1070;
  --z-tooltip: 1080;
  --z-toast: 9999;
}

/* ===== LIGHT MODE (Default) ===== */
:root {
  --text-primary: var(--secondary-900);
  --text-secondary: var(--secondary-700);
  --text-tertiary: var(--secondary-600);
  --bg-primary: var(--secondary-50);
  --bg-secondary: white;
  --border-color: var(--secondary-200);
}
