/* ============================================================
   煜程科技 · 首页长滚动
   数值全部来自 tokens.css
   ============================================================ */

/* ---------------- 1. 基础 ---------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #0B0B0C; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #0B0B0C;
  font-weight: 600;
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ---------------- 2. 容器与排版原语 ---------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ink-mute);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.sec--paper .tag { color: var(--dark-dim); }

h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  margin-top: 22px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.78;
  color: var(--ink-dim);
  max-width: 40em;
  margin-top: 20px;
}
.sec--paper .lead { color: var(--dark-dim); }

.sec { padding: var(--sec-dark) 0; position: relative; }
.sec--paper {
  padding: var(--sec-light) 0;
  background: var(--paper);
  color: var(--dark-ink);
}
.sec--center { text-align: center; }
.sec--center .lead { margin-inline: auto; }
.sec--center .tag { justify-content: center; }

.sec__head { max-width: 58em; }
.sec--center .sec__head { margin-inline: auto; }

/* ---------------- 3. 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease),
              color .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn--solid {
  background: var(--accent);
  color: #0B0B0C;
  box-shadow: 0 14px 34px -18px rgba(255, 106, 61, .85);
}
.btn--solid:hover {
  background: var(--accent-hi);
  box-shadow: 0 18px 44px -18px rgba(255, 106, 61, .95);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }

.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------------- 4. 动效原语 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-reveal) var(--ease),
              transform var(--t-reveal) var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.out {
  opacity: 0;
  transform: translateY(-24px);
  transition-duration: var(--t-out);
}

.lines .line { display: block; overflow: hidden; }
.lines .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.05s var(--ease);
  transition-delay: var(--d, 0ms);
}
.lines.in .line > span { transform: none; }

.reveal-img { overflow: hidden; border-radius: var(--radius-lg); }
.reveal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform var(--t-img) var(--ease);
}
.reveal-img.in img { transform: scale(1); }

/* ---------------- 5. 页头 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 10, 12, .72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  transition: transform .38s var(--ease), opacity .38s var(--ease);
}
.site-header.is-hidden { transform: translateY(-101%); opacity: 0; }

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  flex: none;
}
.brand__mark { width: 21px; height: 21px; flex: none; }
.brand em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-mute);
  padding-left: 2px;
}

.site-nav { display: flex; gap: 34px; }
.site-nav a {
  font-size: 14px;
  color: #E8E8ED;
  opacity: .82;
  transition: opacity .2s;
}
.site-nav a:hover { opacity: 1; }

/* 汉堡按钮：只在 ≤960 出现（规则在 .site-header.is-hidden 之后，开菜单时压住收起态） */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle > span {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: #E8E8ED;
  transition: transform .28s var(--ease), opacity .2s;
}
.nav-toggle:active > span { opacity: .6; }
.is-menu .nav-toggle > span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.is-menu .nav-toggle > span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

.site-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 6px var(--pad) 26px;
  background: #08080A;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.is-menu .site-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.is-menu .site-header { transform: none; opacity: 1; }

.site-menu nav { display: grid; }
.site-menu nav a {
  padding: 15px 0;
  font-size: 17px;
  color: #E8E8ED;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .18s;
}
.site-menu nav a:active { color: var(--accent); }
.site-menu__call {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--accent-hi);
}

