/* =========================================================
   FlowSimple 官网设计系统 v2 ——「墨与朱」编辑部体系
   暖纸白 × 墨色 × 朱砂红 · 发丝线 · 直角 · 衬线数字
   ========================================================= */

:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --ink: #1a1c1e;
  --ink-2: #3f4247;
  --muted: #7a7d82;
  --line: #e8e8e5;
  --line-strong: #d5d5d0;

  --primary: #c0392b;
  --primary-700: #a02e22;
  --primary-50: #f7ebe8;
  --primary-100: #eedad4;

  --ok: #3c6b52;
  --ok-bg: #ecf1ec;
  --warn: #8a6420;
  --warn-bg: #f5efe1;
  --danger: #b3341f;
  --danger-bg: #f8ebe7;

  --dot-collaboration: #46688a;
  --dot-customer: #b0563e;
  --dot-hcm: #5f7d5a;
  --dot-manufacturing: #a3763b;
  --dot-supply: #4e7a82;
  --dot-platform: #5a5750;
  --dot-other: #8d8880;

  --radius: 2px;
  --radius-sm: 2px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    monospace;

  --container: 1160px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮：直角、克制、无发光 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #f6f4ef;
}
.btn--primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn--light { background: transparent; color: #f6f4ef; border-color: rgba(246, 244, 239, 0.45); }
.btn--light:hover { background: #f6f4ef; color: var(--ink); border-color: #f6f4ef; }
.btn--sm { padding: 7px 15px; font-size: 13.5px; }
.btn--danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- 徽标 / 标签：方章式 ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.6;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge--saas { background: transparent; color: var(--primary); border-color: var(--primary); }
.badge--desktop { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.badge--web { background: var(--ink); color: #f6f4ef; border-color: var(--ink); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 500;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
}
.chip--product { transition: border-color 0.15s ease, color 0.15s ease; }
.chip--product:hover { border-color: var(--primary); color: var(--primary); }
.chip--demo { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--dot-other);
  flex: none;
}
.dot--collaboration { background: var(--dot-collaboration); }
.dot--customer { background: var(--dot-customer); }
.dot--hcm { background: var(--dot-hcm); }
.dot--manufacturing { background: var(--dot-manufacturing); }
.dot--supply { background: var(--dot-supply); }
.dot--platform { background: var(--dot-platform); }
.dot--other { background: var(--dot-other); }

/* ---------- 头部导航：纸面、发丝线、下划线激活态 ---------- */

.site-header {
  position: sticky;
  top: var(--marquee-h, 0px);
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__slogan {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 11px;
  margin-left: 2px;
}

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  padding: 6px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.main-nav a.is-active { color: var(--ink); border-bottom-color: var(--primary); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- Hero：非对称编辑部版式 ---------- */

.hero {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  position: relative;
  padding-top: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  column-gap: 64px;
  align-items: end;
}
.hero__eyebrow {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: start;
}
.hero__eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--primary);
  flex: none;
  margin-top: 6px;
}
.hero h1 {
  grid-column: 1;
  font-size: clamp(34px, 4.8vw, 56px);
  margin: 20px 0 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--primary);
  text-underline-offset: 8px;
}
.hero__sub {
  grid-column: 1;
  max-width: 620px;
  margin-top: 22px;
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.85;
}
.hero__actions { grid-column: 1; display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* 右侧「数据账本」 */
.stats {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: end;
  border-top: 1px solid var(--ink);
}
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.stat__num span { font-size: 14px; font-weight: 400; color: var(--primary); margin-left: 4px; font-family: var(--font); }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* ---------- 区块：编号 + 发丝线 ---------- */

.section { padding: 78px 0; counter-increment: sec; }
.section--tight { padding: 58px 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 38px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  max-width: 340px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  letter-spacing: 0;
}
.section__head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.015em; }
.section__head p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.section__more { margin-top: 32px; }

/* ---------- 交付形态：一体式分栏 ---------- */

.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.form-card { padding: 30px 28px; border-left: 1px solid var(--line); transition: background 0.15s ease; }
.form-card:first-child { border-left: 0; }
.form-card:hover { background: var(--bg); }
.form-card__icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 20px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.form-card:hover .form-card__icon { border-color: var(--primary); color: var(--primary); }
.form-card__icon svg { width: 19px; height: 19px; }
.form-card h3 { font-size: 17.5px; }
.form-card p { margin-top: 9px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* ---------- 产品卡片：账本格 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.15s ease, background 0.15s ease;
  color: inherit;
}
.product-card:hover { border-color: var(--ink); color: inherit; background: var(--bg); }
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.product-card__cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.product-card__badges { display: inline-flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.product-card__name { font-size: 17.5px; }
.product-card__summary {
  margin-top: 9px;
  font-size: 14px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  line-height: 1.75;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.product-card:hover .product-card__link { color: var(--primary); }
.product-card:hover .product-card__link span { transform: translateX(4px); }
.product-card__link span { display: inline-block; transition: transform 0.18s ease; }

/* ---------- 筛选条 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chip-filter:hover { border-color: var(--ink); color: var(--ink); }
.chip-filter.is-active { background: var(--ink); border-color: var(--ink); color: #f6f4ef; }
.chip-filter.is-active .dot { box-shadow: 0 0 0 1.5px rgba(246, 244, 239, 0.4); }
.filter-bar__right { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.filter-bar select, .filter-bar input[type="search"] {
  font-family: inherit;
  font-size: 13.5px;
  padding: 7px 11px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  min-width: 140px;
  outline: none;
}
.filter-bar input[type="search"] { min-width: 200px; }
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.filter-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- 产品详情 ---------- */

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }

.detail-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; justify-content: space-between; }
.detail-head h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; }
.detail-head__badges { display: inline-flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.detail-summary { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 760px; }

/* 详情页 banner 信息条：部署方式 + 操作按钮（原右侧栏整合至此） */
.detail-head__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-head__deploy { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.detail-head__deploy-label {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 3px 9px;
}
.detail-head__deploy-value { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.detail-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.detail-body { margin-top: 24px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 19px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel h3 { font-size: 16px; margin: 20px 0 10px; }
.panel p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.panel p + p { margin-top: 10px; }

.feature-list { display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.feature-check {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--primary);
  border-radius: 1px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ---------- 解决方案 ---------- */

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}
.solution-card:hover { border-color: var(--ink); }
.solution-card__head { display: flex; flex-direction: column; gap: 9px; }
.solution-card__title { font-size: 19.5px; }
.solution-card__audience {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary);
  border: 1px solid var(--primary-100);
  background: var(--primary-50);
  padding: 2px 9px;
  border-radius: var(--radius);
}
.solution-card__summary { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.solution-card__points { margin-top: 15px; display: grid; gap: 8px; }
.solution-card__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.solution-card__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--primary);
  border-radius: 1px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.solution-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.solution-card__products { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- FAQ：发丝线列表 ---------- */

.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  overflow: visible;
  transition: border-left-color 0.15s ease, background 0.15s ease;
}
.faq-item[open] { border-left-color: var(--primary); background: var(--surface); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q, .faq-item__a-mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 1px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}
.faq-item__a-mark { background: var(--ink); }
.faq-item__text { flex: 1; }
.faq-item__toggle {
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-item__toggle { transform: rotate(45deg); border-color: var(--primary); color: var(--primary); }
.faq-item__a { display: flex; gap: 14px; padding: 0 20px 19px; }
.faq-item__body { flex: 1; color: var(--ink-2); font-size: 14.5px; padding-top: 2px; line-height: 1.85; }
.faq-item__body p + p { margin-top: 8px; }
.faq-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.faq-toolbar input[type="search"] {
  font-family: inherit;
  font-size: 13.5px;
  padding: 8px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  min-width: 240px;
  outline: none;
  background: var(--surface);
}
.faq-toolbar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.faq-toolbar__right { margin-left: auto; display: flex; gap: 8px; }

/* ---------- 表单 ---------- */

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; }
.form-field label .req { color: var(--primary); margin-left: 3px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}
.form-field .hint { font-size: 12.5px; color: var(--muted); }
.form-field .err { font-size: 12.5px; color: var(--danger); display: none; }
.form-field.is-invalid input, .form-field.is-invalid textarea, .form-field.is-invalid select { border-color: var(--danger); }
.form-field.is-invalid .err { display: block; }
.form-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.form-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--primary); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13.5px;
  cursor: pointer;
  background: var(--surface);
  user-select: none;
  white-space: nowrap;
}
/* pill 内的 checkbox 不受 .form-field input 通用输入框样式影响 */
.form-field .checkbox-pill input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font-size: inherit;
  flex: none;
  outline: none;
  box-shadow: none;
  transition: none;
}
.checkbox-pill input { accent-color: var(--primary); }
.checkbox-pill:has(input:checked) { border-color: var(--primary); background: var(--primary-50); color: var(--primary); font-weight: 600; }

