/* ============================================
   OR-Tools 智能拼版 Demo — 设计令牌
   ============================================ */

:root {
  /* ── 背景色 ── */
  --bg-primary: #F8FAFC;        /* Slate-tinted crisp background */
  --bg-secondary: #F1F5F9;      /* Slightly darker slate for sections/footer */
  --bg-card: #ffffff;           /* Floating white card background */
  --bg-card-hover: #ffffff;     /* Keep white on hover, focus on glow/elevation */
  --bg-surface: #ffffff;

  /* ── 文字色 ── */
  --text-primary: #0F172A;      /* Deep Slate for high-quality typography */
  --text-secondary: #475569;    /* Muted Slate */
  --text-muted: #64748B;        /* Muted elements */
  --text-accent: #0F172A;

  /* ── 强调色 ── */
  --accent-blue: #003B73;
  --accent-blue-light: #00509E;
  --accent-blue-dark: #002244;
  --accent-blue-glow: rgba(0, 80, 158, 0.08);
  --accent-green: #16a34a;
  --accent-green-glow: rgba(22, 163, 74, 0.08);
  --accent-amber: #ea580c;
  --accent-amber-glow: rgba(234, 88, 12, 0.08);
  --accent-red: #dc2626;
  --accent-red-glow: rgba(220, 38, 38, 0.08);
  --accent-purple: #4f46e5;
  --accent-purple-glow: rgba(79, 70, 229, 0.08);

  /* ── 渐变 ── */
  --gradient-blue-purple: linear-gradient(135deg, #003B73 0%, #005B9F 100%);
  --gradient-blue-green: linear-gradient(135deg, #00509E 0%, #16A34A 100%);
  --gradient-hero: radial-gradient(circle at top right, rgba(0, 80, 158, 0.04), transparent 60%), radial-gradient(circle at bottom left, rgba(0, 91, 159, 0.02), transparent 50%);
  --gradient-card: #ffffff;

  /* ── 边框 ── */
  --border-subtle: rgba(15, 23, 42, 0.06);   /* Slate border */
  --border-active: rgba(0, 80, 158, 0.15);    /* Blue-gray border */
  --border-glow: rgba(0, 80, 158, 0.2);

  /* ── 毛玻璃 ── */
  --glass-bg: rgba(248, 250, 252, 0.75);
  --glass-border: rgba(15, 23, 42, 0.06);
  --glass-blur: 12px;

  /* ── 字体 ── */
  --font-sans: 'Outfit', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

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

  /* ── 阴影 ── */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 59, 115, 0.06), 0 8px 16px -6px rgba(0, 59, 115, 0.04);
  --shadow-xl: 0 20px 35px -8px rgba(0, 59, 115, 0.12), 0 12px 20px -8px rgba(0, 59, 115, 0.08);
  --shadow-glow: 0 0 20px rgba(0, 80, 158, 0.08);
  --shadow-glow-strong: 0 0 30px rgba(0, 80, 158, 0.15);
  --shadow-glow-green: 0 4px 15px rgba(22, 163, 74, 0.08);
  --shadow-glow-amber: 0 4px 15px rgba(234, 88, 12, 0.08);
  --shadow-glow-red: 0 4px 15px rgba(220, 38, 38, 0.08);
  --shadow-glow-purple: 0 4px 15px rgba(79, 70, 229, 0.08);

  /* ── 间距 ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── 动画 ── */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── 层级 ── */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-nav: 50;
  --z-overlay: 100;
  --z-modal: 200;

  /* ── 布局 ── */
  --max-width: 1280px;
  --nav-height: 64px;
  --section-padding: 100px;
}
