/* 观澜商策 H5 · 生产版 MVP 样式表
   与 app.js 的类名一一对应：hero / section / section-title / grid / stack /
   card / filters / filter-list / badge / detail / lead-form / notice / cta */

:root {
  --ink: #0f1f3d;
  --ink-soft: #2b3d61;
  --body: #5a6b86;
  --muted: #8d9bb2;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --line: #e6ebf5;
  --brand: #534ab7;
  --brand-dark: #3b3390;
  --brand-soft: #eeecff;
  --teal: #159b7d;
  --amber: #c07a12;
  --rose: #bd496d;
  --sky: #2f7ad6;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(19, 35, 68, .05);
  --shadow: 0 12px 30px rgba(24, 39, 75, .09);
  --shadow-lg: 0 24px 50px rgba(24, 39, 75, .16);
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding-left: 20px; }
li { margin: 4px 0; }

.app-shell {
  max-width: var(--maxw);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(24, 39, 75, .06);
}

/* ---------- 顶部栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
}

.brand small {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--ink), var(--brand));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(83, 74, 183, .28);
}

.menu-button {
  display: grid;
  gap: 4px;
  place-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 62px;
  z-index: 29;
  padding: 12px 16px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  background: #f7f8fd;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mobile-nav a .ni { font-style: normal; font-size: 14px; color: var(--brand); }
.mobile-nav a.nav-cta .ni { color: var(--brand-dark); }

.mobile-nav a.nav-cta { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 22px 38px;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(126, 108, 255, .5), transparent 58%),
    linear-gradient(155deg, #16224a 6%, #2b2a76 52%, #3a2f9c 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 66%);
}

.hero .eyebrow {
  position: relative;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .72);
}

.hero h1 {
  position: relative;
  font-size: 27px;
  line-height: 1.32;
  letter-spacing: .01em;
  color: #fff;
}

.hero h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #9f97ff, rgba(159, 151, 255, .1));
}

.hero > p:not(.eyebrow) {
  position: relative;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8);
}

.hero-actions { position: relative; display: flex; gap: 10px; margin-top: 22px; }
.hero-note { position: relative; margin-top: 10px; font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.72); }

/* ---------- 按钮 ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(83, 74, 183, .3);
}

.hero .button.primary { background: #fff; color: var(--ink); box-shadow: 0 14px 26px rgba(6, 12, 34, .3); }

.button.ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .42); color: #fff; }

.page-body > .button.primary, .detail > .button.primary { margin-top: 18px; }

.button:active { transform: translateY(1px); }

/* ---------- 区块与标题 ---------- */
.section { padding: 26px 18px 4px; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.section-title > span .si {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
}

.section-title > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 17px;
  border-radius: 3px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--brand), #9f97ff);
}

.section-title a { font-size: 12.5px; font-weight: 600; color: var(--brand); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 12px; }
.stack { display: grid; gap: 12px; }

