/* ==========================================================================
   杰芳科技 · 官网设计系统 v2
   明亮极简高级白 / Linear-Vercel 风格
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌色 —— 克制的靛蓝，不用饱和亮蓝 */
  --brand: #2f5bea;
  --brand-hover: #2447c9;
  --brand-soft: #eef2ff;
  --brand-softer: #f6f8ff;
  --brand-ring: rgba(47, 91, 234, 0.14);

  /* AI 渐变 —— 用于 AI 员工相关元素 */
  --ai-a: #7c5cff;
  --ai-b: #26c6ff;
  --ai-soft: #f4f2ff;
  --ai-gradient: linear-gradient(120deg, #7c5cff 0%, #26c6ff 100%);
  --ai-gradient-soft: linear-gradient(120deg, rgba(124, 92, 255, .09), rgba(38, 198, 255, .09));

  /* 中性色 —— 偏向冷灰，避免发黄 */
  --ink: #0c1220;
  --ink-2: #1e2637;
  --text: #2b3548;
  --text-2: #5a6679;
  --text-3: #8b94a6;
  --text-4: #aab1be;

  --line: #e8ebf0;
  --line-2: #f0f2f6;
  --bg: #ffffff;
  --bg-1: #fafbfc;
  --bg-2: #f5f7fa;

  /* 员工主题色 */
  --c-tangtang: #ff9fbc;
  --c-mashu: #5cb8f0;
  --c-naifu: #a78bfa;
  --c-buding: #f5b942;

  /* 状态色 */
  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;

  /* 圆角 —— 小半径，高级感靠克制 */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* 阴影 —— 极淡，靠边框撑结构 */
  --sh-xs: 0 1px 2px rgba(12, 18, 32, .04);
  --sh-sm: 0 1px 3px rgba(12, 18, 32, .05), 0 1px 2px rgba(12, 18, 32, .03);
  --sh-md: 0 4px 12px -2px rgba(12, 18, 32, .07), 0 2px 6px -2px rgba(12, 18, 32, .04);
  --sh-lg: 0 12px 32px -8px rgba(12, 18, 32, .1), 0 4px 12px -4px rgba(12, 18, 32, .05);
  --sh-brand: 0 6px 20px -6px rgba(47, 91, 234, .32);

  /* 版式 */
  --nav-h: 64px;
  --wrap: 1120px;
  --wrap-wide: 1280px;

  /* 动效 —— 统一 ease-out，短促 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 140ms;
  --t-mid: 200ms;
  --t-slow: 320ms;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
}

p { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(47, 91, 234, .16); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-wide {
  width: 100%;
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-bg { background: var(--bg-1); }
.section-bg-2 { background: var(--bg-2); }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease);
}

.nav.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 主导航 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.nav-link {
  position: relative;
  padding: 7px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

.nav-link:hover { color: var(--ink); background: var(--bg-2); }

.nav-link.is-active { color: var(--ink); font-weight: 600; }

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand);
}

/* 导航右侧 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast) var(--ease);
}

.nav-tel:hover { color: var(--brand); }
.nav-tel svg { width: 14px; height: 14px; }

/* 汉堡 */
.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  place-items: center;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t-mid) var(--ease),
              opacity var(--t-fast) var(--ease);
}

.nav-burger span + span { margin-top: 4px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn svg { width: 15px; height: 15px; }

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: var(--sh-brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(47, 91, 234, .42);
}

.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-ink {
  color: #fff;
  background: var(--ink);
}

.btn-ink:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ink:active { transform: translateY(0) scale(.985); }

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--sh-xs);
}

.btn-ghost:hover {
  border-color: #d3d9e3;
  background: var(--bg-1);
  transform: translateY(-1px);
}

.btn-ghost:active { transform: translateY(0) scale(.985); }

.btn-soft {
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-soft:hover { background: #e3e9ff; }

.btn-ai {
  position: relative;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  overflow: hidden;
}

.btn-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ai-gradient);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}

.btn-ai:hover::before { opacity: .07; }
.btn-ai:hover { border-color: #d9d2ff; }
.btn-ai span, .btn-ai svg { position: relative; z-index: 1; }

.btn-lg { height: 46px; padding: 0 24px; font-size: 0.94rem; border-radius: var(--r-md); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 0.81rem; }
.btn-block { width: 100%; }

/* 文字链 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap var(--t-fast) var(--ease);
}

.link-arrow svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { gap: 8px; }
.link-arrow:hover svg { transform: translateX(1px); }

/* ---------- 通用标题块 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.eyebrow-ai { color: #6b4de0; background: var(--ai-soft); border-color: #e7e1ff; }
.eyebrow-ai .eyebrow-dot { background: var(--ai-a); }

.sec-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.sec-head.is-center { margin-inline: auto; text-align: center; }

.sec-title {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.032em;
  line-height: 1.18;
}

.sec-desc {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-2);
}

.sec-head.is-center .sec-desc { max-width: 560px; margin-inline: auto; }

/* 强调词 —— 用底色而非彩色渐变，更克制 */
.mark {
  color: var(--ink);
  background: linear-gradient(to top, rgba(47, 91, 234, .15) 0 32%, transparent 32%);
  padding-inline: 3px;
  margin-inline: -1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.grad-text {
  background: var(--ai-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 92px) 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  width: 1100px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 91, 234, .07), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 6px 5px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}

.hero-badge b {
  font-weight: 600;
  color: var(--ink);
}

.hero-badge .pill {
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b4de0;
  background: var(--ai-soft);
  border-radius: var(--r-pill);
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.12;
}

.hero-lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-fact-num {
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-fact-label {
  margin-top: 2px;
  font-size: 0.79rem;
  color: var(--text-3);
}

/* 首屏右侧：AI 员工卡组 */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ai-gradient-soft);
  filter: blur(48px);
  opacity: .8;
  pointer-events: none;
}

.crew-card {
  position: relative;
  width: 100%;
  max-width: 376px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

.crew-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.crew-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ok);
  opacity: 0;
  animation: livePulse 2.4s var(--ease) infinite;
}

@keyframes livePulse {
  0% { transform: scale(.7); opacity: .7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.crew-card-meta {
  font-size: 0.71rem;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}

.crew-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}

.crew-row:hover { background: var(--bg-1); }

.crew-ava {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--line);
}

.crew-ava img { width: 100%; height: 100%; object-fit: cover; }

.crew-info { min-width: 0; flex: 1; }

.crew-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}

.crew-role {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-4);
}