/* ---------------- 6. 首屏 ---------------- */
.hero {
  position: relative;
  padding: 124px 0 64px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 78%;
  background: radial-gradient(46% 52% at 50% 12%, rgba(255, 106, 61, .16), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero .tag { justify-content: center; }

.display {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 26px auto 0;
  max-width: 16em;
}

.hero__sub {
  margin: 26px auto 0;
  max-width: 660px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.scroll-hint {
  position: relative;
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-mute);
}
.scroll-hint .line-v {
  width: 1px;
  height: 46px;
  margin: 12px auto 0;
  background: linear-gradient(to bottom, #8B8B90, transparent);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------- 7. 首屏主视觉（全部 CSS / SVG 自绘） ---------------- */
.stage {
  --p: 0;
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 46px auto 0;
  aspect-ratio: 2.3 / 1;
  font-size: clamp(8px, .72vw, 10px);
  line-height: 1.5;
  text-align: left;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.pane {
  position: absolute;
  border-radius: 1.8em;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(158deg, #141416 0%, #0A0A0C 58%);
  box-shadow:
    0 40px 90px -46px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
  transform: translate3d(0, calc(var(--p) * var(--shift, 0px)), 0);
  will-change: transform;
}

.pane-screen {
  left: 7%;
  top: 0;
  width: 72%;
  aspect-ratio: 16 / 9.6;
  padding: 2.4em 2.6em 2em;
  --shift: -46px;
  display: flex;
  flex-direction: column;
}
.pane-screen > * { flex: none; }
.pane-screen .chart { flex: 1 1 auto; min-height: 0; }

.pane__bar {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.8em;
  font-size: .95em;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.pane__bar i {
  width: .62em;
  height: .62em;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  flex: none;
}
.pane__bar i:first-child { background: rgba(255, 106, 61, .75); }
.pane__bar span { margin-left: .8em; }

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1em;
  margin-bottom: 1.5em;
}
.kpi {
  padding: 1.1em 1.2em;
  border-radius: 1em;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-soft);
}
.kpi b {
  display: block;
  font-size: 2.1em;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.kpi b span {
  font-size: .42em;
  margin-left: .12em;
  color: var(--ink-dim);
  font-weight: 500;
}
.kpi em {
  display: block;
  margin-top: .45em;
  font-size: .85em;
  font-style: normal;
  color: var(--ink-mute);
}

.chart { display: block; width: 100%; height: auto; }

.screen-legend {
  display: flex;
  gap: 1.6em;
  margin: 0 0 1.5em;
  font-size: .85em;
  color: var(--ink-mute);
}
.pane-screen .screen-legend { margin-bottom: 1.4em; }
.ui-screen .screen-legend { margin: .9em 0 0; }
.screen-legend b { color: var(--ink); font-weight: 600; }

/* ERP 面板 */
.pane-erp {
  left: -1%;
  bottom: 1%;
  width: 41%;
  aspect-ratio: 1.62;
  display: grid;
  grid-template-columns: 8.4em 1fr;
  --shift: -22px;
  border-radius: 1.5em;
}

.erp-side {
  padding: 1.5em 1em 1.5em 1.5em;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: .5em;
  font-size: .95em;
  color: var(--ink-mute);
}
.erp-side .on { color: var(--ink); position: relative; }
.erp-side .on::before {
  content: "";
  position: absolute;
  left: -.9em;
  top: .55em;
  width: .28em;
  height: .9em;
  border-radius: 2px;
  background: var(--accent);
}
.erp-side .doc {
  margin-top: auto;
  font-size: .82em;
  color: rgba(255, 255, 255, .3);
}

.erp-main {
  padding: 1.4em 1.5em;
  display: flex;
  flex-direction: column;
  font-size: .95em;
  min-width: 0;
}
.erp-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9em;
  font-size: 1em;
}
.erp-main__head b { font-size: 1.05em; font-weight: 600; }

.erp-row {
  display: grid;
  grid-template-columns: 1.25fr 1.5fr .8fr 1fr;
  gap: .7em;
  align-items: center;
  padding: .58em 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-dim);
  font-size: .92em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
}
.erp-row:last-child { border-bottom: 0; }
.erp-row--th {
  color: var(--ink-mute);
  font-size: .82em;
  letter-spacing: .06em;
  border-bottom-color: var(--line);
  padding-bottom: .5em;
}
.erp-row span { overflow: hidden; text-overflow: ellipsis; }

.pill {
  display: inline-block;
  padding: .26em .55em;
  border-radius: 999px;
  font-size: .88em;
  text-align: center;
  background: rgba(255, 255, 255, .07);
  color: var(--ink-dim);
}
.pill--ok { background: rgba(52, 199, 89, .16); color: #79E29C; }
.pill--run { background: rgba(255, 106, 61, .18); color: #FFA184; }
.pill--wait { background: rgba(255, 255, 255, .08); color: var(--ink-mute); }

/* 手机面板 */
.pane-phone {
  right: 1%;
  top: 15%;
  width: 14.2%;
  aspect-ratio: .47;
  --shift: -74px;
  border-radius: 2.4em;
  padding: .5em;
  background: #17171A;
}
.pane-phone .phone { height: 100%; }

.phone {
  position: relative;
  color: var(--ink);
  border-radius: 2em;
  background: #0C0C0E;
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  width: 34%;
  height: .9em;
  margin: .7em auto 0;
  border-radius: 999px;
  background: #1E1E21;
  flex: none;
}
.phone__scr {
  padding: 1.1em 1.15em;
  display: flex;
  flex-direction: column;
  gap: .65em;
  flex: 1;
  min-height: 0;
}
.phone__title {
  font-size: .95em;
  font-weight: 600;
  letter-spacing: .02em;
}
.phone__bal {
  padding: .9em 1em;
  border-radius: 1em;
  background: linear-gradient(140deg, rgba(255, 106, 61, .22), rgba(255, 106, 61, .04));
  border: 1px solid rgba(255, 106, 61, .22);
}
.phone__bal b {
  display: block;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.phone__bal em {
  display: block;
  margin-top: .3em;
  font-size: .8em;
  font-style: normal;
  color: var(--ink-dim);
}
.phone__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6em;
  padding: .5em 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .82em;
  color: var(--ink-dim);
}
.phone__row i {
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: rgba(255, 106, 61, .7);
  flex: none;
}
.phone__row em { font-style: normal; color: var(--ink-mute); }
.phone__btn {
  margin-top: auto;
  text-align: center;
  padding: .8em;
  border-radius: .8em;
  background: var(--accent);
  color: #0B0B0C;
  font-size: .85em;
  font-weight: 600;
}

/* ---------------- 8. 痛点 ---------------- */
.pains {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.pains li {
  display: grid;
  grid-template-columns: 56px 1.1fr .9fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0 38px;
  border-bottom: 1px solid var(--line);
}
.pains__n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  padding-top: .5em;
}
.pains__bad {
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.42;
  letter-spacing: -.01em;
  font-weight: 600;
  text-wrap: balance;
}
.pains__fix {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-dim);
  padding-top: .3em;
}

/* ---------------- 9. 服务矩阵 ---------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 30px 28px 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease);
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -26px rgba(0, 0, 0, .28);
}
.svc__ico {
  width: 26px;
  height: 26px;
  color: var(--accent-deep);
}
.svc h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.svc p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--dark-dim);
}
.svc ul {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dark-body);
}
.svc li { position: relative; padding-left: 14px; }
.svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-deep);
}

/* ---------------- 10. 交付流程 ---------------- */
/* .process / .steps / .step —— 页面上已不使用（对应 archive/process-section.html，
   想恢复那段「交付方式」时 HTML 粘回去即可，样式还在） */
.process {
  display: block;
  margin-top: 8px;
}
.process__side { max-width: 46em; }
.process__note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 106, 61, .55);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 24em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  opacity: .72;
  transition: opacity .55s var(--ease), border-color .55s var(--ease),
              background .55s var(--ease);
}
.step.is-on {
  opacity: 1;
  border-color: rgba(255, 106, 61, .38);
  background: linear-gradient(180deg, rgba(255, 106, 61, .07), rgba(255, 255, 255, 0));
}
.step__no {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: .35em;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
}
.step__meta {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink-mute);
}

/* ---------------- 11. 案例 ---------------- */
.case-list { margin-top: 20px; }
.case {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--paper-line);
}
.case:first-child { border-top: 0; padding-top: 36px; }
.case:nth-child(even) .case__visual { order: -1; }

.case__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--accent-deep);
}
.case__title {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}
.case__row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dark-body);
}
.case__row:first-of-type { margin-top: 24px; border-top: 1px solid rgba(0, 0, 0, .07); }
.case__row span {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--dark-dim);
  padding-top: .2em;
}
.case__row b { color: var(--dark-ink); font-weight: 600; }

