/* ==========================================================================
   SOWORK AI — 官网样式 (Styles)
   高端黑金科技商务 | 双语 | 响应式 (PC / 平板 / 手机)
   ========================================================================== */

:root {
  --bg:       #0A0E16;
  --bg-2:     #0E1420;
  --gold:     #D4AF37;
  --gold-2:   #E8C96A;
  --gold-dim: rgba(212, 175, 55, 0.14);
  --blue:     #2277DD;
  --blue-dim: rgba(34, 119, 221, 0.14);
  --text:     #F5F5F5;
  --muted:    #AAAAAA;
  --card:     #141A24;
  --card-2:   #1A2230;
  --border:   rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.08);
  --danger:   #E4573D;
  --green:    #3DDC97;
  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 40px rgba(212, 175, 55, 0.18);
  --font-cn: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

body {
  background:
    linear-gradient(rgba(10, 14, 22, 0.95), rgba(10, 14, 22, 0.95)),
    url("../img/bg1.jpg") center / cover no-repeat fixed;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 中文正文优先使用中文字体 */
html[lang="zh"] body { font-family: var(--font-cn); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; position: relative; }
.section--tight { padding: 64px 0; }

/* 区块标题 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.sec-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2;
  letter-spacing: -0.5px; margin-bottom: 16px;
}
.sec-title .gold { color: var(--gold); }
.sec-sub { color: var(--muted); font-size: 17px; max-width: 720px; }
.sec-center { text-align: center; }
.sec-center .sec-sub { margin: 0 auto; }
.sec-center .eyebrow::before { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 1px solid transparent; transition: all .28s ease;
  white-space: nowrap; letter-spacing: .3px;
}
.btn--gold {
  background: linear-gradient(135deg, #E8C96A 0%, var(--gold) 45%, #B8942C 100%);
  color: #0A0E16; box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(212, 175, 55, 0.32); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--outline-gold {
  background: transparent; color: var(--gold); border: 1px solid var(--gold);
}
.btn--outline-gold:hover { background: var(--gold-dim); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 17px; }

/* 金属扫光效果 */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: -30%; bottom: -30%; left: 0;
  width: 42%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-180%) skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 55% { transform: translateX(-180%) skewX(-20deg); }
  100% { transform: translateX(360%) skewX(-20deg); }
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 22, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.nav__brand .logo {
  height: 48px; width: auto; aspect-ratio: 300 / 235; display: block; object-fit: contain;
}
.nav__brand b { color: var(--gold); }
/* 桌面端导航（仅 ≥1200px 显示）：9 个入口 + 语言切换 + CTA 需在 1152px 内容宽度内排下，
   故内边距收紧到 7px、项间距 0（中英文都已实测不溢出、不重叠） */
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__links a {
  padding: 9px 7px; border-radius: 8px; color: #d7dde8; font-size: 14px;
  font-weight: 500; white-space: nowrap; transition: color .2s ease, background .2s ease; position: relative;
}
.nav__links a:hover { color: var(--gold); }
.nav__links a.active { color: var(--gold); background: var(--gold-dim); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--border-soft); border-radius: 999px;
  overflow: hidden; background: rgba(20, 26, 36, 0.6); flex-shrink: 0;
}
.lang-switch button {
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  padding: 8px 0; font-size: 13px; font-weight: 600; white-space: nowrap;
  text-align: center; width: 68px; transition: all .2s ease;
}
.lang-switch button.active { background: var(--gold); color: #0A0E16; }
.nav__cta { padding: 11px 20px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }

/* 汉堡按钮 */
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: transparent;
  border: none; cursor: pointer; padding: 10px; z-index: 1002;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉菜单 */
.drawer {
  position: fixed; inset: 0; z-index: 1001; pointer-events: none;
  background: rgba(10, 14, 22, 0.98); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .3s ease; display: flex; flex-direction: column;
  padding: 5px 28px 18px;
  overflow-y: auto;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a {
  padding: 10px 4px; font-size: 18px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center;
}
.drawer a.active { color: var(--gold); }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; padding: 4px 0; justify-content: space-between; }
.drawer__close {
  background: transparent; border: 1px solid var(--border-soft); border-radius: 50%;
  width: 38px; height: 38px; color: var(--text); font-size: 15px; cursor: pointer;
  display: grid; place-items: center; transition: all .2s ease; flex-shrink: 0;
}
.drawer__close:hover { border-color: var(--gold); color: var(--gold); }
.drawer__logo { height: 44px; width: auto; aspect-ratio: 300 / 235; object-fit: contain; display: block; }
.drawer__brand-name { font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.drawer__brand-name b { color: var(--gold); }
/* 语言切换紧跟在最后一个菜单项（法务条款）之后，避免被挤出可视区（移动端无可见滚动条） */
.drawer__lang { margin-top: 0; padding-top: 10px; }
.drawer__lang .lang-switch { width: 100%; display: flex; }
.drawer__lang .lang-switch button { flex: 1; width: auto; padding: 10px 0; }
.drawer a.drawer__cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 30px; font-size: 16px; border-bottom: none;
  margin-bottom: 10px; color: #000 !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 36px) 0 0;
}
.hero + .section { padding-top: 56px; }
.hero__video-wrap {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow);
  margin: 0 auto 5px;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.hero__video-ctl {
  position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 3;
}
.hero__video-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 14, 22, 0.6); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
.hero__video-btn:hover { background: rgba(212, 175, 55, 0.9); color: #0A0E16; transform: translateY(-2px); }
.hero__video-btn svg { display: block; }
/* 移动端隐藏全屏按钮（移动端全屏 API 在 iframe/内嵌场景不可用） */
@media (max-width: 768px) {
  .hero__video-fs { display: none; }
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__content { max-width: 620px; }
.hero__demo { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero__demo-label { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.hero__demo-label::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.hero__demo .qa-shell { width: 100%; margin: 0; max-width: none; height: 520px; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.16); }
.hero__demo .qa-shell__body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.hero__brand {
  font-size: clamp(46px, 8vw, 84px); font-weight: 900; line-height: 1.02;
  letter-spacing: 1px; margin-bottom: 18px;
}
.hero__brand .gold {
  background: linear-gradient(135deg, #F3DFA0 0%, var(--gold) 55%, #B8942C 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__tag {
  font-size: clamp(19px, 3vw, 26px); font-weight: 700; color: var(--text);
  margin-bottom: 22px; line-height: 1.35;
}
.hero__desc { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 36px; }
.hero__tag, .hero__desc { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__badge {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-soft);
  background: rgba(20, 26, 36, 0.6); color: var(--muted); font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__badge b { color: var(--gold); font-weight: 700; }

/* 入场逐行浮现 */
.reveal-line { opacity: 0; transform: translateY(24px); animation: lineIn .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal-line:nth-child(2) { animation-delay: .12s; }
.reveal-line:nth-child(3) { animation-delay: .24s; }
.reveal-line:nth-child(4) { animation-delay: .36s; }
.reveal-line:nth-child(5) { animation-delay: .48s; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px; position: relative;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(232, 201, 106, 0.9), rgba(212, 175, 55, 0.3) 45%, rgba(34, 119, 221, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0;
  transition: opacity .32s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--border); }
.card:hover::before { opacity: 1; }
.card__icon { font-size: 32px; margin-bottom: 16px; display: block; }
.card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: 15px; }

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

/* 痛点卡片序号 */
.pain-card { counter-increment: pain; }
.pain-card .card__index {
  position: absolute; top: 20px; right: 22px; font-size: 52px; font-weight: 900;
  color: rgba(212, 175, 55, 0.5); line-height: 1;
}
.pain-card .card__title { margin-top: 8px; }

/* 痛点区：左侧图片 + 右侧内容（PC 版） */
.pain-layout { display: flex; gap: 44px; align-items: stretch; }
.pain-visual {
  flex: 0 0 38%; min-width: 0; position: relative;
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow);
}
.pain-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pain-content { flex: 1; min-width: 0; }
.pain-content .sec-head { text-align: left; }
.pain-content .sec-head .sec-sub { margin-left: 0; }
@media (max-width: 920px) {
  .pain-layout { flex-direction: column; gap: 28px; }
  .pain-visual { flex-basis: auto; height: 240px; }
  .pain-content .sec-head { text-align: center; }
  .pain-content .sec-head .sec-sub { margin: 0 auto; }
}

/* 能力卡片 */
.cap-card { text-align: left; }
.cap-card .card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-dim); font-size: 28px; margin-bottom: 20px;
}

/* 功能网格 */
.feature-item {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.feature-item:hover { transform: translateY(-5px); border-color: var(--border); background: var(--card-2); }
.feature-item .fi-num { color: var(--gold); font-weight: 800; font-size: 16px; min-width: 26px; padding-top: 2px; }
.feature-item .fi-title { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.feature-item .fi-desc { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- 对比表格 ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--card); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; vertical-align: top; font-size: 14.5px; }
.compare-table thead th {
  background: var(--card-2); font-weight: 700; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.compare-table thead th.hl { color: #0A0E16; background: linear-gradient(135deg, #E8C96A, var(--gold)); }
.compare-table tbody tr { border-bottom: 1px solid var(--border-soft); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table td.dim { color: var(--muted); font-weight: 700; white-space: nowrap; background: rgba(255,255,255,0.02); }
.compare-table td.hl { background: var(--gold-dim); color: #fff; font-weight: 600; }
.compare-table .badge-win { color: var(--gold); font-weight: 700; }
.compare-table td { color: #c7cdd8; }

/* 移动端卡片化对比（覆盖） */
.compare-cards { display: none; }

/* ---------- AI 问答演示 ---------- */
.qa-shell {
  max-width: 760px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border-soft); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.qa-shell__head {
  display: flex; align-items: center; gap: 10px; padding: 16px 22px;
  background: var(--card-2); border-bottom: 1px solid var(--border-soft);
}
.qa-shell__dots { display: flex; gap: 6px; }
.qa-shell__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a4356; }
.qa-shell__dots i:nth-child(1) { background: #E4573D; }
.qa-shell__dots i:nth-child(2) { background: #E8C96A; }
.qa-shell__dots i:nth-child(3) { background: #3DDC97; }
.qa-shell__title { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.qa-shell__body { padding: 26px; min-height: 230px; display: flex; flex-direction: column; gap: 18px; }
.qa-bubble { max-width: 82%; padding: 14px 18px; border-radius: 16px; font-size: 15px; line-height: 1.6; }
.qa-q-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qa-label--q { color: var(--muted); font-weight: 700; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.qa-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #1c2536, #0A0E16); font-size: 14px; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.qa-bubble--q {
  align-self: flex-end; background: var(--blue); color: #fff;
  border-bottom-right-radius: 4px;
}
.qa-bubble--a {
  align-self: flex-start; background: var(--card-2); color: var(--text);
  border: 1px solid var(--border-soft); border-bottom-left-radius: 4px;
}
.qa-bubble--a .qa-label { color: var(--gold); font-weight: 700; font-size: 12px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.qa-shell__foot { padding: 12px 22px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.qa-shell__foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.25;} }
.qa-caret { display: inline-block; width: 8px; height: 16px; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: blink 0.9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 行业阶段 ---------- */
.stage-card { display: flex; flex-direction: column; gap: 8px; }
.stage-card .stage-tag {
  display: inline-block; width: fit-content; padding: 5px 14px; border-radius: 999px;
  background: var(--blue-dim); color: #7FB2F0; font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
}
.stage-card .card__note { color: var(--gold-2); font-size: 13.5px; margin-top: auto; }
.stat-tags { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }
.stat-tag {
  padding: 16px 26px; border-radius: var(--radius-sm); background: var(--gold-dim);
  border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 15.5px;
  text-align: center; max-width: 460px;
}
.stat-tag b { color: var(--gold); font-size: 22px; }

/* ---------- 案例卡片 ---------- */
.case-card { display: flex; flex-direction: column; }
.case-card .case-meta { color: var(--gold); font-size: 12.5px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.case-card .case-kpi { display: flex; gap: 16px; flex-wrap: wrap; margin: 18px 0; }
.case-card .kpi { background: var(--card-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 12px 16px; }
.case-card .kpi b { display: block; font-size: 20px; color: var(--gold); }
.case-card .kpi span { color: var(--muted); font-size: 12.5px; }

/* ---------- 套餐卡片 ---------- */
.plan-card { display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--border); background: linear-gradient(180deg, rgba(212,175,55,0.08), var(--card)); }
.plan-card .plan-name { font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.plan-card .plan-price { font-size: 34px; font-weight: 900; margin: 14px 0 4px; }
.plan-card .plan-price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-card .card__text { margin-top: 10px; }
.plan-card .plan-link { margin-top: auto; padding-top: 18px; color: var(--gold); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.plan-card .plan-link:hover { gap: 10px; }
.plan-custom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 26px 30px; margin-top: 24px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.step {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 22px 16px; text-align: center; position: relative; transition: transform .28s ease, border-color .28s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--border); }
.step__num {
  width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #E8C96A, var(--gold)); color: #0A0E16; font-weight: 900; font-size: 17px;
}
.step__img {
  width: 64px; height: 64px; margin: 0 auto 14px; display: block; object-fit: contain;
}
.step__name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.step__en { color: var(--gold); font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; display: block; margin-bottom: 8px; }
.step__desc { color: var(--muted); font-size: 13px; }

/* ---------- 商业价值数字 ---------- */
.value-card { text-align: center; padding: 34px 24px; }
.value-card .value-num {
  font-size: clamp(40px, 6vw, 56px); font-weight: 900; color: var(--gold); line-height: 1;
  margin-bottom: 14px; letter-spacing: -1px;
}
.value-card .value-num span { font-size: 0.55em; }
.value-card .card__title { font-size: 18px; margin-bottom: 8px; }
.value-card .card__text { font-size: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 24px; overflow: hidden; padding: 72px 48px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.25), transparent 60%),
    linear-gradient(180deg, #141A24, #0A0E16);
  border: 1px solid var(--border);
}
.cta__quote { font-style: italic; color: var(--gold-2); font-size: 20px; font-weight: 600; margin: 24px 0 30px; }
.cta__quote::before, .cta__quote::after { content: '"'; color: var(--gold); }
.cta--compact { padding: 20px 32px; }
.cta--compact .sec-title { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta--compact .sec-sub { font-size: 14.5px; }
.cta--compact .cta__quote { font-size: 16px; margin: 12px 0 0; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border-soft); background: rgba(8, 11, 18, 0.82); padding: 20px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2.2fr 1.3fr 1.4fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__brand { font-weight: 800; font-size: 22px; margin-bottom: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: fit-content; }
.footer__brand .logo { height: auto; width: 42%; aspect-ratio: 300 / 235; display: block; object-fit: contain; }
.footer__brand b { color: var(--gold); }
.footer__slogan { color: var(--muted); font-size: 14.5px; max-width: 440px; }
.footer h4 { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.footer__links a { color: var(--muted); font-size: 14.5px; transition: color .2s ease; }
.footer__links a:hover { color: var(--gold); }
.footer__contact p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: nowrap; }
.footer__contact p span { white-space: nowrap; flex: none; }
.footer__contact a { color: var(--muted); text-decoration: none; transition: color .2s ease; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--gold); }
/* 页脚微信二维码：标签在左、二维码图在右，全站每页都展示 */
.footer__contact-wechat { align-items: center; }
.footer__qr {
  width: 72px; height: 72px; display: block; object-fit: contain;
  border-radius: 6px; background: #fff; border: 1px solid var(--border-soft);
}
.footer__bottom { border-top: 1px solid var(--border-soft); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.footer__bottom .lang-switch { }

/* ---------- 关于我们：联系方式 ---------- */
/* 4 张卡片（WhatsApp / 微信 / 邮箱 / 电话）：宽屏一行四列，平板两列，手机一列。
   minmax 取 272px：保证任一列宽下「enquiries@so-work.co」都能单行放下（最窄情况仍有余量） */
.about-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; }
.about-contact__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 20px 16px;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  min-width: 0;
}
.about-contact__item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.about-contact__icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold); font-size: 20px;
}
.about-contact__item b { display: block; color: var(--gold); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
/* 值一律单行（不换行）；字号按最窄卡片也能容纳邮箱来定（见 网站规格.md 的宽度说明） */
.about-contact__item span:last-child { color: var(--muted); font-size: 17px; white-space: nowrap; }
/* WhatsApp */
.btn--whatsapp { background: #25D366; color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.32); }
.btn--whatsapp:hover { background: #1EBE5D; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,211,102,.42); }
.btn--whatsapp svg { width: 22px; height: 22px; }
.about-contact__icon--wa { background: rgba(37,211,102,.14); color: #25D366; }
.about-contact__icon svg { width: 22px; height: 22px; }
/* 微信：左侧微信 logo 徽章 + 右侧二维码图片（不弹窗，直接展示便于扫码） */
.about-contact__icon--wechat { background: #07C160; color: #fff; }
.about-contact__icon--wechat svg { width: 24px; height: 24px; }
.about-contact__qr {
  width: 104px; height: 104px; display: block; margin-top: 2px; object-fit: contain;
  border-radius: 8px; background: #fff; border: 1px solid var(--border-soft);
}

/* ---------- 页面 Hero（子页） ---------- */
.page-hero { padding: calc(var(--nav-h) + 40px) 0 24px; position: relative; overflow: hidden; }
.page-hero + .section { padding-top: 24px; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(34, 119, 221, 0.14), transparent 50%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 16px; }
.page-hero h1 .gold { color: var(--gold); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; }
.page-hero p.page-hero__tagline { color: var(--gold); font-size: 22px; font-weight: 600; max-width: 780px; margin-bottom: 22px; }
.page-hero p.page-hero__desc { color: #d7dde8; font-size: 20px; line-height: 1.85; max-width: 840px; }
/* 页面顶部 WhatsApp 咨询按钮 */
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
/* 按钮阴影向下延伸约 40px（hover 时 50px），hero 有 overflow:hidden，
   故含按钮时增加底部内边距，避免按钮下方阴影被裁切 */
.page-hero:has(.page-hero__cta) { padding-bottom: 58px; }
@media (max-width: 767px) {
  .page-hero__cta { margin-top: 22px; }
  .page-hero__cta .btn { width: 100%; justify-content: center; }
  .page-hero:has(.page-hero__cta) { padding-bottom: 52px; }
}

/* ---------- 模拟报表 ---------- */
.report {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.report__head { padding: 20px 26px; background: var(--card-2); border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.report__head h3 { font-size: 17px; }
.report__head .tag { padding: 5px 14px; border-radius: 999px; background: var(--blue-dim); color: #7FB2F0; font-size: 12px; font-weight: 700; }
.report__body { padding: 26px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi-box { background: var(--card-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 18px; }
.kpi-box .k-label { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.kpi-box .k-value { font-size: 24px; font-weight: 800; color: var(--text); }
.kpi-box .k-value.gold { color: var(--gold); }
.kpi-box .k-value.up { color: var(--green); }
.kpi-box .k-value.warn { color: var(--danger); }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td { padding: 12px 14px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.mini-table th { color: var(--muted); font-weight: 600; background: rgba(255,255,255,0.02); }
.mini-table tr:last-child td { border-bottom: none; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar { flex: 1; height: 8px; background: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.bar-row .bar-val { min-width: 52px; text-align: right; color: var(--text); font-weight: 700; font-size: 14px; }
.risk-highlight { background: rgba(228, 87, 61, 0.1); border-left: 3px solid var(--danger); padding: 14px 18px; border-radius: 8px; color: #f3b3a8; font-size: 14px; margin-top: 18px; }
.risk-highlight b { color: var(--danger); }
.insight { background: var(--gold-dim); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 22px; color: #e8d9a8; font-size: 15px; line-height: 1.7; }
.insight b { color: var(--gold); }

/* ---------- 表单 ---------- */
.form { max-width: 680px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--card); border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 10px 14px; color: var(--text); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.field .err { color: var(--danger); font-size: 12.5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }

/* 弹窗 */
.modal {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px;
  background: rgba(5, 8, 13, 0.8); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__box {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  max-width: 440px; width: 100%; padding: 40px 34px; text-align: center; transform: translateY(20px);
  transition: transform .3s ease; box-shadow: var(--shadow);
}
.modal.open .modal__box { transform: translateY(0); }
.modal__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 151, 0.14); font-size: 36px; color: var(--green); }
.modal__title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.modal__text { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* ---------- 动效基础 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-line { opacity: 1 !important; transform: none !important; }
}

/* ---------- 语言引导：避免刷新时闪出非首选语言 ----------
   仅当访客首选语言 ≠ 站点默认语言（英文）时，head 内联脚本才挂上 i18n-pending；
   app.js 渲染完成后立即移除（并有 2.5s 兜底）。用 visibility 而非 display，
   保持布局稳定，不产生跳动。 */
html.i18n-pending #navbar,
html.i18n-pending #drawer,
html.i18n-pending #app,
html.i18n-pending #footer { visibility: hidden; }

/* ---------- 响应式：平板 (768 - 1199) ---------- */
@media (max-width: 1199px) {
  .nav__links, .nav__actions .lang-switch, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .hero__demo { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* 对比表 → 卡片（平板 + 手机） */
  .compare-wrap { display: none; }
  .compare-cards { display: grid; gap: 18px; }
  .cc-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 22px; }
  .cc-card .cc-head { font-weight: 800; font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); }
  .cc-card .cc-head.sowork { color: #0A0E16; background: linear-gradient(135deg, #E8C96A, var(--gold)); padding: 12px 16px; border-radius: 8px; border: none; }
  .cc-card .cc-row { padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--border-soft); }
  .cc-card .cc-row:last-child { border-bottom: none; }
  .cc-card .cc-row b { color: var(--muted); display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
  .cc-card .cc-row span { color: #c7cdd8; }
  .cc-card .cc-row.sowork span { color: var(--gold); font-weight: 600; }
}

/* ---------- 响应式：手机 (<768) ---------- */
@media (max-width: 767px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: calc(var(--nav-h) + 20px) 0 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .btn--lg { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .cta { padding: 48px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .plan-custom { flex-direction: column; align-items: flex-start; }
}

/* 极窄屏 */
@media (max-width: 380px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero__brand { font-size: 40px; }
}
/* 原金色/蓝色光晕背景已移除，改用 bg1.jpg 半透明全页背景 */
#app, .footer { position: relative; z-index: 1; }
#bg-canvas {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; display: block;
}

/* ---------- 滚动条风格（黑金主题） ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: #3A2F11 var(--card);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4A3B16 0%, #3A2F11 100%);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #5A4C22; }
::-webkit-scrollbar-corner { background: var(--bg); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* 产品页：问答演示固定高度（按最大文字内容） */
.page-hero__split { align-items: center; }
.page-hero__split .hero__demo .qa-shell { height: 480px; flex: none; min-height: 0; }

/* AI 问答附件（文件名） */
.qa-attach {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 8px 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 13.5px; color: var(--gold-2);
}
.qa-attach__icon { font-size: 15px; line-height: 1; }
.qa-attach__name { font-weight: 600; }

/* 定价套餐：核心功能颜色区分 */
.feat-includes { font-size: 13.5px; margin-bottom: 6px; line-height: 1.5; font-weight: 600; }
.feat-new { font-weight: 700; font-size: 15px; line-height: 1.55; }

/* 客户案例：顶部 tab 切换 */
.case-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.case-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border-soft);
  color: var(--muted); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .25s ease;
}
.case-tab:hover { border-color: var(--border); color: var(--text); }
.case-tab.active {
  background: linear-gradient(135deg, #E8C96A, var(--gold));
  color: #0A0E16; border-color: transparent; box-shadow: var(--shadow-gold);
}
.case-tab__num { font-weight: 800; opacity: 0.75; }
.case-panel { display: none; }
.case-panel.active { display: block; animation: caseFadeIn .4s ease; }
@keyframes caseFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.report__tag {
  display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--blue-dim); color: #7FB2F0; font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.report__meta { display: flex; gap: 10px; flex-wrap: wrap; }
.report__sub { margin: 22px 0 14px; font-size: 15px; color: var(--muted); }

/* ===== 客户案例（新结构：概况/问题/特色/对比/结果）===== */
.case-card-full {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 30px 34px;
}
.case-card-full__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-soft);
}
.case-card-full__head h3 { font-size: 22px; font-weight: 800; }
.case-plan {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  background: var(--gold-dim); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px;
}
.case-plan__label { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.case-plan b { color: var(--gold); font-size: 16px; white-space: nowrap; }
.case-card-full__overview {
  margin-top: 18px; font-size: 15.5px; line-height: 1.9; color: var(--muted);
  background: rgba(255,255,255,0.02); border-radius: 10px; padding: 16px 20px; border: 1px solid var(--border-soft);
}
.case-card-full__overview b { color: var(--text); }
.case-sec-title { margin: 30px 0 16px; font-size: 17px; font-weight: 800; color: var(--text); }
.case-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case-list li {
  position: relative; padding: 14px 18px 14px 46px; border-radius: 10px;
  font-size: 14.5px; line-height: 1.8; color: #c9d1dd;
}
.case-list li::before {
  position: absolute; left: 16px; top: 15px; font-weight: 900; font-size: 14px;
}
.case-list--pain li { background: rgba(228,87,61,0.07); border: 1px solid rgba(228,87,61,0.22); }
.case-list--pain li::before { content: "✕"; color: var(--danger); }
.case-list--feat li { background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.25); }
.case-list--feat li::before { content: "✓"; color: var(--gold); }
.case-chatgpt {
  margin-top: 16px; padding: 16px 20px; border-radius: 10px; font-size: 14.5px; line-height: 1.8;
  background: rgba(34,119,221,0.07); border: 1px dashed rgba(34,119,221,0.4); color: #a9c6e8;
}
.case-chatgpt b { color: #7FB2F0; }
.case-compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-soft); }
.case-compare { min-width: 560px; }
.case-compare th { color: var(--gold); }
.case-compare td.cell-before { color: #e8917f; }
.case-compare td.cell-after { color: var(--green); font-weight: 700; }
.case-result {
  margin-top: 26px; padding: 22px 26px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(34,119,221,0.08));
  border: 1px solid rgba(212,175,55,0.35);
}
.case-result__title { font-size: 17px; font-weight: 900; color: var(--gold); margin-bottom: 12px; letter-spacing: 1px; }
.case-result p { font-size: 15px; line-height: 1.95; color: #e6e9ef; margin: 0; }
@media (max-width: 767px) {
  .case-card-full { padding: 20px 18px; }
  .case-plan { align-items: flex-start; width: 100%; }
  .case-list li { padding-left: 42px; }
  .case-compare { min-width: 480px; }
}

/* 企业定制方案：贴近上方表格，底部留白（保持水平居中） */
.plan-custom-wrap { margin-top: -40px; margin-bottom: 80px; }
.plan-custom-wrap .plan-custom { margin-top: 0; }
@media (max-width: 1199px) {
  .plan-custom-wrap { margin-top: 12px; margin-bottom: 80px; }
}
/* ---------- 解决方案：流程卡片 ---------- */
.solution-block__head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.solution-block__icon {
  font-size: 30px; line-height: 1; width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--gold-dim); border: 1px solid var(--border);
}
.solution-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.solution-arrow { align-self: center; color: var(--gold); font-size: 30px; font-weight: 700; user-select: none; }
.solution-step {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.solution-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border); }
.solution-step--pain { border-top: 3px solid var(--danger); }
.solution-step--solve { border-top: 3px solid var(--gold); }
.solution-step--effect { border-top: 3px solid var(--green); }
.solution-step__top { display: flex; align-items: center; gap: 12px; }
.solution-step__num {
  font-size: 13px; font-weight: 800; letter-spacing: 1px; height: 30px; padding: 0 10px;
  border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
}
.solution-step--pain .solution-step__num { background: rgba(228,87,61,0.15); color: #f3a99d; }
.solution-step--solve .solution-step__num { background: var(--gold-dim); color: var(--gold); }
.solution-step--effect .solution-step__num { background: rgba(61,220,151,0.15); color: var(--green); }
.solution-step__title { font-size: 20px; font-weight: 700; color: var(--text); }
.solution-step__text { color: #c7cdd8; font-size: 17px; line-height: 1.75; }

@media (max-width: 1199px) {
  .solution-flow { grid-template-columns: 1fr; gap: 14px; }
  .solution-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ==========================================================================
   法务页面（网站免责声明 / 条款与条件）
   ========================================================================== */
/* 页签：网站免责声明 / 条款与条件（真实链接，切换到另一个法务页面） */
.legal-tabs {
  display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 22px;
  background: rgba(20, 26, 36, 0.7); border: 1px solid var(--border-soft); border-radius: 999px;
}
.legal-tabs .legal-tab {
  padding: 10px 22px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease;
}
.legal-tabs .legal-tab:hover { color: var(--gold); }
.legal-tabs .legal-tab.active { background: var(--gold); color: #0A0E16; }

/* 文件信息卡：与页签、条款卡保持一致的 22px 节奏（不再有段落叠加出的空白） */
.legal-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin-bottom: 22px;
}
.legal-meta__item {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
}
.legal-meta__k {
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.legal-meta__v { color: var(--text); font-size: 15px; line-height: 1.6; word-break: break-word; }
.legal-meta__v a { color: var(--gold-2); text-decoration: none; }
.legal-meta__v a:hover { text-decoration: underline; }

/* 条款卡与上方页签 / 文件信息卡同宽（撑满 .container，不再收窄居中） */
.legal { display: flex; flex-direction: column; gap: 18px; }
.legal__item {
  background: var(--card); border: 1px solid var(--border-soft); border-left: 3px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px 26px;
}
.legal__item:hover { border-left-color: var(--gold); }
.legal__h {
  font-size: 18px; font-weight: 700; color: var(--gold-2); margin-bottom: 12px; line-height: 1.5;
}
.legal__p { color: #c7cdd8; font-size: 15.5px; line-height: 1.95; }
.legal__p + .legal__p { margin-top: 10px; }

/* 页脚声明（全站页脚统一展示，法务页正文内不再重复）
   宽度与 .footer__grid 一致（都撑满 .container），故不设 max-width */
.footer__notice {
  margin-top: 14px; color: #8d929b; font-size: 12.5px; line-height: 1.85;
}

@media (max-width: 767px) {
  .legal-tabs { display: flex; width: 100%; }
  .legal-tabs .legal-tab { flex: 1; text-align: center; padding: 10px 12px; font-size: 14px; }
  .legal-meta { grid-template-columns: 1fr; }
  .legal__item { padding: 20px 18px; }
  .legal__h { font-size: 17px; }
  .legal__p { font-size: 15px; }
  .footer__notice { text-align: center; margin-left: auto; margin-right: auto; }
}