.crew-task {
  margin-top: 1px;
  font-size: 0.73rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 52px;
  padding: 2px 9px;
  font-size: 0.66rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.st-working { color: #0a7f5c; background: rgba(16, 185, 129, .1); }
.st-idle { color: var(--text-3); background: var(--bg-2); }
.st-busy { color: #b45309; background: rgba(245, 158, 11, .1); }

/* ---------- 客户 / 资质条 ---------- */
.trust-bar {
  border-block: 1px solid var(--line);
  background: var(--bg-1);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding: 20px 24px;
  max-width: var(--wrap-wide);
  margin-inline: auto;
}

.trust-bar-label {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.03em;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text-3);
  transition: color var(--t-fast) var(--ease);
}

.trust-item:hover { color: var(--text); }
.trust-item svg { width: 15px; height: 15px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 服务卡 */
.card {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}

.card:hover {
  border-color: #d6dce6;
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.card-link { display: block; }

.card-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-md);
}

.card-ico svg { width: 20px; height: 20px; }

.card-ico.is-ai { color: #6b4de0; background: var(--ai-soft); }
.card-ico.is-ink { color: var(--ink); background: var(--bg-2); }

.card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.card-desc {
  margin-top: 9px;
  font-size: 0.885rem;
  line-height: 1.7;
  color: var(--text-2);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 2.5px 8px;
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-2);
  border-radius: var(--r-xs);
}

/* 小徽标 */
.badge {
  padding: 1px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 4px;
  line-height: 1.55;
  white-space: nowrap;
}

.badge-new { color: #0a7f5c; background: rgba(16, 185, 129, .11); }
.badge-hot { color: #c2410c; background: rgba(249, 115, 22, .11); }
.badge-ai { color: #6b4de0; background: var(--ai-soft); }
.badge-soon { color: var(--text-3); background: var(--bg-2); }

/* ---------- AI 员工团队 ---------- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crew-tile {
  position: relative;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}

.crew-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--tone, var(--brand));
  opacity: .85;
}

.crew-tile:hover {
  border-color: #d6dce6;
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.crew-tile.is-featured { box-shadow: var(--sh-sm); }

.crew-tile-ava {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px color-mix(in srgb, var(--tone, var(--brand)) 30%, transparent);
}

.crew-tile-ava img { width: 100%; height: 100%; object-fit: cover; }

.crew-tile-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.crew-tile-role {
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tone, var(--brand));
}

.crew-tile-bio {
  margin-top: 12px;
  font-size: 0.825rem;
  line-height: 1.68;
  color: var(--text-2);
}

.crew-tile-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 15px;
}

.crew-tile-skills span {
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
}

/* ---------- 统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  padding: 28px 24px;
  background: #fff;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.stat-num .unit { font-size: .62em; font-weight: 650; color: var(--brand); }

.stat-label {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}

.case-card:hover {
  border-color: #d6dce6;
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.case-media {
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  background: var(--bg-2);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.case-card:hover .case-media img { transform: scale(1.025); }

.case-body { padding: 22px 24px 24px; }

.case-tag {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brand);
}

.case-h {
  margin-top: 7px;
  font-size: 1.06rem;
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -0.018em;
}

.case-desc {
  margin-top: 8px;
  font-size: 0.865rem;
  line-height: 1.68;
  color: var(--text-2);
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.case-metric-num {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--brand);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.case-metric-label {
  display: block;
  margin-top: 1px;
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }

.flow-step { position: relative; padding: 26px 22px; background: #fff; }

.flow-n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

.flow-t { font-size: 0.94rem; font-weight: 680; color: var(--ink); }

.flow-d {
  margin-top: 7px;
  font-size: 0.83rem;
  line-height: 1.66;
  color: var(--text-2);
}

/* ---------- 评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.quote {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.quote-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--text);
}

.quote-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.quote-ava {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
}

.quote-name { font-size: 0.84rem; font-weight: 650; color: var(--ink); }
.quote-meta { font-size: 0.74rem; color: var(--text-3); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 76px 0;
  background: var(--ink);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 91, 234, .3), transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; text-align: center; }

.cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 780;
  letter-spacing: -0.032em;
  color: #fff;
}

.cta p {
  max-width: 540px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, .66);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.btn-white {
  color: var(--ink);
  background: #fff;
}

.btn-white:hover { background: #f2f4f8; transform: translateY(-1px); }
.btn-white:active { transform: translateY(0) scale(.985); }

.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .34);
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 30px;
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .55);
}

.cta-trust svg { width: 13px; height: 13px; color: rgba(255, 255, 255, .85); }

/* ---------- 页脚 ---------- */
.foot {
  padding: 64px 0 28px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 40px;
}

.foot-brand-desc {
  margin-top: 14px;
  max-width: 300px;
  font-size: 0.845rem;
  line-height: 1.72;
  color: var(--text-2);
}

.foot-contact { display: grid; gap: 9px; margin-top: 20px; }

.foot-contact a, .foot-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}

.foot-contact a:hover { color: var(--brand); }
.foot-contact svg { width: 14px; height: 14px; color: var(--text-4); flex-shrink: 0; }

.foot-col-t {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-4);
}

.foot-links { display: grid; gap: 9px; }

.foot-links a {
  font-size: 0.855rem;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}

.foot-links a:hover { color: var(--ink); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.775rem;
  color: var(--text-4);
}

.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

.foot-legal a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-4);
  transition: color var(--t-fast) var(--ease);
}

.foot-legal a:hover { color: var(--text-2); }
.foot-legal img, .foot-legal svg { width: 13px; height: 13px; }

/* ---------- 入场动画 ---------- */
.rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.rise.is-in { opacity: 1; transform: none; }

.rise-d1 { transition-delay: 70ms; }
.rise-d2 { transition-delay: 140ms; }
.rise-d3 { transition-delay: 210ms; }
.rise-d4 { transition-delay: 280ms; }

/* ---------- 子页面首屏 ---------- */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 64px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 91, 234, .06), transparent 68%);
  pointer-events: none;
}

.page-head-inner { position: relative; max-width: 760px; }

.page-head h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 790;
  letter-spacing: -0.036em;
  line-height: 1.16;
}

.page-head p {
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-2);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 0.79rem;
  color: var(--text-4);
}

.crumb a { transition: color var(--t-fast) var(--ease); }
.crumb a:hover { color: var(--brand); }
.crumb-sep { color: var(--text-4); opacity: .6; }

/* 服务详情 */
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 28px);
}

.svc-row:last-of-type { border-bottom: none; }
.svc-row.is-flip .svc-info { order: 2; }
.svc-row.is-flip .svc-visual { order: 1; }

.svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
}

.svc-row h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.24;
}

.svc-lead {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-2);
}

.svc-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.svc-point {
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}

.svc-point-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.855rem;
  font-weight: 650;
  color: var(--ink);
}

