/**
 * Theme Variables - Violet with Purple Palette (Dark & Light Modes)
 * App Price Calculator by starCode
 */

:root {
    /* Color Palette: Violet & Purple (Dark Mode Default) */
    --color-bg-deep: #0c0915;
    --color-bg-base: #120e22;
    --color-bg-surface: #1a1433;
    --color-bg-surface-elevated: #241c47;
    --color-bg-surface-glass: rgba(26, 20, 51, 0.75);
    --color-bg-input: #15102a;

    --color-border-subtle: rgba(168, 85, 247, 0.15);
    --color-border-glow: rgba(168, 85, 247, 0.35);
    --color-border-active: #a855f7;

    --color-primary: #8b5cf6;
    --color-primary-hover: #7c3aed;
    --color-primary-glow: rgba(139, 92, 246, 0.45);
    
    --color-secondary: #c084fc;
    --color-accent-pink: #ec4899;
    --color-accent-cyan: #38bdf8;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* Gradients */
    --gradient-violet-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    --gradient-violet-hover: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(168, 85, 247, 0.1) 100%);
    --gradient-surface: linear-gradient(180deg, rgba(36, 28, 71, 0.6) 0%, rgba(20, 15, 42, 0.8) 100%);
    --gradient-card: linear-gradient(145deg, #1f183e 0%, #130f28 100%);
    --gradient-accent-text: linear-gradient(135deg, #c084fc 0%, #e9d5ff 100%);

    /* Typography Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-violet-bright: #d8b4fe;
    --text-violet-dim: #a855f7;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(124, 58, 237, 0.15);
    --shadow-lg: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
    --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.35);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Fonts */
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Tajawal', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-main: 'Inter', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Light Mode Overrides */
[data-theme="light"] {
    --color-bg-deep: #f7f5fd;
    --color-bg-base: #f0eafb;
    --color-bg-surface: #ffffff;
    --color-bg-surface-elevated: #f4ecfd;
    --color-bg-surface-glass: rgba(255, 255, 255, 0.92);
    --color-bg-input: #faf8fe;

    --color-border-subtle: rgba(139, 92, 246, 0.22);
    --color-border-glow: rgba(139, 92, 246, 0.42);
    --color-border-active: #7c3aed;

    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-primary-glow: rgba(124, 58, 237, 0.25);
    
    --color-secondary: #7e22ce;
    --color-accent-pink: #db2777;

    --gradient-violet-purple: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #a855f7 100%);
    --gradient-violet-hover: linear-gradient(135deg, #6d28d9 0%, #7e22ce 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(168, 85, 247, 0.05) 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f7f1fd 100%);
    --gradient-accent-text: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

    --text-primary: #1d1439;
    --text-secondary: #4d436a;
    --text-muted: #796e98;
    --text-violet-bright: #6d28d9;
    --text-violet-dim: #7c3aed;

    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.07);
    --shadow-md: 0 6px 20px rgba(124, 58, 237, 0.1), 0 0 15px rgba(124, 58, 237, 0.04);
    --shadow-lg: 0 12px 35px rgba(124, 58, 237, 0.14), 0 0 25px rgba(124, 58, 237, 0.06);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.2);
}