@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.card.teal { border-left-color: var(--teal); }
.card.amber { border-left-color: var(--amber); }
.card.rose { border-left-color: var(--rose); }
.card.sky { border-left-color: var(--sky); }
.card.lime { border-left-color: #6aa83c; }
.card.slate { border-left-color: #5b7189; }
.card.indigo { border-left-color: #4a4fc0; }
.card.plain { border-left-color: #d8dfec; }

.card-meta {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}

.card h3 { font-size: 16px; font-weight: 700; }

.card p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .arrow { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--brand); }

.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge.warn { background: #fff3dc; color: #9a5f05; border: 1px solid #f6dfae; }

/* ---------- 筛选 ---------- */
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filters button {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.filters button.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(83, 74, 183, .25);
}

/* ---------- 页头与详情 ---------- */
.page-head {
  padding: 26px 20px 24px;
  background: linear-gradient(160deg, #16224a, #322c86);
  color: #fff;
}

.page-head .eyebrow {
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .68);
}

.page-head h1 { font-size: 22px; color: #fff; }
.page-head p { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.page-body { padding: 20px 18px 30px; }

.detail {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail .lead { font-size: 15px; color: var(--ink-soft); }

.detail-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.detail-block h2 {
  position: relative;
  padding-left: 12px;
  font-size: 15px;
  font-weight: 700;
}

.detail-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--brand);
}

.detail-block p, .detail-block li { margin-top: 8px; font-size: 13.5px; }
.detail-block p + p { margin-top: 10px; }

.syllabus { margin: 0; padding-left: 20px; }
.syllabus li { margin: 8px 0; font-size: 13.5px; }

.faq-q { margin-top: 12px; font-weight: 700; color: var(--ink); }
.faq-a { margin-top: 4px; color: var(--body); }

.related { display: grid; gap: 8px; margin-top: 10px; }

.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafbfe;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.related a span { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: var(--brand); }

/* ---------- 通知与表单 ---------- */
.notice {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #f6dfae;
  border-radius: var(--radius-sm);
  background: #fff8ea;
  font-size: 12.5px;
  color: #8a5906;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.lead-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafbfe;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.lead-form textarea { min-height: 104px; resize: vertical; }

.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(83, 74, 183, .14);
}

.lead-form .consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body);
}

.lead-form .consent input { width: 16px; height: 16px; }

.form-note { font-size: 11.5px; color: var(--muted); }

.success-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.success-card h2 { font-size: 18px; }
.success-card p { margin-top: 10px; font-size: 13.5px; }
.success-card .button { margin-top: 18px; }

/* ---------- 图标 ---------- */
.ico { display: inline-block; vertical-align: -3px; }

.si {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* ---------- 真实图片 ---------- */
.hero-photo {
  background-size: cover !important;
  background-position: center 28% !important;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(126, 108, 255, .35), transparent 60%);
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 26px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}

.stat { text-align: center; }

.stat strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.stat span { font-size: 10.5px; color: rgba(255, 255, 255, .7); }

.photo-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.photo {
  display: block;
  height: 96px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: #e9edf6;
}

.photo-body { display: block; padding: 2px 4px 2px 0; }
.photo-body h3 { font-size: 14.5px; }

.photo-body p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-body .arrow { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--brand); }

/* 专家介绍：主资料卡 + 四个通栏信息区块；宽屏多列铺满，避免大片留白 */
.expert { display: grid; gap: 14px; }

.expert-card,
.expert-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, #f7f6ff);
  box-shadow: var(--shadow-sm);
}

.expert-card { position: relative; overflow: hidden; }

.expert-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #7c6ff0 45%, #28c1b8);
}

.expert-head { display: grid; gap: 14px; }

.expert-photo {
  position: relative;
  display: block;
  height: 210px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center 22%;
  background-color: #e9edf6;
}

.expert-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 21, 48, .74);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .04em;
}

.expert-id { min-width: 0; }
.expert-id h3 { margin-top: 5px; font-size: 17px; line-height: 1.4; }

.expert-title { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.expert-org { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }

/* 任职列表：图标 + 职务 / 机构两行，避免机构名被压缩换行错位 */
.expert-posts { display: grid; gap: 8px; margin: 11px 0 0; padding: 0; list-style: none; }

.expert-posts li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.expert-posts .rk { display: grid; place-items: center; margin-top: 2px; color: var(--brand); }
.expert-posts b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.expert-posts span { display: block; margin-top: 1px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* 数据条：全部取自个人介绍材料，手机两列、宽屏四列 */
.expert-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.estat {
  padding: 9px 8px;
  border: 1px solid rgba(83, 74, 183, .12);
  border-radius: var(--radius-sm);
  background: rgba(83, 74, 183, .06);
  text-align: center;
}

.estat strong { display: block; font-size: 16px; font-weight: 800; color: var(--brand-dark); }

.estat span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.expert-bio { margin-top: 14px; font-size: 13px; line-height: 1.9; color: var(--body); }

/* 学者 / 导师 / 顾问 三个角色 */
.expert-roles { display: grid; gap: 8px; margin-top: 14px; }

.role-card {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.role-card b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.role-card .rk { display: grid; place-items: center; color: var(--brand); }

.role-card p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--body);
}

.expert-quote {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: rgba(83, 74, 183, .06);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink);
}

.expert-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

.expert-panel h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
}

.scope-list { display: grid; gap: 8px; margin-top: 12px; }

.scope-item {
  display: block;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.scope-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.scope-item.is-static { background: #fbfbfe; cursor: default; }

.scope-item b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.scope-item span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.6; color: var(--muted); }

.expert-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* 专业资质清单 */
.cred-list { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }

.cred-list li {
  position: relative;
  padding-left: 19px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--body);
}

