/* ============================================
   IzHost Design Tokens — Corporate Edition
   ============================================ */

@import url('./base.css');
@import url('./components.css');
@import url('./pages.css');
@import url('./animations.css');

:root {
    /* ---- Color Palette (Light — Corporate) ---- */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-secondary: #7c3aed;
    --color-secondary-dark: #6d28d9;
    --color-accent: #0891b2;
    --color-accent-2: #059669;

    --color-bg: #ffffff;
    --color-bg-alt: #f0f4f8;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #ffffff;
    --color-bg-glass: rgba(255, 255, 255, 0.8);
    --color-bg-glass-strong: rgba(255, 255, 255, 0.95);

    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-text-inverse: #ffffff;

    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    --color-success: #059669;
    --color-warning: #d97706;
    --color-error: #dc2626;

    /* ---- Gradients (Light) ---- */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(160deg, #e0ecff 0%, #f0e8ff 40%, #e6f9f0 80%, #f0f4f8 100%);
    --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    --gradient-text: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);

    /* ---- Hero text colors (light hero) ---- */
    --hero-text: #0f172a;
    --hero-text-secondary: #334155;
    --hero-badge-bg: rgba(37, 99, 235, 0.1);
    --hero-badge-color: #2563eb;
    --hero-badge-border: rgba(37, 99, 235, 0.2);

    /* ---- Typography ---- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* ---- Spacing ---- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* ---- Border Radius ---- */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* ---- Shadows (Light) ---- */
    --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.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.12);
    --shadow-glow-strong: 0 0 60px rgba(37, 99, 235, 0.2);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);
    --shadow-card-hover: 0 12px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);

    /* ---- Transitions ---- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ---- Z-Index ---- */
    --z-dropdown: 100;
    --z-navbar: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;

    /* ---- Container ---- */
    --container-max: 1280px;
    --container-narrow: 960px;
    --container-wide: 1440px;

    /* ---- Navbar ---- */
    --navbar-height: 72px;
    --navbar-bg: rgba(255, 255, 255, 0.92);
    --navbar-blur: 20px;

    /* ---- Slider ---- */
    --slider-track-bg: #d1d5db;
}

/* ============================================
   Dark Theme — Corporate
   ============================================ */
[data-theme="dark"] {
    --color-bg: #0e1120;
    --color-bg-alt: #161d35;
    --color-bg-card: #1a2240;
    --color-bg-elevated: #1e2850;
    --color-bg-glass: rgba(22, 29, 53, 0.85);
    --color-bg-glass-strong: rgba(22, 29, 53, 0.95);

    --color-text: #e8ecf4;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-border: #243055;
    --color-border-light: #1e2a44;

    --gradient-hero: linear-gradient(160deg, #020617 0%, #0c1530 40%, #0a0f24 80%, #0e1120 100%);
    --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);

    /* ---- Hero text colors (dark hero) ---- */
    --hero-text: #f1f5f9;
    --hero-text-secondary: #94a3b8;
    --hero-badge-bg: rgba(37, 99, 235, 0.15);
    --hero-badge-color: #60a5fa;
    --hero-badge-border: rgba(37, 99, 235, 0.3);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.5), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.5), 0 8px 16px -6px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);
    --shadow-glow-strong: 0 0 60px rgba(37, 99, 235, 0.35);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03);
    --shadow-card-hover: 0 12px 32px -4px rgba(37, 99, 235, 0.18), 0 4px 8px rgba(0, 0, 0, 0.3);

    --navbar-bg: rgba(14, 17, 32, 0.94);

    /* ---- Slider ---- */
    --slider-track-bg: rgba(255, 255, 255, 0.15);
}