/* ─────────────────────────────────────────────────────────────
   AI Coding Plan 对比 — FANKE1
   设计语言：暖米白底 + 深蓝绿主色 + 圆角 chip + 居中布局
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #fbf6ec;
  --bg-soft: rgba(255, 251, 245, 0.84);
  --surface: rgba(255, 255, 255, 0.88);
  --border: rgba(23, 32, 51, 0.1);
  --border-soft: rgba(23, 32, 51, 0.05);

  --text: #172033;
  --text-muted: #4a5469;
  --text-faint: #8590a4;

  --accent: #173753;
  --accent-2: #0f766e;
  --warm: #c66b1a;
  --warm-soft: rgba(198, 107, 26, 0.12);
  --good: #00a855;
  --purple: #8b5cf6;
  --primary-blue: #2563eb;
  --primary-blue-2: #1d4ed8;

  /* 平台品牌色 */
  --brand-zhipu: #4F46E5;       /* 智谱 - 深蓝紫 */
  --brand-kimi: #0EA5E9;         /* Kimi - 月之暗面青 */
  --brand-minimax: #EA580C;      /* MiniMax - 橙 */
  --brand-mimo: #FF6900;         /* 小米 MiMo - 小米橙 */
  --brand-volc: #1677FF;         /* 字节·方舟 - 火山蓝 */
  --brand-bailian: #FF6A00;      /* 阿里·百炼 - 阿里橙 */
  --brand-baidu: #2932E1;        /* 百度·千帆 - 百度蓝 */
  --brand-tencent: #00A4FF;      /* 腾讯云 - 腾讯蓝 */
  --brand-xunfei: #DC2626;       /* 讯飞·星火 - 讯飞红 */

  /* 模型系列色 */
  --model-glm: #6366F1;
  --model-qwen: #FF6A00;
  --model-kimi: #1F2937;
  --model-deepseek: #2563EB;
  --model-minimax: #EA580C;
  --model-doubao: #06B6D4;
  --model-mimo: #FF6900;
  --model-tencent: #00A4FF;
  --model-step: #64748B;

  --shadow-sm: 0 4px 12px rgba(23, 32, 51, 0.06);
  --shadow: 0 12px 32px rgba(23, 32, 51, 0.1);
  --shadow-lg: 0 24px 48px rgba(23, 32, 51, 0.12);
  --shadow-glow: 0 8px 32px rgba(99, 102, 241, 0.08), 0 4px 16px rgba(20, 184, 166, 0.04);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    /* 主光斑：左上紫蓝 */
    radial-gradient(ellipse 900px 700px at 12% 8%, rgba(99, 102, 241, 0.32), transparent 55%),
    /* 主光斑：右上青绿 */
    radial-gradient(ellipse 800px 650px at 88% 18%, rgba(20, 184, 166, 0.28), transparent 55%),
    /* 中部高光 */
    radial-gradient(ellipse 700px 500px at 50% 45%, rgba(255, 255, 255, 0.7), transparent 60%),
    /* 右下暖橙 */
    radial-gradient(ellipse 900px 700px at 92% 88%, rgba(251, 146, 60, 0.22), transparent 55%),
    /* 左下深紫 */
    radial-gradient(ellipse 850px 650px at 8% 92%, rgba(168, 85, 247, 0.20), transparent 55%),
    /* 底色：冷蓝白 → 暖米 */
    linear-gradient(180deg, #eef2ff 0%, #fef9f0 50%, #fff5e6 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}

/* 装饰层：极细网格纹理 + 顶部高光 + 底部阴影，加纵深 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* 顶部白色光晕 */
    radial-gradient(ellipse 1200px 400px at 50% 0%, rgba(255, 255, 255, 0.5), transparent 70%),
    /* 底部柔和深色 */
    radial-gradient(ellipse 1000px 300px at 50% 100%, rgba(30, 41, 59, 0.06), transparent 70%),
    /* 极细网格 — 增加品质感（仅极淡可见） */
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  background-position: center, center, 0 0, 0 0;
}

/* 第二装饰层：右上角发光圆斑（更聚焦的"明星"光点） */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 60%);
  filter: blur(40px);
}

/* 内容包一层确保层级在装饰之上 */
.container, .hero, .search-wrap, .vendor-bar, .stats, .table-section, .footer, .float-feedback {
  position: relative;
  z-index: 1;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── 顶部 hero（居中） ─── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 36px;
  max-width: 980px;
  margin: 0 auto;
}

.update-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.update-pill svg {
  color: var(--purple);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -2.5px;
  color: var(--text);
  line-height: 1.1;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 35%, #0f766e 70%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'cv11', 'ss01', 'ss02';
  position: relative;
  display: inline-block;
}

/* 标题底部装饰下划线 */
.hero h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6366f1, #14b8a6, #fb923c);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-models {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ─── 搜索框 ─── */

