
/* 自托管显示字体：思源黑体 Heavy 子集（OFL 开源，按页面用字子集化，无外部请求） */
@font-face {
  font-family: "Edson Display";
  src: url("./fonts/display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B1524;
  --ink-2: #16233A;
  --body: #3D4B60;
  --muted: #7A879C;
  --line: #E3E9F1;
  --line-strong: #C9D4E2;
  --paper: #FFFFFF;
  --soft: #F6F8FB;
  --amber: #FF8A3D;
  --amber-deep: #F0700F;
  --amber-ink: #C2560A;
  --amber-soft: #FFF1E4;
  --cyan: #38E1D4;
  --cyan-ink: #0C8F84;
  --cyan-soft: #E8FAF7;
  --r-lg: 20px; --r-md: 14px;
  --shadow-soft: 0 2px 6px rgba(11,21,36,.05), 0 24px 48px -20px rgba(11,21,36,.18);
  --shadow-lift: 0 4px 10px rgba(11,21,36,.06), 0 36px 64px -24px rgba(11,21,36,.26);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);
  --serif: "Edson Display", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", ui-monospace, "SF Mono", Consolas, "Courier New", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans); background: var(--paper); color: var(--ink);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--amber); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

/* 细滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* 颗粒纹理（全局气氛层） */
.grain {
  position: fixed; inset: -100%; z-index: 99; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(8) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 12.5% { transform: translate(-2%,1%); } 25% { transform: translate(1%,-2%); }
  37.5% { transform: translate(-1%,2%); } 50% { transform: translate(2%,1%); } 62.5% { transform: translate(-2%,-1%); }
  75% { transform: translate(1%,2%); } 87.5% { transform: translate(2%,-2%); } 100% { transform: translate(0,0); }
}

/* 顶部阅读进度（琥珀细线） */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-deep)); }

/* 自定义光标（仅精确指针 + JS 可用） */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 98; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; background: var(--amber-deep); margin: -3px 0 0 -3px; }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(11,21,36,.55); margin: -17px 0 0 -17px; transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out), border-color .25s, background-color .25s; }
.cursor-ring.on-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--amber); background: rgba(255,138,61,.08); }
.cursor-ring.on-drag { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--amber-deep); background: rgba(255,138,61,.12); }
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on [role="slider"] { cursor: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.mono { font-family: var(--mono); }

/* ---------- 区块头系统：索引 + 细线 + 衬线大标 ---------- */
.sec { position: relative; padding: clamp(54px, 7vw, 92px) 0; }
.sec-tint { background: var(--soft); border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.sec-ghost {
  position: absolute; z-index: 0; top: clamp(8px, 3vw, 36px); right: clamp(-8px, 1vw, 20px);
  font-family: var(--mono); font-weight: 800; line-height: .8;
  font-size: clamp(140px, 22vw, 320px); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11,21,36,.12);
  pointer-events: none; user-select: none;
}
.sec-ghost.flip { right: auto; left: clamp(-8px, 1vw, 20px); }
.sec .wrap { position: relative; z-index: 1; }
.kicker { display: flex; align-items: baseline; gap: 16px; }
.kicker .idx { font-family: var(--mono); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--amber-ink); }
.kicker .kname { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--ink); }
.kicker .rule { flex: 1; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io) .2s; }
.rv.in .kicker .rule { transform: scaleX(1); }
.kicker .rule::after { content: ""; position: absolute; }
.sec-title {
  font-family: var(--serif); font-weight: 900; margin-top: 18px;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.18; letter-spacing: -.01em;
}
.sec-sub { margin-top: 14px; font-size: 15px; color: var(--body); max-width: 560px; }
.mark { background: linear-gradient(transparent 64%, rgba(255,138,61,.5) 64%); padding: 0 .04em; }

