/* ======================
   CSS 变量定义
   AI工坊品牌色系统 + 响应式断点 + 间距/圆角/阴影
   ====================== */

:root {
    /* 品牌色 */
    --primary: #1A56DB;
    --primary-light: #0EA5E9;
    --primary-dark: #1E40AF;
    --success: #10B981;
    --success-dark: #059669;
    --warning: #F59E0B;
    --warning-dark: #D97706;
    --danger: #DC2626;
    --danger-dark: #B91C1C;

    /* 中性色 */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --bg-dark: #1E293B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* 字体 */
    --font-family: "思源黑体", "Source Han Sans SC", "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-number: "DIN", "Montserrat", "Segoe UI", sans-serif;
    --font-mono: "SF Mono", "Fira Code", monospace;

    /* 字号 */
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 20px;
    --text-3xl: 28px;
    --text-4xl: 36px;
    --text-5xl: 42px;

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

    /* 行高 */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;

    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 86, 219, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 86, 219, 0.12);
    --shadow-xl: 0 12px 40px rgba(26, 86, 219, 0.15);

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;

    /* 布局 */
    --nav-height: 64px;
    --container-max: 1100px;
    --container-narrow: 800px;

    /* 响应式断点 */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}
