/**
 * 研测汇 / SWR — Design Tokens
 * 来源：Figma「首页」node 32:185
 * 后续页面统一引用本文件，勿在页面内硬编码色值
 */
:root {
  /* Brand */
  --color-primary: #3d38f5;
  --color-primary-hover: #322de0;
  --color-icon-from: #545fff;
  --color-icon-to: #636dff;
  --color-icon-border: #c5dbfb;

  /* Text */
  --color-text: #1d293d;
  --color-text-secondary: #4b5b76;
  --color-text-muted: #90a1b9;
  --color-text-copyright: #62748e;
  --color-text-placeholder: #7f76ff;
  --color-accent-orange: #ff9154;

  /* Surfaces */
  --color-bg: #ffffff;
  --color-bg-soft: #f1f5f9;
  --color-bg-panel: #f6f7fa;
  --color-bg-card: #f0f3ff;
  --color-border: #f1f5f9;
  --color-border-input: #d9dcff;
  --color-border-tag: #e2e8f0;

  /* Footer */
  --color-footer-bg: #1d293d;
  --color-footer-text: #90a1b9;

  /* Gradients */
  --gradient-prepaid: linear-gradient(90deg, #f4eae0 0%, #fce2c8 100%);
  --gradient-badge: linear-gradient(90deg, #ff6b35 0%, #ff9154 100%);
  --gradient-icon: linear-gradient(180deg, var(--color-icon-from) 0%, var(--color-icon-to) 100%);
  --gradient-card: linear-gradient(149.5deg, rgba(255, 255, 255, 0.2) 55.7%, rgba(240, 243, 255, 0.2) 98.4%);
  --gradient-feature: linear-gradient(148.7deg, #ffffff 55.7%, #f0f3ff 98.4%);
  --gradient-tae-card: linear-gradient(-21.2deg, rgba(255, 255, 255, 0.6) 14%, rgba(248, 251, 255, 0.6) 81%);
  --gradient-date: linear-gradient(90deg, #3982f9 0%, #005ec6 100%);

  /* Layout — 设计稿 1920，内容区 1440 */
  --layout-max: 1920px;
  --layout-content: 1440px;
  --layout-gutter: 240px;
  --header-height: 80px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 250px;

  /* Shadow */
  --shadow-card: 0 4px 20px 0 #e8eef4;
  --shadow-tae: 0 4px 30px 0 rgba(197, 219, 251, 0.6);

  /* Type */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-section: 36px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.25s;
}
