/* 猪猪发卡首页 v5:暖白底 + 品牌蓝主色,小猪粉/暖黄只做点缀;动效克制,全部尊重 prefers-reduced-motion */
:root {
  --bg: #FAF8F5;
  --bg-2: #F4F1EC;
  --surface: #FFFFFF;
  --line: #ECE7E0;
  --line-2: #E2DCD3;
  --ink: #1D1B2C;
  --ink-2: #4A4759;
  --muted: #8B8698;
  --brand: #3E63DD;
  --brand-d: #3352C2;
  --brand-50: #EEF2FD;
  --brand-100: #DCE4FB;
  --pink: #EE8FA1;
  --pink-50: #FCEFF2;
  --yellow: #F2BE46;
  --yellow-50: #FDF6E2;
  --mint: #2E9E78;
  --mint-50: #E6F5EF;
  --lav: #8576DE;
  --lav-50: #F1EFFC;
  --coral: #E9584B;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(29, 27, 44, .04), 0 2px 8px rgba(29, 27, 44, .04);
  --sh-2: 0 2px 4px rgba(29, 27, 44, .03), 0 14px 32px -10px rgba(29, 27, 44, .12);
  --sh-3: 0 4px 10px rgba(29, 27, 44, .04), 0 28px 60px -16px rgba(29, 27, 44, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --nav-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font: 400 16px/1.7 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand-100); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- 按钮 / 标签 ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 calc(var(--h) * .5);
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 38px; font-size: 14px; }
.btn-lg { --h: 52px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 18px -8px rgba(62, 99, 221, .6); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 26px -10px rgba(62, 99, 221, .65); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset, var(--sh-1); }
.btn-ghost:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #CFC8BD inset, var(--sh-2); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(29, 27, 44, .5); }
.btn-dark:hover { transform: translateY(-1px); background: #2B2940; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill-mint { background: var(--mint-50); color: var(--mint); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: .25; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .35; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- 顶栏 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.is-stuck { background: rgba(250, 248, 245, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; width: min(1200px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .02em; flex: none; }
.brand img { width: 36px; height: 36px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 6px; margin-right: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 15px; color: var(--ink-2); border-radius: 10px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-on::after { transform: scaleX(1); }
.nav-links a.is-on { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: 10px; }
.nav-order { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 15px; color: var(--ink-2); border-radius: 999px; transition: background-color .2s, color .2s; }
.nav-order:hover { background: rgba(29, 27, 44, .05); color: var(--ink); }
.nav-order svg, .dock-order svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 12px; position: relative; }
.nav-burger i { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-burger i:first-child { top: 15px; }
.nav-burger i:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }

.sheet { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: rgba(29, 27, 44, .18); opacity: 0; transition: opacity .3s; }
.sheet.is-open { opacity: 1; }
.sheet-panel { background: var(--bg); padding: 8px 24px 24px; border-radius: 0 0 24px 24px; box-shadow: var(--sh-3); transform: translateY(-12px); transition: transform .35s var(--ease); }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-panel > a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.sheet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.sheet-btns .btn { --h: 48px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; right: 4%; top: 2%; background: #DFE6FB; }
.b2 { width: 420px; height: 420px; right: 26%; top: 34%; background: #FBE3E8; animation-duration: 32s; animation-delay: -8s; }
.b3 { width: 300px; height: 300px; left: -4%; top: 8%; background: #FBF0D4; animation-duration: 38s; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
.grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(29, 27, 44, .07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); }

.hero-in { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); font-size: 14px; color: var(--ink-2); }
.eyebrow .dot { color: var(--mint); }
.hero-title { margin: 24px 0 22px; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { position: relative; font-style: normal; color: var(--brand); white-space: nowrap; }
.swash { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.swash path { fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round; opacity: .75; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lead { max-width: 33em; font-size: 17px; color: var(--ink-2); line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-buyer { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; font-size: 14px; color: var(--muted); border-bottom: 1px dashed transparent; transition: color .2s, border-color .2s; }
.hero-buyer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.hero-buyer:hover { color: var(--brand); border-color: currentColor; }
.hero-buyer:hover svg { transform: translateX(2px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 进场动画:首屏文字逐行上浮 */
.js .load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + 120ms); }
.js .hero-title .line > .load { transform: translateY(105%); opacity: 1; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 演示订单 */
.hero-art { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.demo { position: relative; width: min(410px, 100%); margin-top: 110px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.demo-pig { position: absolute; z-index: 1; width: 230px; height: auto; right: -6px; top: -128px; animation: bob 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1.2deg); } }
.demo-card { position: relative; z-index: 2; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-3); }
.demo-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.demo-head img { width: 40px; height: 40px; border-radius: 12px; background: var(--pink-50); padding: 3px; }
.demo-head div { display: grid; line-height: 1.35; margin-right: auto; }
.demo-head b { font-size: 15px; }
.demo-head div span { font-size: 12px; color: var(--muted); }
.demo-item { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.demo-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; font-weight: 800; font-size: 18px; color: var(--brand); background: var(--brand-50); transition: background-color .4s, color .4s; }
.demo-ico[data-tone="pink"] { color: #D86A80; background: var(--pink-50); }
.demo-ico[data-tone="yellow"] { color: #B9851A; background: var(--yellow-50); }
.demo-ico[data-tone="lav"] { color: var(--lav); background: var(--lav-50); }
.demo-meta { display: grid; margin-right: auto; line-height: 1.4; min-width: 0; }
.demo-meta b { font-size: 16px; }
.demo-meta span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.demo-price { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

.demo-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 2px 0 18px; font-size: 12px; color: var(--muted); }
.demo-steps::before, .demo-steps::after { content: ""; position: absolute; top: 7px; left: 16.66%; right: 16.66%; height: 2px; border-radius: 2px; background: var(--line); }
.demo-steps::after { background: var(--brand); right: auto; width: calc(66.66% * var(--p, 0)); transition: width .7s var(--ease); }
.demo-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; transition: color .4s; }
.demo-steps i { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--line-2) inset; transition: box-shadow .4s, background-color .4s, transform .4s var(--ease); }
.demo-steps li.is-on { color: var(--ink); font-weight: 600; }
.demo-steps li.is-on i { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); transform: scale(.85); }
.demo-code { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .5s, box-shadow .5s; }
.demo-code.is-sent { background: #F6FAF8; box-shadow: 0 0 0 1px #CFE9DE inset; }
.demo-code-label { flex: none; font-size: 12px; color: var(--muted); width: 4.5em; }
.demo-code.is-sent .demo-code-label { color: var(--mint); font-weight: 600; }
.demo-code code { flex: 1; min-width: 0; font-size: 14px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-copy { flex: none; font-size: 12px; font-weight: 600; color: var(--brand); padding: 4px 10px; border-radius: 999px; background: var(--brand-50); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.demo-copy.is-done { background: var(--mint); color: #fff; transform: scale(1.05); }

.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-2); line-height: 1.35; animation: float 6s ease-in-out infinite; transition: opacity .45s var(--ease), translate .45s var(--ease), scale .45s var(--ease); }
.chip b { display: block; font-size: 13px; }
.chip span { font-size: 12px; color: var(--muted); }
.chip-a { left: -48px; top: -40px; }
.chip-b { right: -36px; bottom: -34px; animation-delay: -3s; }
.chip[data-chip] { opacity: 0; translate: 0 10px; scale: .9; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.34, 1.56, .64, 1), scale .6s cubic-bezier(.34, 1.56, .64, 1); }
.chip[data-chip].is-on { opacity: 1; translate: 0 0; scale: 1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ci { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; }
.ci svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ci-mint { color: var(--mint); background: var(--mint-50); }
.ci-blue { color: var(--brand); background: var(--brand-50); }
.ci-pink { color: #D86A80; background: var(--pink-50); }

/* ---------- 可售品类 ---------- */
.goods { padding: 16px 0 72px; text-align: center; }
.goods-title { font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.marquee { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee-row.rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tag-g { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tag-g::before { content: ""; width: 10px; height: 10px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
.c1 { --c: var(--pink); }
.c2 { --c: var(--brand); }
.c3 { --c: var(--yellow); }
.c4 { --c: var(--mint); }
.c5 { --c: var(--lav); }
.goods-note { margin-top: 26px; font-size: 13px; color: var(--muted); }
.goods-note a, .sec-head a, .qa-body a { color: var(--brand); border-bottom: 1px solid var(--brand-100); transition: border-color .2s; }
.goods-note a:hover, .sec-head a:hover, .qa-body a:hover { border-color: var(--brand); }

/* ---------- 通用区块标题 ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.sec-head.sec-left { text-align: left; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.kicker::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head h2, .buyer h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -.015em; }
.sec-head > p:last-child { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* 滚动出现 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 发货流程 ---------- */
.flow { padding: 96px 0 72px; background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.flow-stage { position: sticky; top: calc(var(--nav-h) + 40px); height: min(640px, calc(100vh - var(--nav-h) - 80px)); display: grid; place-items: center; }
.phone { position: relative; width: 300px; height: 600px; max-height: 100%; aspect-ratio: 1 / 2; border-radius: 46px; background: var(--surface); box-shadow: 0 0 0 10px var(--ink), 0 0 0 11px #3A3850, var(--sh-3); overflow: hidden; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 24px; font-size: 12px; font-weight: 600; }
.phone-bar i { width: 86px; height: 24px; border-radius: 999px; background: var(--ink); }
.phone-bar span:last-child { letter-spacing: -.2em; font-size: 8px; }
.screen { position: absolute; inset: 44px 0 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(26px) scale(.96); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.screen.is-out { transform: translateY(-20px) scale(.98); filter: blur(4px); }
.screen.is-on { opacity: 1; transform: none; filter: none; }
.screen.is-on > * { animation: scr-in .7s var(--ease) both; }
.screen.is-on > :nth-child(2) { animation-delay: .06s; }
.screen.is-on > :nth-child(3) { animation-delay: .12s; }
.screen.is-on > :nth-child(4) { animation-delay: .18s; }
.screen.is-on > :nth-child(5) { animation-delay: .24s; }
@keyframes scr-in { from { opacity: 0; translate: 0 10px; } }
.s-title { font-size: 18px; font-weight: 800; margin: 6px 0 4px; }
.s-field { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }
.s-field span { font-size: 11px; color: var(--muted); }
.s-field b { font-size: 14px; }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-area code { font-size: 11px; line-height: 1.8; color: var(--ink-2); }
.s-btn { margin-top: auto; margin-bottom: 18px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }
.s-btn-soft { margin-top: 0; background: var(--brand-50); color: var(--brand); }
.s-btn-end { margin-top: auto; }
.flow-caption { display: none; }
.s-goods { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; box-shadow: 0 0 0 1.5px var(--brand) inset; background: var(--brand-50); }
.s-goods .demo-ico { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; background: #fff; }
.s-goods div { display: grid; margin-right: auto; line-height: 1.35; }
.s-goods b { font-size: 13px; }
.s-goods div span { font-size: 11px; color: var(--mint); }
.s-price { font-size: 15px; }
.s-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-pay span { height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 13px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }
.s-pay .on { box-shadow: 0 0 0 1.5px var(--brand) inset; color: var(--brand); font-weight: 600; background: #fff; }
.s-done { display: grid; justify-items: center; gap: 4px; padding: 26px 0 12px; }
.s-done i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint-50); color: var(--mint); margin-bottom: 8px; }
.s-done svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.s-done b { font-size: 20px; }
.s-done span { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.s-card { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--yellow-50); box-shadow: 0 0 0 1px #F3E3B4 inset; }
.s-card span { font-size: 11px; color: #B9851A; }
.s-card code { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.s-tip { font-size: 11px; color: var(--muted); text-align: center; }
.s-search { display: flex; align-items: center; height: 44px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13px; }
.s-search span { margin-right: auto; }
.s-search i { font-style: normal; height: 32px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }
.s-order { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); }
.s-order div { display: grid; line-height: 1.4; }
.s-order b { font-size: 13px; }
.s-order div span { font-size: 11px; color: var(--muted); }

.flow-steps { display: grid; }
.flow-step { display: flex; gap: 20px; min-height: 46vh; padding: 28px 0; align-items: center; }
.flow-step > div { opacity: .38; transition: opacity .5s var(--ease); }
.flow-step.is-on > div { opacity: 1; }
.flow-step:first-child { min-height: 34vh; }
.flow-step:last-child { min-height: 40vh; }
.flow-step .num { flex: none; font-family: var(--mono); font-size: 14px; font-weight: 600; color: #A9B6EE; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .4s, color .4s, box-shadow .4s; }
.flow-step.is-on .num { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(62, 99, 221, .7); }
.flow-step h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.flow-step p { font-size: 16px; color: var(--ink-2); max-width: 24em; }
.flow-step .bar { display: none; }

/* ---------- 平台能力 ---------- */
.features { padding: 120px 0 112px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cell { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 28px; min-height: 320px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 99, 221, .07), transparent 60%); }
.cell { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.cell:hover { --ty: -4px; box-shadow: 0 0 0 1px var(--line-2) inset, var(--sh-3); }
.cell:hover::before { opacity: 1; }
.cell-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 40px; }
.cell-text h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.cell-text p { font-size: 15px; color: var(--ink-2); }
.cell-wide .cell-text { flex: 0 0 38%; }
.viz { position: relative; flex: 1; min-height: 150px; display: grid; place-items: center; border-radius: var(--r); background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.viz * { animation-play-state: paused !important; }
.cell.is-in .viz * { animation-play-state: running !important; }

.viz-deliver { align-self: stretch; height: 220px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); background: none; box-shadow: none; }
.keys { display: grid; gap: 10px; width: min(380px, 100%); animation: conveyor 16s linear infinite; }
.key { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); }
.key code { font-size: 13px; color: var(--ink-2); letter-spacing: .03em; }
@keyframes conveyor { to { transform: translateY(-50%); } }

.viz-search { align-content: center; gap: 14px; padding: 20px; }
.sbox { display: flex; align-items: center; width: 100%; height: 42px; padding: 0 5px 0 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 13px; font-family: var(--mono); }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: type 6s steps(12) infinite; }
.caret { width: 1.5px; height: 16px; background: var(--brand); margin-left: 2px; margin-right: auto; animation: blink 1s step-end infinite; }
.sbox b { height: 32px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-family: var(--font); }
@keyframes type { 0%, 8% { width: 0; } 40%, 92% { width: 12ch; } 100% { width: 0; } }
@keyframes blink { 50% { opacity: 0; } }
.sres { display: grid; gap: 8px; width: 100%; }
.sres span { height: 34px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transform-origin: left; animation: grow 6s var(--ease) infinite; }
.sres span:last-child { width: 72%; animation-delay: .15s; }
@keyframes grow { 0%, 42% { opacity: 0; transform: scaleX(.6); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.viz-shield svg { width: 112px; height: 112px; }
.viz-shield .sh { fill: var(--brand-50); stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; }
.viz-shield .tick { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick 4s var(--ease) infinite; }
@keyframes tick { 0%, 30% { stroke-dashoffset: 60; } 50%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(62, 99, 221, .1)); border-bottom: 1.5px solid rgba(62, 99, 221, .35); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-100%); } 45%, 100% { transform: translateY(250%); } }

.viz-device { grid-auto-flow: column; align-items: end; gap: 14px; padding-top: 24px; }
.laptop { width: 150px; height: 96px; border-radius: 10px 10px 4px 4px; background: var(--surface); box-shadow: 0 0 0 2px var(--ink-2) inset; padding: 14px; display: grid; gap: 7px; align-content: start; position: relative; }
.laptop::after { content: ""; position: absolute; left: -14px; right: -14px; bottom: -8px; height: 8px; border-radius: 0 0 8px 8px; background: var(--ink-2); }
.mobile { width: 50px; height: 90px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 2px var(--ink-2) inset; padding: 14px 9px; display: grid; gap: 7px; align-content: start; margin-bottom: -8px; }
.laptop i, .mobile i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.laptop i:nth-child(2) { width: 70%; }
.laptop i:nth-child(3) { width: 45%; background: var(--brand-100); }
.mobile i:nth-child(2) { width: 60%; background: var(--pink-50); }
.laptop i::after, .mobile i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); transform: translateX(-100%); animation: shimmer 2.8s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

.viz-chat { align-content: center; gap: 10px; padding: 18px; justify-items: stretch; }
.bub { max-width: 80%; padding: 9px 14px; border-radius: 14px; font-size: 13px; animation: bub 6s var(--ease) infinite; }
.bub.l { justify-self: start; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; border-bottom-left-radius: 4px; }
.bub.r { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; animation-delay: .9s; }
@keyframes bub { 0%, 5% { opacity: 0; transform: translateY(8px); } 15%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* ---------- 买家侧 ---------- */
.buyer { padding: 40px 0 120px; }
.buyer-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px; border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-2); }
.ticks { display: grid; gap: 20px; margin: 30px 0 36px; }
.ticks li { position: relative; padding-left: 36px; display: grid; gap: 2px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 8px; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E9E78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17l9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { font-size: 17px; }
.ticks span { font-size: 15px; color: var(--ink-2); }
.buyer-art { display: grid; place-items: center; }
.ticket { position: relative; width: min(380px, 100%); padding: 26px 26px 20px; border-radius: 22px; background: linear-gradient(180deg, #fff, #FBFAF8); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-3); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.ticket:hover { transform: rotate(0) translateY(-4px); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; }
.ticket-no { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ticket-name { display: block; font-size: 20px; margin: 16px 0 14px; }
.ticket-code { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--yellow-50); box-shadow: 0 0 0 1px #F3E3B4 inset; }
.ticket-code code { font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.ticket-code span { font-size: 12px; font-weight: 600; color: #B9851A; }
.ticket-rows { display: grid; gap: 8px; margin: 18px 0 20px; font-size: 14px; }
.ticket-rows div { display: flex; justify-content: space-between; }
.ticket-rows span { color: var(--muted); }
.ticket-cut { display: block; height: 0; border-top: 2px dashed var(--line-2); margin: 0 -26px; position: relative; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.ticket-cut::before { left: -11px; clip-path: inset(0 0 0 50%); }
.ticket-cut::after { right: -11px; clip-path: inset(0 50% 0 0); }
.ticket-foot { padding-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 常见问题 ---------- */
.faq { padding: 40px 0 120px; }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa { display: grid; gap: 12px; }
.qa details { border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .3s, background-color .3s; }
.qa details[open] { box-shadow: 0 0 0 1px var(--line-2) inset, var(--sh-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; border-radius: var(--r); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); transition: background-color .3s, transform .4s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i { background: var(--brand-50); transform: rotate(180deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa details[open] summary i::before, .qa details[open] summary i::after { background: var(--brand); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- 收尾 ---------- */
.closing { padding: 120px 0 112px; }
.closing-card { position: relative; text-align: center; padding: 120px 32px 72px; border-radius: var(--r-xl); background:
  radial-gradient(600px 300px at 15% 0%, rgba(238, 143, 161, .16), transparent 70%),
  radial-gradient(600px 300px at 90% 100%, rgba(62, 99, 221, .14), transparent 70%),
  radial-gradient(500px 260px at 70% 10%, rgba(242, 190, 70, .14), transparent 70%),
  var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-2); }
.closing-pig { position: absolute; left: 50%; top: -150px; width: 270px; height: auto; translate: -50% 0; animation: bob 5s ease-in-out infinite; }
.closing-card h2 { font-size: clamp(28px, 3.8vw, 48px); font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.closing-card p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.closing-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { margin-top: 10px; color: var(--muted); }
.foot-cols { display: flex; gap: 72px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols b { color: var(--ink); margin-bottom: 4px; }
.foot-cols a { transition: color .2s; }
.foot-cols a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- 手机底部操作条 ---------- */
.dock { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-act { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-art { margin-top: 20px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
  .buyer-in { padding: 48px; gap: 40px; }
  .faq-in { grid-template-columns: 1fr; gap: 36px; }
  .faq .sec-head { position: static; text-align: center; }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav-login, .nav-act .btn-primary { display: none; }
  .nav-burger { display: block; }
  .nav-order { background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 72px; }
  .hero-lead { font-size: 16px; }
  .hero-points { gap: 8px 14px; }
  .chip-a { left: -8px; top: -44px; }
  .chip-b { right: -8px; bottom: -36px; }

  /* 发货流程:手机改为 顶部步骤条 + 手机画面 + 说明,点选或自动轮播 */
  .flow { padding: 80px 0 56px; }
  .flow-grid { display: flex; flex-direction: column; gap: 20px; }
  .flow-steps { order: -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-1); }
  .flow-step { min-height: 0 !important; flex-direction: column; align-items: center; gap: 2px; padding: 9px 2px 11px; border-radius: 14px; text-align: center; opacity: 1; cursor: pointer; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: background-color .35s; }
  .flow-step.is-on { background: var(--brand-50); }
  .flow-step .num, .flow-step.is-on .num { width: auto; height: auto; background: none; box-shadow: none; font-size: 11px; color: var(--muted); }
  .flow-step.is-on .num { color: var(--brand); }
  .flow-step h3 { font-size: 14px; margin: 0; white-space: nowrap; }
  .flow-step p { display: none; }
  .flow-step > div { opacity: 1; }
  .flow-step .bar { display: block; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); transform-origin: left; transform: scaleX(0); opacity: .6; }
  .flow-step.is-on .bar { animation: prog var(--dur, 3.6s) linear forwards; }
  @keyframes prog { to { transform: scaleX(1); } }
  .flow-stage { position: relative; top: 0; height: auto; }
  .phone { width: 236px; height: 472px; border-radius: 40px; box-shadow: 0 0 0 8px var(--ink), 0 0 0 9px #3A3850, var(--sh-3); }
  .flow-caption { display: block; min-height: 3.6em; margin: 4px auto 0; max-width: 22em; text-align: center; font-size: 15px; color: var(--ink-2); }

  .features { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .cell-wide { grid-column: auto; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .cell { min-height: 0; padding: 22px; }
  .cell-wide .viz-deliver { height: 180px; }
  .buyer { padding: 8px 0 72px; }
  .buyer-in { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; }
  .faq { padding: 8px 0 72px; }
  .qa summary { padding: 18px 20px; font-size: 16px; }
  .qa-body p { padding: 0 20px 20px; }
  .closing { padding: 120px 0 88px; }
  .closing-card { padding: 96px 22px 48px; }
  .closing-pig { width: 220px; top: -124px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot-cols { gap: 48px; }

  .dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 0 0 1px var(--line) inset, var(--sh-3); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .dock-order { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
  .dock .btn { flex: 1.3; --h: 44px; }
}

@media (max-width: 560px) {
  .wrap, .nav-in { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .hero-title { font-size: clamp(36px, 11vw, 46px); margin: 20px 0 16px; }
  .hero-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { padding: 0 12px; }
  .hero-points { display: none; }
  .hero-buyer { margin-top: 16px; }
  .demo { margin-top: 96px; }
  .demo-pig { width: 190px; top: -106px; }
  .demo-card { padding: 18px; }
  .chip { padding: 8px 12px 8px 8px; border-radius: 14px; }
  .chip b { font-size: 12px; }
  .chip span { font-size: 11px; }
  .ci { width: 28px; height: 28px; }
  .chip-b { right: -4px; }
  .goods { padding-bottom: 80px; }
  .tag-g { height: 40px; font-size: 14px; padding: 0 18px 0 14px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head > p:last-child { font-size: 15px; }
  .foot-in { flex-direction: column; }
}

@media (max-width: 360px) {
  .nav-order span { display: none; }
}



/* ================= 动效升级(v5.1) ================= */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* 首屏标题:逐字由虚到实浮现 */
.hero-title .ch { display: inline-block; opacity: 0; translate: 0 .55em; filter: blur(10px); animation: ch-in .95s var(--ease) forwards; animation-delay: calc(var(--c) * 42ms + 160ms); }
@keyframes ch-in { to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* 首屏氛围:缓慢旋转的极光 + 跟随指针的柔光 + 漂浮小图标 */
.aurora { position: absolute; right: -6%; top: -10%; width: 70vw; max-width: 980px; aspect-ratio: 1; border-radius: 50%; opacity: .5; filter: blur(80px);
  background: conic-gradient(from 0deg, #DCE4FB, #FBE3E8, #FBF0D4, #E6F5EF, #DCE4FB); animation: aurora 48s linear infinite; }
@keyframes aurora { to { rotate: 360deg; } }
.hero-glow { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(62, 99, 221, .12), rgba(238, 143, 161, .06) 45%, transparent 70%); transition: opacity .6s; will-change: translate; }
.hero.is-hover .hero-glow { opacity: 1; }
.tokens { position: absolute; inset: 0; }
.tk { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; font-style: normal; font-weight: 800; font-size: 18px;
  background: rgba(255, 255, 255, .82); box-shadow: 0 0 0 1px rgba(29, 27, 44, .05) inset, 0 12px 26px -14px rgba(29, 27, 44, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  rotate: var(--r); animation: tk-float 7s ease-in-out infinite; animation-delay: calc(var(--z) * -9s); will-change: translate; }
.tk-sm { width: 38px; height: 38px; border-radius: 12px; font-size: 14px; }
.t-blue { color: var(--brand); } .t-pink { color: #D86A80; } .t-yellow { color: #B9851A; } .t-lav { color: var(--lav); } .t-mint { color: var(--mint); }
@keyframes tk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.js .tk { opacity: 0; scale: .6; transition: opacity .8s var(--ease), scale .9s cubic-bezier(.34, 1.56, .64, 1); }
.js .hero.is-ready .tk { opacity: 1; scale: 1; }
.js .hero.is-ready .tk:nth-child(2) { transition-delay: .08s; } .js .hero.is-ready .tk:nth-child(3) { transition-delay: .16s; }
.js .hero.is-ready .tk:nth-child(4) { transition-delay: .24s; } .js .hero.is-ready .tk:nth-child(5) { transition-delay: .32s; } .js .hero.is-ready .tk:nth-child(6) { transition-delay: .4s; }

/* 演示订单:进度条带彗尾光、步骤点亮时扩散一圈、发货时卡密框扫过一道光、小猪开心跳一下 */
.demo-steps::after { background: linear-gradient(90deg, rgba(62, 99, 221, .25), var(--brand)); box-shadow: 0 0 12px rgba(62, 99, 221, .45); }
.demo-steps i { position: relative; }
.demo-steps li.is-on i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ring-out .9s var(--ease); }
@keyframes ring-out { from { opacity: .7; scale: .6; } to { opacity: 0; scale: 1.6; } }
.demo-code { position: relative; overflow: hidden; }
.demo-code.is-sent::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(46, 158, 120, .2) 50%, transparent 70%); animation: code-sweep 1.1s var(--ease) both; }
@keyframes code-sweep { from { translate: -100% 0; } to { translate: 100% 0; } }
.demo-pig.hop { animation: bob 5s ease-in-out infinite, pig-hop .7s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pig-hop { 0%, 100% { translate: 0 0; } 40% { translate: 0 -14px; } }
.closing-card:hover .closing-pig { animation: bob 5s ease-in-out infinite, wiggle .9s var(--ease); }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 50% { rotate: 5deg; } 75% { rotate: -2deg; } }

/* 区块标题:由虚到实 */
.js .sec-head.reveal, .js .buyer-copy.reveal { filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .sec-head.reveal.is-in, .js .buyer-copy.reveal.is-in { filter: none; }

/* 发货流程:桌面端左侧滚动进度线 */
.flow-steps { position: relative; }
.flow-line { position: absolute; left: 21px; top: var(--l-top, 0); height: var(--l-h, 0); width: 2px; border-radius: 2px; background: var(--line-2); list-style: none; pointer-events: none; }
.flow-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #8FA6EE, var(--brand)); transform-origin: 50% 0; transform: scaleY(var(--fp, 0)); box-shadow: 0 0 10px rgba(62, 99, 221, .35); }
.flow-step { position: relative; z-index: 1; }
.flow-step .num { transition: background-color .4s, color .4s, box-shadow .4s, scale .5s cubic-bezier(.34, 1.56, .64, 1); }
.flow-step.is-on .num { scale: 1.08; }

/* 品类跑马灯由脚本驱动(随滚动速度加速,悬停减速) */
.marquee.is-js .marquee-track { animation: none; }
.tag-g { transition: translate .35s var(--ease), box-shadow .35s var(--ease), color .2s; }
.tag-g:hover { translate: 0 -3px; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset, var(--sh-2); }

/* 回到顶部:手机端已有底部操作条,不再显示 */
@media (max-width: 860px) {
  .fx-top { display: none; }
  .tokens, .hero-glow { display: none; }
  .flow-line { display: none; }
  .flow-step.is-on .num { scale: 1; }
  .aurora { width: 120vw; right: -40%; top: 20%; opacity: .4; }
}
/* 系统开启"减少动画"时:保留淡入淡出、颜色变化、涟漪与演示订单,去掉位移、视差、旋转与持续漂浮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes rise { from { opacity: 0; } to { opacity: 1; transform: none; } }
  @keyframes ch-in { to { opacity: 1; filter: blur(0); } }
  @keyframes scr-in { from { opacity: 0; } }
  .js .reveal { transform: none; }
  .js .load { transform: none; }
  .hero-title .ch { translate: none; }
  .blob, .aurora, .tk, .demo-pig, .closing-pig, .chip, .dot::after, .keys, .scan { animation: none !important; }
  .screen, .screen.is-out, .cell, .demo, .ticket { transform: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; }
  .chip[data-chip] { translate: none; scale: 1; }
}