.svc-point-t svg { width: 13px; height: 13px; color: var(--ok); }

.svc-point-d {
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.62;
  color: var(--text-3);
}

.svc-note {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 0.845rem;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--brand-softer);
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.svc-visual {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-sm);
}

.svc-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 常见问题 */
.faq-wrap { max-width: 800px; margin-inline: auto; display: grid; gap: 10px; }

.faq-item {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) var(--ease);
}

.faq-item:hover { border-color: #d6dce6; }

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--ink);
}

.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 5px;
}

.faq-a {
  margin-top: 9px;
  padding-left: 30px;
  font-size: 0.87rem;
  line-height: 1.78;
  color: var(--text-2);
}

/* ---------- 价格表 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}

.price-card:hover { border-color: #d6dce6; box-shadow: var(--sh-md); }

.price-card.is-hot {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--sh-md);
}

.price-flag {
  position: absolute;
  top: -10px;
  left: 28px;
  padding: 2px 9px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--brand);
  border-radius: var(--r-pill);
}

.price-name { font-size: 0.95rem; font-weight: 680; color: var(--ink); }

.price-desc {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 20px 0 4px;
  min-height: 2.3rem;
  font-variant-numeric: tabular-nums;
}

.price-cur { font-size: 0.9rem; font-weight: 600; color: var(--text-2); }

.price-num {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.price-num.is-word {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.price-unit { font-size: 0.82rem; font-weight: 500; color: var(--text-3); }

.price-list { display: grid; gap: 9px; margin: 22px 0 26px; }

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.845rem;
  line-height: 1.6;
  color: var(--text-2);
}

.price-list svg { width: 14px; height: 14px; margin-top: 2.5px; color: var(--ok); flex-shrink: 0; }

.price-card .btn { margin-top: auto; }

/* ---------- 表单 ---------- */
.field-grid { display: grid; gap: 16px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 6px; }

.field label {
  font-size: 0.815rem;
  font-weight: 600;
  color: var(--text-2);
}

.field label .req { color: var(--err); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-4); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.field textarea { resize: vertical; min-height: 112px; line-height: 1.65; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b94a6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}

.field-hint { font-size: 0.76rem; color: var(--text-4); line-height: 1.6; }

.form-ok {
  display: none;
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 550;
  color: #0a7f5c;
  background: rgba(16, 185, 129, .08);
  border: 1px solid rgba(16, 185, 129, .22);
  border-radius: var(--r-sm);
}

.form-ok.is-shown { display: block; }

.form-err {
  display: none;
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 550;
  color: #b42318;
  background: rgba(220, 38, 38, .06);
  border: 1px solid rgba(220, 38, 38, .2);
  border-radius: var(--r-sm);
}

.form-err.is-shown { display: block; }

/* ---------- 联系页 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.contact-list { display: grid; gap: 4px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 10px;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}

.contact-row:hover { background: var(--bg-1); }

.contact-row-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-sm);
}

.contact-row-ico svg { width: 17px; height: 17px; }

.contact-k {
  font-size: 0.745rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-4);
}

.contact-v {
  margin-top: 2px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

.contact-v a:hover { color: var(--brand); }

/* ---------- 关于页 ---------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-body p {
  font-size: 0.945rem;
  line-height: 1.85;
  color: var(--text-2);
}

.about-body p + p { margin-top: 15px; }

.facts-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fact-mini {
  padding: 22px 18px;
  text-align: center;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}

.fact-mini-num {
  font-size: 1.55rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.fact-mini-label { margin-top: 4px; font-size: 0.78rem; color: var(--text-3); }

.value-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.value-item {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.value-item-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--ink);
  background: var(--bg-2);
  border-radius: var(--r-md);
}

.value-item-ico svg { width: 18px; height: 18px; }

.value-item-t { font-size: 0.98rem; font-weight: 680; color: var(--ink); }

.value-item-d {
  margin-top: 8px;
  font-size: 0.855rem;
  line-height: 1.72;
  color: var(--text-2);
}

/* ---------- 状态看板 ---------- */
.board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}

.board-head-t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink);
}

.board-head-meta {
  font-size: 0.75rem;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}

.board-rows { display: grid; }

.board-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.15fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-2);
  transition: background var(--t-fast) var(--ease);
}

.board-row:last-child { border-bottom: none; }
.board-row:hover { background: var(--bg-1); }

.board-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--line);
}

.board-ava img { width: 100%; height: 100%; object-fit: cover; }

.board-name { font-size: 0.875rem; font-weight: 650; color: var(--ink); }
.board-role { font-size: 0.735rem; color: var(--text-4); }

.board-task {
  font-size: 0.82rem;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-model {
  font-size: 0.755rem;
  color: var(--text-3);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.board-bar {
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
}

.board-bar-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--t-slow) var(--ease);
}

/* ---------- 商城预留 ---------- */
.shop-hero {
  position: relative;
  padding: 52px 0 56px;
  text-align: center;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #6b4de0;
  background: var(--ai-soft);
  border: 1px solid #e7e1ff;
  border-radius: var(--r-pill);
}

.shop-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.shop-item {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.shop-item-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--text-3);
  background: var(--bg-2);
  border-radius: var(--r-md);
}

.shop-item-ico svg { width: 19px; height: 19px; }
.shop-item-t { font-size: 0.95rem; font-weight: 680; color: var(--ink); }
.shop-item-d { margin-top: 8px; font-size: 0.845rem; line-height: 1.7; color: var(--text-2); }
.shop-item-tag { margin-top: 14px; font-size: 0.715rem; font-weight: 600; color: var(--text-4); letter-spacing: 0.03em; }

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ============================================================
   作品展示页
   ============================================================ */

/* ---------- 页头 ---------- */
.works-head {
  padding: calc(var(--nav-h) + 56px) 0 40px;
  background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}

.works-head-inner { max-width: 720px; }

.works-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin: 14px 0 16px;
}

.works-head p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-2);
}

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-family: inherit;
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

.filter-chip span {
  font-size: 0.75rem;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}

.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip:active { transform: scale(.97); }

.filter-chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter-chip.is-on span { color: rgba(255, 255, 255, .55); }