.case__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-ink);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .5);
}

.case-note {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--dark-dim);
  letter-spacing: .02em;
}

/* 案例内的浅色界面卡 */
.ui-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--dark-ink);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, .06);
  font-size: 13px;
}
.ui-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ui-card__head b { font-size: 15px; font-weight: 600; }
.ui-card__head span {
  font-size: 12px;
  color: var(--dark-dim);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
}
.ui-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr .8fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  color: var(--dark-body);
  font-variant-numeric: tabular-nums;
}
.ui-row--th {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--dark-dim);
  padding: 8px 0;
}
.ui-row .ok { color: #1B8A3E; background: rgba(27, 138, 62, .1); }
.ui-row .run { color: var(--accent-deep); background: rgba(217, 72, 26, .1); }
.ui-row .wait { color: var(--dark-dim); background: rgba(0, 0, 0, .05); }
.ui-row em { font-style: normal; }

/* 案例内的深色大屏 */
.ui-screen {
  padding: 24px;
  background: linear-gradient(158deg, #141416, #08080A 70%);
  color: var(--ink);
  font-size: 12.5px;
}
.ui-screen__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.ui-screen__head b { color: var(--ink); font-weight: 600; letter-spacing: 0; }
.ui-screen .kpis { margin-bottom: 1em; }
.ui-screen .kpi { padding: .8em .9em; }
.ui-screen .kpi b { font-size: 1.7em; }

/* 案例内的双手机 */
.ui-phones {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 24px 44px;
  background: linear-gradient(158deg, #17171A, #0A0A0C);
  font-size: 11.5px;
}
.ui-phones .phone { width: 190px; height: 330px; flex: none; }
.ui-phones .phone:nth-child(2) { transform: translateY(18px); }

/* ---------------- 12. 数据 ---------------- */
/* 没有大标题：一排数字自己说话，数字在上、解释在下 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
  margin-top: 46px;
}
.stat b {
  display: block;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
/* 字词型数据格（按节点 / 零）：中文没有数字的窄宽比，字号收一档、字距放松一点才跟数字格视觉等重 */
.stat--word b {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.34;      /* 让中文大字的行盒高度对齐数字格，说明行才不会错位 */
  letter-spacing: -.012em;
}

/* 提权：下面还有一条 .stat em{max-width:15em}，同权靠后胜，所以这里要多一个类 */
.stat.stat--word em { max-width: 20.5em; }

.stat b i {
  font-style: normal;
  font-size: .42em;
  margin-left: .12em;
  color: var(--ink-mute);
  font-weight: 500;
}
.stat em {
  display: block;
  margin-top: 16px;
  max-width: 15em;
  font-size: 14.5px;
  line-height: 1.6;
  font-style: normal;
  color: var(--ink-mute);
  text-wrap: balance;
}
.stats__note {
  margin-top: 54px;
  font-size: 12.5px;
  color: #6A6A6F;
  letter-spacing: .02em;
}

/* ---------------- 13. 保障 ---------------- */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.promise {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
}
.promise h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.promise h3 svg { width: 20px; height: 20px; color: var(--accent-deep); flex: none; }
.promise p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--dark-dim);
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--paper-line);
}
.stack span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .1);
  font-size: 13.5px;
  color: var(--dark-body);
}

