/* ==========================================================================
   BellyFed - Design Tokens
   Vercel-Inspired Modern Dark Theme
   ========================================================================== */

:root {
    /* ========================================
       COLOR PALETTE - Vercel Style
       ======================================== */

    /* Background Colors */
    --color-bg: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-bg-tertiary: #111111;
    --color-bg-elevated: #171717;
    --color-bg-hover: #1f1f1f;

    /* Border Colors */
    --color-border: #262626;
    --color-border-light: #333333;
    --color-border-hover: #444444;

    /* Text Colors */
    --color-text: #EDEDED;
    --color-text-secondary: #A1A1A1;
    --color-text-tertiary: #888888;
    --color-text-muted: #666666;

    /* Accent Colors - Neon Palette */
    --color-accent: #00FFE5;
    --color-accent-light: #5CFFE8;
    --color-accent-lighter: #A0FFF0;
    --color-accent-secondary: #A855F7;
    --color-accent-tertiary: #3B82F6;
    --color-accent-dark: #00CDB8;

    /* Neon Colors */
    --neon-cyan: #00FFE5;
    --neon-purple: #A855F7;
    --neon-blue: #3B82F6;
    --neon-pink: #EC4899;
    --neon-cyan-rgb: 0, 255, 229;
    --neon-purple-rgb: 168, 85, 247;
    --neon-blue-rgb: 59, 130, 246;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #00FFE5 0%, #A855F7 100%);
    --gradient-accent-text: linear-gradient(90deg, #00FFE5 0%, #A855F7 50%, #00FFE5 100%);
    --gradient-purple: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --gradient-border: linear-gradient(135deg, #00FFE5 0%, #A855F7 100%);
    --gradient-aurora: linear-gradient(135deg,
        rgba(0, 255, 229, 0.15) 0%,
        rgba(168, 85, 247, 0.1) 50%,
        rgba(59, 130, 246, 0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 255, 229, 0.12) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(168, 85, 247, 0.06) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(0, 255, 229, 0.08) 0px, transparent 50%);

    /* Status Colors */
    --color-success: #00FFE5;
    --color-success-bg: rgba(0, 255, 229, 0.1);
    --color-warning: #F5A623;
    --color-warning-bg: rgba(245, 166, 35, 0.1);

    /* Glow Effects */
    --glow-accent: 0 0 30px rgba(0, 255, 229, 0.3);
    --glow-accent-strong: 0 0 60px rgba(0, 255, 229, 0.4);
    --glow-neon-cyan: 0 0 20px rgba(0, 255, 229, 0.4), 0 0 40px rgba(0, 255, 229, 0.2);
    --glow-neon-purple: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
    --glow-neon-blue: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);

    /* ========================================
       TYPOGRAPHY - Inter
       ======================================== */

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Font Sizes */
    --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: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* ========================================
       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-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --max-width-xl: 1200px;
    --max-width-2xl: 1400px;

    --container-padding: var(--space-6);
    --section-padding: var(--space-24);

    --nav-height: 64px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ========================================
       TRANSITIONS
       ======================================== */

    --duration-fast: 150ms;
    --duration-normal: 200ms;
    --duration-slow: 300ms;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* ========================================
       Z-INDEX
       ======================================== */

    --z-base: 0;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-tooltip: 50;
}

/* Light Theme */
[data-theme="light"] {
    --color-bg: #FFFFFF;
    --color-bg-secondary: #FAFAFA;
    --color-bg-tertiary: #F5F5F5;
    --color-bg-elevated: #FFFFFF;
    --color-bg-hover: #F0F0F0;

    --color-border: #EAEAEA;
    --color-border-light: #E5E5E5;
    --color-border-hover: #D0D0D0;

    --color-text: #171717;
    --color-text-secondary: #666666;
    --color-text-tertiary: #888888;
    --color-text-muted: #999999;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0ms;
        --duration-normal: 0ms;
        --duration-slow: 0ms;
    }
}