/* ---------- 作品网格 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 40px 0 0;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}

.work-card:hover {
  border-color: #d4dae4;
  box-shadow: 0 14px 34px -14px rgba(12, 18, 32, .16);
  transform: translateY(-3px);
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, #f7f9fc, #eef2fa);
  border-bottom: 1px solid var(--line-2);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}

.work-card:hover .work-media img { transform: scale(1.03); }

.work-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-4);
}

.work-ph-sm { min-height: 130px; }

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.work-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.work-year {
  font-size: 0.72rem;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}

.work-year::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--line);
  vertical-align: middle;
}

.work-h {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 4px;
}

.work-client {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 10px;
}

.work-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 16px;
}

.work-body .case-metrics {
  gap: 24px;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}

.work-body .case-metric-num { font-size: 1rem; }
.work-body .case-metric-label { font-size: 0.7rem; }

.work-foot {
  margin-top: auto;
  padding-top: 14px;
}

.work-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: gap var(--t-fast) var(--ease);
}

.work-open svg { width: 13px; height: 13px; transition: transform var(--t-fast) var(--ease); }
.work-open:hover { gap: 8px; }
.work-open:hover svg { transform: translate(1px, -1px); }

.work-nolink {
  font-size: 0.8rem;
  color: var(--text-4);
}

/* ---------- 首页精选作品 ---------- */
.homework {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}

.homework:hover {
  border-color: #d4dae4;
  box-shadow: 0 14px 34px -14px rgba(12, 18, 32, .16);
  transform: translateY(-3px);
}

.homework-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, #f7f9fc, #eef2fa);
  border-bottom: 1px solid var(--line-2);
}

.homework-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}

.homework:hover .homework-media img { transform: scale(1.03); }

.homework-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.homework-body .case-h { font-size: 1.02rem; margin-bottom: 6px; }
.homework-body .case-desc { font-size: 0.855rem; margin-bottom: 14px; }

.homework-body .case-metrics {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  gap: 22px;
}

.homework-body .case-metric-num { font-size: 0.95rem; }
.homework-body .case-metric-label { font-size: 0.7rem; }

/* ---------- 空态 ---------- */
.works-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.94rem;
}

/* ---------- 作品页响应式 ---------- */
@media (max-width: 1024px) {
  .works-grid { gap: 16px; }
  .work-body { padding: 20px; }
}

@media (max-width: 768px) {
  .works-head { padding: calc(var(--nav-h) + 36px) 0 28px; }
  .works-grid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .filter-bar { padding-top: 20px; }
  .work-body .case-metrics { gap: 20px; }
}

@media (max-width: 420px) {
  .filter-chip { padding: 7px 12px; font-size: 0.8rem; }
  .work-body { padding: 18px; }
  .work-h { font-size: 1.02rem; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --wrap: 100%; }

  .hero { padding: calc(var(--nav-h) + 64px) 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { min-height: unset; }
  .crew-card { max-width: 100%; }

  .section { padding: 72px 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .shop-cards { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }

  .svc-row { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .svc-row.is-flip .svc-info { order: 1; }
  .svc-row.is-flip .svc-visual { order: 2; }

  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }

  .foot-main { grid-template-columns: 1fr 1fr; gap: 36px; }

  .board-row { grid-template-columns: 40px minmax(0, 1fr) 84px; }
  .board-task, .board-model { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-tel { display: none; }
  .nav-burger { display: grid; }

  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
  }

  .nav-links.is-open .nav-link {
    padding: 11px 12px;
    font-size: 0.95rem;
    border-radius: var(--r-sm);
  }

  .nav-links.is-open .nav-link.is-active::after { display: none; }
  .nav-links.is-open .nav-link.is-active { background: var(--brand-soft); color: var(--brand); }

  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero-lead { font-size: 0.97rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { gap: 20px 24px; }

  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .sec-head { margin-bottom: 36px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; }
  .svc-points { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .facts-mini { grid-template-columns: 1fr 1fr; }

  .page-head { padding: calc(var(--nav-h) + 52px) 0 44px; }
  .page-head h1 { font-size: clamp(1.5rem, 7vw, 2rem); }

  .foot { padding: 48px 0 24px; }
  .foot-main { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }

  .cta { padding: 56px 0; }
  .cta-actions .btn { flex: 1 1 auto; }

  .price-card { padding: 24px; }
}

@media (max-width: 420px) {
  .wrap, .wrap-wide, .nav-inner, .trust-bar-inner { padding-inline: 18px; }
  .crew-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-facts { gap: 16px 20px; }
  .hero-fact-num { font-size: 1.15rem; }
  .board-row { grid-template-columns: 36px minmax(0, 1fr) 76px; gap: 10px; padding: 13px 16px; }
}

/* ---------- 无障碍 / 打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rise { opacity: 1; transform: none; }
}

@media print {
  .nav, .cta, .foot { display: none; }
  body { font-size: 11pt; color: #000; }
  .section { padding: 18pt 0; }
}

/* ============================================================
   杰芳科技 · 新增组件样式
   游戏库 / 规格对比表 / 硬件卡 / 四组业务 / 面板商城
   署名：追加于 style.css 末尾
   ============================================================ */

/* ---------- 通用补充 ---------- */
.wrap-narrow { max-width: 820px; margin: 0 auto; }
.is-center { text-align: center; }
.is-center .eyebrow { justify-content: center; }
.is-center .sec-desc { margin-left: auto; margin-right: auto; }

.eyebrow-light { color: rgba(255, 255, 255, .6); }
.eyebrow-light .eyebrow-dot { background: #4d7bff; }

.card-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3, #5a6478);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}

/* ---------- 首页：迷你游戏墙（hero 右侧） ---------- */
.hero-games {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: #0c1220;
  box-shadow: 0 18px 50px rgba(12, 18, 32, .28);
}
.hero-games-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}
.hero-games-head a {
  margin-left: auto;
  color: #4d7bff;
  font-weight: 600;
  text-decoration: none;
}
.hero-games-head a:hover { color: #7ba0ff; }
.hero-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.hero-stage {
  display: block;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .18s var(--ease, ease-out);
}
.hero-game img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hero-game span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-game:hover { transform: translateY(-2px); }

/* ---------- 首页：四组业务 ---------- */
.svc-group { margin-top: 44px; }
.svc-group:first-of-type { margin-top: 0; }

.svc-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line, #e8ebf0);
}
.svc-group-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink, #0c1220);
}
.svc-group-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.svc-group-desc {
  font-size: 13.5px;
  color: var(--ink-3, #8b94a6);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  display: block;
  padding: 22px 20px;
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s var(--ease, ease-out),
              border-color .18s var(--ease, ease-out),
              box-shadow .18s var(--ease, ease-out);
}
.svc-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tone, #2f5bea) 42%, #e8ebf0);
  box-shadow: 0 10px 26px rgba(12, 18, 32, .07);
}
.svc-card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--ink, #0c1220);
}
.svc-card-title br + span,
.svc-card-title br + * { font-weight: 500; }
.svc-card-desc {
  margin: 9px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-3, #5a6478);
}
.svc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}
.svc-card-tags span {
  padding: 3px 8px;
  font-size: 11.5px;
  color: var(--ink-3, #8b94a6);
  background: var(--bg-2, #f5f7fa);
  border-radius: 5px;
}

/* ============================================================
   games.html —— 深色页头 + 游戏库
   ============================================================ */
.g-hero {
  padding: 72px 0 56px;
  background: #0c1220;
  color: #f2f5fa;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.g-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 50% -8%, rgba(77, 123, 255, .22), transparent 70%),
    radial-gradient(500px 260px at 85% 110%, rgba(14, 165, 164, .12), transparent 70%);
  pointer-events: none;
}
.g-hero .wrap { position: relative; z-index: 1; }

.g-hero .eyebrow { justify-content: center; }

.g-hero-title {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: #fff;
}
.g-hero-lead {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .68);
}

/* 搜索框 */
.g-search {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 520px;
  margin: 30px auto 0;
  padding: 4px 8px 4px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(8px);
  transition: border-color .18s ease, background .18s ease;
}
.g-search:focus-within {
  border-color: rgba(77, 123, 255, .6);
  background: rgba(255, 255, 255, .085);
}
.g-search svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: rgba(255, 255, 255, .42);
}
.g-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  background: transparent;
  font-size: 14.5px;
  color: #fff;
  outline: none;
  font-family: inherit;
}
.g-search input::placeholder { color: rgba(255, 255, 255, .34); }
.g-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.45); }
.g-count {
  flex: none;
  padding: 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}

