/* ==========================================================================
   火世MES系统 官网样式表
   品牌：西安火世科技有限公司 · 主色 橙 #F04E13
   无外部依赖（系统字体 + 原生 CSS），便于静态部署与首屏速度
   ========================================================================== */

:root {
  --brand: #f04e13;
  --brand-dark: #c93a08;
  --brand-soft: #fff1ea;
  --brand-soft-2: #ffe3d6;

  --ink: #16202b;
  --ink-2: #3d4c5c;
  --ink-3: #6b7c8d;
  --line: #e6ebf1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #101a24;
  --bg-dark-2: #17232f;

  --ok: #12a06a;
  --warn: #e0a400;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(16, 26, 36, .06), 0 4px 12px rgba(16, 26, 36, .05);
  --shadow: 0 6px 24px rgba(16, 26, 36, .08);
  --shadow-l: 0 18px 48px rgba(16, 26, 36, .14);

  --container: 1180px;
  --gutter: 22px;
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(30px, 4.6vw, 50px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2.1vw, 22px); }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }

strong { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

code, .mono { font-family: var(--font-mono); font-size: .92em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 76px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #c9d6e2; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark strong { color: #fff; }

.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.xs { font-size: 13px; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 780px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-s { gap: 14px; }
.gap-l { gap: 34px; }
.flex { display: flex; gap: 16px; align-items: center; }
.flex-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 10px; } .mt { margin-top: 22px; } .mt-l { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-s { margin-bottom: 10px; } .mb { margin-bottom: 22px; } .mb-l { margin-bottom: 40px; }

/* ---------- section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-dark .eyebrow { background: rgba(240, 78, 19, .16); color: #ff9466; }
.head { max-width: 820px; margin-bottom: 40px; }
.head.center { margin-left: auto; margin-right: auto; }
.head p { color: var(--ink-3); font-size: 16.5px; margin: 0; }
.section-dark .head p { color: #9fb0c0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(240, 78, 19, .28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand-soft-2); }
.btn-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-dark:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; font-weight: 700; }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; line-height: 1.6;
  background: var(--brand-soft); color: var(--brand-dark);
}
.badge-gray { background: #eef2f6; color: var(--ink-3); }
.badge-ok { background: #e6f7ef; color: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  margin: 0; padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.section-dark .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #cfdbe6; }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-s); height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; }
.card-dark { background: var(--bg-dark-2); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.card-dark:hover { border-color: rgba(240, 78, 19, .5); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.card h3, .card h4 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 20px; font-weight: 800;
  margin-bottom: 14px;
}
.icon-sq { border-radius: 10px; }
.section-dark .icon { background: rgba(240, 78, 19, .18); color: #ff9466; }

.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.num-list > li { counter-increment: n; position: relative; padding-left: 44px; margin-bottom: 18px; }
.num-list > li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--brand);
  background: var(--brand-soft); border-radius: 8px; padding: 2px 7px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 2px 14px rgba(16, 26, 36, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 17px; font-weight: 900;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 17px; letter-spacing: .01em; }
.brand-text span { font-size: 11.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .06em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: 15.5px;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 13px var(--gutter); border-bottom: 1px solid var(--bg-soft); color: var(--ink-2); font-weight: 600; }
.mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav.is-open { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 82% -8%, rgba(240, 78, 19, .18), transparent 60%),
              linear-gradient(180deg, #0f1a24 0%, #16232f 55%, #1b2a38 100%);
  color: #cdd9e4; padding: 74px 0 66px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: #ff8a54; }
.hero .lead { color: #b9c8d6; font-size: clamp(16px, 1.45vw, 18.5px); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-meta li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #9fb0c0; margin: 0; }
.hero-meta li::before { content: "✓"; color: #ff8a54; font-weight: 900; }

/* mock dashboard (纯 CSS，非真实截图) */
.mock {
  background: #fff; border-radius: var(--radius-l); box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #f2f5f8; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dee6; display: block; }
.mock-bar i:first-child { background: #ff6b52; }
.mock-bar span { margin-left: 6px; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.kpi b { display: block; font-size: 19px; color: var(--ink); line-height: 1.3; }
.kpi span { font-size: 11.5px; color: var(--ink-3); }
.kpi.up b { color: var(--ok); }
.mock-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.mock-panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-panel h4 { font-size: 12.5px; color: var(--ink-3); margin: 0 0 10px; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.bars i { flex: 1; height: 58%; background: linear-gradient(180deg, var(--brand), #ffb08c); border-radius: 4px 4px 2px 2px; display: block; }
.bars i:nth-child(2) { height: 52%; } .bars i:nth-child(3) { height: 74%; }
.bars i:nth-child(4) { height: 40%; } .bars i:nth-child(5) { height: 88%; }
.bars i:nth-child(6) { height: 62%; background: linear-gradient(180deg, #9fb0c0, #d6dee6); }
.bars i:nth-child(7) { height: 96%; }
.track { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 11.5px; color: var(--ink-2); }
.track em { font-style: normal; width: 58px; flex: none; color: var(--ink-3); }
.track .rail { flex: 1; height: 7px; background: #eef2f6; border-radius: 999px; overflow: hidden; }
.track .rail i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.track .rail i.blue { background: #3d78c8; } .track .rail i.green { background: var(--ok); }
.track b { width: 34px; text-align: right; font-family: var(--font-mono); font-size: 11px; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 36px); color: #fff; font-weight: 900; line-height: 1.2; }
.stat span { font-size: 13.5px; color: #a8b8c6; }

/* ---------- pain / solution ---------- */
.pain-card { position: relative; padding-left: 24px; }
.pain-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--brand-soft-2); }
.pain-card:hover::before { background: var(--brand); }
.pain-card h3 { font-size: 18px; }
.pain-card .cost { font-size: 13.5px; color: var(--brand-dark); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; text-align: center; position: relative; }
.flow-step b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.flow-step span { font-size: 12px; color: var(--ink-3); line-height: 1.5; display: block; }
.flow-step:not(:last-child)::after {
  content: "›"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--brand); font-weight: 900; z-index: 2;
}

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.before-after > div { padding: 22px 24px; }
.before-after .ba-before { background: #f8fafc; border-right: 1px solid var(--line); }
.before-after .ba-after { background: var(--brand-soft); }
.before-after h4 { font-size: 15px; letter-spacing: .02em; }
.before-after .ba-before h4 { color: var(--ink-3); }
.before-after .ba-after h4 { color: var(--brand-dark); }
.before-after ul { margin: 0; padding-left: 1.1em; font-size: 14.5px; }
.before-after li { margin-bottom: 7px; }

/* ---------- feature modules ---------- */
.feature-card .tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.feature-card ul { margin: 10px 0 0; padding-left: 1.15em; font-size: 14.5px; color: var(--ink-2); }
.feature-card ul li { margin-bottom: 5px; }
.feature-card .idx { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
table.data caption { text-align: left; padding: 14px 18px 0; font-size: 13px; color: var(--ink-3); }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #fffaf7; }
table.data td.yes { color: var(--ok); font-weight: 800; }
table.data td.no { color: #b7c2cd; }
table.data td.group { background: #f8fafc; font-weight: 700; color: var(--ink); }
table.data .cell-strong { color: var(--ink); font-weight: 700; }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; padding: 4px; background: #eef2f6; border-radius: 999px; gap: 4px; }
.toggle button {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink-3); cursor: pointer;
}
.toggle button.is-on { background: #fff; color: var(--brand); box-shadow: var(--shadow-s); }

.plan { display: flex; flex-direction: column; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 24px; box-shadow: var(--shadow-s); }
.plan.is-hot { border-color: var(--brand); box-shadow: 0 20px 46px rgba(240, 78, 19, .16); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 19px; margin-bottom: 4px; }
.plan .who { font-size: 13.5px; color: var(--ink-3); min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price .amt { font-size: 34px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.price .per { font-size: 14px; color: var(--ink-3); }
.price-note { font-size: 12.5px; color: var(--warn); min-height: 20px; }
.plan ul.feat { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan ul.feat li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan ul.feat li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 900; }
.plan ul.feat li.dim { color: #aab6c1; }
.plan ul.feat li.dim::before { content: "–"; color: #ccd6df; }
.plan .btn { margin-top: auto; }

.addon { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.addon .icon { width: 36px; height: 36px; font-size: 16px; margin: 0; flex: none; border-radius: 10px; }
.addon h4 { margin: 0 0 3px; font-size: 15.5px; }
.addon p { margin: 0; font-size: 13.8px; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq + .faq { margin-top: 12px; }
.faq > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; background: #fff; border: 0; border-bottom: 1px solid transparent;
  font: inherit; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; font-size: 16px;
}
.faq[open] > button, .faq.is-open > button { border-bottom-color: var(--line); }
.faq > button .plus { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; font-size: 17px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.faq.is-open > button .plus { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .faq-body { padding: 4px 20px 18px; color: var(--ink-2); font-size: 15px; display: none; }
.faq.is-open .faq-body { display: block; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: linear-gradient(120deg, #f04e13 0%, #d63c07 52%, #a92d05 100%);
  color: #fff; padding: 44px 42px; display: grid; grid-template-columns: 1.4fr auto; gap: 26px; align-items: center;
  box-shadow: 0 22px 50px rgba(214, 60, 7, .26);
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: .3em; position: relative; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-white:hover { background: #fff5f1; color: var(--brand-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list > li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list > li:last-child { border-bottom: 0; }
.info-list .icon { width: 38px; height: 38px; font-size: 17px; margin: 0; flex: none; }
.info-list h4 { margin: 0 0 2px; font-size: 15.5px; }
.info-list p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.info-list a { font-weight: 600; }

.qr-card { text-align: center; padding: 26px; }
.qr-card img { width: 190px; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.qr-card .qr-tip { font-size: 13.5px; color: var(--ink-3); }

.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240, 78, 19, .13); }
.field .err { color: #d33; font-size: 12.5px; margin-top: 5px; display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #e08; border-color: #d94b3a; }
.form-note { font-size: 12.8px; color: var(--ink-3); }
.form-status { font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: 10px; display: none; }
.form-status.is-ok { display: block; background: #e6f7ef; color: var(--ok); }
.form-status.is-err { display: block; background: #fdecea; color: #c0392b; }

/* ---------- steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.step b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.step .no { font-family: var(--font-mono); font-size: 12px; color: var(--brand); font-weight: 700; letter-spacing: .1em; display: block; margin-bottom: 8px; }

/* ---------- architecture ---------- */
.arch { display: grid; gap: 12px; }
.arch-layer { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 16px 18px; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.arch-layer .lv { font-weight: 800; color: var(--ink); font-size: 15px; }
.arch-layer .lv span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-items i { font-style: normal; font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #93a4b4; padding: 54px 0 26px; font-size: 14.5px; }
.site-footer a { color: #b8c7d4; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 16px; }
.footer-brand b { color: #fff; font-size: 16.5px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-note { font-size: 13px; line-height: 1.7; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7d8fa0; }
.footer-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #c3ced8; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 46px 0 34px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: .35em; }
.page-hero .lead { color: var(--ink-3); }

/* ---------- anchor nav (sticky sub nav) ---------- */
.sub-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sub-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 0; overflow-x: auto; }
.sub-nav a { display: block; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.sub-nav a:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- reveal animation（仅在 JS 可用时启用，禁用 JS 也保证内容可见） ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--brand); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease;
  font-size: 18px; z-index: 50;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }

/* ---------- floating trial button (mobile) ---------- */
.float-cta { display: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; padding: 32px 26px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .before-after .ba-before { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .arch-layer { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 56px 0; }
  .float-cta {
    display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 55;
    gap: 10px; padding: 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: var(--shadow-l);
  }
  .float-cta .btn { flex: 1; padding: 11px 14px; }
  .to-top { bottom: 84px; }
  body { padding-bottom: 78px; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 44px; }
  .plan { padding: 22px 18px; }
  h1 { font-size: 29px; }
}

@media print {
  .site-header, .site-footer, .float-cta, .to-top, .cta-band { display: none; }
}
