:root {
    /* Fondos — taller técnico nocturno */
    --color-bg-primary: #05080f;
    --color-bg-secondary: #0a1019;
    --color-bg-card: #0f1623;
    --color-bg-elevated: #141d2e;
    --color-bg-glass: rgba(15, 22, 35, 0.72);

    /* Acentos */
    --color-accent: #22d3ee;
    --color-accent-soft: #67e8f9;
    --color-accent-dark: #0891b2;
    --color-violet: #8b5cf6;
    --color-violet-light: #a78bfa;
    --color-violet-dark: #6d28d9;
    --color-blue: #3b82f6;
    --color-blue-light: #60a5fa;
    --color-coral: #fb7185;
    --color-green: #34d399;
    --color-green-light: #6ee7b7;
    --color-red: #f87171;
    --color-yellow: #fbbf24;

    /* Texto */
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    /* Bordes */
    --color-border: rgba(148, 163, 184, 0.12);
    --color-border-hover: rgba(34, 211, 238, 0.35);
    --color-border-accent: rgba(34, 211, 238, 0.25);

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-violet) 55%, var(--color-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-violet-light) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
    --gradient-mesh:
        radial-gradient(at 20% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 45%),
        radial-gradient(at 50% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);

    /* Tipografía */
    --font-display: 'Syne', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3.25rem;
    --font-size-6xl: 4rem;

    /* Espaciado */
    --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;

    /* Bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.75rem;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 48px rgba(34, 211, 238, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);

    /* Transiciones */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1180px;
    --header-height: 76px;
    --sidebar-width: 280px;
}

[data-theme="light"] {
    --color-bg-primary: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #ffffff;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-hover: rgba(8, 145, 178, 0.35);
}
