/* ============================================================
   CursosAvila — Design Tokens
   ============================================================ */

:root {
    /* ── Primary Colors ── */
    --primary: #6C63FF;
    --primary-light: #8B83FF;
    --primary-dark: #5A52D5;
    --primary-alpha: rgba(108, 99, 255, 0.15);

    /* ── Accent Colors ── */
    --accent: #FF6584;
    --accent-light: #FF8FA5;
    --accent-dark: #E0506D;

    /* ── Background ── */
    --bg-primary: #0B0B14;
    --bg-secondary: #10101E;
    --bg-surface: #16162A;
    --bg-surface-hover: #1E1E38;
    --bg-surface-active: #252548;
    --bg-elevated: #1C1C35;

    /* ── Glass Effect ── */
    --glass-bg: rgba(22, 22, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(20px);

    /* ── Text ── */
    --text-primary: #EAEAF0;
    --text-secondary: #8888AA;
    --text-tertiary: #555570;
    --text-inverse: #0B0B14;

    /* ── Status Colors ── */
    --success: #00D68F;
    --success-bg: rgba(0, 214, 143, 0.12);
    --warning: #FFB800;
    --warning-bg: rgba(255, 184, 0, 0.12);
    --danger: #FF3D71;
    --danger-bg: rgba(255, 61, 113, 0.12);
    --info: #00BFFF;
    --info-bg: rgba(0, 191, 255, 0.12);

    /* ── Borders ── */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-focus: var(--primary);

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(108, 99, 255, 0.15);

    /* ── Typography ── */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    --leading-tight: 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;

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

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

    /* ── Layout ── */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
    --content-max-width: 1400px;

    /* ── Z-index ── */
    --z-sidebar: 100;
    --z-header: 90;
    --z-modal-overlay: 200;
    --z-modal: 210;
    --z-toast: 300;
    --z-tooltip: 250;

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8B83FF 100%);
    --gradient-accent: linear-gradient(135deg, #FF6584 0%, #FF8FA5 100%);
    --gradient-header: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-surface: linear-gradient(180deg, rgba(108, 99, 255, 0.05) 0%, transparent 100%);
}