/* ---------------- 14. CTA 与表单 ---------------- */
.contact { text-align: center; }
.contact .lead { text-wrap: balance; }

/* 两个直达按钮：拨电话 / 加微信 */
.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.cbtn:active { transform: scale(.97); }
.cbtn svg { flex: none; }
.cbtn span { white-space: nowrap; }

.cbtn--call {
  background: var(--accent);
  color: #0B0B0C;
  box-shadow: 0 14px 34px -18px rgba(255, 106, 61, .85);
}
.cbtn--call:hover {
  background: var(--accent-hi);
  box-shadow: 0 18px 44px -18px rgba(255, 106, 61, .95);
}

.cbtn--wx {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.cbtn--wx:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }
.cbtn--wx b {
  font-weight: 600;
  letter-spacing: .01em;
  border-bottom: 1px dashed rgba(255, 255, 255, .22);
}
.cbtn--wx.is-copied {
  border-color: var(--accent);
  background: rgba(255, 106, 61, .12);
}
.cbtn--wx.is-copied b {
  color: var(--hi);
  border-bottom-color: transparent;
}

.cbtn__hint {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-mute);
  transition: color .2s, background-color .2s, border-color .2s;
}
.cbtn--wx:hover .cbtn__hint { color: var(--ink); border-color: rgba(255, 255, 255, .34); }
.cbtn--wx.is-copied .cbtn__hint {
  color: #fff;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.contact__alt {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-dim);
}
.contact__alt a {
  color: var(--ink);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s;
}
.contact__alt a:hover { color: var(--accent); border-color: var(--accent); }

.contact__addr {
  margin: 22px auto 0;
  max-width: 34em;
  font-size: 13.5px;
  font-style: normal;
  line-height: 1.8;
  color: var(--ink-mute);
  text-wrap: balance;
}

.ph {
  border-bottom: 1px dashed rgba(255, 255, 255, .35);
  padding-bottom: 1px;
}
.sec--paper .ph { border-bottom-color: rgba(0, 0, 0, .3); }