.cred-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

/* 研究成果时间轴式清单 */
.fact-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }

.fact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.fact-tag {
  align-self: start;
  padding: 2px 0;
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-dark);
  text-align: center;
}

.fact-item p { font-size: 11.8px; line-height: 1.75; color: var(--body); }
.fact-item .chips { margin-top: 8px; }

/* 服务对象 */
.client-list { display: grid; gap: 10px; margin-top: 12px; }

.client-block {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.client-num { display: block; font-size: 15px; font-weight: 800; color: var(--brand-dark); }
.client-block p { margin-top: 4px; font-size: 11.8px; line-height: 1.7; color: var(--body); }
.client-block .chips { margin-top: 8px; }
.client-block .chips span { font-size: 10.5px; }

/* 八大研究领域：窄屏单列、中屏两列 */
@media (min-width: 420px) { .scope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 560px) {
  .expert-head { grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 16px; }
  .expert-photo { height: 172px; }
  .expert-id h3 { font-size: 16px; }
  .photo-card { grid-template-columns: 130px 1fr; }
  .photo { height: 104px; }
  .expert-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .expert-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 宽屏：研究领域 4 列两行、研究成果 2 列，整行铺满不留空格子 */
@media (min-width: 720px) {
  .scope-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 数据图形 ---------- */
.chart-grid { display: grid; gap: 12px; }

@media (min-width: 560px) { .chart-grid { grid-template-columns: repeat(2, 1fr); } }

.chart-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.chart-card svg { display: block; width: 100%; height: auto; }
.ring { max-width: 150px; margin: 0 auto; }

.chart-caption { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.chart-card + .chart-card, .chart-grid + .chart-card { margin-top: 12px; }

/* ---------- CTA 与页脚 ---------- */
.cta {
  margin: 26px 18px 30px;
  padding: 34px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(159, 151, 255, .45), transparent 60%),
    linear-gradient(150deg, #17224c, #342d8f);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta h2 { margin-bottom: 18px; font-size: 18px; color: #fff; }
.cta .button.primary { background: #fff; color: var(--ink); box-shadow: 0 14px 26px rgba(6, 12, 34, .3); }

.footer {
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-brand { font-size: 14px; font-weight: 800; color: var(--ink); }
.footer p { margin-top: 6px; }

.footer-links { display: flex; justify-content: center; gap: 18px; margin: 14px 0 10px; }
.footer-links a { font-size: 12px; font-weight: 600; color: var(--brand); }
.footer small { font-size: 11px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

/* ---------- 详情页（服务 / 课程 / 案例 / 文章） ---------- */
.detail-page { padding-bottom: 30px; }

.detail-hero {
  position: relative;
  padding: 26px 18px 30px;
  background: linear-gradient(150deg, #131a3d, #2d2878 62%, #443a9e);
  color: #fff;
  overflow: hidden;
}

.detail-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 151, 255, .42), transparent 68%);
}

.detail-hero .eyebrow {
  position: relative;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .66);
  text-transform: uppercase;
}

.detail-hero h1 { position: relative; margin-top: 8px; font-size: 23px; line-height: 1.35; color: #fff; }
.detail-hero .positioning { position: relative; margin-top: 10px; font-size: 14px; font-weight: 600; color: #d8d4ff; }

.hero-chips { position: relative; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.hchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
}

.hchip.warn { border-color: rgba(255, 214, 138, .5); background: rgba(255, 214, 138, .16); color: #ffe6b8; }

.anchor-nav {
  position: sticky;
  top: 62px;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  scrollbar-width: none;
}

.anchor-nav::-webkit-scrollbar { display: none; }

.anchor-nav button {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.anchor-nav button:active { border-color: #cfc8ff; background: var(--brand-soft); color: var(--brand-dark); }

.detail-block h2 .si {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border-radius: 6px;
  vertical-align: -4px;
}

.detail-block .sub { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.detail-block .sub + ul, .detail-block .sub + ol { margin-top: 6px; }
.detail-block .kicker { font-size: 14px; font-weight: 700; color: var(--brand-dark); }
.detail-block .muted { font-size: 12.5px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 600;
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li { position: relative; margin-top: 13px; padding-left: 33px; font-size: 13.5px; }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(140deg, #6f63e8, #3b3390);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid #dcd8ff;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, #f5f3ff, #eef1ff);
}

.fact span { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--brand); white-space: nowrap; }
.fact b { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: right; }

.ladder { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }

.ladder li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafbfe;
}

.ladder li:last-child { border-color: #cfe6dd; background: #f4fbf8; }

.ladder b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  color: var(--ink-soft);
}

.ladder li:last-child b { border-color: var(--teal); background: var(--teal); color: #fff; }
.ladder span { font-size: 12.5px; }

.qa {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafbfe;
}

.qa .faq-q { display: flex; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); }

.qa .faq-q i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.qa .faq-a { margin: 7px 0 0; font-size: 13px; color: var(--body); }

.detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.detail-foot .muted { margin-top: 6px; font-size: 11.5px; }

/* 关联平台卡片 */
.cloud-card {
  position: relative;
  margin: 18px 0 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #d9d3ff;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #f6f4ff, #eef2ff 58%, #eaf6ff);
  box-shadow: var(--shadow-sm);
}

.cloud-card::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 74, 183, .16), transparent 70%);
}

.cloud-body { position: relative; }
.cloud-body h3 { margin-top: 4px; font-size: 16px; color: var(--ink); }
.cloud-body p { margin-top: 7px; font-size: 13px; }

.cloud-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }

.cloud-points span {
  padding: 4px 10px;
  border: 1px solid #dcd8ff;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-dark);
}

.cloud-card .button { position: relative; margin-top: 15px; }
.cloud-note { position: relative; margin-top: 9px; font-size: 11px; color: var(--muted); }

/* ---------- 服务形态（培训课程 / 咨询服务 / 企业陪跑） ---------- */
.forms-intro {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--body);
}

.forms-note {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.forms-note a { font-weight: 700; color: var(--brand); }

.service-forms { display: grid; gap: 12px; }

.form-card {
  display: grid;
  gap: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.form-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: start; gap: 10px; }

.form-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  font-size: 17px;
  line-height: 1;
}

.form-title h3 { margin-top: 3px; font-size: 16px; }
.form-tagline { margin-top: 4px; font-size: 12.5px; line-height: 1.7; color: var(--brand-dark); font-weight: 600; }

.form-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid #dcd8ff;
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.form-cols { display: grid; gap: 0; margin-top: 14px; }
.form-col + .form-col { margin-top: 12px; }

.form-label {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--brand);
}

.form-col > .form-label:first-child { margin-top: 0; }

.form-text { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: var(--body); }

.form-card ul { margin-top: 6px; padding-left: 18px; }
.form-card li { margin: 5px 0; font-size: 12.5px; line-height: 1.75; color: var(--body); }

.form-modules { margin-top: 7px; }

.form-basis {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid #dcd8ff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #faf9ff;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.form-actions .button { margin-top: 0; }

@media (min-width: 560px) { .form-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .form-col + .form-col { margin-top: 0; } }

/* 首页三张形态入口卡：窄屏单列（沿用 photo-card 横向版式），宽屏三列 */
.form-grid { display: grid; gap: 12px; }

@media (min-width: 720px) {
  .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid .photo-card { grid-template-columns: minmax(0, 1fr); }
  .form-grid .photo { height: 104px; }
}

/* ---------- 在线学习占位页 ---------- */
.learning-gate {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #d9d3ff;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #f6f4ff, #eef2ff 58%, #eaf6ff);
}

.learning-gate h3 { margin-top: 4px; font-size: 16px; }
.learning-gate p { margin-top: 7px; font-size: 12.5px; line-height: 1.8; color: var(--body); }
.learning-gate .button { margin-top: 13px; }

/* 服务 / 课程列表卡片 */
.module-card { display: flex; flex-direction: column; }
.module-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.module-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 11px; }

.module-facts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.footer-friend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; }
.footer-friend span { color: var(--muted); }
.footer-friend a { font-weight: 700; color: var(--brand-dark); }

/* 未开通状态按钮（避免放出不可用链接） */
.button.is-disabled {
  background: #dfe4f0;
  color: #8d9bb2;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