/* ---------- 显现系统 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease var(--d,0s), transform .8s var(--ease-out) var(--d,0s); }
.rv.in { opacity: 1; transform: none; }
.rv-wipe { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(14px); transition: opacity .7s ease var(--d,0s), clip-path .9s var(--ease-io) var(--d,0s), transform .9s var(--ease-out) var(--d,0s); }
.rv-wipe.in { opacity: 1; clip-path: inset(0 0 0% 0); transform: none; }

/* ---------- 载入遮罩（逐行） ---------- */
.mask { display: block; overflow: hidden; }
.mask .mask-in { display: block; transform: translateY(0); }
.js .hero .mask .mask-in { transform: translateY(112%); transition: transform 1s var(--ease-io); }
.js .hero.go .m1 .mask-in { transition-delay: .1s; }
.js .hero.go .m2 .mask-in { transition-delay: .24s; }
.js .hero.go .mask .mask-in { transform: translateY(0); }

/* ================= 导航 ================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.pinned { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(11,21,36,.25); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: none; align-items: center; gap: 34px; font-size: 14px; color: var(--body); }
.nav-links a { position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px; background: var(--amber); transition: left .3s var(--ease-out), right .3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-links a.cur { color: var(--ink); font-weight: 600; }
.nav-links a.cur::after { left: 0; right: 0; background: var(--amber); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  padding: 9px 20px; font-size: 13.5px; font-weight: 600;
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
  will-change: transform;
}
.nav-cta:hover { background: var(--amber-deep); box-shadow: 0 10px 24px -10px rgba(240,112,15,.55); }
.nav-cta .ico { transition: transform .25s var(--ease-out); }
.nav-cta:hover .ico { transform: translateX(3px); }
@media (min-width: 960px) { .nav-links { display: flex; } }

/* ================= HERO ================= */
.hero { position: relative; padding-top: 150px; overflow: hidden; }
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(12,143,132,.35) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(70% 62% at 72% 20%, #000 0%, transparent 74%);
  mask-image: radial-gradient(70% 62% at 72% 20%, #000 0%, transparent 74%);
}
.hero-glow {
  position: absolute; right: -180px; top: -220px; width: 640px; height: 640px; border-radius: 50%;
  pointer-events: none; background: radial-gradient(closest-side, rgba(255,138,61,.5) 0%, transparent 70%);
  animation: breath 7s ease-in-out infinite;
}
@keyframes breath { 0%,100% { opacity: .5; } 50% { opacity: .9; } }
.hero-grid { position: relative; display: grid; gap: 52px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }

.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.hero h1 {
  font-family: var(--serif); font-weight: 900; margin-top: 26px;
  font-size: clamp(38px, 5.8vw, 72px); line-height: 1.14; letter-spacing: -.02em;
}
.hero h1 em, .hero h1 .plus { font-style: normal; color: var(--amber-deep); }
.hero h1 .spark {
  display: inline-block; width: .62em; height: .62em; margin: 0 .1em;
  vertical-align: -.04em; fill: var(--amber); filter: drop-shadow(0 2px 10px rgba(255,138,61,.55));
  animation: sparkBreath 3.2s ease-in-out infinite;
}
@keyframes sparkBreath { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.14) rotate(14deg); } }
.hero h1 .thin { font-weight: 600; }
.hero .lead { margin-top: 24px; max-width: 520px; font-size: clamp(13px, 1.15vw, 15px); color: var(--body); }
.dyn-u { position: relative; white-space: nowrap; color: var(--ink); }
.dyn-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-deep) 35%, var(--amber) 70%, var(--amber-deep) 100%);
  background-size: 220% 100%;
  animation: dynFlow 2.6s linear infinite;
}
@keyframes dynFlow { from { background-position: 0% 0; } to { background-position: -220% 0; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; overflow: hidden;
  border-radius: 999px; font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
  padding: 15px 30px; will-change: transform;
  transition: transform .3s var(--ease-out), box-shadow .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(255,138,61,.7); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  border-radius: inherit; transform: translateY(101%); transition: transform .4s var(--ease-io); z-index: 0;
}
.btn-primary span, .btn-primary .ico { position: relative; z-index: 1; transition: color .3s; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: var(--paper); }
.btn-primary:hover span, .btn-primary:hover .ico { color: var(--paper); }
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(11,21,36,.5); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.96) rotate(-1deg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost .arr { transition: transform .3s var(--ease-out); }
.btn-ghost:hover .arr { transform: translateX(3px); }

/* ---- HERO 视觉件：自动揭示展示卡 + 旋转印章 ---- */
.hero-visual { position: relative; }
.js .hero-visual { opacity: 0; transform: translateY(26px); }
.js .hero.go .hero-visual { opacity: 1; transform: none; transition: opacity 1s ease .45s, transform 1s var(--ease-out) .45s; }
.stamp { position: absolute; z-index: 5; top: -40px; right: -14px; width: 112px; height: 112px; pointer-events: none; }
.stamp .spin-g { animation: spin 16s linear infinite; transform-origin: 60px 60px; transform-box: view-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.stamp text { font-family: var(--mono); font-size: 10.2px; letter-spacing: 2.6px; fill: var(--ink); font-weight: 700; }
.stamp .star { fill: var(--amber-deep); }
.stamp-bg { fill: rgba(255,255,255,.92); stroke: var(--line-strong); }
.js .stamp { transform: scale(.5); opacity: 0; }
.js .hero.go .stamp { animation: stampIn .7s var(--ease-io) 1s both; }
@keyframes stampIn { from { transform: scale(.5) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }

/* 展示卡：before 铺底，after 自动从左向右揭示，扫描线跟随，角标自动切换 */
.showcase {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--soft); box-shadow: var(--shadow-soft);
  transform: rotate(-1.2deg);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.showcase:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-a { clip-path: inset(0 100% 0 0); }
.showcase.play .sc-a { animation: scWipe 6.5s linear 2; }
@keyframes scWipe {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; }
  9% { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.7,.05,.3,1); }
  38% { clip-path: inset(0 0 0 0); }
  84% { clip-path: inset(0 0 0 0); opacity: 1; }
  89% { opacity: 0; }
  90% { clip-path: inset(0 100% 0 0); opacity: 0; }
  95%, 100% { clip-path: inset(0 100% 0 0); opacity: 1; }
}
.sc-sweep {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 3px;
  background: linear-gradient(180deg, rgba(240,112,15,0), var(--amber-deep) 18%, var(--amber-deep) 82%, rgba(240,112,15,0));
  box-shadow: 0 0 22px 4px rgba(255,138,61,.55);
  opacity: 0;
}
/* 魔法余晖：扫描过后已处理区的渐变拖尾 */
.sc-sweep::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 3px; width: 52px;
  background: linear-gradient(90deg, transparent, rgba(255,138,61,.34));
}
/* 魔法粉喷洒：不规则大小的琥珀菱形从扫描线向四周散开（变魔术感） */
.sc-sweep .dp {
  position: absolute; left: 50%; top: var(--y, 50%);
  width: var(--s, 8px); height: var(--s, 8px);
  background: var(--c, var(--amber));
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 calc(var(--s, 12px) * 0.9) var(--c, var(--amber)));
  opacity: 0;
  animation: dpBurst var(--dur, 1.4s) ease-out var(--dl, 0s) infinite;
}
@keyframes dpBurst {
  0% { transform: translate(-50%, 0) rotate(45deg) scale(.25); opacity: 0; }
  14% { opacity: 1; }
  100% {
    transform: translate(calc(-50% + var(--dx, -46px)), var(--dy, 30px)) rotate(calc(45deg + var(--dr, 200deg))) scale(.1);
    opacity: 0;
  }
}
.showcase.play .sc-sweep { animation: scSweep 6.5s linear 2; }
@keyframes scSweep {
  0%, 9% { left: 0%; opacity: 0; animation-timing-function: cubic-bezier(.7,.05,.3,1); }
  10% { opacity: 1; animation-timing-function: cubic-bezier(.7,.05,.3,1); }
  38% { left: 100%; opacity: 1; }
  39%, 100% { left: 100%; opacity: 0; }
}
.sc-badge {
  position: absolute; bottom: 14px; z-index: 4;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; font-weight: 700;
  background: rgba(11,21,36,.78); color: #F5F3EE; border-radius: 4px; padding: 5px 10px;
  opacity: 0;
}
.sc-badge.b0 { left: 14px; }
.sc-badge.b1 { right: 14px; }
@keyframes scB0 { 0%, 10% { opacity: 1; } 16%, 93% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes scB1 { 0%, 37% { opacity: 0; } 43%, 84% { opacity: 1; } 89%, 100% { opacity: 0; } }
.showcase.play .sc-badge.b0 { animation: scB0 6.5s linear 2; }
.showcase.play .sc-badge.b1 { animation: scB1 6.5s linear 2; }

/* 案例切换：极简下划线 tab */
.sc-tabs { display: flex; gap: 26px; margin-top: 18px; padding-left: 6px; }
.sc-tab {
  position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted); padding: 6px 2px; transition: color .25s;
}
.sc-tab::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--amber); transition: right .3s var(--ease-out);
}
.sc-tab:hover { color: var(--ink); }
.sc-tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.sc-tab[aria-selected="true"]::after { right: 0; }

