/* ========================================
   河玛官网 - 主题配置（高端浅色科技风）
   修改此文件即可全局调整视觉风格
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  /* ── 背景色（柔和灰蓝，统一浅色系） ── */
  --color-bg-primary: #F4F7FB;
  --color-bg-secondary: #EEF2F7;
  --color-bg-tertiary: #E5EBF3;
  --color-bg-elevated: #FFFFFF;

  --color-dark-bg: #F4F7FB;
  --color-dark-surface: #FFFFFF;
  --color-dark-elevated: #FFFFFF;
  --color-dark-border: rgba(15, 23, 42, 0.08);

  /* 品牌色 - 深海蓝 */
  --color-accent: #2563EB;
  --color-accent-hover: #1D4ED8;
  --color-accent-light: #3B82F6;
  --color-accent-dim: rgba(37, 99, 235, 0.08);
  --color-accent-glow: rgba(37, 99, 235, 0.15);
  --color-accent-secondary: #0EA5E9;

  /* ── 文字色 ── */
  --color-text-primary: #0F172A;
  --color-text-secondary: #334155;
  --color-text-tertiary: #64748B;
  --color-text-muted: #94A3B8;
  --color-text-inverse: #FFFFFF;
  --color-text-on-dark: #0F172A;
  --color-text-muted-on-dark: #64748B;

  /* ── 边框色 ── */
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-light: rgba(15, 23, 42, 0.05);
  --color-border-hover: rgba(37, 99, 235, 0.25);

  /* ── 排版 ── */
  --font-family-zh: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  --font-family-en: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-tech: 'Inter', sans-serif;
  --font-family-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  --font-size-display: 3.25rem;
  --font-size-h1: 2.25rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.25rem;
  --font-size-body: 1rem;
  --font-size-caption: 0.875rem;
  --font-size-small: 0.8125rem;

  --line-height-relaxed: 1.75;
  --line-height-normal: 1.6;
  --line-height-tight: 1.3;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* ── 间距 ── */
  --spacing-2xs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;

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

  /* ── 阴影 ── */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-button: 0 4px 14px rgba(37, 99, 235, 0.25);
  --shadow-nav: 0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 28px rgba(37, 99, 235, 0.12);

  /* ── 过渡 ── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── 容器 ── */
  --container-max: 1200px;
  --container-padding: var(--spacing-lg);

  /* ── 导航高度 ── */
  --nav-height: 68px;

  /* ── 图标尺寸 ── */
  --icon-sm: 20px;
  --icon-md: 24px;
  --icon-lg: 32px;
  --icon-xl: 48px;
}