.g-hero-facts {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .52);
}
.g-hero-facts b {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

/* 游戏库区块 */
.g-library {
  padding: 40px 0 76px;
  background: #0c1220;
  color: #f2f5fa;
}

.g-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-bottom: 30px;
}
.g-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  font-family: inherit;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.g-filter em {
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .38);
}
.g-filter:hover {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.g-filter.is-active {
  background: #2f5bea;
  border-color: #2f5bea;
  color: #fff;
}
.g-filter.is-active em { color: rgba(255, 255, 255, .72); }

/* 游戏网格：桌面 5 列 */
.g-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 14px;
}

.game-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.game-cover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #151b2b;
  aspect-ratio: 3 / 4;
}
.game-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s var(--ease, ease-out);
}
.game-card:hover .game-cover img { transform: scale(1.045); }

.game-go {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.game-card:hover .game-go {
  opacity: 1;
  transform: translateY(0);
}

.game-name {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f2f5fa;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-en {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, .34);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.g-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .07);
  border-radius: 4px;
  white-space: nowrap;
}
.g-tag svg {
  width: 10px;
  height: 10px;
  flex: none;
  opacity: .75;
}
.game-card:hover .g-tag {
  color: rgba(255, 255, 255, .82);
  background: rgba(77, 123, 255, .18);
}

.g-empty {
  padding: 56px 20px;
  text-align: center;
}
.g-empty p {
  margin: 0 0 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
}

