/**
 * DECYON Design Tokens
 * =====================
 * Central source of truth for all design values.
 * These tokens define the visual language of the theme.
 */

:root {
    /* =============================================
       COLOR TOKENS
       ============================================= */

    /* Background Colors */
    --color-bg: #fafafa;
    --color-surface: #ffffff;

    /* Text Colors */
    --color-text: #1a1a1a;
    --color-text-secondary: #555555;
    --color-text-muted: #888888;

    /* Border Colors */
    --color-border: #cecece;

    /* Accent Colors - Primary (Purple) */
    --color-accent: #a855f7;
    --color-accent-light: #f3e8ff;
    --color-accent-dark: #7c3aed;

    /* Accent Colors - Secondary (Cyan) */
    --color-accent-cyan: #0ea5e9;

    /* Status Colors */
    --color-featured: #f59e0b;
    --color-featured-light: #fef3c7;
    --color-success: #22c55e;
    --color-error: #ef4444;

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-cyan) 100%);
    --gradient-hero-bg: linear-gradient(135deg, var(--color-accent-light) 0%, #faf5ff 50%, var(--color-bg) 100%);

    /* =============================================
       TYPOGRAPHY TOKENS
       ============================================= */

    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes - Desktop */
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 16px;
    --text-xl: 17px;
    --text-2xl: 18px;
    --text-3xl: 22px;
    --text-4xl: 26px;
    --text-5xl: 28px;
    --text-6xl: 30px;
    --text-7xl: 32px;
    --text-8xl: 48px;

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

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.7;

    /* Letter Spacing */
    --tracking-tight: -0.035em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.08em;

    /* =============================================
       SPACING TOKENS
       ============================================= */

    --space-0: 0;
    --space-1: 4px;
    --space-2: 6px;
    --space-3: 8px;
    --space-4: 10px;
    --space-5: 12px;
    --space-6: 14px;
    --space-7: 16px;
    --space-8: 18px;
    --space-9: 20px;
    --space-10: 22px;
    --space-11: 24px;
    --space-12: 28px;
    --space-13: 32px;
    --space-14: 36px;
    --space-15: 40px;
    --space-16: 44px;
    --space-17: 48px;
    --space-18: 56px;
    --space-19: 64px;
    --space-20: 72px;

    /* =============================================
       LAYOUT TOKENS
       ============================================= */

    /* Container */
    --container-max: 1200px;
    --container-padding: 24px;

    /* Header */
    --header-height: 64px;
    --header-height-mobile: 56px;

    /* =============================================
       BORDER RADIUS TOKENS
       ============================================= */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 100px;

    /* =============================================
       SHADOW TOKENS
       ============================================= */

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.12);

    /* Glow Shadows */
    --shadow-glow-accent: 0 0 40px rgba(168, 85, 247, 0.3), 0 0 80px rgba(168, 85, 247, 0.15);
    --shadow-glow-cyan: 0 4px 20px rgba(14, 165, 233, 0.4);

    /* =============================================
       TRANSITION TOKENS
       ============================================= */

    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.25s ease;
    --transition-slower: 0.4s ease;

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

    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-header: 100;
    --z-modal: 200;
    --z-tooltip: 300;
}

/* =============================================
   RESPONSIVE TOKEN OVERRIDES
   ============================================= */

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --header-height: var(--header-height-mobile);
        --text-8xl: 32px;
        --text-7xl: 26px;
        --text-6xl: 22px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-8xl: 26px;
        --text-7xl: 22px;
    }
}
