/**
 * EineCosmetics Design System - Master Design Tokens
 * Professional Cosmetics B2B Website
 * Version: 2.0.0
 */

/* ==========================================================================
   DESIGN TOKENS - PREMIUM PALETTE
   ========================================================================== */

:root {
    /* ===================================
       PRIMARY COLORS - Pink Theme
       =================================== */
    --color-primary: #e91e63;
    --color-secondary: #ff6b9d;
    --color-accent: #ffc5d9;

    /* ===================================
       PREMIUM ACCENTS - Luxury Gold
       =================================== */
    --color-rose-gold: #F4C2A1;
    --color-gold: #D4AF37;
    --color-gold-light: #E5C76B;
    --color-soft-cream: #FDF8F3;
    --color-champagne: #F7E7CE;

    /* ===================================
       NEUTRAL COLORS
       =================================== */
    --color-charcoal: #1A202C;
    --color-elegant-gray: #2d3436;
    --color-warm-gray: #636e72;
    --color-light-gray: #718096;
    --color-off-white: #fef8fa;
    --color-pearl: #fff5f7;
    --color-silver: #ffe0e6;
    --color-white: #ffffff;

    /* ===================================
       SEMANTIC COLORS
       =================================== */
    --color-success: #2F855A;
    --color-info: #2B6CB0;
    --color-warning: #D69E2E;
    --color-error: #C53030;

    /* ===================================
       GRADIENTS
       =================================== */
    --gradient-primary: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b9d 0%, #ffc5d9 100%);
    --gradient-premium: linear-gradient(135deg, #e91e63 0%, #ff6b9d 50%, #ffc5d9 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #E5C76B 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-soft: linear-gradient(135deg, #fef8fa 0%, #fff5f7 100%);

    /* ===================================
       TYPOGRAPHY
       =================================== */
    --font-serif: 'Noto Serif JP', 'Georgia', serif;
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */

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

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2.0;

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

    /* ===================================
       SPACING SCALE (8px grid)
       =================================== */
    --space-0: 0;
    --space-px: 1px;
    --space-0_5: 2px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* ===================================
       BORDER RADIUS
       =================================== */
    --radius-none: 0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
    --radius-full: 9999px;

    /* ===================================
       SHADOWS - Elegant & Premium
       =================================== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Premium Shadows with Gold Tint */
    --shadow-soft: 0 2px 12px rgba(44, 62, 80, 0.04);
    --shadow-medium: 0 4px 24px rgba(44, 62, 80, 0.08);
    --shadow-elevated: 0 8px 40px rgba(44, 62, 80, 0.12);
    --shadow-premium: 0 12px 60px rgba(212, 175, 55, 0.15);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.2);

    /* ===================================
       TRANSITIONS
       =================================== */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    /* ===================================
       Z-INDEX SCALE
       =================================== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ===================================
       BREAKPOINTS (for reference)
       =================================== */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* ==========================================================================
   DARK MODE SUPPORT (optional)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --color-charcoal: #f5f5f5;
        --color-elegant-gray: #e0e0e0;
        --color-warm-gray: #b0b0b0;
        --color-off-white: #1a1a1a;
        --color-pearl: #2d2d2d;
    }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   HIGH CONTRAST MODE SUPPORT
   ========================================================================== */

@media (prefers-contrast: high) {
    :root {
        --color-primary: #c2185b;
        --color-secondary: #e91e63;
        --shadow-premium: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
}