/* ============================================================
   规格对比表 spec-table
   ============================================================ */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 14px;
  background: #fff;
}
.spec-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line, #e8ebf0);
}
.spec-table thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink, #0c1220);
  vertical-align: bottom;
  position: relative;
}
.spec-table thead th:first-child { width: 22%; }
.spec-table tbody th {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3, #8b94a6);
  background: var(--bg-1, #fafbfc);
}
.spec-table td { color: var(--ink, #0c1220); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* 推荐列高亮 */
.spec-table .is-pop {
  background: rgba(47, 91, 234, .045);
  box-shadow: inset 1px 0 0 rgba(47, 91, 234, .14), inset -1px 0 0 rgba(47, 91, 234, .14);
}
.spec-table thead .is-pop {
  color: var(--brand, #2f5bea);
  box-shadow: inset 1px 0 0 rgba(47, 91, 234, .14),
              inset -1px 0 0 rgba(47, 91, 234, .14),
              inset 0 3px 0 var(--brand, #2f5bea);
}
.spec-pop {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  background: var(--brand, #2f5bea);
  border-radius: 4px;
  vertical-align: 2px;
}

.spec-table .yes,
.spec-table .no {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
}
.spec-table .yes { color: #16a34a; }
.spec-table .no { color: #cbd2dd; }

.spec-price td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13px;
  color: var(--ink-3, #8b94a6);
}
.spec-price b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink, #0c1220);
}
.spec-cta td { padding-top: 0; padding-bottom: 22px; }

/* ============================================================
   硬件规格卡 hw-card
   ============================================================ */
.hw-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.hw-text .sec-title {
  margin-top: 12px;
  text-align: left;
}
.hw-text > p {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-3, #5a6478);
}
.hw-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.hw-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-2, #2a3242);
}
.hw-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brand, #2f5bea);
  border-bottom: 2px solid var(--brand, #2f5bea);
  transform: rotate(-45deg);
  opacity: .8;
}

.hw-card {
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.hw-spec {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line, #e8ebf0);
}
.hw-spec:last-of-type { border-bottom: 0; }
.hw-spec-k {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3, #8b94a6);
}
.hw-spec-v {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink, #0c1220);
}
.hw-spec-n {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-3, #8b94a6);
}
.hw-note {
  padding: 13px 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3, #8b94a6);
  background: var(--bg-2, #f5f7fa);
  border-top: 1px solid var(--line, #e8ebf0);
}

.g-note {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3, #8b94a6);
}
.g-note a {
  color: var(--brand, #2f5bea);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.g-note a:hover { text-decoration: underline; }

/* ============================================================
   FAQ 手风琴（补充 faq-item 的 details 用法）
   ============================================================ */
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] {
  border-color: rgba(47, 91, 234, .32);
  box-shadow: 0 6px 20px rgba(12, 18, 32, .05);
}
.faq-item summary {
  padding: 17px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--ink, #0c1220);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
  transition: color .16s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-3, #8b94a6);
  border-bottom: 2px solid var(--ink-3, #8b94a6);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}
.faq-item summary:hover { color: var(--brand, #2f5bea); }
.faq-item .faq-a {
  padding: 0 22px 19px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3, #5a6478);
}

/* ============================================================
   CTA 横幅
   ============================================================ */
.cta-band {
  padding: 58px 40px;
  border-radius: 18px;
  background: #0c1220;
  text-align: center;
  color: #f2f5fa;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(77, 123, 255, .2), transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}
.cta-band p {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .66);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .g-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-hero { padding: 54px 0 42px; }
  .g-library { padding: 32px 0 56px; }
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 12px 13px; }
  .cta-band { padding: 44px 24px; }
}

@media (max-width: 560px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); gap: 13px 10px; }
  .hero-games-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .g-search { padding-left: 13px; }
  .g-count { display: none; }
  .g-hero-facts { gap: 18px; font-size: 12.5px; }
  .hw-spec { padding: 15px 17px; }
  .faq-item summary { padding: 15px 17px; padding-right: 44px; font-size: 14px; }
  .faq-item summary::after { right: 17px; }
  .faq-item .faq-a { padding: 0 17px 16px; font-size: 13.5px; }
}

/* ============================================================
   修正：深色区 eyebrow + 游戏卡名称去重
   ============================================================ */

/* 深色区 eyebrow：去掉白底，改成半透明描边 */
.g-hero .eyebrow,
.eyebrow-light {
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.g-hero .eyebrow-dot,
.eyebrow-light .eyebrow-dot {
  background: #4d7bff;
  box-shadow: 0 0 0 3px rgba(77, 123, 255, .18);
}

/* 游戏卡名称：已改为显示（见文末 css-fix7） */

/* 封面内的中英文名稍微加强 */
.game-cover .game-cover-cn { font-weight: 700; }

/* ============================================================
   服务页：无配图时的装饰块
   ============================================================ */
.svc-visual-deco {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 300px;
  padding: 40px 32px;
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 18px;
  background:
    radial-gradient(420px 260px at 70% 0%, color-mix(in srgb, var(--tone, #2f5bea) 12%, transparent), transparent 72%),
    linear-gradient(160deg, #fbfcfe, #f4f6fa);
  overflow: hidden;
}

.svc-visual-deco::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line, #e8ebf0) 1px, transparent 1px),
    linear-gradient(90deg, var(--line, #e8ebf0) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
  mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 76%);
  pointer-events: none;
}

.svc-deco-mark {
  position: relative;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--tone, #2f5bea);
  opacity: .16;
  white-space: nowrap;
}

.svc-deco-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 320px;
}
.svc-deco-tags span {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tone, #2f5bea);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tone, #2f5bea) 22%, #e8ebf0);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(12, 18, 32, .04);
}

/* svc-point 单行为字符串时（无副标题）收紧间距 */
.svc-point-t svg {
  flex: none;
}
.svc-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.svc-point {
  padding: 13px 16px;
  border: 1px solid var(--line, #e8ebf0);
  border-radius: 9px;
  background: #fff;
}
.svc-point-t {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.62;
  color: var(--ink, #0c1220);
}
.svc-point-t svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: #16a34a;
}
.svc-point-d {
  margin-top: 5px;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3, #8b94a6);
}

@media (max-width: 900px) {
  .svc-points { grid-template-columns: 1fr; }
  .svc-visual-deco { min-height: 220px; padding: 30px 22px; }
}

/* ============================================================
   修正：跨行标题里的 .mark 高亮错位
   ============================================================ */
/* 跨行时用极细底边替代 32% 色块，避免视觉上压住文字 */
.sec-title .mark {
  background: linear-gradient(to top, rgba(47, 91, 234, .13) 0 8%, transparent 8%);
  padding-inline: 2px;
}

/* 单行标题仍保留较厚的高亮，更像荧光笔 */
.sec-title.is-one-line .mark,
h1 .mark,
.cta-band .mark {
  background: linear-gradient(to top, rgba(47, 91, 234, .16) 0 30%, transparent 30%);
}

/* 「还给你管理工具」这类短标题：避免 mark 内部再换行 */
.sec-title .mark {
  white-space: nowrap;
}

/* ============================================================
   作品页：媒体容器比例改为匹配配图（800x560 = 10:7）
   ============================================================ */
.work-media {
  aspect-ratio: 10 / 7;
}

.work-media img {
  object-fit: contain;
  background: linear-gradient(150deg, #f7f9fc, #eef2fa);
}

@media (max-width: 700px) {
  .work-media { aspect-ratio: 10 / 7; }
}

/* ============================================================
   首页案例区：媒体容器比例匹配配图（800x560 = 10:7）
   ============================================================ */
.case-media {
  aspect-ratio: 10 / 7;
}

.case-media img {
  object-fit: contain;
}

@media (max-width: 900px) {
  .case-media { aspect-ratio: 10 / 7; }
}

/* ============================================================
   games 页：深色导航 + 搜索框占位符修正
   ============================================================ */

/* 深色首屏上，导航保持深色玻璃态，避免白条压制首屏 */
body.page-games .nav,
.nav.is-dark {
  background: rgba(12, 18, 32, .72);
  border-bottom-color: rgba(255, 255, 255, .07);
}

body.page-games .nav.is-stuck,
.nav.is-dark.is-stuck {
  background: rgba(12, 18, 32, .92);
  border-bottom-color: rgba(255, 255, 255, .1);
}

body.page-games .brand,
body.page-games .nav-link,
.nav.is-dark .brand,
.nav.is-dark .nav-link {
  color: rgba(255, 255, 255, .8);
}

body.page-games .brand:hover,
body.page-games .nav-link:hover,
.nav.is-dark .brand:hover,
.nav.is-dark .nav-link:hover {
  color: #fff;
}

body.page-games .nav-link.is-active,
.nav.is-dark .nav-link.is-active {
  color: #fff;
}

body.page-games .brand-sub,
.nav.is-dark .brand-sub {
  color: rgba(255, 255, 255, .38);
}

body.page-games .nav-phone,
.nav.is-dark .nav-phone {
  color: rgba(255, 255, 255, .6);
}

/* 汉堡按钮在深色上反色 */
body.page-games .nav-burger span,
.nav.is-dark .nav-burger span {
  background: rgba(255, 255, 255, .82);
}

/* 搜索框：占位符不被裁切 */
.g-search input {
  padding: 12px 0;
  line-height: 1.45;
  height: auto;
}

.g-search input::placeholder {
  line-height: 1.45;
  opacity: 1;
  font-size: 14px;
}

@media (max-width: 560px) {
  .g-search { margin-top: 22px; max-width: 100%; }
  .g-search input { font-size: 14px; }
}

/* ============================================================
   games 卡片：显示游戏名称
   —— 旧版 SVG 封面自带文字，故曾隐藏；现改用 Steam 官方封面，
      图上无字，必须显示名称，否则玩家认不出
   ============================================================ */
.game-name {
  display: block;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f2f5fa;
  letter-spacing: -.01em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-en {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .38);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 名称区与标签之间留出间距 */
.game-card .game-name + .game-en + .game-tags {
  margin-top: 9px;
}

/* ==========================================================================
   游戏氛围区（深色） —— 只作用于首屏 hero 与游戏库页面
   设计语言：近黑底 + 网格纹理 + 青/紫霓虹光晕 + 发光描边
   与明亮区通过 .game-zone 命名空间隔离，互不影响
   ========================================================================== */

.game-zone {
  --gz-bg: #070b14;
  --gz-bg-2: #0b1120;
  --gz-card: rgba(255, 255, 255, 0.035);
  --gz-card-hover: rgba(255, 255, 255, 0.06);
  --gz-line: rgba(255, 255, 255, 0.09);
  --gz-line-strong: rgba(255, 255, 255, 0.16);
  --gz-text: #f2f6ff;
  --gz-text-2: #9aa7bd;
  --gz-text-3: #64708a;
  --gz-cyan: #22d3ee;
  --gz-violet: #8b5cf6;
  --gz-lime: #a3e635;
  --gz-glow-cyan: rgba(34, 211, 238, 0.35);
  --gz-glow-violet: rgba(139, 92, 246, 0.32);

  position: relative;
  background: var(--gz-bg);
  color: var(--gz-text);
  isolation: isolate;
  overflow: hidden;
}

/* 网格纹理 + 两团光晕，营造"游戏平台"质感 */
.game-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.game-zone::after {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(ellipse 42% 46% at 18% 8%, var(--gz-glow-cyan), transparent 62%),
    radial-gradient(ellipse 40% 44% at 84% 20%, var(--gz-glow-violet), transparent 64%);
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.game-zone > * {
  position: relative;
  z-index: 1;
}

/* ---------- 深色首屏 ---------- */

.hero-stage {
  padding: 92px 0 104px;
  border-bottom: 1px solid var(--gz-line);
}

.hero-game-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: var(--gz-card);
  border: 1px solid var(--gz-line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--gz-text);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.hero-game-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gz-lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.16), 0 0 12px var(--gz-lime);
  animation: gz-pulse 2.4s ease-in-out infinite;
}

@keyframes gz-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-stage h1 {
  margin: 26px 0 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--gz-text);
}

.hero-stage h1 .hl {
  background: linear-gradient(96deg, var(--gz-cyan) 0%, #60a5fa 45%, var(--gz-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-game-lead {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--gz-text-2);
}

.hero-game-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.gz-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.gz-btn-primary {
  background: linear-gradient(96deg, var(--gz-cyan), var(--gz-violet));
  color: #05080f;
  box-shadow: 0 10px 30px -8px var(--gz-glow-cyan), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.gz-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--gz-glow-violet), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.gz-btn-ghost {
  background: var(--gz-card);
  color: var(--gz-text);
  border: 1px solid var(--gz-line-strong);
}

.gz-btn-ghost:hover {
  background: var(--gz-card-hover);
  transform: translateY(-2px);
}

.gz-btn svg { width: 17px; height: 17px; }

/* 首屏数据 */
.hero-game-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gz-line);
  border: 1px solid var(--gz-line);
  border-radius: 14px;
  overflow: hidden;
}

.hero-game-stat {
  background: var(--gz-bg-2);
  padding: 18px 16px;
}

.hero-game-stat-num {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--gz-text);
}

.hero-game-stat-label {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--gz-text-3);
}

/* ---------- 首屏右侧：游戏封面墙 ---------- */

.hero-covers {
  position: relative;
}

.hero-covers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gz-text-2);
}

.hero-covers-head .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-covers-head .live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gz-lime);
  box-shadow: 0 0 10px var(--gz-lime);
}

.hero-covers-head a {
  color: var(--gz-cyan);
  text-decoration: none;
  font-weight: 600;
}

.hero-covers-head a:hover { text-decoration: underline; }

.hero-covers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-cover {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--gz-line);
  background: var(--gz-bg-2);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .32s ease, filter .32s ease;
  filter: saturate(1.05) brightness(0.94);
}

.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.1) 46%, transparent 72%);
  pointer-events: none;
}

.hero-cover:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 20px 44px -18px var(--gz-glow-cyan);
}

.hero-cover:hover img {
  transform: scale(1.06);
  filter: saturate(1.14) brightness(1.02);
}

.hero-cover-name {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  z-index: 2;
  font-size: 12.5px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 深色能力条 ---------- */

.gz-trust {
  border-bottom: 1px solid var(--gz-line);
  background: var(--gz-bg-2);
}

.gz-trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
}

.gz-trust-label {
  font-size: 13px;
  font-weight: 650;
  color: var(--gz-cyan);
  letter-spacing: 0.02em;
}

.gz-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gz-text-2);
}

.gz-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gz-text-3);
  flex: none;
}