/* ---- 琥珀色带 ticker ---- */
.tape-wrap { position: relative; z-index: 2; margin-top: clamp(56px, 7vw, 88px); }
.tape {
  background: var(--amber); overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(240,112,15,.5);
  border-top: 1px solid rgba(11,21,36,.2); border-bottom: 1px solid rgba(11,21,36,.2);
}
.tape-track { display: flex; width: max-content; animation: marq 26s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-copy { display: flex; align-items: center; flex: none; }
.tape-copy span {
  font-family: var(--mono); font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink); padding: 13px 0; white-space: nowrap;
}
.tape-copy .star { color: var(--paper); margin: 0 22px; font-size: 15px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- 数据带 ---- */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats-grid > div { padding: clamp(30px, 4vw, 52px) 10px; text-align: center; position: relative; }
.stats-grid > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stats-grid > div:nth-child(3)::before { display: none; }
@media (min-width: 860px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid > div:nth-child(3)::before { display: block; }
}
.stat-num { font-family: var(--mono); font-weight: 800; font-variant-numeric: tabular-nums; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.03em; transition: color .3s; }
.stats-grid > div:hover .stat-num { color: var(--amber-ink); }
.stat-num .u { color: var(--amber-deep); }
.stat-label { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); }

/* ================= LOGO 工坊 ================= */
.concept-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.4vw, 26px); }
@media (min-width: 1024px) {
  .concept-grid { grid-template-columns: repeat(4, 1fr); }
  .concept-grid > :nth-child(2), .concept-grid > :nth-child(4) { margin-top: 28px; }
  #logo-lab .wrap { padding-bottom: 30px; }
}
.concept { position: relative; aspect-ratio: 2/3; overflow: hidden; border-radius: var(--r-md); background: var(--soft); border: 1px solid var(--line); }
.concept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.concept:hover img { transform: scale(1.05); }
.concept .cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--paper);
  background: rgba(11,21,36,.8); border-radius: 4px; padding: 5px 9px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--ease-out);
}
.concept:hover .cap { opacity: 1; transform: none; }
.concept::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s;
  background: linear-gradient(115deg, transparent 35%, rgba(56,225,212,.18) 50%, transparent 65%);
}
.concept:hover::after { opacity: 1; }

