/* 页面滚动条：默认低对比，悬停和拖动时提亮。 */
html {
  scrollbar-color: #26384b #091526;
}

@supports selector(::-webkit-scrollbar) {
  @media (forced-colors: none) {
    html {
      /* 标准颜色会覆盖 Chromium 的滑块伪元素样式。 */
      scrollbar-color: auto;
    }

    html::-webkit-scrollbar {
      background: #091526;
    }

    html::-webkit-scrollbar-track,
    html::-webkit-scrollbar-corner {
      background: #091526;
    }

    html::-webkit-scrollbar-thumb {
      background: #26384b;
    }

    html::-webkit-scrollbar-thumb:hover {
      background: #40566c;
    }

    html::-webkit-scrollbar-thumb:active {
      background: #465d73;
    }
  }
}

/* 本页独立样式：基础与电话/语言控件 → 页面布局 → 响应式与动画。 */
:root {
  --ink: #0a1628;
  --ink-soft: #1a2a42;
  --gold: #d4af37;
  --gold-light: #f0d878;
  --paper: #fff;
  --mute: rgba(255, 255, 255, .6);

  --card-copy-color: rgba(255, 255, 255, .82);
  --card-copy-hover-color: rgba(255, 255, 255, .94);
  --card-copy-opacity: .78;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Inter', sans-serif;
  --script: 'Cormorant Garamond', Georgia, serif;
  --gutter: 4.45vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  overflow-x: hidden;
}

@media (max-width: 800px) {
  :root {
    --gutter: 24px;
  }
}

.language-switcher {
  position: relative;
  flex: 0 0 142px;
  height: 40px;
  margin: 0;
  align-self: center;
}

.language-toggle {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  border: 1px solid var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 500 12px var(--body);
  letter-spacing: .08em;
  cursor: pointer;
  transition: .25s;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  background: var(--gold);
}

.language-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.language-chevron {
  font-size: 16px;
  line-height: 1;
  transition: transform .25s;
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 100%;
  padding: 6px;
  background: #0d1b30;
  border: 1px solid rgba(212, 175, 55, .55);
  display: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
}

.language-menu.open {
  display: grid;
}

.language-menu button {
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font: 500 12px var(--body);
  letter-spacing: .08em;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
  color: var(--gold);
  background: rgba(212, 175, 55, .1);
}

@media (max-width: 800px) {
  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .language-toggle {
    padding: 0 11px;
    font-size: 10px;
  }

  .language-menu button {
    font-size: 10px;
  }
}

.language-toggle {
  line-height: 1;
}

.language-icon,
.language-label,
.language-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-label,
.language-chevron {
  height: 100%;
}

.language-chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transform: none;
}

.language-chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.language-toggle[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-toggle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(10, 22, 40, .38);
}

.language-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform .32s ease;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  background: rgba(10, 22, 40, .38);
  color: var(--ink);
}

.language-toggle:hover::before,
.language-toggle[aria-expanded="true"]::before {
  transform: translateX(0);
}

.language-toggle > .language-icon,
.language-toggle > .language-label,
.language-toggle > .language-chevron {
  position: relative;
  z-index: 1;
}

.nav-links a,
.language-toggle {
  font-size: 13px;
}

.nav-links a,
.language-toggle {
  font-size: 14px;
}

.language-toggle {
  font-weight: 600;
}

html[lang="zh-CN"] {
  --zh-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-CN"] body {
  font-family: var(--zh-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) {
  .language-menu.open {
    transform-origin: top right;
    animation: tech-menu-unfold .28s cubic-bezier(.16, 1, .3, 1);
  }
}

html[data-tech-paused] .language-menu,
html[data-tech-paused] .nav-links {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: no-preference) {
  :is(.language-toggle, .menu-toggle, .nav-links a, .reference-footer-column a):focus-visible {
    animation: tech-focus-arrival .65s ease-out;
  }
}

:is(.language-toggle, .menu-toggle, .nav-links a, .reference-footer-column a):focus-visible {
  outline: 2px solid #b4e9fb;
  outline-offset: 5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 3px;
  padding: 5px 0;
  min-width: 44px;
  min-height: 44px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  white-space: nowrap;
  font: 500 14px var(--body);
  letter-spacing: .045em;
  font-variant-numeric: tabular-nums;
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, .65);
  grid-row: 1 / 3;
  flex-shrink: 0;
}

.nav-phone:hover {
  color: var(--gold-light);
}

.nav-actions .language-switcher {
  flex: 0 0 114px;
  height: 40px;
  padding-left: 20px;
}

.nav-actions .language-switcher::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}

.nav-actions .language-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.nav-actions .language-toggle::before {
  display: none;
}

.nav-actions .language-toggle:hover,
.nav-actions .language-toggle[aria-expanded="true"] {
  color: var(--gold-light);
  background: transparent;
}