/* ---------- 深色游戏库 ---------- */

.gz-games-page {
  padding: 56px 0 80px;
}

.gz-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.gz-page-head {
  margin-bottom: 36px;
}

.gz-page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.024em;
  color: var(--gz-text);
}

.gz-page-head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gz-text-2);
  max-width: 680px;
}

/* 筛选条 */
.gz-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.gz-chip {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--gz-line-strong);
  background: var(--gz-card);
  color: var(--gz-text-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .17s ease;
}

.gz-chip:hover {
  background: var(--gz-card-hover);
  color: var(--gz-text);
  border-color: rgba(34, 211, 238, 0.4);
}

.gz-chip.active {
  background: linear-gradient(96deg, var(--gz-cyan), var(--gz-violet));
  border-color: transparent;
  color: #05080f;
}

/* 搜索 */
.gz-search {
  margin: 0 0 30px;
}

.gz-search input {
  width: 100%;
  max-width: 380px;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px solid var(--gz-line-strong);
  background: var(--gz-card);
  color: var(--gz-text);
  font-size: 14.5px;
  outline: none;
  transition: border-color .17s ease, box-shadow .17s ease;
}

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

.gz-search input:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13);
}

/* 游戏网格 */
.gz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px;
}

.gz-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gz-bg-2);
  border: 1px solid var(--gz-line);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.gz-card-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.gz-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .34s ease, filter .34s ease;
  filter: saturate(1.04) brightness(0.95);
}

.gz-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.9) 0%, rgba(7, 11, 20, 0.18) 44%, transparent 68%);
  pointer-events: none;
}

.gz-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 24px 50px -20px var(--gz-glow-cyan);
}

.gz-card:hover .gz-card-cover img {
  transform: scale(1.055);
  filter: saturate(1.15) brightness(1.03);
}

.gz-card-hot {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #05080f;
  background: linear-gradient(96deg, var(--gz-cyan), var(--gz-lime));
  box-shadow: 0 4px 14px -4px rgba(34, 211, 238, 0.6);
}

.gz-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 13px 13px;
  z-index: 2;
}

.gz-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.32;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gz-card-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(226, 236, 250, 0.72);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gz-card-tags {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gz-card-tags span {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(226, 236, 250, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(4px);
}

/* 空状态 */
.gz-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  text-align: center;
  color: var(--gz-text-3);
  font-size: 15px;
}

/* 计数 */
.gz-count {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--gz-text-3);
}