.search-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 24px 8px;
}

.search {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
}

.search input {
  width: 100%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(252, 248, 240, 0.85) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 14px 20px 14px 48px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px -4px rgba(99, 102, 241, 0.15),
    0 4px 12px rgba(23, 32, 51, 0.08);
  transition: all 0.18s;
  font-family: inherit;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search input:focus {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow:
    0 0 0 4px rgba(20, 184, 166, 0.15),
    0 12px 32px -4px rgba(99, 102, 241, 0.2),
    0 4px 12px rgba(23, 32, 51, 0.1);
}

.search input::placeholder { color: var(--text-faint); }

/* ─── 平台 chip ─── */

.vendor-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  min-height: 36px;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(23, 32, 51, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 118, 110, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.1);
}

.chip.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
  transform: translateY(-1px);
}

/* 平台 chip 带 logo */
.chip-vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
}

.chip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.5px;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 各平台 chip-logo 品牌色 */
.v-zhipu   .chip-logo { background: var(--brand-zhipu); }
.v-kimi    .chip-logo { background: var(--brand-kimi); }
.v-minimax .chip-logo { background: var(--brand-minimax); }
.v-mimo    .chip-logo { background: var(--brand-mimo); font-size: 9px; }
.v-volc    .chip-logo { background: var(--brand-volc); }
.v-bailian .chip-logo { background: var(--brand-bailian); }
.v-baidu   .chip-logo { background: var(--brand-baidu); }
.v-tencent .chip-logo { background: var(--brand-tencent); }
.v-xunfei  .chip-logo { background: var(--brand-xunfei); }

/* 平台 chip hover 时边框带品牌色 */
.v-zhipu:not(.active):hover   { border-color: var(--brand-zhipu); color: var(--brand-zhipu); }
.v-kimi:not(.active):hover    { border-color: var(--brand-kimi); color: var(--brand-kimi); }
.v-minimax:not(.active):hover { border-color: var(--brand-minimax); color: var(--brand-minimax); }
.v-mimo:not(.active):hover    { border-color: var(--brand-mimo); color: var(--brand-mimo); }
.v-volc:not(.active):hover    { border-color: var(--brand-volc); color: var(--brand-volc); }
.v-bailian:not(.active):hover { border-color: var(--brand-bailian); color: var(--brand-bailian); }
.v-baidu:not(.active):hover   { border-color: var(--brand-baidu); color: var(--brand-baidu); }
.v-tencent:not(.active):hover { border-color: var(--brand-tencent); color: var(--brand-tencent); }
.v-xunfei:not(.active):hover  { border-color: var(--brand-xunfei); color: var(--brand-xunfei); }

/* ─── 统计 ─── */

.stats {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 24px 20px;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  letter-spacing: 0.02em;
}

.stats strong {
  color: var(--accent-2);
  font-weight: 800;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 4px;
}

/* ─── 表格 ─── */

.table-section {
  padding: 0 24px 32px;
  max-width: 1500px;
  margin: 0 auto;
}

.table-card {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 252, 245, 0.85) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 32px 64px -16px rgba(23, 32, 51, 0.18),
    0 16px 32px -8px rgba(99, 102, 241, 0.12),
    0 8px 24px -4px rgba(20, 184, 166, 0.08);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 表格卡片顶部彩虹光带 */
.table-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #6366f1 0%,
    #8b5cf6 25%,
    #ec4899 50%,
    #fb923c 75%,
    #14b8a6 100%
  );
  z-index: 10;
  opacity: 0.85;
}

/* 表格卡片内部装饰光斑（仅作为背景图层） */
.table-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.table-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1900px;
}

thead th {
  background: linear-gradient(180deg,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(30, 41, 59, 0.97) 100%
  );
  color: rgba(248, 250, 252, 0.85);
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  padding: 18px 18px;
  white-space: nowrap;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  position: relative;
}

/* 表头底部彩色发光线 */
thead tr::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.5) 25%,
    rgba(20, 184, 166, 0.5) 75%,
    transparent 100%
  );
}

thead th.sortable { cursor: pointer; transition: color 0.15s, background 0.15s; }
thead th.sortable:hover {
  color: white;
  background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 1) 100%);
}

thead th.sortable::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(248, 250, 252, 0.4);
  opacity: 0.7;
}

thead th.sort-asc::after {
  border-top: none;
  border-bottom: 4px solid #14b8a6;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(20, 184, 166, 0.6));
}

thead th.sort-desc::after {
  border-top: 4px solid #14b8a6;
  border-bottom: none;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(20, 184, 166, 0.6));
}

thead th.col-action {
  width: 100px;
}

thead th.col-note {
  width: 360px;
  min-width: 360px;
}

tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  vertical-align: middle;
  background: transparent;
  transition: background 0.18s ease;
  position: relative;
}