.nav-actions .language-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  color: rgba(255, 255, 255, .65);
}

.nav-phone:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.nav-phone-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-phone-number {
  line-height: 1.2;
}

.nav-actions .language-chevron {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  opacity: 1;
  color: inherit;
}

@media (max-width: 1200px) {
  .nav-phone {
    display: inline-flex;
    padding: 0;
    border-radius: 50%;
  }

  .nav-phone-label,
  .nav-phone-number {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 800px) {
  .nav-actions {
    order: 2;
    margin-left: auto;
    gap: 4px;
  }

  .nav-actions .language-switcher {
    width: max-content;
    flex: 0 0 auto;
    padding-left: 10px;
    margin-left: 0;
  }

  .nav-actions .language-toggle {
    width: auto;
  }

  .nav-actions .language-switcher::before {
    left: 3px;
  }
}

@media (min-width: 1101px) and (max-width: 1400px) {
  html[lang="en-US"] .nav-phone-number {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (max-width: 800px) {
  .language-switcher {
    flex-basis: 104px;
    height: 36px;
  }

  .language-toggle {
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
  }
}
/* AI 消费科技：产品原图、深蓝底色与克制的交互光效。 */
.consumer-page {
  --consumer-bg: #081524;
  --consumer-surface: #102638;
  --consumer-line: rgba(158, 191, 212, .17);
  --consumer-muted: #a9bdcd;
  --consumer-cyan: #8bd3e5;
  --consumer-gold: #e4c678;
  background: var(--consumer-bg);
  color: #f4f7fa;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.8;
}
.consumer-page h1, .consumer-page h2, .consumer-page h3, .consumer-page p, .consumer-page figure { margin: 0; }
.consumer-page a { text-decoration: none; color: inherit; }
:where(.consumer-page) button { font: inherit; cursor: pointer; }
.consumer-page :is(a, button):focus-visible { outline: 2px solid var(--consumer-gold); outline-offset: 5px; }
.consumer-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consumer-skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: #142a3d; padding: 12px 20px; }
.consumer-wrap { width: min(1240px, 88%); margin-inline: auto; }
.consumer-header { min-height: 88px; padding: 18px 6%; display: flex; align-items: center; gap: 32px; position: relative; z-index: 20; border-bottom: 1px solid var(--consumer-line); }
.consumer-brand img { display: block; width: 132px; height: 44px; object-fit: contain; }
.consumer-back { margin-left: auto; white-space: nowrap; font-size: 15px; }
.consumer-back,
.consumer-back > span,
.consumer-back:visited,
.consumer-back:hover,
.consumer-back:focus-visible,
.consumer-back:active {
  color: #fff;
}

.consumer-back > span {
  margin-right: 9px;
}
.eyebrow { display: flex; gap: 14px; align-items: center; color: var(--consumer-cyan); font: 12px/1.8 Consolas, 'Microsoft YaHei', monospace; letter-spacing: .16em; }
.eyebrow > span { color: var(--consumer-gold); padding-right: 14px; border-right: 1px solid var(--consumer-line); }
.consumer-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 42%, #15364d, transparent 62%); }
.hero-layout { display: grid; grid-template-columns: 1fr 1.06fr; gap: 48px; align-items: center; padding-block: 90px 70px; }
.hero-copy h1 { font-size: clamp(36px, 4.1vw, 60px); line-height: 1.22; font-weight: 500; letter-spacing: -.04em; margin: 23px 0 24px; text-wrap: balance; }
html[lang="zh-CN"] .hero-copy h1 { letter-spacing: .035em; }
.hero-lead { font: 30px/1.5 Georgia, 'Microsoft YaHei', serif; color: var(--consumer-gold); }
.hero-summary { margin-top: 23px !important; max-width: 490px; color: var(--consumer-muted); font-size: 16px; line-height: 1.95; }
.consumer-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
@media (min-width: 801px) {
  .hero-copy {
    display: grid;
    grid-template-rows: repeat(4, auto);
    align-self: center;
    gap: 24px;
  }
  .hero-copy h1 { margin: 0; }
  .hero-copy .hero-summary { margin-top: 0 !important; align-self: center; }
  .hero-copy .consumer-actions { margin-top: 0; }
}
.consumer-page .consumer-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: var(--consumer-gold); border: 1px solid var(--consumer-gold); color: #081524; font-size: 15px; font-weight: 600; padding: 12px 22px; transition: background .3s, transform .3s; }
.consumer-button:hover { background: #f2dca5; transform: translateY(-2px); }
.consumer-text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; border-bottom: 1px solid rgba(139, 211, 229, .4); padding: 7px 0; }
.hero-visual { position: relative; min-width: 0; }
.product-photo { position: relative; overflow: hidden; width: 100%; isolation: isolate; }
.product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; pointer-events: none; }
:is(#consumer-modules, #consumer-hardware) .product-photo img {
  object-fit: cover;
  object-position: center 15%;
}
/* 打开的智能家庭：三种生活场景连接同一 AI 核心。 */
.home-experience {
  --home-cyan: #8cced8;
  --home-gold: #c7aa6a;
  margin: 0;
  padding: 23px 24px 0;
  border: 1px solid rgba(140, 206, 216, .18);
  background: radial-gradient(ellipse at 50% 38%, rgba(31, 66, 85, .18), transparent 72%), rgba(12, 32, 49, .22);
  box-shadow: 0 28px 80px rgba(4, 14, 24, .15);
}
.home-experience-heading, .home-experience-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-experience-heading {
  flex-wrap: wrap;
  color: #b5d1d9;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .045em;
}
.home-experience-tools { flex-wrap: wrap; gap: 16px; }
.home-concept-label { color: #94acba; font-size: 14px; }
.home-scene-copy p[hidden] { display: none; }
.home-diagram { display: block; width: 100%; height: auto; overflow: visible; margin: 12px 0 1px; }
.home-zone { opacity: .5; transition: opacity .65s ease; }
.home-signal {
  stroke: var(--home-cyan);
  stroke-width: 2.5;
  stroke-dasharray: 9 91;
  opacity: .16;
  animation: home-signal-travel 4.8s linear infinite;
  transition: opacity .65s ease;
}
.home-channel-learning.home-signal { animation-delay: -1.6s; }
.home-channel-living.home-signal { animation-delay: -3.2s; }
.home-experience[data-home-scene="companion"] .home-channel-companion,
.home-experience[data-home-scene="learning"] .home-channel-learning,
.home-experience[data-home-scene="living"] .home-channel-living { opacity: 1; }
.home-device-float { animation: home-device-breathe 6s ease-in-out infinite; }
.home-tablet { animation-delay: -2s; }
.home-speaker { animation-delay: -4s; }
.home-core-ring { transform-origin: 330px 341px; animation: home-core-breathe 4.8s ease-out infinite; }
.home-listening { animation: home-listening 3.2s ease-in-out infinite; }
.home-scene-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.home-scene-controls button {
  position: relative;
  min-height: 47px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: #849eaf;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color .3s ease;
}
.home-scene-controls button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 56%;
  height: 2px;
  border-radius: 1px;
  background: var(--home-gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform .4s ease;
}
.home-scene-controls button[aria-pressed="true"] { color: #e4d2a5; }
.home-scene-controls button[aria-pressed="true"]::after { transform: translateX(-50%) scaleX(1); }
.home-scene-controls button:hover { color: #d4e7e9; }
.home-scene-controls button:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 3px;
}
.home-scene-copy { display: grid; align-items: center; min-height: 72px; padding: 16px 0; }
.home-scene-copy p { margin: 0; color: #afc4cf; font-size: 15px; line-height: 1.7; text-align: center; }
@keyframes home-signal-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes home-device-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes home-core-breathe { 0% { transform: scale(.85); opacity: .6; } 80%, 100% { transform: scale(1.2); opacity: 0; } }
@keyframes home-listening { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@media (max-width: 480px) {
  .home-experience { padding: 18px 14px 0; }
  .home-experience-tools { gap: 12px; }
  .home-concept-label { display: none; }
  .home-scene-controls button { font-size: 14px; }
  .home-scene-copy p { font-size: 14px; }
  .home-scene-copy { min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-experience *, .home-experience *::after { animation: none !important; transition: none !important; }
  .home-signal { stroke-dasharray: none; opacity: .3; }
}
.capability-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; border-top: 1px solid var(--consumer-line); }
.capability-strip > div { display: flex; gap: 12px; align-items: center; justify-content: flex-start; min-width: 0; padding-inline: 20px; border-right: 1px solid var(--consumer-line); }
.capability-strip > div:first-child { padding-left: 0; }
.capability-strip > div:last-child { border: 0; }
.capability-strip svg { width: 22px; height: 22px; flex-shrink: 0; color: #729daa; }
.capability-strip span { font-size: 15px; line-height: 1.5; text-wrap: balance; }
.consumer-section-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(10, 22, 40, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--consumer-line);
}
.consumer-nav-links {
  position: relative;
  display: flex;
  gap: 36px;
}
.consumer-nav-links a {
  position: relative;
  display: block;
  padding-block: 20px;
  color: var(--consumer-muted);
  font-size: 15px;
  white-space: nowrap;
}
.consumer-nav-links::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: var(--indicator-width, 0px);
  height: 2px;
  background: var(--consumer-gold);
  pointer-events: none;
  transform: translateX(var(--indicator-x, 0px));
}
.consumer-nav-links.consumer-indicator-ready::after {
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), width .32s cubic-bezier(.2, .7, .2, 1);
}
.consumer-nav-links a[aria-current="location"] {
  color: var(--consumer-gold);
}
.consumer-section { padding-block: 88px; scroll-margin-top: var(--consumer-nav-height, 69px); }
#consumer-products { scroll-margin-top: var(--consumer-nav-height, 69px); }
.section-heading { max-width: 830px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(28px, 3.05vw, 42px); line-height: 1.4; font-weight: 500; letter-spacing: -.03em; margin: 16px 0; text-wrap: balance; }
.section-heading > p:last-child { font-size: 16px; color: var(--consumer-muted); }
.algorithm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.algorithm-card { padding: 28px 24px; border: 1px solid var(--consumer-line); background: linear-gradient(135deg, #10283a, #0b1d2e); }
.card-symbol { display: flex; align-items: center; justify-content: space-between; margin-bottom: 38px; }
.card-symbol svg { width: 32px; height: 32px; color: var(--consumer-cyan); }
.card-symbol span { font: 12px Consolas, monospace; color: #688396; }
.algorithm-card h3 { font-size: 20px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }
.algorithm-card p { font-size: 14px; color: var(--consumer-muted); line-height: 1.8; }
.product-section { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid var(--consumer-line); background: #0c2031; }
.product-intro { display: flex; align-items: flex-end; gap: 50px; justify-content: space-between; margin: 0 0 34px; }
.product-intro > p { max-width: 710px; font-size: 16px; color: var(--consumer-muted); }
#consumer-modules .product-intro > p { max-width: 960px; }
#consumer-hardware .product-intro > p { max-width: 960px; }
#consumer-hardware .product-intro { flex-wrap: wrap; column-gap: 32px; row-gap: 16px; }
#consumer-hardware .section-side-note { margin-left: auto; }
.section-side-note { flex-shrink: 0; font-size: 13px; color: var(--consumer-cyan); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--consumer-line); background: #0a1c2d; min-width: 0; }
.product-open { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; padding: 28px; border: 0; background: transparent; color: inherit; text-align: left; }
.product-open .product-photo { width: 100%; height: auto; margin: 0 0 24px; }
/* 模组与智能硬件图片铺满卡片，文字单独保留阅读间距。 */
:is(#consumer-modules, #consumer-hardware) .product-open { padding: 0 0 24px; }
:is(#consumer-modules, #consumer-hardware) .product-photo { margin-bottom: 0; }
:is(#consumer-modules, #consumer-hardware) .product-name { padding-inline: clamp(15px, 2vw, 28px); }
:is(#consumer-modules, #consumer-hardware) .product-caption { margin-inline: clamp(15px, 2vw, 28px); }
.product-name { display: flex; align-items: baseline; gap: 14px; justify-content: space-between; border-top: 1px solid var(--consumer-line); padding-top: 20px; font-size: 22px; font-weight: 500; line-height: 1.5; }
.product-name b { color: var(--consumer-gold); font-weight: 400; font-size: 23px; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.product-open:hover .product-name b, .product-open:focus-visible .product-name b { transform: translate(2px, -2px); }
.product-caption { display: block; margin-top: 9px; color: var(--consumer-muted); font-size: 13px; line-height: 1.8; transition: color .2s ease; }
.product-open:focus-visible .product-caption { color: #f4f7fa; }
@media (hover: hover) {
  .product-card:hover .product-caption { color: #f4f7fa; }
}
.toy-section { background: #0c2031; border-block: 1px solid var(--consumer-line); }
.toy-showcase { display: grid; grid-template-columns: .85fr 1.25fr; align-items: center; gap: 48px; padding: 42px; border: 1px solid var(--consumer-line); background: linear-gradient(120deg, #11283b, #091a2b); }
.toy-copy h3 { font-size: 29px; font-weight: 500; line-height: 1.55; margin: 18px 0; }
.toy-copy > p:not(.eyebrow) { font-size: 15px; color: var(--consumer-muted); }
.toy-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.toy-tags span { font-size: 12px; padding: 3px 10px; border: 1px solid rgba(199, 170, 106, .25); color: #dacda9; }
.toy-visual { min-width: 0; }
.toy-visual .product-photo {
  background: transparent;
}
.toy-visual figcaption { margin-top: 22px; text-align: center; color: var(--consumer-muted); font-size: 12px; letter-spacing: .04em; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--consumer-line); border-left: 1px solid var(--consumer-line); }
.scenario-grid article { --scenario-inset: 32px; display: grid; grid-template-columns: var(--scenario-inset) 22px minmax(0, 1fr) var(--scenario-inset); align-content: start; padding: 0 0 32px; border-right: 1px solid var(--consumer-line); border-bottom: 1px solid var(--consumer-line); }
.scenario-photo { grid-column: 1 / -1; position: relative; aspect-ratio: 3 / 2; margin: 20px 20px 18px; overflow: hidden; background: #0a1c2d; border: 1px solid var(--consumer-line); }
.scenario-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scenario-grid svg { grid-column: 2; grid-row: 2; align-self: center; width: 22px; height: 22px; color: var(--consumer-cyan); }
.scenario-grid h3 { grid-column: 3; grid-row: 2; padding-left: 10px; font-size: 20px; font-weight: 500; margin-bottom: 0; }
.scenario-grid p { grid-column: 2 / 4; padding-top: 9px; color: var(--consumer-muted); font-size: 14px; }
.cooperation-section { border-top: 1px solid var(--consumer-line); padding-top: 72px; }
.cooperation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cooperation-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 22px; column-gap: 20px; row-gap: 12px; align-content: start; padding: 30px; background: #102638; border: 1px solid var(--consumer-line); }
.cooperation-card > div { display: contents; }
.cooperation-icon { grid-column: 1; grid-row: 1; align-self: start; width: 36px; height: 36px; color: var(--consumer-cyan); }
.cooperation-card b { grid-column: 3; grid-row: 1; align-self: center; color: var(--consumer-gold); display: inline-block; font-weight: 400; font-size: 22px; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.cooperation-card:focus-visible b { transform: translate(2px, -2px); }
.cooperation-card h3 { grid-column: 2; grid-row: 1; align-self: center; font-size: 20px; line-height: 1.5; font-weight: 500; margin: 0; }
.cooperation-card p { grid-column: 2; grid-row: 2; color: var(--consumer-muted); font-size: 14px; line-height: 1.85; }
.algorithm-card p,
.scenario-grid article p,
.cooperation-card p,
.toy-copy > p:not(.eyebrow) { transition: color .2s ease; }
.cooperation-card:focus-visible p,
.toy-showcase:focus-within .toy-copy > p:not(.eyebrow) { color: #f4f7fa; }
@media (hover: hover) {
  .algorithm-card:hover p,
  .scenario-grid article:hover p,
  .cooperation-card:hover p,
  .toy-showcase:hover .toy-copy > p:not(.eyebrow) { color: #f4f7fa; }
}
.consumer-contact { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 48px; border: 1px solid rgba(199, 170, 106, .25); background: radial-gradient(ellipse at right top, #213b4c, #102538 70%); }
.consumer-contact h2 { font-size: clamp(25px, 2.9vw, 38px); font-weight: 500; line-height: 1.5; margin: 14px 0; }
.consumer-contact p:not(.eyebrow) { font-size: 15px; color: var(--consumer-muted); }
.consumer-contact .consumer-button { flex-shrink: 0; }
.consumer-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 44px 70px; }
.consumer-stats > div { padding-left: 30px; border-left: 1px solid var(--consumer-line); }
.consumer-stats strong { display: block; font: 38px/1.3 Georgia, 'Microsoft YaHei', serif; color: #e7d7ad; }
.consumer-stats span { display: block; font-size: 13px; color: var(--consumer-muted); margin-top: 8px; }
.consumer-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 27px; border-top: 1px solid var(--consumer-line); color: var(--consumer-muted); font-size: 14px; }
.product-dialog { width: min(520px, calc(100% - 40px)); max-height: calc(100% - 60px); padding: 42px; color: #f4f7fa; background: #102638; border: 1px solid rgba(139, 211, 229, .3); overflow-y: auto; }
.dialog-product-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; margin-top: 18px; background: #0a1c2d; }
.product-dialog::backdrop { background: rgba(2, 10, 18, .78); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; font-size: 27px !important; color: var(--consumer-muted); background: transparent; border: 0; }
.product-dialog h2 { font-size: 28px; font-weight: 500; line-height: 1.4; margin: 18px 0; }
.dialog-description { color: var(--consumer-muted); font-size: 15px; }
.dialog-features { padding-left: 18px; margin-block: 23px 30px; color: #d0dfeb; font-size: 14px; }
.dialog-features li { padding-block: 6px; }
html:has(.product-dialog[open]) { overflow: hidden; }
[data-light] { position: relative; isolation: isolate; --light-x: 50%; --light-y: 50%; }
[data-light]::before { content: ''; position: absolute; z-index: 2; inset: -1px; padding: 1px; pointer-events: none; background: radial-gradient(340px circle at var(--light-x) var(--light-y), #b9efff, rgba(199, 170, 106, .36) 45%, transparent 76%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 0; transition: opacity .65s cubic-bezier(.22, 1, .36, 1); }
[data-light]::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(280px circle at var(--light-x) var(--light-y), rgba(112, 216, 249, .09), transparent 72%); opacity: 0; transition: opacity .8s cubic-bezier(.22, 1, .36, 1); }
[data-light]:focus-within::before { opacity: .55; }
[data-light]:focus-within::after { opacity: .65; }
.consumer-halo { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.consumer-halo::before { content: ''; position: absolute; width: clamp(400px, 44vw, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, transparent 58.5%, rgba(119, 212, 219, .025) 61%, rgba(155, 219, 234, .15) 63%, rgba(155, 219, 234, .2) 63.3%, rgba(119, 212, 219, .045) 64.2%, transparent 68%); opacity: .55; }
.consumer-halo--hero { mask-image: linear-gradient(90deg, transparent 25%, #000 65%); }
.consumer-halo--hero::before { width: clamp(440px, 45vw, 680px); top: 22px; right: -120px; }
.consumer-halo--modules::before { bottom: -200px; left: -250px; }
.cursor-particles { position: fixed; inset: 0; z-index: 8; width: 100%; height: 100%; pointer-events: none; }
@keyframes consumer-breathe { 0%, 100% { opacity: .35; transform: scale(.97); } 50% { opacity: .7; transform: scale(1.025); } }
@media (hover: hover) and (pointer: fine) {
  [data-light]:hover::before { opacity: .55; }
  [data-light]:hover::after { opacity: 1; }
  .cooperation-card:hover b { transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity .75s ease, translate .75s cubic-bezier(.2, .7, .2, 1); }
  .reveal-pending { opacity: 0; translate: 0 22px; }
  .consumer-halo::before { animation: consumer-breathe 12s ease-in-out infinite; }
  .consumer-halo--modules::before { animation-duration: 14s; animation-delay: -5s; }
  .consumer-halo.is-active::before { animation-play-state: running; }
  html[data-motion-paused] *, html[data-motion-paused] *::before, html[data-motion-paused] *::after { animation-play-state: paused !important; }
}
@media (max-width: 1100px) {
  .hero-layout { gap: 30px; padding-block: 64px 50px; }
  .capability-strip > div { padding-inline: 17px; }
  .algorithm-grid, .cooperation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-open { padding: 22px; }
  
  .product-name { font-size: 20px; }
  .product-intro { gap: 25px; }
  .section-side-note { max-width: 210px; flex-shrink: 1; }
  .toy-showcase { gap: 28px; padding: 32px; }
  .toy-copy h3 { font-size: 25px; }
}
@media (max-width: 800px) {
  .consumer-header { min-height: 76px; padding: 16px 6%; gap: 16px; }
  .consumer-brand img { width: 100px; height: 36px; }
  .consumer-back { font-size: 14px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 54px 34px; }
  .hero-copy h1 { font-size: clamp(36px, 7.5vw, 56px); }
  .hero-summary { max-width: 620px; }
  .hero-visual { width: min(100%, 540px); justify-self: center; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 0; padding-block: 25px; }
  .capability-strip > div { padding-inline: 12px; border: 0; }
  .capability-strip > div:nth-child(odd) { padding-left: 0; }
  .capability-strip > div:nth-child(even) { border-left: 1px solid var(--consumer-line); }
  .consumer-nav-links { width: 100%; padding-inline: 6%; gap: 25px; overflow-x: auto; scrollbar-width: none; }
  .consumer-nav-links a { font-size: 14px; padding-block: 16px; }
  .consumer-section { padding-block: 60px; }
  .product-intro { display: block; }
  .section-side-note { display: block; margin-top: 18px; max-width: none; }
  .product-grid { gap: 14px; }
  .product-open { padding: 18px 15px; }
  
  .product-name { font-size: 18px; }
  .product-name b { font-size: 20px; }
  .product-caption { font-size: 12px; }
  .toy-showcase { grid-template-columns: 1fr; gap: 35px; }
  .toy-visual { width: 100%; }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consumer-contact { display: block; padding: 32px; }
  .consumer-contact .consumer-button { margin-top: 27px; }
  .consumer-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .consumer-halo { opacity: .6; }
  .consumer-halo--hero::before { top: auto; bottom: 80px; right: -160px; }
}
@media (max-width: 520px) {
  .consumer-header { flex-wrap: wrap; gap: 12px; }
  .consumer-back { order: 3; flex-basis: 100%; margin-left: 0; }
  .hero-lead { font-size: 24px; }
  .hero-summary { font-size: 15px; }
  .consumer-actions { gap: 20px; }
  .capability-strip span { font-size: 14px; }
  .algorithm-grid { grid-template-columns: 1fr; gap: 12px; }
  .algorithm-card { padding: 25px; }
  .card-symbol { margin-bottom: 22px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-open { padding: 27px; }
  
  .product-name { font-size: 22px; }
  .product-caption { font-size: 13px; }
  .toy-showcase { padding: 25px; margin-inline: -5px; }
  .toy-copy h3 { font-size: 25px; }
  .scenario-grid article { --scenario-inset: 17px; padding-bottom: 23px; }
  .scenario-photo { margin: 12px 12px 16px; }
  html[lang="en-US"] .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid h3 { font-size: 17px; }
  .scenario-grid p { font-size: 13px; }
  .cooperation-grid { grid-template-columns: 1fr; gap: 12px; }
  .cooperation-card { padding: 24px 20px; grid-template-columns: 28px minmax(0, 1fr) 18px; column-gap: 14px; }
  .cooperation-icon { width: 28px; height: 28px; }
  .cooperation-card h3 { font-size: 18px; }
  .consumer-contact { padding: 27px; }
  .consumer-stats > div { padding-left: 16px; }
  .consumer-stats strong { font-size: 32px; }
  .consumer-stats span { font-size: 12px; }
  .consumer-footer { font-size: 12px; gap: 16px; }
  .product-dialog { padding: 34px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; translate: none; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-particles { display: none; }
}

/* 分区序号：首次舒展，微光间歇循环；离屏时暂停。 */
.consumer-section-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  margin-bottom: 20px;
  color: var(--consumer-gold);
}
.consumer-section-marker > span {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-width: 43px;
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-variant-numeric: lining-nums;
}
.consumer-section-marker > span > b {
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
  color: rgba(199, 170, 106, .45);
}
.consumer-section-marker > span > em {
  font-size: 38px;
  line-height: 1;
  font-weight: 400;
  color: #dfcfaa;
}
.consumer-section-marker > span::after {
  content: '';
  position: absolute;
  right: -12px;
  bottom: 3px;
  width: 1px;
  height: 23px;
  background: linear-gradient(transparent, rgba(199, 170, 106, .5));
  transform: rotate(24deg);
}
.consumer-section-marker::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 11px;
  width: 49px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(151, 179, 198, .3) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.consumer-section-marker > i {
  position: relative;
  display: block;
  width: 96px;
  min-width: 32px;
  flex-shrink: 1;
  height: 1px;
  overflow: hidden;
}
.consumer-section-marker > .consumer-marker-title {
  color: #cbbd9f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .09em;
  text-transform: uppercase;
}
html[lang="zh-CN"] .consumer-marker-title {
  font-size: 14px;
  letter-spacing: .16em;
}
@media (max-width: 520px) {
  .consumer-section-marker { gap: 20px; }
  .consumer-section-marker > i { width: 64px; }
  .consumer-section-marker > .consumer-marker-title { font-size: 12px; }
  html[lang="zh-CN"] .consumer-marker-title { font-size: 13px; }
}
.consumer-section-marker > i::before,
.consumer-section-marker > i::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.consumer-section-marker > i::before {
  background: linear-gradient(90deg, rgba(199, 170, 106, .65), rgba(199, 170, 106, .08));
  transform-origin: left center;
}
.consumer-section-marker > i::after {
  background: linear-gradient(90deg, transparent, rgba(216, 234, 231, .75), transparent);
  opacity: 0;
}
@keyframes consumer-marker-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes consumer-marker-shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  25% { opacity: .55; }
  65% { opacity: .4; }
  90%, 100% { transform: translateX(100%); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .section-heading.marker-revealed .consumer-section-marker > i::before {
    animation: consumer-marker-draw .95s cubic-bezier(.2, .7, .2, 1) .15s both;
  }
  .section-heading.marker-revealed .consumer-section-marker > i::after {
    animation: consumer-marker-shimmer 3s ease-in-out .7s infinite both paused;
  }
  .section-heading.marker-revealed.is-active .consumer-section-marker > i::after {
    animation-play-state: running;
  }
}

/* 与首页一致的毛玻璃导航，品牌与操作区始终保持可用。 */
.consumer-header.consumer-section-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: 0;
  gap: 28px;
  flex-wrap: nowrap;
}
.consumer-section-nav .consumer-brand { flex-shrink: 0; }
.consumer-nav-links { flex: 1; min-width: 0; justify-content: center; gap: clamp(18px, 2vw, 36px); }
.consumer-nav-links a { padding-block: 30px; }
.consumer-section-nav .nav-actions { flex-shrink: 0; }
.consumer-breadcrumb { padding-top: 24px; }
.consumer-breadcrumb .consumer-back { display: inline-flex; margin: 0; }
.consumer-nav-links a:focus-visible,
.consumer-section-nav .consumer-brand:focus-visible { outline: 2px solid var(--consumer-gold); outline-offset: -3px; }
@media (max-width: 1100px) {
  .consumer-header.consumer-section-nav { flex-wrap: wrap; gap: 0 20px; padding-top: 12px; }
  .consumer-section-nav .nav-actions { margin-left: auto; order: 0; }
  .consumer-nav-links { order: 1; flex: 0 0 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 25px; padding-inline: 0; }
  .consumer-nav-links a { padding-block: 16px; font-size: 14px; }
}

.consumer-header .consumer-nav-links a {
  font-weight: 450;
}

/* 缩减上下留白，锚点间距由 ResizeObserver 同步。 */
.consumer-header.consumer-section-nav { min-height: 80px; }
.consumer-header .consumer-nav-links a { line-height: 24px; padding-block: 27px; }
@media (max-width: 1100px) {
  .consumer-header.consumer-section-nav { min-height: 104px; padding-top: 12px; }
  .consumer-header .consumer-nav-links a { padding-block: 11px; }
}

/* 下划线跟随文字下方留白，不与导航底边重叠。 */
.consumer-nav-links::after { bottom: 10px; border-radius: 2px; }
@media (max-width: 1100px) {
  .consumer-nav-links::after { bottom: 3px; }
}

/* Match the home page copyright and registration row. */
footer.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  width: min(1400px, 100%);
  max-width: none;
  margin: 4rem auto 0;
  padding: 2rem 3rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .4);
  font: .875rem/1.8 var(--body, 'Inter', sans-serif);
}
html[lang="zh-CN"] footer.detail-footer {
  font-family: var(--zh-sans, 'Microsoft YaHei', sans-serif);
}
.detail-footer-legal {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 20px;
  min-width: 0;
}
footer.detail-footer a {
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-decoration: none;
  transition: color .3s ease;
}
footer.detail-footer a:hover,
footer.detail-footer a:focus-visible {
  color: var(--gold, #c7a36d);
}
@media (max-width: 800px) {
  footer.detail-footer {
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem 1.5rem 3rem;
    text-align: center;
  }
  .detail-footer-legal { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  footer.detail-footer a { transition: none; }
}

/* 首屏图景标题与渐隐呼吸线。 */
.home-scene-title {
  position: relative;
  padding: 6px 0 12px;
  color: #e4d2a5;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .025em;
  text-wrap: balance;
}
.home-scene-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, #c7aa6a, rgba(199, 170, 106, .08));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform-origin: left center;
  animation: home-scene-title-breathe 4.8s ease-in-out infinite;
}
@keyframes home-scene-title-breathe {
  0%, 100% { transform: scaleX(.92); opacity: .55; }
  50% { transform: scaleX(1); opacity: .9; }
}
@media (max-width: 480px) {
  .home-scene-title { font-size: 18px; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  .home-scene-title::after { animation: none !important; }
}

/* 全站页脚联系方式。 */
footer .footer-contact-info {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  gap: 12px 0;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  width: 100%;
  margin: 0;
  padding-block: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
}
footer .footer-contact-info > div { min-width: 0; padding-inline: 20px; }
footer .footer-contact-info > div + div { border-left: 1px solid rgba(199, 170, 106, .18); }
footer .footer-contact-info > div:first-child { padding-left: 0; }
footer .footer-contact-info > div:last-child { padding-right: 0; }
footer .footer-contact-address { flex: 0 1 auto; }
footer .footer-contact-info > div > span:first-child { color: rgba(255, 255, 255, .5); font-size: inherit; letter-spacing: normal; }
footer .footer-contact-info a { color: inherit; overflow-wrap: anywhere; text-decoration: none; }
footer .footer-contact-info a:hover { color: #e4d2a5; }
footer .footer-contact-info a:focus-visible { outline: 2px solid #c7aa6a; outline-offset: 4px; }
@media (max-width: 800px) {
  footer .footer-contact-info { display: grid; grid-template-columns: auto auto; gap: 20px 0; font-size: 13px; }
  footer .footer-contact-info > div { display: flex; flex-direction: column; gap: 6px; padding-inline: 12px; }
  footer .footer-contact-info > div:nth-child(2) { padding-right: 0; }
  footer .footer-contact-info > .footer-contact-address { grid-column: 1 / -1; display: block; padding: 0; border-left: 0; }

}

@media (max-width: 800px) {
  footer.detail-footer { align-items: flex-start; text-align: left; }
  .detail-footer-legal { justify-content: flex-start; }
}

footer.detail-footer { padding-top: 0; row-gap: 20px; }

/* AI 玩具：固定画幅，交叉淡入淡出，避免轮播引起布局跳动。 */
.toy-visual .toy-slideshow { aspect-ratio: 1672 / 941; background: #f4e8e2; }
.toy-slideshow .toy-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .75s cubic-bezier(.4, 0, .2, 1);
}
.toy-slideshow .toy-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .toy-slideshow .toy-slide { transition: none; }
}