/* ================= 四大工位：索引行 ================= */
.rows { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.srow {
  position: relative; overflow: hidden; display: grid; align-items: center;
  grid-template-columns: 48px 1fr auto; gap: 14px;
  padding: clamp(22px, 3vw, 34px) clamp(8px, 1.5vw, 18px);
  border-bottom: 1px solid var(--line-strong);
}
.srow .ds { grid-column: 2 / -1; }
@media (min-width: 860px) {
  .srow { grid-template-columns: 90px 1.05fr 1.2fr auto; gap: clamp(20px, 3vw, 48px); }
  .srow .ds { grid-column: auto; }
}
.srow::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--amber);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-io);
}
.srow:hover::before, .srow:focus-visible::before { transform: scaleY(1); }
.srow > * { position: relative; z-index: 1; }
.srow .no { position: relative; overflow: hidden; font-family: var(--mono); font-size: clamp(15px, 1.8vw, 19px); font-weight: 800; color: var(--amber-ink); line-height: 1.35; }
.srow .no > span { display: block; transition: transform .45s var(--ease-io); }
.srow .no::after { content: attr(data-n); position: absolute; left: 0; top: 100%; transition: transform .45s var(--ease-io); }
.srow:hover .no > span { transform: translateY(-100%); }
.srow:hover .no::after { transform: translateY(-100%); }
.srow .no { transition: color .3s; }
.srow .nm { font-family: var(--serif); font-weight: 900; font-size: clamp(21px, 2.8vw, 32px); line-height: 1.2; transition: transform .4s var(--ease-out); }
.srow .ds { font-size: 13.5px; color: var(--body); max-width: 46ch; transition: color .3s; }
.srow .go {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease-out);
}
.srow:hover .no, .srow:focus-visible .no { color: var(--paper); }
.srow:hover .nm { transform: translateX(10px); }
.srow:hover .ds { color: rgba(11,21,36,.82); }
.srow:hover .go { border-color: var(--ink); background: var(--ink); color: var(--paper); transform: rotate(45deg); border-radius: 12px; }
.srow .sku { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); transition: color .3s; }
.srow:hover .sku { color: rgba(11,21,36,.65); }

