/**
 * CSS Variables - Design System
 * 企业网站设计系统变量
 */

:root {
    /* ==================== 主色调 - 午夜蓝 ==================== */
    --color-primary: #1a1f3c;
    --color-primary-light: #252b4d;
    --color-primary-dark: #0f1428;
    --color-primary-rgb: 26, 31, 60;

    /* ==================== 强调色 - 璀璨金 ==================== */
    --color-accent: #d4af37;
    --color-accent-light: #e8c860;
    --color-accent-dark: #b8962e;
    --color-accent-rgb: 212, 175, 55;

    /* ==================== 功能色 ==================== */
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-info: #17a2b8;

    /* ==================== 中性色 ==================== */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-gray-100: #e9ecef;
    --color-gray-200: #dee2e6;
    --color-gray-300: #ced4da;
    --color-gray-400: #adb5bd;
    --color-gray-500: #6c757d;
    --color-gray-600: #495057;
    --color-gray-700: #343a40;
    --color-gray-800: #212529;
    --color-gray-900: #121620;

    /* ==================== 背景色 ==================== */
    --color-bg: #0a0d1a;
    --color-bg-secondary: #111428;
    --color-bg-tertiary: #161a30;

    /* ==================== 文字颜色 ==================== */
    --color-text: #ffffff;
    --color-text-secondary: #a0a8c0;
    --color-text-muted: #6b7394;

    /* ==================== 边框颜色 ==================== */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --color-border-accent: rgba(212, 175, 55, 0.3);

    /* ==================== 渐变 ==================== */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f8e4a0 50%, #d4af37 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    --gradient-dark: linear-gradient(180deg, #1a1f3c 0%, #0f1428 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 31, 60, 0.95) 0%, rgba(15, 20, 40, 0.9) 100%);
    --gradient-card: linear-gradient(180deg, rgba(37, 43, 77, 0.8) 0%, rgba(26, 31, 60, 0.95) 100%);
    --gradient-text: linear-gradient(135deg, #d4af37 0%, #f8e4a0 100%);

    /* ==================== 阴影 ==================== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.25);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);

    /* ==================== 字体 ==================== */
    --font-heading: 'Cinzel', 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', 'Cormorant Garamond', sans-serif;
    --font-mono: 'Fira 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-hero: 4.5rem;

    /* ==================== 字重 ==================== */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* ==================== 行高 ==================== */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* ==================== 间距 ==================== */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: 7.5rem;

    /* ==================== 圆角 ==================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* ==================== 动画 ==================== */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;
    --transition-slowest: 1000ms ease;

    /* ==================== 布局 ==================== */
    --container-max: 1400px;
    --container-padding: 2rem;
    --header-height: 80px;
    --header-height-mobile: 64px;

    /* ==================== Z-Index ==================== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --text-hero: 2.5rem;
        --text-5xl: 2.25rem;
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
        --space-section: 4rem;
        --container-padding: 1rem;
        --header-height: 64px;
    }
}