/* ---------------- 15. 页脚 ---------------- */
.site-footer {
  background: var(--bg-soft);
  padding: 84px 0 44px;
  color: var(--ink-mute);
  font-size: 14px;
}
.foot__cols {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}
.foot__brand { max-width: 320px; }
.foot__brand .brand { color: var(--ink); }
.foot__brand p { margin-top: 14px; line-height: 1.75; font-size: 13.5px; }
.foot__col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: .06em;
}
.foot__col a,
.foot__col span,
.foot__col address {
  display: block;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-mute);
  transition: color .2s;
}
.foot__col address {
  font-style: normal;
  line-height: 1.7;
  padding-top: 6px;
  max-width: 20em;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-wrap: balance;
}
.foot__col a:hover { color: var(--ink); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #1C1C1F;
  font-size: 12.5px;
  color: #66666B;
}

/* ---------------- 16. 响应式 ---------------- */
@media (max-width: 1100px) {
  .process { gap: 52px; }
  .case { gap: 48px; }
  .pane-erp { width: 44%; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 128px 0 64px; }
  .display { letter-spacing: -.02em; }
  .hero__sub { max-width: 32em; }

  .stats { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .stats__note { margin-top: 40px; }

  .stage { margin-top: 52px; aspect-ratio: auto; }
  .pane-erp, .pane-phone { display: none; }
  .pane-screen {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 16 / 12;
    padding: 1.6em;
  }
  .kpi b { font-size: 1.8em; }

  .sec { padding: var(--sec-dark) 0; }
  .pains li { grid-template-columns: 40px 1fr; gap: 16px; }
  .pains__fix { grid-column: 2; }
  .pains__n { padding-top: .2em; }

  .svc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .promises { grid-template-columns: 1fr; }

  .process { grid-template-columns: 1fr; gap: 40px; }
  .process__side { position: static; }
  .process__note { max-width: none; }
  .step { opacity: 1; border-color: var(--line-soft); }

  .case { grid-template-columns: 1fr; gap: 32px; padding: 52px 0; }
  .case:nth-child(even) .case__visual,
  .case .case__visual { order: 0; }
  .case__visual { border-radius: var(--radius); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }

  .contact__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .cbtn { width: 100%; min-height: 54px; font-size: 16px; }
}

@media (max-width: 640px) {
  .display { font-size: clamp(26px, 8.2vw, 40px); }
  .brand em { display: none; }
  .site-header__in { gap: 12px; }
  .cta-row .btn { flex: 1 1 100%; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; margin-top: 30px; }
  .step { grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
  .step__no { padding-top: 3px; }
  .step h3 { margin-top: 0; }
  .case__row { grid-template-columns: 1fr; gap: 4px; }
  .case__row span { padding-top: 0; }
  .foot__cols { gap: 36px; }
  .foot__bottom { font-size: 11.5px; }
  .pane-screen { aspect-ratio: 16 / 14; }
  .ui-phones { gap: 10px; padding: 22px 12px 26px; font-size: 9px; }
  .ui-phones .phone { width: 140px; height: 248px; }
  .ui-phones .phone:nth-child(2) { transform: translateY(12px); }
}

/* ---------------- 17. 降级 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: opacity .2s linear; }
  .reveal.out { opacity: 1; }
  .lines .line > span { transform: none !important; }
  .reveal-img img { transform: none !important; }
  .pane { transform: none !important; }
  .scroll-hint .line-v { animation: none; opacity: .5; }
  .step { opacity: 1; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.no-js .reveal { opacity: 1; transform: none; }
.no-js .lines .line > span { transform: none; }
.no-js .step { opacity: 1; }
.no-js .play-hide { display: none; }

/* ============================================================
   12. 行业覆盖 · 跑马灯轮播
   两段完全相同的列表首尾相接，轨道整体左移 50% 即无缝循环。
   ============================================================ */
.marquee {
  margin-top: 38px;
  overflow-x: auto;          /* 没有 JS 时：自己横向滑 */
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee::-webkit-scrollbar { display: none; }

.marquee__track {
  display: flex;
  width: max-content;
}

/* JS 把列表克隆成两份之后才开跑；没 JS 就退化成可横向滑动的列表 */
.marquee.is-live { overflow: hidden; }

.marquee.is-live .marquee__track {
  animation: march 68s linear infinite;
  will-change: transform;
}

@keyframes march {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* 鼠标停上去 / Tab 到里面 / 手指按住，就停住让人读完 */
.marquee.is-live:hover .marquee__track,
.marquee.is-live:focus-within .marquee__track,
.marquee.is-live:active .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 18px 0 0;   /* 末张与下一段首张之间也留 18px */
  list-style: none;
}

.icard {
  flex: none;
  width: 276px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .38s var(--ease), border-color .38s var(--ease), background .38s var(--ease);
}

.icard:hover {
  transform: translateY(-4px);
  background: #0C0C0F;
  border-color: var(--line-strong);
}

.icard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(130% 170% at 0% 0%, rgba(255, 106, 61, .19), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 10px),
    linear-gradient(165deg, #15151A, #0A0A0C);
}

.icard__ico {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.icard__no {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.icard__body {
  padding: 17px 20px 20px;
}

.icard__ind {
  font-size: 12px;
  letter-spacing: .13em;
  color: var(--accent);
}

.icard__sys {
  margin-top: 9px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.icard__txt {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.marquee__note {
  margin-top: 46px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
  text-align: center;
  text-wrap: balance;
}

.marquee__note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.marquee__note a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .icard { width: 288px; }
  .icard__top { height: 84px; padding: 0 18px; }
  .icard__body { padding: 17px 18px 20px; }
  .icard__sys { font-size: 16.5px; }
  .marquee { margin-top: 40px; }
}

@media (max-width: 640px) {
  .icard { width: 252px; }
  .icard__txt { font-size: 13px; }
  .marquee__note { margin-top: 34px; font-size: 13px; }
}

/* 减动效：停住，改成可以自己横向滑 */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee.is-live .marquee__track { animation: none !important; transform: none !important; }
  .marquee__dup { display: none; }
  .icard { scroll-snap-align: center; }
}

/* ============================================================
   14. 代码穿梭（3D 飞行）
   钉住一屏，相机沿 Z 往前飞，八块面板从深处依次穿过镜头。
   只由一个变量 --p 驱动（0→1，由 motion.js 在滚动帧里写入）。
   ============================================================ */
.flow {
  position: relative;
  height: 280vh;
  background: var(--bg);
  --p: 0;
}

.flow__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}

/* ---------- 隧道环境 ---------- */
.flow__glow,
.flow__horizon,
.flow__rays,
.flow__vig {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow__glow {
  background: radial-gradient(900px 900px at 50% 46%, rgba(255, 106, 61, .065), transparent 70%);
}

.flow__horizon {
  top: 46%;
  bottom: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13) 28% 72%, transparent);
}

.flow__rays {
  background: repeating-conic-gradient(from 12deg at 50% 46%,
    rgba(255, 255, 255, .032) 0 .35deg, transparent .35deg 30deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 0 40%, transparent 68%);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 0 40%, transparent 68%);
}

/* 关灯：p>0.87 环境层退场，只留暗角 */
.flow__glow,
.flow__horizon,
.flow__rays {
  opacity: calc(1 - clamp(0, (var(--p) - .87) / .03, 1));
}

.flow__cam {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 46%;
}

.flow__vig {
  background: radial-gradient(120% 108% at 50% 46%,
    transparent 42%, rgba(0, 0, 0, .55) 78%, #000 100%);
}

/* ---------- 面板 ---------- */
.flow__pane {
  /* 第 i 块穿过镜头平面的进度（z = 1000 时穿越）：.127 + .105i */
  --pi: calc(.127 + .105 * var(--i));
  position: absolute;
  left: 50%;
  top: 46%;
  width: calc(var(--w) * 1px);
  /* 序号越小离镜头越近：让近处那块压住远处的，靠显式层序而不是 3D 排序 */
  z-index: calc(20 - var(--i));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, .05), transparent 60%),
    var(--bg-soft);
  box-shadow:
    0 24px 56px -12px rgba(0, 0, 0, .85),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  transform:
    translate3d(-50%, -50%, 0)
    translate3d(
      calc(var(--x) * 1px),
      calc(var(--y) * 1px),
      calc(-520px - 1260px * var(--i) + 12000px * var(--p))
    )
    rotateY(calc(var(--ry) * 1deg));
  /* 两道曲线取小：远处淡入（不堆在灭点）、穿到镜头前淡出（不出现巨大的糊字） */
  opacity: min(
    clamp(0, (var(--p) - var(--pi) + .42) / .12, 1),
    clamp(0, (var(--pi) - .045 - var(--p)) / .045, 1)
  );
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.flow__bar {
  display: flex;
  align-items: center;
  gap: 17px;
  height: 54px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line-soft);
}

.flow__dots {
  display: flex;
  gap: 9px;
}

.flow__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.flow__file {
  font: 15px/19px var(--font-mono);
  color: var(--ink-mute);
}

.flow__body {
  padding: 26px 32px 28px;
}

.flow__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* 奇数号面板才有强调：标题前一根橙竖条 */
.flow__pane--a .flow__title {
  position: relative;
  padding-left: 16px;
}

.flow__pane--a .flow__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 2.5px;
  height: 17px;
  border-radius: 1px;
  background: var(--accent);
}