/* ================= 流水线（节点窗口卡片） ================= */
.j-wrap { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.j-belt {
  position: absolute; top: 23px; left: 6.5%; right: 6.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px);
  animation: belt 1.15s linear infinite;
}
@keyframes belt { to { background-position: -18px 0; } }
.j-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; }
.j-node {
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper); margin-bottom: 14px;
  border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 800; color: var(--body);
  position: relative; z-index: 1; transition: border-color .3s, color .3s;
}
.j-node.hot { border-color: var(--amber); color: var(--amber-ink); animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(255,138,61,.4); } 70% { box-shadow: 0 0 0 13px rgba(255,138,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,61,0); } }

.j-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft); overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.j-card:hover, .j-card.hot { border-color: rgba(255,138,61,.5); }
.j-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.j-port {
  position: absolute; top: 50%; margin-top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-strong); z-index: 2;
  transition: border-color .3s, box-shadow .3s;
}
.j-port.l { left: -6px; } .j-port.r { right: -6px; }
.j-card:hover .j-port { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,138,61,.15); }
.j-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--soft); border-bottom: 1px solid var(--line);
}
.j-bar .d { width: 9px; height: 9px; border-radius: 50%; transition: transform .3s var(--ease-out); }
.j-bar .d.r { background: #FF6B5E; } .j-bar .d.y { background: #FFC53D; } .j-bar .d.g { background: #41D77B; }
.j-card:hover .j-bar .d { transform: scale(1.3); }
.j-bar .t { margin-left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.j-bar .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--cyan-ink); font-weight: 700; }
.j-bar .st i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-ink); animation: blink 2s ease-in-out infinite; }
.j-body { padding: 18px 18px 20px; }
.j-body h3 { font-family: var(--serif); font-weight: 900; font-size: 19px; }
.j-body p { margin-top: 8px; font-size: 13px; color: var(--body); }

