/* 商序官网 · 红墨风格
   取向：大字排印 + 红色品牌 + 叠层产品界面 + 便当格 + 克制的动效。
   无外部依赖，字体用系统字体，国内访问稳定。 */
:root {
  --red: #d51f36;
  --red-2: #bb152b;
  --red-3: #8e0f20;
  --rose: #fff0f2;
  --rose-2: #ffe1e5;
  --ink: #172033;
  --ink-deep: #0c1220;
  --ink-2: #445066;
  --muted: #667085;
  --line: #e7eaf0;
  --line-2: #d9dee7;
  --bg: #fafafc;
  --surface: #ffffff;
  --ok: #187e53;
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1180px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 10px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  will-change: transform;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -8px rgba(213, 31, 54, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-red:hover { background: var(--red-2); }
.btn-red:hover::after { transform: translateX(120%); }
.btn-line { background: rgba(255, 255, 255, .7); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn-white { background: #fff; color: var(--red-2); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { background: var(--rose); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-xl { height: 60px; padding: 0 34px; font-size: 17px; }
.icon.fill { fill: currentColor; stroke: none; }
.btn .icon.fill { width: 17px; height: 17px; }
.btn:hover .icon.fill { transform: none; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #f2f4f8; color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.red { background: var(--rose); color: var(--red-2); border-color: var(--rose-2); }
.chip.ok { background: #e8f6ef; color: var(--ok); border-color: #cfeadd; }
.chip.plain { background: #fff; color: var(--ink-2); border-color: var(--line-2); }

/* ---------- 悬浮胶囊导航 ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(1060px, calc(100% - 24px)); }
.nav-in {
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .74); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(23, 32, 51, .08); box-shadow: 0 1px 2px rgba(23, 32, 51, .04), 0 12px 32px -12px rgba(23, 32, 51, .16);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled .nav-in { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(23, 32, 51, .06), 0 18px 40px -14px rgba(23, 32, 51, .24); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 20px; letter-spacing: .02em; }
.logo img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(213, 31, 54, .28)); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: #f2f4f8; color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.only-mobile { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #f2f4f8; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-links { position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; margin: 0; padding: 10px; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 48px -16px rgba(23, 32, 51, .3); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .only-mobile { display: block; }
  .nav-cta .btn-line { display: none; }
  .nav-in { padding-left: 14px; }
  .nav-cta { margin-left: auto; }
}
@media (min-width: 861px) { .nav-cta { margin-left: 0; } }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 128px 0 0; text-align: center; isolation: isolate; }
.aurora { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: 8%; top: -140px; background: radial-gradient(circle, #ff8da0, transparent 68%); }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: 6%; top: -80px; background: radial-gradient(circle, #ffc2a8, transparent 68%); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 640px; height: 420px; left: 30%; top: 120px; background: radial-gradient(circle, #ffd0d8, transparent 70%); animation-delay: -11s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.dotgrid { position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(23, 32, 51, .16) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(60% 70% at 50% 18%, #000, transparent 78%); -webkit-mask-image: radial-gradient(60% 70% at 50% 18%, #000, transparent 78%); }

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 6px 16px -8px rgba(23, 32, 51, .2); transition: border-color .2s, transform .25s var(--ease); }
.badge:hover { border-color: var(--red); transform: translateY(-1px); }
.badge b { background: var(--red); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.badge .icon { width: 16px; height: 16px; color: var(--red); }

.hero h1 { margin: 26px auto 0; font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 900; max-width: 14em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .12em; background: var(--red); border-radius: 99px; opacity: .18; transform-origin: left; transform: scaleX(0); animation: grow 1s .9s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.hero .sub { margin: 22px auto 0; max-width: 34em; color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.28rem); opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero .hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero .proof { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14.5px; color: var(--muted); opacity: 0; animation: fade .9s .75s var(--ease) forwards; }
.hero .proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero .proof .icon { width: 17px; height: 17px; color: var(--red); }

/* 叠层产品舞台 */
.stage { position: relative; margin: 52px auto 0; max-width: 1040px; height: 540px; perspective: 1400px; opacity: 0; animation: fade 1.1s .8s var(--ease) forwards; }
.win { position: absolute; left: 50%; top: 0; width: min(700px, 100%); transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(213, 31, 54, .2), 0 24px 48px -24px rgba(23, 32, 51, .28); text-align: left; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e6ec; }
.dots i:first-child { background: #ff6b7b; }
.win-title { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.win-tag { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px dashed var(--line-2); padding: 2px 9px; border-radius: 99px; }
.win-body { display: grid; grid-template-columns: 1fr; padding: 26px 46px; gap: 14px; min-height: 410px; align-content: start; background: linear-gradient(#fff, #fffafa); }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.65; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.hide { opacity: 0; transform: translateY(10px) scale(.98); }
.msg.buyer { justify-self: start; background: #f2f4f8; border-bottom-left-radius: 6px; }
.msg.ai { justify-self: end; background: var(--red); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 12px 24px -12px rgba(213, 31, 54, .6); }
.msg small { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 12.5px; font-weight: 600; opacity: .92; }
.typing { justify-self: end; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--rose); border-radius: 18px; border-bottom-right-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 48px -18px rgba(23, 32, 51, .3); text-align: left; transition: transform .2s ease-out; animation: bob 7s ease-in-out infinite; }
.float h4 { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); font-weight: 800; margin-bottom: 10px; font-family: var(--mono); text-transform: uppercase; }
.float.f1 { left: -14px; top: 64px; width: 224px; --r: -4deg; transform: rotate(var(--r)); }
.float.f2 { right: -14px; top: 140px; width: 218px; --r: 3deg; transform: rotate(var(--r)); animation-delay: -2.4s; }
.float.f3 { left: 40px; bottom: 6px; width: 252px; --r: 2deg; transform: rotate(var(--r)); animation-delay: -4.6s; }
.float.f4 { right: 24px; bottom: 0; --r: -3deg; transform: rotate(var(--r)); padding: 12px 16px; animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 12px; background: #f2f4f8; border: 1px solid var(--line); }
.seg span { text-align: center; padding: 6px 0; font-size: 13px; font-weight: 700; color: var(--muted); border-radius: 9px; }
.seg span.on { background: #fff; color: var(--red-2); box-shadow: 0 2px 8px rgba(23, 32, 51, .1); }
.src { display: grid; gap: 4px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.src span { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.thumbs { display: flex; gap: 8px; margin-top: 4px; }
.thumbs span { padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; }
.thumbs span.on { background: var(--red); border-color: var(--red); color: #fff; }
.learned { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sent { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--ok); }
.sent .icon { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .stage { height: auto; padding-bottom: 8px; }
  .win { position: relative; left: auto; transform: none; width: 100%; }
  .stage .float, .stage .float.f1, .stage .float.f2, .stage .float.f3, .stage .float.f4 { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; width: auto !important; transform: none !important; animation: none; margin-top: 0; display: block; }
  .stage-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .stage-floats .float { margin: 0; }
}
@media (max-width: 560px) { .stage-floats { grid-template-columns: 1fr; } .msg { max-width: 92%; } }
.stage-floats { display: contents; }
@media (max-width: 980px) { .stage-floats { display: grid; } }

/* ---------- 跑马灯 ---------- */
.marquee-wrap { margin-top: 90px; }
.marquee-title { text-align: center; color: var(--muted); }
.marquee { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: scroll 46s linear infinite; padding: 6px 0; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .track { animation-play-state: paused; }
.q { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; font-weight: 600; box-shadow: 0 6px 14px -10px rgba(23, 32, 51, .3); }
.q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- 章节通用 ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.eyebrow { color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.h2 { margin-top: 16px; font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 900; text-wrap: balance; }
.h2 .mute { color: #a7b0c0; }
.h2 em { font-style: normal; color: var(--red); }
.lede { margin-top: 20px; max-width: 36em; color: var(--ink-2); font-size: 1.12rem; }
.head { margin-bottom: clamp(36px, 6vw, 72px); }

/* 声明文字：滚动逐字点亮 */
.statement { padding: clamp(90px, 12vw, 170px) 0; }
.statement p { font-size: clamp(1.7rem, 4.4vw, 3.5rem); line-height: 1.4; letter-spacing: -.03em; font-weight: 800; max-width: 22em; }
.statement .w { color: #cdd3de; transition: color .25s; }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { color: var(--red); }

/* ---------- 便当格 ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { --mx: 50%; --my: 50%; position: relative; grid-column: span 4; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(213, 31, 54, .1), transparent 60%); transition: opacity .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(23, 32, 51, .3); border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 900; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 28em; }
.tile .viz { margin-top: auto; padding-top: 22px; }
.t-a { grid-column: span 5; grid-row: span 2; background: radial-gradient(90% 70% at 100% 0%, rgba(213, 31, 54, .16), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(255, 176, 190, .32), transparent 62%), #fff; border-color: #f4cdd3; }
.t-a h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.t-a .viz .k-card { border: 1px solid var(--line); }

.t-b { grid-column: span 7; }
.t-c { grid-column: span 3; background: radial-gradient(100% 80% at 100% 100%, rgba(213, 31, 54, .12), transparent 65%), #fff; border-color: #f4cdd3; }

.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; background: var(--rose); border-color: var(--rose-2); }
.t-f { grid-column: span 4; }
.t-g { grid-column: span 4; }
.t-h { grid-column: span 12; background: radial-gradient(60% 140% at 100% 50%, rgba(213, 31, 54, .09), transparent 70%), #fff; grid-auto-rows: auto; }
.t-h p { max-width: 36em; }
.t-h { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; min-height: 0; }
.t-h .th-text { flex: 0 1 380px; }
.t-h .trace { margin-top: 0; flex: 1 1 auto; justify-content: flex-end; flex-wrap: nowrap; gap: 8px; }
.t-h .trace .st { padding: 10px 14px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 1020px) { .t-h { flex-direction: column; align-items: flex-start; } .t-h .trace { justify-content: flex-start; margin-top: 8px; flex-wrap: wrap; } }

.k-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; border: 1px solid var(--line); box-shadow: 0 18px 36px -24px rgba(23, 32, 51, .3); display: grid; gap: 10px; }
.k-card .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.k-card .sk { height: 9px; border-radius: 99px; background: #eceff4; }
.k-card .sk:nth-child(3) { width: 82%; } .k-card .sk:nth-child(4) { width: 58%; }
.k-card .say { margin-top: 2px; padding: 10px 12px; border-radius: 12px; background: var(--rose); color: var(--red-3); font-size: 14px; font-weight: 700; line-height: 1.5; }

.tl { display: grid; gap: 10px; font-size: 15px; font-weight: 700; }
.tl .row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #f5f7fa; border: 1px solid var(--line); }
.tl .row s { color: #98a2b3; }
.tl .row.new { background: var(--rose); border-color: var(--rose-2); color: var(--red-3); }
.tl .no { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 700; }

.big-say { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.big-say b { color: var(--red); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #f5f7fa; border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; margin-top: 8px; }
.sw { width: 44px; height: 26px; border-radius: 99px; background: #cfd5df; position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.sw.on { background: var(--red); }
.sw.on::after { transform: translateX(18px); }
.sw.auto { animation: flip 6s infinite; }
.sw.auto::after { animation: knob 6s infinite var(--ease); }
@keyframes flip { 0%, 45% { background: #cfd5df; } 55%, 92% { background: var(--red); } 100% { background: #cfd5df; } }
@keyframes knob { 0%, 45% { transform: none; } 55%, 92% { transform: translateX(18px); } 100% { transform: none; } }

.photo { position: relative; height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #ffd9de, #ffb3bf 60%, #ff97a8); }
.photo::before { content: ""; position: absolute; left: 50%; bottom: 18px; width: 54px; height: 84px; transform: translateX(-50%); border-radius: 10px 10px 18px 18px; background: linear-gradient(90deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .5)); box-shadow: 0 10px 24px rgba(142, 15, 32, .25); }
.photo::after { content: ""; position: absolute; left: 50%; bottom: 96px; width: 62px; height: 8px; transform: translateX(-50%); border-radius: 6px; background: rgba(255, 255, 255, .95); }
.photo .tag { position: absolute; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; background: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.photo .tag.a { left: 12px; top: 14px; } .photo .tag.b { right: 12px; bottom: 14px; color: var(--red-2); }

.order { padding: 14px 16px; border-radius: 18px; background: #f5f7fa; border: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.order .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order .sk { height: 8px; border-radius: 99px; background: #e3e7ee; } .order .sk.s { width: 60%; }

.avs { display: flex; margin-bottom: 14px; }
.avs i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; }
.avs i:first-child { margin-left: 0; }
.avs i:nth-child(1) { background: #d51f36; } .avs i:nth-child(2) { background: #172033; } .avs i:nth-child(3) { background: #f08a24; } .avs i:nth-child(4) { background: #5b6b86; }
.mods { display: flex; flex-wrap: wrap; gap: 7px; }

.trace { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.trace .st { padding: 11px 18px; border-radius: 14px; background: #f5f7fa; border: 1px solid var(--line); font-weight: 700; font-size: 15px; position: relative; }
.trace .ar { color: #b3bac8; }
.trace .st.end { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(213, 31, 54, .6); }
.trace .st.pulse { animation: glow 3.6s infinite; }
.trace .st.pulse:nth-of-type(2) { animation-delay: .5s; } .trace .st.pulse:nth-of-type(3) { animation-delay: 1s; } .trace .st.pulse:nth-of-type(4) { animation-delay: 1.5s; }
@keyframes glow { 0%, 100% { background: #f5f7fa; border-color: var(--line); color: var(--ink); } 20% { background: var(--rose); border-color: #f1b3bd; color: var(--red-2); } 40% { background: #f5f7fa; border-color: var(--line); color: var(--ink); } }

@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: span 1; grid-row: auto; } .t-a, .t-h { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 1; } .tile { padding: 24px; } }

/* ---------- 接待模式 ---------- */
.modes { background: #fff; border-block: 1px solid var(--line); }
.mode-switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, auto); padding: 6px; border-radius: 999px; background: #f2f4f8; border: 1px solid var(--line); }
.mode-switch .thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--red); box-shadow: 0 10px 22px -8px rgba(213, 31, 54, .7); transition: transform .45s var(--ease), width .45s var(--ease); }
.mode-switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 15.5px; color: var(--ink-2); transition: color .3s; }
.mode-switch button[aria-selected="true"] { color: #fff; }
.mode-grid { margin-top: 40px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mode-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; line-height: 1.15; font-weight: 900; }
.mode-copy p { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
.mode-copy ul { margin-top: 22px; display: grid; gap: 12px; }
.mode-copy li { display: flex; gap: 12px; font-weight: 600; }
.mode-copy li .icon { width: 20px; height: 20px; color: var(--red); margin-top: 4px; }
.panel { display: none; }
.panel.on { display: block; animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.mode-win { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 70px -34px rgba(23, 32, 51, .35); overflow: hidden; }
.draft { margin-top: 2px; border: 1.5px dashed #f2a4af; border-radius: 18px; background: #fff8f9; padding: 14px 16px; }
.draft .lb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--red-2); margin-bottom: 8px; }
.draft .lb .icon { width: 15px; height: 15px; }
.draft p { font-size: 15.5px; line-height: 1.65; }
.draft .acts { margin-top: 12px; display: flex; gap: 8px; }
.mini { padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 800; border: 1px solid var(--line-2); background: #fff; }
.mini.go { background: var(--red); border-color: var(--red); color: #fff; }
.sys { justify-self: center; font-size: 13px; color: var(--muted); padding: 6px 14px; border-radius: 99px; background: #f2f4f8; font-weight: 600; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mode-switch button { padding: 11px 14px; font-size: 14px; } }

/* ---------- 学习闭环（深色） ---------- */
.vignette { background: #fff; overflow: clip; border-block: 1px solid var(--line); }
.vignette::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 88% 0%, rgba(213, 31, 54, .1), transparent 70%), radial-gradient(45% 40% at 0% 100%, rgba(255, 176, 190, .28), transparent 70%); pointer-events: none; }
.vignette .h2 .mute { color: #a7b0c0; }

.learn { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.loop { position: relative; display: grid; gap: 0; counter-reset: s; }
.loop::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: var(--line-2); }
.loop .fill { position: absolute; left: 21px; top: 20px; width: 2px; height: 0; background: linear-gradient(#f08a98, var(--red)); }
.loop li { position: relative; padding: 0 0 30px 64px; }
.loop li:last-child { padding-bottom: 0; }
.loop li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); font-weight: 900; font-size: 16px; color: var(--muted); transition: all .4s var(--ease); }
.loop li.on::before { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 22px -8px rgba(213, 31, 54, .6); }
.loop h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.loop p { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }
.lib { background: #fff; color: var(--ink); border-radius: 28px; padding: 22px; border: 1px solid var(--line); box-shadow: 0 36px 70px -42px rgba(23, 32, 51, .3); position: sticky; top: 110px; }
.lib-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lib-head b { font-size: 1.05rem; font-weight: 900; }
.ex { display: grid; gap: 10px; }
.ex-item { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.ex-item .t { font-size: 15px; font-weight: 700; line-height: 1.55; }
.ex-item .m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ex-item.ok { background: #fbfdfc; }
.ex-item.no { background: #fff8f9; border-color: var(--rose-2); }
.ex-item.no .t { color: #98a2b3; text-decoration: line-through; text-decoration-color: rgba(213, 31, 54, .6); }
.lib-foot { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #f5f7fa; font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.lib-foot .icon { width: 18px; height: 18px; color: var(--red); }
.sources { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 920px) { .learn { grid-template-columns: 1fr; } .lib { position: relative; top: auto; } }

/* ---------- 上手四步 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: n; }
.steps li { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(23, 32, 51, .3); }
.steps li::before { counter-increment: n; content: "0" counter(n); display: block; font-size: 4.2rem; line-height: 1; font-weight: 900; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; font-weight: 900; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 安全 ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.trust li { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.trust li:hover { background: #fffafa; }
.trust li:nth-child(3n) { border-right: 0; } .trust li:nth-last-child(-n+3) { border-bottom: 0; }
.trust .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--rose); color: var(--red); margin-bottom: 18px; }
.trust h3 { font-size: 1.15rem; font-weight: 900; }
.trust p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.fine { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 56em; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } .trust li, .trust li:nth-child(3n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .trust li:nth-child(2n) { border-right: 0; } .trust li:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } .trust li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .trust li:last-child { border-bottom: 0 !important; } }

/* ---------- 套餐 ---------- */
.plan { position: relative; border-radius: 36px; padding: clamp(32px, 6vw, 72px); overflow: hidden; background: radial-gradient(80% 120% at 0% 0%, rgba(213, 31, 54, .13), transparent 62%), radial-gradient(60% 100% at 100% 100%, rgba(255, 176, 190, .3), transparent 62%), #fff; border: 1px solid #f4cdd3; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; box-shadow: 0 40px 80px -56px rgba(213, 31, 54, .5); }

.plan > * { position: relative; }

.plan .h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.plan p { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
.plan .btn { margin-top: 28px; }
.plan ul { display: grid; gap: 14px; padding: 28px; border-radius: 26px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.plan li { display: flex; gap: 12px; font-weight: 700; font-size: 16px; }
.plan li .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--red); }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; border-radius: 28px; } }

/* ---------- 下载 ---------- */
.dl { position: relative; border-radius: 36px; padding: clamp(28px, 5vw, 64px); background: radial-gradient(70% 110% at 0% 0%, rgba(213, 31, 54, .1), transparent 62%), radial-gradient(60% 90% at 100% 100%, rgba(255, 176, 190, .26), transparent 62%), #fff; border: 1px solid #f4cdd3; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; box-shadow: 0 40px 80px -56px rgba(213, 31, 54, .45); }
.dl .h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.dl-cta { margin-top: 30px; display: grid; justify-items: start; gap: 16px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; color: var(--muted); }
.dl-meta b { color: var(--ink); font-weight: 800; }
.dl-note { margin-top: 14px; min-height: 1.5em; font-size: 14.5px; font-weight: 600; color: var(--red-2); }
.dl-sum { margin-top: 10px; font-size: 13px; color: var(--muted); }
.dl-sum summary { cursor: pointer; }
.dl-sum code { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: #f5f7fa; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--ink-2); }
.dl-panel { background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: 26px; padding: 26px; backdrop-filter: blur(8px); display: grid; gap: 22px; }
.plats { display: flex; flex-wrap: wrap; gap: 8px; }
.plat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14.5px; border: 1px solid var(--line-2); background: #fff; }
.plat .icon { width: 16px; height: 16px; }
.plat em { font-style: normal; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #f2f4f8; color: var(--muted); }
.plat.on { border-color: #f1b3bd; color: var(--red-2); background: var(--rose); }
.plat.on em { background: var(--red); color: #fff; }
.plat.off { color: var(--muted); opacity: .75; }
.dl-steps { display: grid; gap: 10px; counter-reset: d; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.dl-steps li { counter-increment: d; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.dl-steps li::before { content: counter(d); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; font-weight: 900; flex: none; }
.tlink { color: var(--red); font-weight: 700; border-bottom: 1px solid rgba(213, 31, 54, .35); }
.tlink:hover { border-bottom-color: var(--red); }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; border-radius: 28px; } }

/* 提示条 */
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; max-width: min(520px, calc(100% - 32px)); padding: 14px 20px; border-radius: 18px; background: #fff; border: 1px solid #f1b3bd; box-shadow: 0 24px 50px -22px rgba(213, 31, 54, .5); font-weight: 700; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--red); border-bottom: 1px solid currentColor; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 24px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #f1b9c1; box-shadow: 0 20px 40px -26px rgba(213, 31, 54, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 800; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f2f4f8; font-size: 20px; font-weight: 600; line-height: 1; color: var(--ink-2); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .a { padding: 0 0 24px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- 联系 ---------- */
.cta { position: relative; overflow: hidden; background: #fff; border-top: 1px solid var(--line); padding: clamp(80px, 11vw, 140px) 0; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 88% 8%, rgba(213, 31, 54, .14), transparent 70%), radial-gradient(45% 55% at 4% 100%, rgba(255, 176, 190, .32), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(23, 32, 51, .14) 1px, transparent 1.4px); background-size: 28px 28px; mask-image: linear-gradient(#000, transparent 75%); -webkit-mask-image: linear-gradient(#000, transparent 75%); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 900; text-wrap: balance; }
.cta h2 em { font-style: normal; color: var(--red); }
.cta .lede { color: var(--ink-2); }
.contact-lines { margin-top: 26px; display: grid; gap: 8px; font-weight: 700; }
.contact-lines span[hidden] { display: none; }
.form { background: #fff; color: var(--ink); border-radius: 30px; padding: 28px; display: grid; gap: 14px; border: 1px solid var(--line); box-shadow: 0 36px 70px -42px rgba(23, 32, 51, .35); }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.form input, .form select, .form textarea { height: 48px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 14px; background: #fff; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.form textarea { height: 88px; padding: 11px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(213, 31, 54, .14); }
.form .btn { width: 100%; }
.form .hint { font-size: 12.5px; color: var(--muted); text-align: center; }
.form .msg-ok { display: none; padding: 11px 14px; border-radius: 12px; background: var(--rose); color: var(--red-3); font-size: 14px; font-weight: 700; }
.form .msg-ok.show { display: block; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .logo { color: var(--ink); }
.footer-brand p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a:hover { color: var(--ink); }
.footer a[data-placeholder] { cursor: default; opacity: .7; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: 13px; }
.ph-text { opacity: .8; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero .sub, .hero .hero-cta, .hero .proof, .stage { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
  .marquee .track { animation: none; }
  .statement .w { color: var(--ink); }
}
