/* ============================================================================
   NEXUS Alliance Portal - CSS Variables & Design Tokens
   Premium Institutional Design System
   ============================================================================ */

:root {
    /* ---- Primary Colors ---- */
    --color-bg-primary: #06090f;
    --color-bg-secondary: #0c1220;
    --color-bg-tertiary: #141c2f;
    --color-bg-card: #111a2e;
    --color-bg-card-hover: #182440;
    --color-bg-input: #0a0f1a;
    --color-bg-overlay: rgba(0, 0, 0, 0.8);
    --color-bg-hero: #080c14;

    /* ---- Gold Accent (Institutional) ---- */
    --color-gold: #c9a84c;
    --color-gold-light: #e0c872;
    --color-gold-dark: #a08530;
    --color-gold-glow: rgba(201, 168, 76, 0.3);
    --color-gold-subtle: rgba(201, 168, 76, 0.08);
    --color-gold-intense: rgba(201, 168, 76, 0.2);

    /* ---- Text Colors ---- */
    --color-text-primary: #eae8e4;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    --color-text-gold: #d4af37;
    --color-text-white: #ffffff;

    /* ---- Status Colors ---- */
    --color-success: #22c55e;
    --color-success-bg: rgba(34, 197, 94, 0.1);
    --color-warning: #f59e0b;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-error: #ef4444;
    --color-error-bg: rgba(239, 68, 68, 0.1);
    --color-info: #3b82f6;
    --color-info-bg: rgba(59, 130, 246, 0.1);

    /* ---- Borders ---- */
    --color-border: rgba(201, 168, 76, 0.12);
    --color-border-strong: rgba(201, 168, 76, 0.35);
    --color-border-muted: rgba(255, 255, 255, 0.05);

    /* ---- Typography ---- */
    --font-heading: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Fira Code', 'Cascadia Code', monospace;

    --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.15;
    --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;

    /* ---- Layout ---- */
    --max-width: 1200px;
    --max-width-wide: 1400px;
    --max-width-narrow: 800px;
    --max-width-form: 520px;
    --sidebar-width: 260px;
    --header-height: 72px;
    --nav-height: 48px;

    /* ---- Border Radius ---- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ---- Shadows ---- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.15);
    --shadow-gold-lg: 0 0 40px rgba(201, 168, 76, 0.2);
    --shadow-gold-intense: 0 4px 30px rgba(201, 168, 76, 0.25);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 1px rgba(201, 168, 76, 0.1);

    /* ---- Transitions ---- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ---- Z-Index Scale ---- */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-nav: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
}
