/* ========================================
   杭州杉泽贸易有限公司 - CSS变量系统
   清新简约 + 自然木色品牌视觉
   ======================================== */

:root {
  /* ========== 颜色系统 ========== */
  /* 主色系 - 森林绿 */
  --color-primary: #2d5f3f;
  --color-primary-light: #3f7a53;
  --color-primary-lighter: #e5efe4;
  --color-primary-dark: #1f3b27;

  /* 辅助色 - 苔藓灰绿 */
  --color-secondary: #5c6b60;
  --color-secondary-light: #8a9a8f;
  --color-secondary-lighter: #cfd7cf;
  --color-secondary-dark: #3c4a40;

  /* 点缀色 - 木色 */
  --color-accent: #c4915c;
  --color-accent-light: #ddb483;
  --color-accent-dark: #8a5a32;

  /* 中性色 */
  --color-white: #ffffff;
  --color-off-white: #f8f8f6;
  --color-light-gray: #f1f2ee;
  --color-gray: #e1e3dd;
  --color-dark-gray: #2b372f;
  --color-black: #0f1712;
  --color-forest-mist: #f0f5f1;
  --color-leaf: #8db68b;
  
  /* 功能色 */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  
  /* ========== 字体系统 ========== */
  /* 字体族 */
  --font-family-base: 'Source Han Serif SC', 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', 'Roboto', serif;
  --font-family-sans: 'PingFang SC', 'Source Han Sans SC', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  --font-family-serif: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', serif;
  --font-family-display: 'Source Han Serif SC', 'Playfair Display', serif;
  --font-family-mono: 'Monaco', 'Courier New', monospace;
  
  /* 字体大小 */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  
  /* 字体粗细 */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* 行高 */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* ========== 间距系统 ========== */
  --spacing-0: 0;
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-5: 1.25rem;   /* 20px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */
  --spacing-20: 5rem;     /* 80px */
  --spacing-24: 6rem;     /* 96px */
  
  /* ========== 圆角系统 ========== */
  --radius-none: 0;
  --radius-sm: 0.25rem;   /* 4px */
  --radius-base: 0.375rem; /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
  
  /* ========== 阴影系统 ========== */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* 高级阴影 - 用于卡片和容器 */
  --shadow-elevation-1: 0 2px 8px rgba(45, 95, 63, 0.08);
  --shadow-elevation-2: 0 4px 16px rgba(45, 95, 63, 0.12);
  --shadow-elevation-3: 0 8px 24px rgba(45, 95, 63, 0.16);
  
  /* ========== 过渡和动画 ========== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* ========== 响应式断点 ========== */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  
  /* ========== 容器宽度 ========== */
  --container-width-sm: 640px;
  --container-width-md: 768px;
  --container-width-lg: 1024px;
  --container-width-xl: 1280px;
  --container-width-full: 100%;
  
  /* ========== Z-index系统 ========== */
  --z-index-hide: -1;
  --z-index-base: 0;
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 400;
  --z-index-modal: 500;
  --z-index-tooltip: 600;
  --z-index-notification: 700;
}

/* ========== 深色模式支持（可选） ========== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-off-white: #111613;
    --color-light-gray: #1a211d;
    --color-gray: #2a332c;
    --color-dark-gray: #d8ded6;
    --color-black: #f8faf8;
  }
}