/* 卡内演示特效区 */
.j-demo {
  position: relative; margin-top: 16px; height: 76px; border-radius: 10px;
  border: 1px dashed var(--line-strong); background: var(--soft); overflow: hidden;
}
.j-demo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(12,143,132,.22) 1px, transparent 1px); background-size: 14px 14px;
}
/* 01 打字机 */
.j-demo-type { display: flex; align-items: center; padding: 0 16px; }
.j-demo-type .tw { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; width: 0; }
.j-col.in .j-demo-type .tw { animation: typeIn 2.2s steps(10, end) .4s forwards; }
@keyframes typeIn { to { width: 10.5em; } }
.j-demo-type .caret { flex: none; width: 7px; height: 15px; margin-left: 4px; background: var(--amber); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
/* 02 拖图扫光 */
.j-demo-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--muted); }
.j-demo-drop span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; }
.j-demo-drop::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 40%, rgba(255,138,61,.18) 50%, transparent 60%);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer { 55%, 100% { transform: translateX(130%); } }
/* 03 生成进度 */
.j-demo-gen { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 16px; }
.j-demo-gen .row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); position: relative; }
.j-demo-gen .row b { color: var(--amber-ink); }
.j-demo-gen .track { position: relative; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.j-demo-gen .fill { position: absolute; inset: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-deep)); }
.j-col.in .j-demo-gen .fill { animation: genFill 2.8s var(--ease-io) infinite; }
@keyframes genFill { 0% { width: 0; } 55% { width: 76%; } 68% { width: 82%; } 88% { width: 100%; } 100% { width: 100%; } }
/* 04 输出点亮 */
.j-demo-out { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.j-demo-out .o { width: 44px; height: 44px; border-radius: 9px; opacity: .22; transform: scale(.9); box-shadow: inset 0 0 0 1.5px rgba(11,21,36,.15); }
.o1 { background: linear-gradient(135deg, #FFC79D, #FF8A3D); }
.o2 { background: linear-gradient(135deg, #9FF4EC, #38E1D4); }
.o3 { background: linear-gradient(135deg, #33465F, #0B1524); }
.j-col.in .j-demo-out .o { animation: outPop 3.6s infinite; }
.j-col.in .j-demo-out .o2 { animation-delay: .4s; }
.j-col.in .j-demo-out .o3 { animation-delay: .8s; }
@keyframes outPop { 0%, 10% { opacity: .22; transform: scale(.9); } 20%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: .22; transform: scale(.9); } }
/* 回灌线（桌面）：从输出卡底部折回生成卡底部 */
@media (min-width: 1024px) {
  .j-grid { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 34px); }
  }
@media (max-width: 1023.5px) {
  .j-belt { display: none; }
  .j-grid { padding-left: 20px; border-left: 2px dashed var(--line-strong); }
  .j-node { position: absolute; left: -45px; top: 0; margin-bottom: 0; }
  .j-port { display: none; }
}

/* ================= 技能河 ================= */
.river { margin-top: clamp(40px, 5vw, 60px); display: flex; flex-direction: column; gap: 13px; }
.lane {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.lane-track { display: flex; width: max-content; gap: 11px; animation: marq var(--dur, 42s) linear infinite; }
.lane.rev .lane-track { animation-direction: reverse; }
.lane:hover .lane-track { animation-play-state: paused; }
.lane-copy { display: flex; gap: 11px; padding-right: 11px; flex: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; color: var(--body); white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--amber); flex: none; transition: background .25s, transform .3s; }
.chip.plat::before { background: var(--cyan); }
.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-3px); }
.chip:hover::before { background: var(--amber); transform: rotate(45deg) scale(1.15); }

/* ================= 小红书封面 ================= */
.g-cols { margin-top: clamp(40px, 5vw, 64px); columns: 2; column-gap: 14px; }
@media (min-width: 860px) { .g-cols { columns: 3; } }
@media (min-width: 1200px) { .g-cols { columns: 4; } }
.g-item { position: relative; overflow: hidden; break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--soft); }
/* 模板封面统一 3:4 竖版比例：图片比例一致，网格对齐 */
.g-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-item .scan {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s;
  background: linear-gradient(115deg, transparent 32%, rgba(56,225,212,.22) 48%, rgba(56,225,212,.06) 56%, transparent 70%);
}
.g-item:hover .scan { opacity: 1; }
.g-item .fig {
  position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--paper); background: rgba(11,21,36,.75); border-radius: 4px; padding: 4px 8px;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease-out);
}
.g-item:hover .fig { opacity: 1; transform: none; }
.g-item .gcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 13px 11px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #F5F3EE;
  background: linear-gradient(180deg, transparent, rgba(11,21,36,.82));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease-out);
}
.g-item:hover .gcap { opacity: 1; transform: none; }

