/* A8 只作用于首页；详情页和软件业务保持原样。 */
.keyboard-input { scroll-behavior: auto !important }
.home-a8 { --bg: #080808; --surface: #141414; --text: #f3f3ef; --muted: #a5a5a4; --accent: #d3d3ce; background: var(--bg) }
.home-a8 .site-header { background: #080808ed; border-bottom-color: #ffffff12 }
.home-a8 .navigation { max-width: 1520px }
.home-a8 .button { border-radius: 10px; box-shadow: none; font-weight: 550; padding-inline: 23px }
.home-a8 .hero { position: relative; min-height: 730px; overflow: hidden; padding: 0; text-align: left; isolation: isolate; background: none }
.home-a8 .hero:before, .home-a8 .hero:after { display: none }
.home-a8 .hero-copy { position: relative; z-index: 2; width: min(1300px, calc(100% - 80px)); max-width: none; padding: 100px 0 125px; margin: 0 auto; pointer-events: none }
.home-a8 .hero-copy a { pointer-events: auto }
.home-a8 .hero-badge { color: #a3a3a1; background: none; border: 0; padding: 0; border-radius: 0; font-size: 12px; letter-spacing: .1em; justify-content: flex-start }
.home-a8 .signal { background: #b4d4b9; box-shadow: none }
.home-a8 .hero h1 { width: 64%; margin: 30px 0 0; font-size: clamp(52px, 5.6vw, 82px); line-height: 1.28; font-weight: 540; letter-spacing: -.06em; color: #f5f5f1 }
.home-a8 .hero .headline-metal { margin-top: 8px; font-size: .76em; font-weight: 520; color: #f5f5f1; background: none }
.home-a8 .hero-description { text-align: left; margin: 29px 0 0; font-size: 15px; line-height: 1.95; max-width: 570px; letter-spacing: .015em; color: #aaa }
.home-a8 .hero-description>span { text-wrap: initial }
.home-a8 .hero-actions { justify-content: flex-start; margin-top: 30px; gap: 24px }
.home-a8 .hero .availability { color: #969693; margin-top: 18px }
.hero-bottom { position: absolute; inset: auto 40px 26px; z-index: 3; display: flex; justify-content: space-between; align-items: center; color: #969693; font-size: 12px; letter-spacing: .09em }
.home-a8 .motion-control { position: static; border-radius: 8px; background: #171717; color: #d5d5d0; min-height: 44px; backdrop-filter: none }
.commerce-gallery { position: absolute; z-index: 1; top: 0; right: -40px; width: 56%; height: 700px; overflow: hidden; perspective: 1200px; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 95%, transparent) }
.commerce-gallery:after { content: ''; position: absolute; inset: 0; background: linear-gradient(#080808,transparent 18%,transparent 80%,#080808); pointer-events: none }
.gallery-plane { width: 720px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; transform: rotateX(17deg) rotateY(-15deg) rotateZ(12deg) translateY(-110px); transform-origin: 50% 40% }
.goods-lane { display: flex; flex-direction: column; gap: 14px; animation: goods-drift 50s linear infinite; animation-play-state: paused }
.goods-lane:nth-child(even) { animation-direction: reverse; animation-duration: 58s }
.goods-set { display: grid; gap: 14px }
.goods-art { display: block; width: 100%; aspect-ratio: 1; background-image: url("assets/products-cartoon-a8.webp"); background-size: 400% 300%; background-repeat: no-repeat; background-color: #eeeae2; border-radius: 16px }
.goods-lane .goods-art { box-shadow: 0 8px 25px #0005 }
.item-0 { background-position: 0 0 }.item-1 { background-position: 33.3333% 0 }.item-2 { background-position: 66.6667% 0 }.item-3 { background-position: 100% 0 }
.item-4 { background-position: 0 50% }.item-5 { background-position: 33.3333% 50% }.item-6 { background-position: 66.6667% 50% }.item-7 { background-position: 100% 50% }
.item-8 { background-position: 0 100% }.item-9 { background-position: 33.3333% 100% }.item-10 { background-position: 66.6667% 100% }.item-11 { background-position: 100% 100% }
.commerce-gallery.is-playing .goods-lane { animation-play-state: running }
@keyframes goods-drift { from { transform: translateY(0) } to { transform: translateY(calc(-50% - 7px)) } }
.platform-section { padding: 30px 0 42px; border-top: 1px solid #262626; border-bottom: 1px solid #262626 }
.platform-heading { display: flex; justify-content: flex-end; align-items: center; gap: 20px }
.platform-heading .text-action { font-size: 12px }
.platform-actions { display: flex; align-items: center; gap: 24px }
.platform-motion-toggle { border: 0; padding: 10px 0; min-height: 44px; background: none; color: #b4b4af; font: 400 11px/1.4 var(--sans); cursor: pointer }
.platform-motion-toggle:disabled { cursor: default }
.platform-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 20px 0 0; mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent) }
.platform-marquee::-webkit-scrollbar { display: none }
.platform-logo-track { display: flex; width: max-content; animation: platform-drift 330s linear infinite; animation-play-state: paused }
.platform-marquee.is-playing .platform-logo-track { animation-play-state: running }
.platform-marquee:focus-visible .platform-logo-track { animation-play-state: paused }
.platform-marquee:focus-visible { outline-offset: 4px }
.platform-logos { list-style: none; display: flex; align-items: center; flex-shrink: 0; gap: 48px; padding: 0 48px 0 0; margin: 0 }
.platform-logos li { display: flex; align-items: center; justify-content: center; flex: 0 0 124px; min-width: 0; height: 104px }
.platform-logos img { display: block; width: 44px; height: 44px; max-width: none; object-fit: contain; filter: invert(1); opacity: .88 }
.platform-logos .platform-wordmark img { width: 124px; height: 124px }
.platform-logos .platform-favicon img { filter: grayscale(1); opacity: .9 }
.platform-logos [data-platform="jushuitan"] img,
.platform-logos [data-platform="eccang"] img,
.platform-logos [data-platform="wecom"] img { filter: grayscale(1) brightness(1.5) }
.platform-logos .platform-original img { filter: none; opacity: 1 }
.platform-logos .platform-horizontal img { width: 124px; height: 44px }
@keyframes platform-drift { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.story-section { position: relative; isolation: isolate; overflow: clip; padding: 112px 0 100px; perspective: 1000px; scroll-margin-top: 76px }
.story-heading { position: relative; z-index: 2; pointer-events: none }
.parallax-active .story-heading:before { content: ''; position: absolute; z-index: -1; inset: -48px auto -48px -20vw; width: calc(min(760px,90vw) + 20vw); background: linear-gradient(90deg,#080808ee,#080808c9 65%,#08080800); mask-image: linear-gradient(transparent,#000 15%,#000 75%,transparent); -webkit-mask-image: linear-gradient(transparent,#000 15%,#000 75%,transparent) }
.story-heading h2, .experience-heading h2 { margin-top: 23px; font-size: clamp(34px,4vw,56px); line-height: 1.4; font-weight: 530; letter-spacing: -.045em }
.story-heading h2 span, .experience-heading h2 span, .workspace-heading h2 span { color: #969691 }
.story-heading>p:not(.eyebrow) { color: #aaa; font-size: 15px; line-height: 1.9; margin-top: 23px }
.demo-label { display: inline-block; font-size: 11px; color: #bbbcb5; font-weight: 450; letter-spacing: .035em }
.story-controls { display: flex; align-items: center; gap: 28px; margin-top: 18px }
.story-controls button { pointer-events: auto }
.story-controls>.demo-label { color: #a6a8a0 }
.story-wall { width: 100%; margin-top: 52px; transform-origin: center top }
.story-row { display: grid; width: min(1160px,calc(100% - 80px)); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin: 0 auto 32px }
.story-row:last-child { margin-bottom: 0 }
.story-copy { display: none !important }
.parallax-active .story-wall { transform-style: preserve-3d; will-change: transform, opacity }
.parallax-active .story-row { display: flex; position: relative; left: 50%; width: max-content; margin-inline: 0; will-change: transform }
.parallax-active .story-tile { flex: 0 0 clamp(320px,40vw,640px); width: clamp(320px,40vw,640px) }
.parallax-active .story-copy { display: block !important }
.story-tile { display: block; position: relative; overflow: hidden; border: 1px solid #30302d; border-radius: 14px; background: #151515; box-shadow: 0 16px 30px #0003; min-width: 0; transition: transform 180ms cubic-bezier(.23,1,.32,1) }
.story-tile:focus-visible { outline-offset: -4px }
.story-tile { scroll-margin-block: 100px 24px }
.story-tile>div { padding: 18px 22px; position: relative }
.story-tile>div>span:first-child { color: #9c9e96; font-size: 11px }
.story-tile h3 { font-size: 17px; letter-spacing: -.03em; font-weight: 500; padding-right: 25px; margin-top: 7px }
.story-arrow { position: absolute; right: 20px; bottom: 22px; font-size: 20px; color: #bdbeb7 }
.story-screen>img { width: 100%; aspect-ratio: 16/9; object-fit: contain; object-position: center; background:#090909; border-bottom: 1px solid #272724 }
.story-overview>.story-overview-screens { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); aspect-ratio:16/9; padding:16px; gap:12px; background:#11171e; border-bottom:1px solid #303840 }
.story-overview-screens figure { display:grid; grid-template-rows:minmax(0,1fr) auto; min-width:0; min-height:0; margin:0; overflow:hidden; background:#090b0e; border:1px solid #303840; border-radius:6px }
.story-overview-screens img { display:block; width:100%; height:100%; min-height:0; object-fit:contain }
.story-overview-screens figcaption { padding:4px 8px; color:#b5c4d5; font-size:10px; line-height:1.6; background:#1a232d }
.story-orders { padding: 22px 24px 16px; background: #161817; border-color: #3b403b; color: #eceee8 }
.order-peek-head, .order-peek-total, .order-peek-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.order-peek-head { font-size: 13px; font-weight: 550 }
.order-peek-head .demo-label { color: #a7b1a6; font-size: 10px; font-weight: 400 }
.order-peek-total { margin: 17px 0 10px; font-size: 10px; color: #b1b8ae }
.order-peek-total strong { display: block; color: #e2edda; font-size: 36px; line-height: 1.35; letter-spacing: -.045em; font-weight: 500; font-variant-numeric: tabular-nums }
.order-peek-total strong small { font-size: 10px; color: #a7b1a6; font-weight: 400; letter-spacing: 0 }
.order-peek-pill { color: #bdd8b3; background: #263126; padding: 4px 8px; border-radius: 5px; white-space: nowrap }
.order-peek-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #333a33 }
.order-peek-list li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #2b312c; padding: 10px 0 }
.order-peek-list .goods-art { border-radius: 6px }
.order-peek-list strong { display: block; font-size: 11px; font-weight: 450; line-height: 1.5 }
.order-peek-list small { display: block; color: #a1aaa0; font-size: 9px; margin-top: 3px }
.order-peek-list li>span:last-child { text-align: right; font-variant-numeric: tabular-nums }
.order-peek-list .order-peek-wait { color: #dbbd8c }.order-peek-list .order-peek-done { color: #b6d5ab }
.order-peek-footer { color: #b3beb0; font-size: 11px; margin-top: 14px }
.order-peek-footer>span:last-child { font-size: 19px; line-height: 1 }
.home-a8 .product-section { margin-top: 35px; padding-top: 20px; overflow: visible; scroll-margin-top: 100px }
.workspace-heading { max-width:1080px; padding: 0 0 24px }
.workspace-heading h2 { font-size: clamp(25px,3vw,40px); font-weight: 530; letter-spacing: -.035em; margin-top: 20px }
.workspace-heading>p:last-child { font-size: 14px; color: #aaa; margin-top: 15px }
.home-a8 .product-stage { width: min(1160px,calc(100% - 80px)); padding-bottom: 0 }
.home-a8 .product-display { width: 100%; max-width: none; transform: none; background: #121212; border-color: #3a3a36; border-radius: 14px; box-shadow: none; will-change: auto }
.home-a8 .stage-halo { display: none }
.home-a8 .product-display .flow-tabs button[aria-selected=true] { background: #2b2b28; color: #f4f4ed }
.home-a8 .display-label { padding-block: 12px }
.home-a8 .display-label>span:last-child { color: #b7b8ae }
.home-a8 .workflow-controls { text-align: left; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; gap: 24px }
.home-a8 .screen-caption { min-height: 0; padding: 0 }
.home-a8 .screen-caption h2 { font-size: 21px }
.home-a8 .screen-caption p { font-size: 13px }
.home-a8 .newcomer-section { padding-top: 110px }
.home-a8 .section-heading h2, .home-a8 .feature-copy h3, .home-a8 .browser-copy h3, .home-a8 .responsibility h2 { font-weight: 520 }
.home-a8 .feature-card, .home-a8 .browser-feature { background: #121212; border-color: #2a2a27; border-radius: 15px }
.home-a8 .feature-research { margin-top: 0 }
.home-a8 .journey-rail a { border-radius: 10px }
.home-a8 .node-agent, .home-a8 .map-node { background: #1c1d1b; box-shadow: none; border-color: #41433b }
.home-a8 .map-branches span { background: #20211e; border-color: #41433b }
.experience-section { padding-top: 110px }
.experience-heading h2 { margin-top: 0 }
.experience-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 42px }
.experience-card { padding: 24px; display: flex; flex-direction: column; background: #151515; border: 1px solid #292927; border-radius: 12px; min-width: 0 }
.experience-card blockquote { margin: 20px 0 26px; color: #dddcd5; font-size: 14px; font-weight: 400; line-height: 1.9 }
.demo-stat { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid #353530; padding: 15px 0 20px }
.demo-stat strong { font-weight: 500; font-size: 39px; line-height: 1; letter-spacing: -.04em }
.demo-stat>span { font-size: 11px; color: #aeb1a6 }
.experience-card footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px }
.demo-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background-size: 400% 200%; background-color: #dbd2c1 }
.experience-section.avatars-ready .demo-avatar { background-image: url("assets/personas-cartoon-a8.webp") }
.avatar-0 { background-position: 0 0 }.avatar-1 { background-position: 33.3333% 0 }.avatar-2 { background-position: 66.6667% 0 }.avatar-3 { background-position: 100% 0 }
.avatar-4 { background-position: 33.3333% 100% }.avatar-5 { background-position: 0 100% }.avatar-6 { background-position: 100% 100% }.avatar-7 { background-position: 66.6667% 100% }
.experience-card footer strong { display: block; font-size: 12px; font-weight: 500 }
.experience-card footer div>span { display: block; font-size: 10px; color: #aaa99f; margin-top: 2px }
.home-a8 .cta-panel { text-align: left; padding-inline: 0; background: none }
.home-a8 .cta-panel .hero-actions { justify-content: flex-start }
@media(hover:hover) and (pointer:fine) {
  .story-tile:hover { border-color: #8b8d80; transform: translateY(-12px) }
  .home-a8 .button:hover { background: #d9ddd0 }
}
@media(min-width:1600px) {
  .home-a8 .hero { min-height: 780px }
  .home-a8 .hero-copy { padding-top: 115px }
  .commerce-gallery { right: -35px; width: 52%; height: 760px }
  .gallery-plane { width: 960px }
}
@media(max-width:1100px) {
  .home-a8 .hero { min-height: 680px }
  .home-a8 .hero-copy { padding-top: 95px }
  .home-a8 .hero-description { max-width: 440px; font-size: 14px }
  .commerce-gallery { right: -220px; width: 65%; height: 660px; opacity: .8 }
  .gallery-plane { width: 740px }
  .experience-grid { grid-template-columns: repeat(2,1fr) }
  .story-tile>div { padding: 16px }
  .story-tile h3 { font-size: 15px }
}
@media(max-width:800px) {
  .home-a8 .hero { min-height: 800px }
  .home-a8 .hero-copy { width: calc(100% - 48px); padding: 64px 0 380px }
  .home-a8 .hero h1 { width: 100%; font-size: 54px }
  .home-a8 .hero .headline-metal { font-size: .78em }
  .home-a8 .hero-description { max-width: 100% }
  .commerce-gallery { top: auto; bottom: 35px; right: -10%; width: 110%; height: 340px; opacity: 1; mask-image: linear-gradient(90deg,transparent,#000 8%,#000 90%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 90%,transparent) }
  .gallery-plane { width: 100%; min-width: 650px; transform: rotateX(20deg) rotateY(-12deg) rotateZ(9deg) translateY(-110px) }
  .hero-bottom { inset: auto 24px 18px }
  .story-section { padding-top: 75px }
  .story-wall { margin-top: 35px }
  .story-row { width: calc(100% - 48px); gap: 18px; margin-bottom: 18px }
  .home-a8 .product-stage { width: calc(100% - 48px) }
  .home-a8 .workflow-controls { display: block }
  .home-a8 .workflow-controls>.text-action { margin-top: 12px }
}
@media(max-width:560px) {
  .home-a8 .hero { min-height: 760px }
  .home-a8 .hero-copy { width: calc(100% - 40px); padding: 48px 0 360px }
  .home-a8 .hero h1 { font-size: clamp(34px,10.8vw,54px); margin-top: 25px; line-height: 1.35 }
  .home-a8 .hero .headline-metal { font-size: clamp(24px,7.25vw,40px); margin-top: 7px }
  .home-a8 .hero-description { font-size: 13px; margin-top: 24px }
  .home-a8 .hero-description>span { text-wrap: balance }
  .home-a8 .hero-actions { gap: 16px; margin-top: 24px }
  .home-a8 .hero .button, .home-a8 .hero .text-action { font-size: 12px; min-height: 46px }
  .home-a8 .hero .button { padding-inline: 18px }
  .home-a8 .hero .availability { font-size: 10px }
  .commerce-gallery { height: 320px; bottom: 45px; width: 135%; right: -18% }
  .gallery-plane { min-width: 580px; gap: 10px; transform: rotateX(12deg) rotateY(-12deg) rotateZ(10deg) translateY(-90px) }
  .goods-lane, .goods-set { gap: 10px }
  .goods-art { border-radius: 12px }
  @keyframes goods-drift { from { transform: translateY(0) } to { transform: translateY(calc(-50% - 5px)) } }
  .hero-bottom { inset: auto 20px 14px; font-size: 10px; letter-spacing: .02em }
  .platform-heading .text-action { padding-bottom: 0 }
  .platform-actions { gap: 22px; margin-top: 8px }
  .platform-marquee { margin-top: 8px }
  .platform-logos { gap: 32px; padding-right: 32px }
  .platform-logos li { flex-basis: 100px; height: 88px }
  .platform-logos img { width: 36px; height: 36px }
  .platform-logos .platform-wordmark img { width: 108px; height: 108px }
  .story-heading h2, .experience-heading h2 { font-size: 31px }
  .story-heading>p:not(.eyebrow) { font-size: 13px }
  .story-row { width: calc(100% - 40px); gap: 18px; grid-template-columns: 1fr }
  .story-controls { align-items: flex-start; flex-direction: column; gap: 0 }
  .story-tile { border-radius: 10px }
  .story-tile h3 { font-size: 16px }
  .story-tile>div { padding: 16px 18px }
  .story-orders { padding: 18px }
  .order-peek-list li { gap: 8px }
  .home-a8 .product-stage { width: calc(100% - 32px) }
  .workspace-heading h2 { font-size: 25px }
  .workspace-heading h2 span { display: block; margin-top: 6px }
  .workspace-heading>p:last-child { font-size: 12px }
  .home-a8 .screen-caption h2 { font-size: 19px }
  .experience-section { padding-top: 70px }
  .experience-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 14px }
  .experience-card { padding: 24px }
  .experience-card blockquote { font-size: 15px }
}
@media(prefers-reduced-motion:reduce) {
  .commerce-gallery .goods-lane { animation: none !important }
  .platform-logo-track { animation: none !important }
  .platform-logos[aria-hidden=true] { display: none }
  .story-wall, .story-row, .story-tile { transform: none !important; will-change: auto }
  .story-wall { opacity: 1 !important }
}
