/**
 * PromptLume CSS Variables
 * Version: 2.1
 */

/* Fonts loaded via preconnect in header.php - display=swap for performance */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
    /* Primary Colors - Deep Navy & Electric Purple */
    --primary-purple: #9333EA; /* Electric Purple */
    --primary-blue: #3B82F6;
    --primary-indigo: #6366F1;
    --deep-navy: #0A0E27; /* Deep Navy Background */
    --navy-secondary: #141B2D;
    --navy-tertiary: #1E293B;
    
    /* Gradients - Electric Purple Theme */
    --gradient-primary: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    --gradient-purple-blue: linear-gradient(135deg, #9333EA 0%, #3B82F6 100%);
    --gradient-electric: linear-gradient(135deg, #9333EA 0%, #A855F7 50%, #C084FC 100%);
    
    /* Background - Light Mode (Default) - Professional White Theme */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    
    /* Text - Light Mode (Default) */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    
    /* Accent Colors */
    --accent-green: #10B981;
    --accent-orange: #F59E0B;
    --accent-red: #EF4444;
    --accent-blue: #3B82F6;
    
    /* Status Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Font Family */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Font Weights - Lighter for global aesthetic */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing (8px Grid System) - Increased for more white space */
    --spacing-1: 0.25rem;  /* 4px */
    --spacing-2: 0.5rem;   /* 8px */
    --spacing-3: 0.75rem;  /* 12px */
    --spacing-4: 1rem;     /* 16px */
    --spacing-5: 1.25rem;  /* 20px */
    --spacing-6: 1.5rem;   /* 24px */
    --spacing-8: 2rem;     /* 32px */
    --spacing-10: 2.5rem;  /* 40px */
    --spacing-12: 3rem;    /* 48px */
    --spacing-16: 4rem;    /* 64px */
    --spacing-20: 5rem;    /* 80px - New for more white space */
    --spacing-24: 6rem;    /* 96px - New for more white space */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;   /* Tam yuvarlak */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Glow Effects - Electric Purple */
    --glow-purple: 0 0 30px rgba(147, 51, 234, 0.6), 0 0 60px rgba(147, 51, 234, 0.3);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5);
    --glow-green: 0 0 20px rgba(16, 185, 129, 0.5);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.5);
    --glow-electric: 0 0 40px rgba(147, 51, 234, 0.7), 0 0 80px rgba(147, 51, 234, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 200ms;
    --transition-slow: 300ms;
    --transition-slower: 500ms;
    
    /* Easing */
    --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);
}

/* Dark Mode (when user toggles) */
[data-theme="dark"],
.theme-dark {
    --bg-primary: #0A0E27;
    --bg-secondary: #141B2D;
    --bg-tertiary: #1E293B;
    --bg-card: rgba(20, 27, 45, 0.7);
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
}

/* Light Mode (explicit overrides - :root is already light) */
[data-theme="light"],
.theme-light {
    /* Background - Light Mode */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: rgba(255, 255, 255, 0.9);
    
    /* Text - Light Mode (WCAG AA compliant - minimum 4.5:1 contrast ratio) */
    --text-primary: #0F172A; /* ~16:1 contrast on white ✅ */
    --text-secondary: #0A0E27; /* ~18:1 contrast on white (improved from #1E293B) ✅ */
    --text-muted: #475569; /* ~8:1 contrast on white (improved from #64748B) ✅ */
    
    /* Shadows - Lighter in light mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Borders are more visible in light mode */
    --border-color: rgba(148, 163, 184, 0.2);
}
