/* ============================================================
   Design Tokens — 极客猫少儿编程 V2 设计系统
   CSS Custom Properties 作为全局设计 token
   ============================================================ */

:root {
  /* === 主色调 === */
  --color-primary: #4A7CFF;
  --color-primary-light: #7BA1FF;
  --color-primary-dark: #3A5FCC;
  --color-primary-bg: rgba(74, 124, 255, 0.08);

  /* === 辅助色 === */
  --color-secondary: #00D4AA;
  --color-secondary-light: #33E0BE;
  --color-secondary-dark: #00A885;

  /* === CTA 强调色 === */
  --color-accent: #FF6B4A;
  --color-accent-light: #FF8C73;
  --color-accent-dark: #E55A3D;

  /* === 中性色 === */
  --color-heading: #1A2138;
  --color-body: #4A5168;
  --color-caption: #8B90A0;
  --color-border: #E2E6EF;
  --color-bg: #F7F9FC;
  --color-bg-white: #FFFFFF;
  --color-footer-bg: #1A2138;

  /* === 渐变预设 === */
  --gradient-hero: linear-gradient(135deg, #4A7CFF 0%, #6C63FF 100%);
  --gradient-cta: linear-gradient(135deg, #FF6B4A 0%, #FF8C73 100%);
  --gradient-success: linear-gradient(135deg, #00D4AA 0%, #33E0BE 100%);
  --gradient-card: linear-gradient(180deg, rgba(74,124,255,0.05) 0%, rgba(108,99,255,0.08) 100%);

  /* === 阴影 === */
  --shadow-xs: 0 1px 2px rgba(26, 33, 56, 0.06);
  --shadow-sm: 0 2px 8px rgba(26, 33, 56, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 33, 56, 0.10);
  --shadow-lg: 0 8px 32px rgba(26, 33, 56, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 33, 56, 0.15);
  --shadow-2xl: 0 24px 64px rgba(26, 33, 56, 0.2);
  --shadow-glow: 0 0 24px rgba(74, 124, 255, 0.25);

  /* === 圆角 === */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

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

  /* === 字体 === */
  --font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  /* === 字号 === */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;

  /* === 行高 === */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* === 过渡 === */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === 布局 === */
  --container-max: 1200px;
  --container-padding: 24px;
  --header-height: 80px;
  --header-height-scrolled: 60px;
  --topbar-height: 36px;
}