.flow__code {
  margin-top: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
}

.flow__line {
  display: grid;
  grid-template-columns: 42px 1fr;
  font-size: 17px;
  line-height: 1.72;
}

.flow__num {
  display: inline-block;
  width: 42px;
  padding-right: 17px;
  text-align: right;
  color: rgba(134, 134, 139, .55);
  font-variant-numeric: tabular-nums;
}

.flow__lc {
  flex: 1 1 auto;
  min-width: 0;
  white-space: pre;
  color: rgba(245, 245, 247, .52);
}

/* 语法制色：只有一个饱和色相，且只出现在奇数号面板的少数 token 上 */
.t-k { color: var(--accent-hi); }
.t-f { color: rgba(245, 245, 247, .78); }
.t-s { color: rgba(245, 245, 247, .62); }
.t-n { color: rgba(255, 131, 88, .78); }
.t-c { color: rgba(161, 161, 168, .72); }

/* ---------- 开场提示与收场成功行 ---------- */
.flow__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-mute);
  opacity: calc(.42 * (1 - clamp(0, (var(--p) - .06) / .06, 1)));
  pointer-events: none;
}

/* ---------- 收场：八块飞完，灯光收掉，数据接管 ---------- */
.flow__stats {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad) 0;
  opacity: clamp(0, (var(--p) - .88) / .05, 1);
  transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .88) / .07, 1)) * 20px), 0);
  pointer-events: none;
}