/* ---------- 咨询页 ---------- */

.consult-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.contact-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon { width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 15px; height: 15px; }
.contact-item__label { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-item__value { font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-all; }

.success-panel {
  display: none;
  text-align: center;
  padding: 46px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.success-panel.is-visible { display: block; }
.success-panel__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 1px;
  border: 1px solid var(--primary);
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
}
.success-panel h3 { font-size: 20px; }
.success-panel p { color: var(--ink-2); margin-top: 10px; }
.success-panel .btn { margin-top: 22px; }

/* ---------- CTA 横幅：墨块 ---------- */

.cta-banner {
  position: relative;
  border-radius: var(--radius);
  padding: 52px 44px;
  color: #f6f4ef;
  background: var(--ink);
  border-left: 4px solid var(--primary);
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); position: relative; letter-spacing: -0.01em; }
.cta-banner p { margin-top: 12px; color: rgba(246, 244, 239, 0.72); position: relative; max-width: 640px; }
.cta-banner__actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-banner .btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.cta-banner .btn--primary:hover { background: #d1493a; border-color: #d1493a; }

/* ---------- 页脚：暖墨 ---------- */

.site-footer { background: #211f1a; color: #a8a49a; margin-top: 80px; }
.site-footer a { color: #d9d5ca; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 54px 0 40px;
}
.footer-brand .brand { color: #f6f4ef; }
.footer-brand .brand:hover { color: #f6f4ef; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #a8a49a; max-width: 320px; line-height: 1.8; }
.footer-col h4 {
  color: #f6f4ef;
  font-size: 13px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-contact li { font-size: 14px; display: flex; gap: 9px; align-items: flex-start; }
.footer-contact li span:first-child {
  flex: none;
  color: #7d796f;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.footer-bottom { border-top: 1px solid rgba(217, 213, 202, 0.16); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- 空状态 ---------- */

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 26px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state__title { font-size: 17px; font-weight: 700; }
.empty-state__hint { color: var(--ink-2); margin-top: 6px; font-size: 14px; }
.empty-state .btn { margin-top: 16px; }

/* ---------- Toast ---------- */

.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: var(--ink);
  color: #f6f4ef;
  padding: 12px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  font-size: 14px;
  animation: toast-in 0.25s ease;
  max-width: 340px;
}
.toast--error { background: var(--danger); border-left-color: #7d2415; }
.toast--ok { background: var(--ok); border-left-color: #2c513e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 揭示动画（仅 JS 环境启用） ---------- */

html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 页面标题条 ---------- */

.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 48px;
  counter-increment: sec;
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.015em; margin-top: 16px; }
.page-hero p { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 720px; }
.page-hero__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* ---------- 404 ---------- */

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.error-page__code {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.error-page__code::after { content: "."; color: var(--primary); }
.error-page h1 { margin-top: 14px; font-size: 22px; }
.error-page p { color: var(--ink-2); margin-top: 8px; }
.error-page .btn { margin-top: 24px; }

/* =========================================================
   管理后台
   ========================================================= */

.admin-body { background: var(--surface-2); }
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  background: var(--bg);
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.login-card h1 { font-size: 21px; text-align: center; }
.login-card .login-sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 8px; margin-bottom: 24px; font-family: var(--mono); letter-spacing: 0.06em; }
.login-card .form-field { margin-bottom: 16px; }
.login-tip { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.7; }
.login-tip code { font-family: var(--mono); background: var(--surface-2); padding: 1px 5px; border-radius: 1px; font-size: 11.5px; }

.admin-app { display: none; min-height: 100vh; grid-template-columns: 232px 1fr; }
.admin-app.is-visible { display: grid; }
.admin-side {
  background: #211f1a;
  color: #a8a49a;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-side .brand { color: #f6f4ef; padding: 0 10px 18px; font-size: 16.5px; }
.admin-side__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d796f;
  padding: 14px 12px 6px;
  font-family: var(--mono);
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: #d9d5ca;
  border-radius: 0;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-nav-item:hover { background: rgba(217, 213, 202, 0.08); color: #fff; }
.admin-nav-item.is-active { background: rgba(192, 57, 43, 0.16); border-left-color: var(--primary); color: #fff; font-weight: 600; }
.admin-nav-item .nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-radius: 1px;
  font-size: 11px;
  padding: 1px 7px;
  font-weight: 700;
}
.admin-side__foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(217, 213, 202, 0.16); }
.admin-side__foot button { width: 100%; border-color: rgba(217, 213, 202, 0.35); color: #d9d5ca; }
.admin-side__foot button:hover { border-color: #f6f4ef; color: #f6f4ef; background: transparent; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.admin-topbar h1 { font-size: 16.5px; }
.admin-topbar__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.admin-content { padding: 26px; display: grid; gap: 20px; align-content: start; }

.admin-section { display: none; }
.admin-section.is-active { display: grid; gap: 20px; align-content: start; }

.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.overview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 2px solid var(--ink);
}
.overview-card__label { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.overview-card__num { font-family: var(--font-serif); font-size: 32px; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; line-height: 1.1; }
.overview-card__num.is-alert { color: var(--primary); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-strong);
  flex-wrap: wrap;
}
.card__head h2 { font-size: 15.5px; }
.card__head .card__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.card__body { padding: 20px; }
.card__body--flush { padding: 0; }

.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
  background: var(--bg);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--bg); }
.data-table .cell-title { font-weight: 600; color: var(--ink); }
.data-table .cell-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; word-break: break-all; font-family: var(--mono); }
.data-table .cell-msg { max-width: 320px; color: var(--ink-2); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions .btn { padding: 4px 11px; font-size: 12.5px; }
.status-pill {
  display: inline-flex;
  padding: 2px 9px;
  border-radius: 1px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.status-pill--published, .status-pill--closed { background: var(--ok-bg); color: var(--ok); border-color: rgba(60, 107, 82, 0.25); }
.status-pill--draft { background: var(--surface-2); color: var(--muted); border-color: var(--line-strong); }
.status-pill--new { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }
.status-pill--contacted { background: var(--warn-bg); color: var(--warn); border-color: rgba(138, 100, 32, 0.25); }

.mini-select {
  font-family: inherit;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

/* 弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(26, 28, 30, 0.55);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 18px;
  overflow-y: auto;
}
.modal-mask.is-open { display: flex; }
.modal {
  width: 100%;
  max-width: 800px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  animation: modal-in 0.2s ease;
  /* 高度封顶：头/脚固定，只有 body 区滚动 → 全页仅一条滚动条 */
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}
.modal__body { overflow-y: auto; flex: 1 1 auto; min-height: 0; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: center; padding: 17px 22px; border-bottom: 1px solid var(--line-strong); flex: none; }
.modal__head h3 { font-size: 16px; }
.modal__close { margin-left: auto; border: 1px solid var(--line-strong); background: transparent; width: 30px; height: 30px; border-radius: var(--radius); cursor: pointer; font-size: 14px; color: var(--muted); }
.modal__close:hover { border-color: var(--ink); color: var(--ink); }
.modal__body { padding: 22px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); flex: none; }

/* 弹框打开时锁定背景页滚动（消除右侧第二条滚动条） */
body.modal-open { overflow: hidden; }

.admin-empty { text-align: center; padding: 44px 20px; color: var(--ink-2); font-size: 14px; }

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

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; row-gap: 40px; padding-top: 64px; }
  .stats { grid-column: 1; grid-row: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .consult-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-app { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side .brand { padding: 0 10px; }
  .admin-side__label, .admin-side__foot { display: none; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 14px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
  .main-nav a.is-active { border-left-color: var(--primary); border-bottom-color: var(--line); }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .brand__slogan { display: none; }

  .forms-grid { grid-template-columns: 1fr; }
  .form-card { border-left: 0; border-top: 1px solid var(--line); }
  .form-card:first-child { border-top: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .cta-banner { padding: 36px 24px; }
  .filter-bar__right { width: 100%; margin-left: 0; }
  .filter-bar input[type="search"] { flex: 1; min-width: 0; }
  .admin-content { padding: 16px; }
  .hero__inner { padding-top: 48px; }
  .stat__num { font-size: 28px; }
}

/* =========================================================
   交互与动效层：入场编排 / 数字滚动 / 走马灯 / 光标聚光 / 按钮擦除
   ========================================================= */

/* ---------- 顶部滚动进度 ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  z-index: 60;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 首屏 staggered 入场 ---------- */
html.js .hero__eyebrow,
html.js .hero h1,
html.js .hero__sub,
html.js .hero__actions,
html.js .stats {
  animation: rise 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
html.js .hero__eyebrow { animation-delay: 0.05s; }
html.js .hero h1 { animation-delay: 0.16s; }
html.js .hero__sub { animation-delay: 0.3s; }
html.js .hero__actions { animation-delay: 0.44s; }
html.js .stats { animation-delay: 0.58s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 数据账本：滚动计数 ---------- */
.stat__num { font-variant-numeric: tabular-nums; }

/* ---------- 报刊走马灯（置顶吸顶条 · 朱砂通栏） ---------- */
.marquee {
  position: sticky;
  top: 0;
  z-index: 55;
  background: var(--primary);
  overflow: hidden;
  padding: 12px 0;
  display: none;
}
.marquee.is-mounted { display: block; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-run 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.03em;
  color: rgba(246, 244, 239, 0.92);
  white-space: nowrap;
}
.marquee__item::after {
  content: "◆";
  color: rgba(246, 244, 239, 0.5);
  font-size: 8px;
}
.marquee__item:hover { color: #fff; }
@keyframes marquee-run {
  to { transform: translateX(-50%); }
}

/* ---------- 卡片光标聚光 ---------- */
.product-card,
.solution-card,
.form-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.product-card::after,
.solution-card::after,
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(192, 57, 43, 0.09),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover::after,
.solution-card:hover::after,
.form-card:hover::after { opacity: 1; }

/* ---------- 按钮填充擦除（朱砂从左推入） ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.btn:hover::after { transform: scaleX(1); }
.btn--primary::after { background: var(--primary); }
.btn--primary:hover { background: var(--ink); border-color: var(--primary); color: #fff; }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { background: transparent; color: #f6f4ef; border-color: var(--ink); }
.btn--light::after { background: #f6f4ef; }
.btn--light:hover { background: transparent; color: var(--ink); border-color: #f6f4ef; }
.btn--danger::after { background: var(--danger); }
.btn--danger:hover { background: transparent; color: #fff; }
.cta-banner .btn--primary::after { background: var(--primary-700); }
.btn[disabled]:hover::after { transform: scaleX(0); }

/* ---------- 动效降级 ---------- */
@media (max-width: 768px) {
  .marquee__item { font-size: 13.5px; gap: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero__eyebrow,
  html.js .hero h1,
  html.js .hero__sub,
  html.js .hero__actions,
  html.js .stats { animation: none; }
  .marquee__track { animation: none; }
  .btn::after,
  .product-card::after,
  .solution-card::after,
  .form-card::after { transition: none; }
}

/* =========================================================
   产品中心：三大形态分组（SaaS / 独立部署 / 桌面）
   ========================================================= */

.type-group + .type-group { margin-top: 54px; }
.type-group__head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  margin-bottom: 22px;
}
.type-group__no {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
  flex: none;
  letter-spacing: -0.01em;
}
.type-group__title { min-width: 0; }
.type-group__title h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.015em; }
.type-group__title p { margin-top: 7px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; max-width: 620px; }
.type-group__count {
  margin-left: auto;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 5px 11px;
  white-space: nowrap;
  background: var(--surface);
}

@media (max-width: 768px) {
  .type-group + .type-group { margin-top: 42px; }
  .type-group__head { gap: 14px; flex-wrap: wrap; }
  .type-group__no { font-size: 24px; }
  .type-group__count { margin-left: auto; }
  .modal-mask { padding: 12px 10px; }
  .modal { max-height: calc(100vh - 24px); }
  .modal__body { padding: 18px; }
}

/* =========================================================
   详情页 · 业务痛点与解决 / 业务流程
   ========================================================= */
.pain-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pain-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pain-item:last-child { padding-bottom: 2px; border-bottom: none; }
.pain-item p { display: flex; gap: 12px; align-items: baseline; margin: 0; line-height: 1.8; }
.pain-item p + p { margin-top: 8px; }
.pain-item__pain { color: var(--ink); font-size: 15px; }
.pain-item__solve { color: var(--ink-2); font-size: 14.5px; }
.pain-item__tag {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2px 8px;
  transform: translateY(-1px);
}
.pain-item__tag--solve { color: var(--primary); border-color: var(--primary-100); background: var(--primary-50); }

.workflow__desc { color: var(--ink-2); font-size: 15px; line-height: 1.9; margin: 4px 0 22px; }

/* 链式流程图：卡片 + 箭头连接（桌面横排 / 移动竖排） */
.workflow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 30px;
}
.workflow__step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.workflow__step::after {
  content: "";
  position: absolute;
  right: -23px;
  top: 50%;
  width: 15px;
  height: 15px;
  border-top: 1.5px solid var(--primary);
  border-right: 1.5px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.workflow__step:last-child::after { display: none; }
.workflow__no {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.workflow__step h3 { font-size: 15.5px; margin: 0 0 2px; letter-spacing: 0; }
.workflow__step p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }

@media (max-width: 900px) {
  .workflow { flex-direction: column; gap: 26px; }
  .workflow__step { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; }
  .workflow__step::after {
    right: auto;
    left: 27px;
    top: auto;
    bottom: -21px;
    transform: translateX(-50%) rotate(135deg);
  }
  .workflow__no { font-size: 22px; padding-top: 2px; }
  .workflow__body h3 { margin-bottom: 4px; }
}

@media (max-width: 768px) {
  .pain-item p { gap: 9px; }
  .detail-head__bar { padding: 14px; }
  .detail-head__actions { width: 100%; }
  .detail-head__actions .btn { flex: 1; justify-content: center; }
}
