/* 全局颜色变量 - Global Color Variables */
:root {
    /* 主色调 - Primary Colors */
    --primary-color: #008B8B;           /* 青色 - Teal */
    --primary-hover: #006B6B;           /* 深青色 - Dark Teal */
    --primary-light: #5eb3d6;           /* 浅青色 - Light Teal */
    --primary-lighter: #bfdbfe;         /* 更浅青色 - Lighter Teal */
    
    /* 强调色 - Accent Colors */
    --accent-color: #ffa07a;            /* 珊瑚橙 - Coral */
    --accent-hover: #ff8c61;            /* 深珊瑚橙 - Dark Coral */
    
    /* 文字颜色 - Text Colors */
    --text-dark: #2d3748;               /* 深色文字 - Dark Text */
    --text-medium: #4a5568;             /* 中等文字 - Medium Text */
    --text-light: #718096;              /* 浅色文字 - Light Text */
    --text-lighter: #a0aec0;            /* 更浅文字 - Lighter Text */
    
    /* 背景颜色 - Background Colors */
    --bg-white: #ffffff;                /* 白色背景 */
    --bg-light: #f7fafc;                /* 浅色背景 */
    --bg-gray: #f8f9fa;                 /* 灰色背景 */
    --bg-dark: #1a202c;                 /* 深色背景 */
    
    /* 边框颜色 - Border Colors */
    --border-color: #e2e8f0;            /* 边框颜色 */
    --border-light: #edf2f7;            /* 浅边框 */
    --border-dark: #cbd5e0;             /* 深边框 */
    
    /* 阴影 - Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.12);
    
    /* 渐变背景 - Gradient Backgrounds */
    --gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #b2dfdb 100%);
    --gradient-card: linear-gradient(135deg, #bfdbfe 0%, #008B8B 100%);
    --gradient-primary: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    
    /* 圆角 - Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* 间距 - Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* 过渡 - Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 字体大小 - Font Sizes */
    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-base: 1rem;       /* 16px */
    --font-lg: 1.125rem;     /* 18px */
    --font-xl: 1.25rem;      /* 20px */
    --font-2xl: 1.5rem;      /* 24px */
    --font-3xl: 1.875rem;    /* 30px */
    --font-4xl: 2.25rem;     /* 36px */
    --font-5xl: 3rem;        /* 48px */
    
    /* 字体粗细 - Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Z-index层级 - Z-index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* 深色模式变量 - Dark Mode Variables (可选) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f7fafc;
        --text-medium: #e2e8f0;
        --text-light: #cbd5e0;
        --bg-white: #1a202c;
        --bg-light: #2d3748;
        --bg-gray: #4a5568;
        --border-color: #4a5568;
    }
}

/* 工具类 - Utility Classes */
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }

.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.transition-fast { transition: all var(--transition-fast); }
.transition-base { transition: all var(--transition-base); }
.transition-smooth { transition: all var(--transition-smooth); }