/* 舞台里这一块要跟其他屏一样贴着 120px 网格，不能被 flex 居中成「按内容宽度」 */
.flow__stats > .wrap {
  width: 100%;
}

/* ---------- 开场：一台笔记本，屏幕是空口子 ---------- */
.flow__mac {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1020px, 72vw);
  aspect-ratio: 16 / 9.6;
  transform: translate(-50%, -50%) scale(calc(1 + 1.1 * clamp(0, var(--p) / .16, 1)));
  transform-origin: 50% 46%;
  opacity: clamp(0, (.17 - var(--p)) / .09, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.flow__mac-screen {
  position: absolute;
  inset: 0;
  border: 15px solid #17171C;
  border-radius: 22px;
  background: transparent;                 /* 中间必须是空的，代码从这儿透出来 */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .13),
    0 40px 90px -30px rgba(0, 0, 0, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.flow__mac-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .05), transparent 62%);
}

.flow__mac-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 128px;
  height: 13px;
  margin-left: -64px;
  background: #17171C;
  border-radius: 0 0 9px 9px;
}

.flow__mac-deck {
  position: absolute;
  left: -4.5%;
  right: -4.5%;
  bottom: -7.2%;
  height: 7%;
  border-radius: 3px 3px 12px 12px / 3px 3px 22px 22px;
  background: linear-gradient(180deg, #2B2B33, #131318 62%, #0C0C10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -2px 6px rgba(0, 0, 0, .8),
    0 26px 60px -18px rgba(0, 0, 0, .9);
}

.flow__mac-deck i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  height: 4px;
  margin-left: -48px;
  background: #0B0B0F;
  border-radius: 0 0 6px 6px;
}