/* 行最小高度：让模型少的行也撑到统一视觉高度 */
tbody tr {
  min-height: 76px;
  height: 76px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* 斑马纹 — 极淡的暖色 */
tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.4);
}

tbody tr:nth-child(even) td {
  background: rgba(254, 247, 238, 0.5);
}

tbody tr:hover td {
  background: linear-gradient(90deg,
    rgba(99, 102, 241, 0.06) 0%,
    rgba(20, 184, 166, 0.06) 50%,
    rgba(251, 146, 60, 0.04) 100%
  );
}

/* hover 时左侧出现彩色光条 */
tbody tr td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, #6366f1, #14b8a6);
  transition: width 0.2s ease;
  border-radius: 0 2px 2px 0;
}

tbody tr:hover td:first-child::before {
  width: 3px;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover td { /* hover 样式上面已定义 */ }
tbody tr:last-child td { border-bottom: none; }

/* 平台 / 套餐 单元格 */
.vendor-cell {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.vendor-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vendor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 10px rgba(23, 32, 51, 0.12);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 各平台 vendor-logo 品牌色（带渐变） */
.vendor-logo.v-zhipu   { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.vendor-logo.v-kimi    { background: linear-gradient(135deg, #38BDF8, #0EA5E9); }
.vendor-logo.v-minimax { background: linear-gradient(135deg, #FB923C, #EA580C); }
.vendor-logo.v-mimo    { background: linear-gradient(135deg, #FB923C, #FF6900); font-size: 11px; }
.vendor-logo.v-volc    { background: linear-gradient(135deg, #4096FF, #1677FF); }
.vendor-logo.v-bailian { background: linear-gradient(135deg, #FF8A38, #FF6A00); }
.vendor-logo.v-baidu   { background: linear-gradient(135deg, #4F58EA, #2932E1); }
.vendor-logo.v-tencent { background: linear-gradient(135deg, #38BAF8, #00A4FF); }
.vendor-logo.v-xunfei  { background: linear-gradient(135deg, #F87171, #DC2626); }

.vendor-name {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.plan-cell {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  font-family: 'Space Grotesk', 'Inter', 'Noto Sans SC', sans-serif;
  letter-spacing: 0.01em;
}

/* 类型标签 */
.type-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

.type-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.type-tag.coding {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.type-tag.coding::before {
  background: #4f46e5;
  box-shadow: 0 0 6px #4f46e5;
}

.type-tag.token {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(251, 146, 60, 0.12));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.type-tag.token::before {
  background: #d97706;
  box-shadow: 0 0 6px #d97706;
}

/* 套餐标签（"模型强"/"性价比高用量足"等） */
.tags-cell {
  white-space: normal;
  min-width: 110px;
  max-width: 150px;
  line-height: 1.5;
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  margin: 1px 3px 1px 0;
  border: 1px solid transparent;
  white-space: nowrap;
}

.plan-tag.tag-model {
  background: rgba(23, 55, 83, 0.1);
  color: var(--accent);
  border-color: rgba(23, 55, 83, 0.2);
}

.plan-tag.tag-value {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-2);
  border-color: rgba(15, 118, 110, 0.2);
}

.plan-tag.tag-other {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
}

/* 评分星星（表格内） */
.stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 13px;
  white-space: nowrap;
}

/* 跳转按钮（蓝色） */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 8px 14px 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  letter-spacing: 0.02em;
}

.action-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.action-btn::after {
  content: "→";
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  transition: transform 0.18s;
}

.action-btn:hover::after {
  transform: translateX(3px);
}

.action-btn.disabled {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #475569;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* 价格颜色 — 用 Space Grotesk 字体让数字更现代 */
.price-first, .price-monthly, .price-plain {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  font-feature-settings: 'tnum';
}
.price-first { color: var(--good); font-weight: 700; font-size: 16px; }
.price-monthly { color: var(--purple); font-weight: 700; font-size: 16px; }
.price-plain { color: var(--text); font-weight: 600; font-size: 14.5px; }

.price-unit {
  color: var(--text-faint);
  font-weight: 400;
  font-size: 12px;
  margin-left: 2px;
}

.price-original {
  color: var(--text-faint);
  text-decoration: line-through;
  font-size: 11px;
  margin-left: 4px;
  font-weight: 400;
}

.price-dash {
  color: var(--text-faint);
  font-size: 14px;
}

/* 价格缺失时的占位文本 */
.price-na {
  color: var(--text-faint);
  font-size: 12.5px;
  font-style: italic;
  white-space: nowrap;
}

/* 模型标签 — 拉宽列让多模型尽量用 1-2 行放下 */
.model-cell {
  white-space: normal;
  min-width: 380px;
  max-width: 560px;
  line-height: 1.7;
}
.model-tag {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
  font-family: 'JetBrains Mono', 'Space Grotesk', 'Inter', monospace;
  letter-spacing: -0.01em;
  transition: transform 0.12s, box-shadow 0.12s;
}

.model-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(23, 32, 51, 0.08);
}

/* 模型系列色 — 左侧加品牌色细边 */
.model-tag.m-glm       { background: rgba(99, 102, 241, 0.08); color: #4338ca; border-color: rgba(99, 102, 241, 0.25); border-left: 3px solid #6366F1; }
.model-tag.m-qwen      { background: rgba(255, 106, 0, 0.08); color: #c2410c; border-color: rgba(255, 106, 0, 0.25); border-left: 3px solid #FF6A00; }
.model-tag.m-kimi      { background: rgba(31, 41, 55, 0.06); color: #1f2937; border-color: rgba(31, 41, 55, 0.2); border-left: 3px solid #1F2937; }
.model-tag.m-deepseek  { background: rgba(37, 99, 235, 0.08); color: #1e40af; border-color: rgba(37, 99, 235, 0.25); border-left: 3px solid #2563EB; }
.model-tag.m-minimax   { background: rgba(234, 88, 12, 0.08); color: #c2410c; border-color: rgba(234, 88, 12, 0.25); border-left: 3px solid #EA580C; }
.model-tag.m-doubao    { background: rgba(6, 182, 212, 0.08); color: #0e7490; border-color: rgba(6, 182, 212, 0.25); border-left: 3px solid #06B6D4; }
.model-tag.m-mimo      { background: rgba(255, 105, 0, 0.08); color: #c2410c; border-color: rgba(255, 105, 0, 0.25); border-left: 3px solid #FF6900; }
.model-tag.m-tencent   { background: rgba(0, 164, 255, 0.08); color: #0369a1; border-color: rgba(0, 164, 255, 0.25); border-left: 3px solid #00A4FF; }
.model-tag.m-step      { background: rgba(100, 116, 139, 0.08); color: #475569; border-color: rgba(100, 116, 139, 0.2); border-left: 3px solid #64748B; }

/* 请求数 — Space Grotesk 数字字体 */
.req-num {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-feature-settings: 'tnum';
  font-weight: 700;
  color: var(--text);
  font-size: 14.5px;
}
.req-faint { color: var(--text-faint); font-size: 14px; }

/* 权益 */
.benefit-cell {
  white-space: normal;
  min-width: 100px;
  max-width: 180px;
  line-height: 1.5;
}
.benefit {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 146, 60, 0.1));
  color: var(--warm);
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  margin: 2px 4px 2px 0;
  border: 1px solid rgba(198, 107, 26, 0.25);
  white-space: nowrap;
  font-weight: 600;
}

.benefit::before {
  content: '✦';
  font-size: 9px;
  color: var(--warm);
  margin-right: 2px;
}

/* Token 上限 */
.token-limit {
  color: var(--text-muted);
  font-size: 13.5px;
  font-family: 'Space Grotesk', 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 600;
}

/* Token 上限 — 上面已定义 */

/* 备注列 — 固定宽度，长度（高度）随内容自适应 */
.note-cell {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.65;
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}

/* 空状态 */
.empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-faint);
}

/* ─── 推荐区 ─── */

.section-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 32px 0 20px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.recs-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.recs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* 评分标准块（推荐位下方） */
.rating-guide {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}

.rec-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  backdrop-filter: blur(6px);
}

.rec-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 118, 110, 0.25);
}

.rec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.rec-name { font-size: 17px; font-weight: 800; color: var(--text); }
.rec-stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }

.rec-list { margin: 0; padding: 0; list-style: none; }
.rec-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.rec-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent-2);
  font-weight: bold;
}
.rec-list li:last-child { margin-bottom: 0; }

/* ─── 页脚 ─── */

.footer {
  margin-top: 40px;
  padding: 0 24px 80px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-card {
  text-align: left;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-title-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  text-align: left;
}

.footer li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-faint);
}

.footer-meta-sep {
  color: var(--text-faint);
  opacity: 0.5;
}

/* ─── 右下角浮动反馈按钮 ─── */

.float-feedback {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

.float-feedback:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 118, 110, 0.3);
  color: var(--accent);
}

.float-feedback svg { color: var(--accent-2); }

/* ─── 响应式 ─── */

@media (max-width: 768px) {
  .hero { padding: 48px 16px 20px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 14px; }
  .hero-models { font-size: 12.5px; flex-wrap: wrap; justify-content: center; padding: 8px 14px; }
  .search-wrap, .vendor-bar { padding: 12px 16px 4px; }
  .table-section { padding: 0 12px 24px; }
  thead th, tbody td { padding: 12px 14px; font-size: 12px; }
  .float-feedback { right: 12px; bottom: 14px; min-height: 36px; padding: 0 12px; font-size: 12px; }
}