.gz-count b {
  color: var(--gz-cyan);
  font-weight: 700;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero-game-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-covers { order: -1; }
  .hero-covers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero-stage { padding: 60px 0 70px; }
  .hero-game-inner, .gz-wrap, .gz-trust-inner { padding: 0 20px; }
  .hero-game-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stage h1 { font-size: clamp(30px, 8vw, 40px); }
  .gz-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 13px; }
  .hero-covers-grid { gap: 9px; }
  .gz-btn { padding: 13px 20px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-game-badge .dot { animation: none; }
  .hero-cover, .gz-card, .gz-btn { transition: none; }
}

/* --- 修复：深色区 rise 与首屏冲突 --- */

/* 深色区不依赖 JS 触发动画，进场即完整可见，避免半透明重叠 */
.game-zone .rise {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 提高特异性，压过旧的 .hero h1（旧规则 letter-spacing -0.038em 太挤） */
.game-zone.hero-game .hero-game-inner h1,
.game-zone .hero-game-inner h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 26px 0 0;
  color: var(--gz-text);
}

/* 徽标：确保内容横向排布不重叠 */
.game-zone .hero-game-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: 100%;
  line-height: 1.5;
}

.game-zone .hero-game-badge b {
  font-weight: 650;
  white-space: nowrap;
}

.game-zone .hero-game-badge > span:last-child {
  white-space: nowrap;
}

/* 首屏留足呼吸空间 */
.game-zone.hero-stage {
  padding: 96px 0 104px;
  background: #070b14;
}

/* 封面名字不要压在封面上太靠下 */
.hero-cover-name {
  bottom: 11px;
}

/* 能力条：与深色首屏衔接，去掉旧的 top 边框色 */
.game-zone.gz-trust {
  background: #0a101d;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.game-zone .gz-trust-label {
  color: #22d3ee;
}

/* --- 游戏库页深色区统一 --- */

/* 两段深色区共用同一容器宽度，保证左边缘对齐 */
.game-zone .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
  box-sizing: border-box;
}

/* 页头 */
.game-zone.g-hero {
  padding: 72px 0 56px;
  background: #070b14;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 游戏列表区 */
.game-zone.g-library {
  padding: 40px 0 88px;
  background: #0a101d;
  text-align: left;
}

/* 页头大标题：复用 gz 样式 */
.game-zone.g-hero .gz-page-head h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.026em;
  color: var(--gz-text);
}

.game-zone.g-hero .gz-page-head h1 .hl {
  background: linear-gradient(96deg, var(--gz-cyan) 0%, #60a5fa 45%, var(--gz-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.game-zone.g-hero .gz-page-head p {
  margin: 0;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--gz-text-2);
}

/* 搜索框居中偏左，宽度更合理 */
.game-zone .gz-search {
  margin: 30px 0 0;
}

.game-zone .gz-search input {
  max-width: 440px;
}

/* 计数 */
.game-zone .gz-count {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--gz-text-3);
}

.game-zone .gz-count b {
  color: var(--gz-cyan);
  font-size: 15px;
  font-weight: 700;
}

/* 页头事实条：深色下提高对比 */
.game-zone .g-hero-facts {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13.5px;
  color: var(--gz-text-2);
}

.game-zone .g-hero-facts b {
  color: var(--gz-text);
  font-weight: 700;
  font-size: 14.5px;
}

/* 筛选条：改用新 chip 视觉，与左边缘对齐 */
.game-zone .g-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}

.game-zone .g-filter {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--gz-line-strong);
  background: var(--gz-card);
  color: var(--gz-text-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .17s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.game-zone .g-filter em {
  font-style: normal;
  font-size: 11.5px;
  opacity: 0.62;
  font-weight: 600;
}

.game-zone .g-filter:hover {
  background: var(--gz-card-hover);
  color: var(--gz-text);
  border-color: rgba(34, 211, 238, 0.4);
}

.game-zone .g-filter.is-active {
  background: linear-gradient(96deg, var(--gz-cyan), var(--gz-violet));
  border-color: transparent;
  color: #05080f;
}

.game-zone .g-filter.is-active em {
  opacity: 0.7;
}

/* 卡片被 JS 隐藏时用 hidden 属性 */
.game-zone .gz-card[hidden] {
  display: none !important;
}

/* 标签行不要撑高卡片 */
.gz-card-tags {
  max-height: 22px;
  overflow: hidden;
}

/* 移动端 */
@media (max-width: 720px) {
  .game-zone .wrap { padding-left: 20px; padding-right: 20px; }
  .game-zone.g-hero { padding: 48px 0 40px; }
  .game-zone.g-library { padding: 28px 0 60px; }
}

/* --- 左对齐修正 --- */

.game-zone .g-filters {
  justify-content: flex-start;
}

.game-zone .g-hero-facts {
  justify-content: flex-start;
}

/* 游戏网格左对齐铺满 */
.game-zone .gz-grid {
  justify-content: flex-start;
}

/* 空状态居中 */
.game-zone .gz-empty {
  text-align: center;
}

/* 页头两段之间给点呼吸 */
.game-zone.g-hero .gz-page-head {
  margin-bottom: 0;
}

/* ============================================================
   游戏库页头：左文案 + 右封面拼贴
   ============================================================ */

.game-zone .gz-page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 64px;
  align-items: center;
}

.game-zone .gz-page-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 178px;
  gap: 12px;
  perspective: 1200px;
}

.game-zone .gz-art-card {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1526;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.game-zone .gz-art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-zone .gz-art-card:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.game-zone .gz-art-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 9px 7px;
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(242, 246, 255, 0.92);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  background: linear-gradient(to top, rgba(7, 11, 20, 0.94), transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 规整 3×2，行高一致 */
.game-zone .gz-art-1,
.game-zone .gz-art-2,
.game-zone .gz-art-3,
.game-zone .gz-art-4,
.game-zone .gz-art-5,
.game-zone .gz-art-6 { grid-row: span 1; }

/* 装饰性光晕 */
.game-zone .gz-page-art::after {
  content: '';
  position: absolute;
  inset: -25% -12% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 68%);
  pointer-events: none;
}

.game-zone .gz-page-art { position: relative; }

@media (max-width: 1080px) {
  .game-zone .gz-page-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .game-zone .gz-page-art {
    max-width: 520px;
    grid-auto-rows: 150px;
  }
}

@media (max-width: 620px) {
  .game-zone .gz-page-art {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px;
    gap: 8px;
  }
  .game-zone .gz-art-card figcaption { display: none; }
}