/* ---------- 降级：不做 3D，就排成静态卡片 ---------- */
/* 平板及以下、开了「减少动态效果」、禁用 JS —— 三种情况都不能留一段空白滚动 */
@media (prefers-reduced-motion: reduce), (max-width: 960px) {
  .flow {
    height: auto;
    padding: var(--sec-dark) 0;
  }

  .flow__stage {
    position: static;
    height: auto;
    overflow: visible;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
  }

  .flow__glow,
  .flow__horizon,
  .flow__rays,
  .flow__vig,
  .flow__hint,
  .flow__mac {
    display: none;
  }

  .flow__cam {
    position: static;
    inset: auto;
    perspective: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .flow__pane {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    will-change: auto;
  }

  .flow__line { grid-template-columns: 34px 1fr; font-size: 13px; }
  .flow__lc { white-space: pre-wrap; }

  .flow__stats {
    position: static;
    margin-top: 44px;
    padding: 0;
    transform: none;
    opacity: 1;
  }

  .flow__stats .wrap { padding: 0; }
}

@media (max-width: 640px) {
  .flow__cam { grid-template-columns: 1fr; }
  .flow__bar { height: 40px; padding: 0 18px; }
  .flow__body { padding: 16px 14px 18px; }
  .flow__title { font-size: 16px; }
  .flow__line { font-size: 11.5px; }
  .flow__line { grid-template-columns: 24px 1fr; }
  .flow__num { width: 24px; padding-right: 8px; }
}

.no-js .flow {
  height: auto;
  padding: var(--sec-dark) 0;
}

.no-js .flow__stage {
  position: static;
  height: auto;
  overflow: visible;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.no-js .flow__glow,
.no-js .flow__horizon,
.no-js .flow__rays,
.no-js .flow__vig,
.no-js .flow__hint {
  display: none;
}

.no-js .flow__cam {
  position: static;
  inset: auto;
  perspective: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.no-js .flow__pane {
  position: static;
  width: 100%;
  transform: none;
  opacity: 1;
  will-change: auto;
}

.no-js .flow__stats {
  position: static;
  margin-top: 44px;
  padding: 0;
  transform: none;
  opacity: 1;
}

.no-js .flow__stats .wrap { padding: 0; }

/* ============================================================
   13. 自营产品：源码宝
   ============================================================ */
.prod {
  background:
    radial-gradient(80% 60% at 82% 8%, rgba(56, 189, 248, .10), transparent 62%),
    #04060B;
  overflow: hidden;
}

.prod__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 80px;
  align-items: center;
}

.prod h2 { max-width: 11em; }
.prod .lead { margin-top: 22px; max-width: 30em; }

/* 三条卖点 */
.prod__points {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  max-width: 33em;
}

.prod__points li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.prod__points svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-top: 1px;
}

.prod__points b {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.prod__points p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-dim);
}

.prod__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn__arrow { width: 17px; height: 17px; }

.prod__meta {
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: .01em;
}

/* 产品窗口：按 yuanmabao.cn 落地页的样子自绘 */
.pwin {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(140, 185, 255, .16);
  background:
    radial-gradient(120% 110% at 50% -10%, #10233A, #070C16 58%, #04060A);
  box-shadow:
    0 50px 120px -50px rgba(56, 189, 248, .42),
    0 24px 60px -30px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.pwin:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 185, 255, .3);
  box-shadow:
    0 60px 140px -50px rgba(56, 189, 248, .5),
    0 30px 70px -30px rgba(0, 0, 0, .95);
}

.pwin:active { transform: translateY(-1px) scale(.997); }

.pwin__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(140, 185, 255, .1);
  background: rgba(255, 255, 255, .02);
}

.pwin__dots { display: flex; gap: 6px; }
.pwin__dots b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.pwin__dots b:first-child { background: rgba(56, 189, 248, .55); }

.pwin__addr {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #6E8098;
  letter-spacing: .02em;
}

.pwin__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 40px 46px;
  text-align: center;
}

.pwin__logo { width: 86px; height: auto; }

.pwin__name {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .02em;
  background: linear-gradient(96deg, #8FD8FF, #5AA9FF 48%, #B79CFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pwin__domain {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: #64778C;
}

.pwin__slogan {
  margin-top: 20px;
  font-size: 15px;
  letter-spacing: .3em;
  color: #C6D4E4;
}

.pwin__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 26px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: #04121C;
  background: linear-gradient(180deg, #74D0FF, #2E9BE0);
  box-shadow: 0 14px 34px -14px rgba(56, 189, 248, .75);
}

.pwin__btn svg { width: 17px; height: 17px; }

.pwin__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pwin__badges span {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(120, 170, 220, .26);
  background: rgba(56, 189, 248, .06);
  font-size: 11.5px;
  color: #9FB3C9;
}

@media (max-width: 960px) {
  .prod__grid { grid-template-columns: 1fr; gap: 52px; }
  .prod__points { margin-top: 32px; }
  .pwin__body { padding: 40px 24px 36px; }
  .pwin__name { font-size: 26px; }
}

@media (max-width: 640px) {
  .prod__points b { font-size: 15.5px; }
  .prod__points p { font-size: 13.5px; }
  .prod__cta { gap: 14px; }
  .prod__cta .btn { width: 100%; }
  .prod__meta { width: 100%; text-align: center; }
  .pwin__slogan { font-size: 13.5px; letter-spacing: .24em; }
}
