/* ============================================
   万草堂集团 VI 设计系统 - 总控规则版
   ============================================
   核心原则：
   1. 主背景：纸本白、宣纸白、浅暖灰
   2. VI色仅作局部识别和重点按钮
   3. 不使用土豪金、暗棕金、亮金渐变
   4. 圆角控制在 4-8px
   5. 大留白、克制、高级
   ============================================ */

:root {
  /* ---- 万草堂品牌色（正式VI） ---- */
  --wct-green: #1A4332;
  --wct-green-light: #2D5C47;
  --wct-gold: #E2B97F;
  --wct-gold-light: #EFD4AC;

  /* ---- 主背景色系（纸本白、宣纸白、浅暖灰） ---- */
  --color-bg: #FDFCF9;
  --color-bg-paper: #FAF9F5;
  --color-bg-rice: #F7F5F0;
  --color-bg-warm: #F2F0EA;
  --color-bg-alt: #EDEAE3;
  --color-bg-white: #FFFFFF;

  /* ---- 文字色 ---- */
  --color-text: #2C2C2C;
  --color-text-secondary: #5C5C5C;
  --color-text-muted: #8C8C8C;
  --color-text-light: #A8A8A8;

  /* ---- 边框与分隔 ---- */
  --color-border: #E5E2DA;
  --color-border-light: #EEEBE3;
  --color-divider: #D9D5CC;

  /* ---- 功能色（克制使用） ---- */
  --color-accent: #1A4332;
  --color-accent-hover: #2D5C47;

  /* ---- 字体系统 ----
     中文标题：思源宋体（情绪字体回退）
     中文正文：思源黑体
     英文：系统默认
  ---- */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* ---- 字号 ---- */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* ---- 间距（大留白） ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* ---- 圆角（控制在4-8px） ---- */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* ---- 阴影（极柔和） ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.05);

  /* ---- 过渡 ---- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;

  /* ---- 布局 ---- */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 72px;
  --header-height-mobile: 60px;

  /* ---- 缓存控制 ---- */
  --cache-version: 'v20250711';
}