/* ================= CTA ================= */
.cta { position: relative; overflow: hidden; border-top: 1px dashed var(--line-strong); text-align: center; }
.cta-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,138,61,.4) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(58% 62% at 50% 34%, #000 0%, transparent 72%);
  mask-image: radial-gradient(58% 62% at 50% 34%, #000 0%, transparent 72%);
}
.cta-glow {
  position: absolute; left: 50%; top: -80px; width: 820px; height: 460px; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255,138,61,.4) 0%, transparent 70%);
  animation: breath 7s ease-in-out infinite;
}
.cta-in { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(68px, 8.5vw, 112px) clamp(20px, 4vw, 44px); }
.cta-stamp { width: 108px; height: 108px; margin: 0 auto 26px; }
.cta-stamp .spin-g { animation: spin 18s linear infinite; transform-origin: 60px 60px; transform-box: view-box; }
.cta-stamp text { font-family: var(--mono); font-size: 11px; letter-spacing: 2.8px; fill: var(--ink); font-weight: 700; }
.cta-stamp .star { fill: var(--amber-deep); }
.cta-in h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 6vw, 72px); line-height: 1.16; letter-spacing: -.01em; }
.cta-in .sub { margin-top: 18px; font-size: 15px; color: var(--body); }
.cta-in .cta-row { justify-content: center; margin-top: 38px; }
.cta-note { margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); }

