/* ========================================
   dizhituoguan.com - Design Tokens
   蓝金配色 Stripe Design System
   ======================================== */

:root {
  /* ── 色彩 ── */
  --color-primary: #1a365d;
  --color-primary-light: #2d5aa0;
  --color-primary-dark: #0d2b52;
  --color-accent: #c9a84c;
  --color-accent-light: #d4b96a;
  --color-accent-dark: #a8893a;

  --color-bg: #f7f8fc;
  --color-bg-alt: #f0f4f8;
  --color-bg-white: #ffffff;
  --color-bg-dark: #1a1a2e;

  --color-text: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-inverse: #ffffff;
  --color-link: #2b6cb0;
  --color-link-hover: #1a365d;

  --color-success: #38a169;
  --color-warning: #d69e2e;
  --color-error: #e53e3e;

  /* ── 边框 ── */
  --border-color: #e2e8f0;
  --border-color-light: #edf2f7;

  /* ── 阴影 ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 40px rgba(26, 54, 93, 0.15);

  /* ── 圆角 ── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* ── 间距（8px网格） ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ── 字体 ── */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.75rem;   /* 28px */
  --font-size-3xl: 2.25rem;   /* 36px */

  --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-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* ── 过渡 ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* ── 布局 ── */
  --container-max: 1200px;
  --container-padding: 20px;
  --header-height: 64px;
  --topbar-height: 40px;

  /* ── Z-index ── */
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}
