:root {
    /* --- COLOR PALETTE --- */
    /* Primary Brand Colors */
    --primary-color: #2563eb;       /* Vibrant Blue - Main Action */
    --primary-dark: #1d4ed8;        /* Darker Blue - Hover */
    --primary-light: #eff6ff;       /* Very Light Blue - Backgrounds */
    
    /* Secondary Brand Colors */
    --secondary-color: #0f172a;     /* Slate 900 - Headings, Footer */
    --secondary-light: #334155;     /* Slate 700 - Subheadings */
    
    /* Accent Colors */
    --accent-color: #f59e0b;        /* Amber 500 - Badges, Highlights */
    --accent-hover: #d97706;        /* Amber 600 */
    
    /* Functional Colors */
    --success: #10b981;             /* Emerald 500 */
    --danger: #ef4444;              /* Red 500 */
    --warning: #f59e0b;             /* Amber 500 */
    --info: #3b82f6;                /* Blue 500 */
    
    /* Neutrals & Backgrounds */
    --bg-body: #f8fafc;             /* Slate 50 - Main Background */
    --bg-white: #ffffff;            /* Pure White - Cards */
    --bg-light: #f1f5f9;            /* Slate 100 - Secondary Background */
    --bg-dark: #0f172a;             /* Slate 900 - Dark Sections */
    
    /* Text Colors */
    --text-main: #0f172a;           /* Slate 900 - Body Text */
    --text-secondary: #475569;      /* Slate 600 - Muted Text */
    --text-light: #94a3b8;          /* Slate 400 - Placeholders/Meta */
    --text-white: #ffffff;          /* Text on Dark Backgrounds */
    
    /* Borders */
    --border-color: #e2e8f0;        /* Slate 200 - Default Border */
    --border-light: #f1f5f9;        /* Slate 100 - Subtle Dividers */
    --border-focus: #2563eb;        /* Primary - Focus Ring */

    /* --- TYPOGRAPHY --- */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-headings: 'Montserrat', sans-serif;
    
    /* Scale (Mobile Base) */
    --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 */
    
    /* --- SPACING SYSTEM (4px Grid) --- */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-sm: 0.5rem;   /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;   /* 24px */
    --spacing-xl: 2rem;     /* 32px */
    --spacing-2xl: 3rem;    /* 48px */
    --spacing-3xl: 5rem;    /* 80px */
    --spacing-4xl: 8rem;    /* 128px */
    
    /* --- LAYOUT --- */
    --container-width: 1280px;
    --header-height: 80px;
    
    /* --- UI TOKENS --- */
    /* Border Radius */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Shadows (Modern & Soft) */
    --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-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- PAGE LOADER --- */
html.js-loading body {
    opacity: 0;
    visibility: hidden;
}

body {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out;
}