/* ================= Footer ================= */
footer { border-top: 1px solid var(--line); overflow: hidden; }
.foot-mark {
  font-family: var(--serif); font-weight: 900; white-space: nowrap; text-align: center;
  font-size: clamp(64px, 12.5vw, 190px); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11,21,36,.22);
  padding: clamp(30px, 5vw, 60px) 0 0; user-select: none;
  transition: color .6s ease;
}
.foot-mark:hover { color: rgba(11,21,36,.06); }
.foot-in {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 20px 30px; font-size: 12px; color: var(--muted);
}
.foot-in img { height: 22px; opacity: .8; }
.foot-mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.foot-note { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: #A9B4C4; }
@media (min-width: 640px) { .foot-in { flex-direction: row; justify-content: space-between; } }

/* ---------- 图标 ---------- */
.ico { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.s14 { width: 14px; height: 14px; } .s16 { width: 16px; height: 16px; } .s18 { width: 18px; height: 18px; } .s20 { width: 20px; height: 20px; }

/* ---------- 减弱动效：全量降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-wipe { opacity: 1; transform: none; clip-path: none; transition: none; }
  .grain, .stamp .spin-g, .cta-stamp .spin-g, .tape-track, .lane-track, .j-belt,
  .j-node.hot, .hero-glow, .cta-glow { animation: none !important; }
  .kicker .rule { transform: scaleX(1); }
  .js .hero .mask .mask-in, .js .hero-visual, .js .stamp { transform: none; opacity: 1; transition: none; }
  .concept img, .g-item img, .srow .nm, .btn, .nav-cta, .srow .no > span, .srow .no::after { transition: none; }
  .sc-a, .sc-sweep, .sc-badge { animation: none !important; }
  .hero h1 .spark { animation: none !important; }
  .dyn-u::after { animation: none !important; }
  .sc-a { clip-path: none; }
  .sc-sweep { display: none; }
  .sc-badge.b0 { opacity: 0; }
  .sc-badge.b1 { opacity: 1; }
  .j-demo-type .tw { width: 10.5em; animation: none; }
  .j-demo-type .caret { animation: none; }
  .j-demo-drop::after { animation: none; opacity: 0; }
  .j-demo-gen .fill { width: 82%; animation: none; }
  .j-demo-out .o { opacity: 1; transform: scale(1); animation: none; }
  .lane-track { overflow-x: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}


/* ================= Pricing 定价页 ================= */
.tiers { margin-top: clamp(44px, 5vw, 68px); display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px 24px; box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.tier:hover { transform: translateY(-6px); border-color: rgba(56,225,212,.7); box-shadow: var(--shadow-lift); }
.tier-hot { background: var(--ink); border-color: rgba(255,138,61,.65); color: var(--paper); box-shadow: 0 26px 52px -22px rgba(11,21,36,.5); }
@media (min-width: 1100px) { .tier-hot { transform: scale(1.03); } .tier-hot:hover { transform: scale(1.03) translateY(-6px); } }
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; font-weight: 700;
  color: var(--ink); background: var(--amber); border-radius: 999px; padding: 5px 13px;
  box-shadow: 0 8px 18px -8px rgba(240,112,15,.6);
}
.tier-name { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; font-weight: 800; color: var(--muted); }
.tier-hot .tier-name { color: rgba(245,243,238,.75); }
.tier-name .spark-s { width: 15px; height: 15px; fill: var(--amber); }
.tier-price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.tier-price .num { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 3.6vw, 44px); line-height: 1; letter-spacing: -.02em; }
.tier-price .per { font-size: 12.5px; color: var(--muted); }
.tier-hot .tier-price .per { color: rgba(245,243,238,.6); }
.tier-credits { margin-top: 15px; padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px dashed var(--line-strong); }
.tier-hot .tier-credits { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.tier-credits .c { font-family: var(--mono); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 22px; letter-spacing: -.02em; color: var(--amber-ink); }
.tier-hot .tier-credits .c { color: var(--amber); }
.tier-credits .cl { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.tier-hot .tier-credits .cl { color: rgba(245,243,238,.55); }
.tier-feat { margin-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--body); }
.tier-hot .tier-feat { color: rgba(245,243,238,.85); }
.tier-feat li { display: flex; gap: 9px; align-items: flex-start; }
.tier-feat svg { flex: none; margin-top: 4px; width: 13px; height: 13px; stroke: var(--cyan-ink); }
.tier-hot .tier-feat svg { stroke: var(--cyan); }
.tier-btn { margin-top: auto; padding-top: 22px; }
.tier-btn .btn { width: 100%; justify-content: center; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 12px 26px -12px rgba(11,21,36,.5); }
.btn-ink:hover { background: var(--amber-deep); transform: translateY(-2px); }
.p-tablewrap { margin-top: clamp(40px, 5vw, 60px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-soft); }
table.p-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 13.5px; }
.p-table th, .p-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.p-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--line-strong); }
.p-table thead th.cur { color: var(--amber-ink); }
.p-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.p-table tbody tr:last-child th, .p-table tbody tr:last-child td { border-bottom: none; }
.p-table td { color: var(--body); }
.p-table td.hot { color: var(--ink); font-weight: 600; background: rgba(255,138,61,.06); }
.p-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.8; }

/* ================= 印章飞行（hero → CTA，scroll 驱动） ================= */
.stamp.stamp-fly {
  position: fixed; top: 0; left: 0; right: auto;
  width: 108px; height: 108px; z-index: 45; opacity: 0;
  pointer-events: none; will-change: transform;
  filter: drop-shadow(0 12px 26px rgba(11,21,36,.28));
}
@media (prefers-reduced-motion: reduce) { .stamp.stamp-fly { display: none; } }
