/* =========================================================
   三芯微电子 Corechip — 导航（Apple 式悬停展开 + 高斯模糊）
   浅色版：白色导航条 / 白色页面 / 彩色 logo
   ========================================================= */

/* ---------- 令牌 ---------- */
:root{
  --gn-h: 56px;
  --maxw: 1120px;
  --panel-w: 1120px;   /* 菜单面板与导航同宽，左边界才对得齐 */

  --paper: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;

  --brand: #1d1d1f;
  --brand-hi: #000000;

  --gn-bg: rgba(255,255,255,.72);
  --gn-bg-solid: rgba(255,255,255,.88);
  --gn-fg: rgba(0,0,0,.8);
  --gn-fg-hi: #000;
  --gn-hair: rgba(0,0,0,.08);

  --ease: cubic-bezier(.32,.72,0,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* 中文字体：苹方 → 本机 Noto → 本机鸿蒙 → CDN Noto（可变）→ 雅黑保底 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "PingFang SC", "Noto Sans SC", "HarmonyOS Sans SC", "Noto Sans SC Variable",
          "MiSans", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  /* 不用 smooth：页面没有页内锚点，而平滑滚动会让锚点定位持续触发 scroll，
     与“滚动即收起菜单”的逻辑打架（深链接 #menu-xxx 会一打开就被关掉） */
  scroll-behavior: auto;
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;          /* 禁止伪粗体：雅黑被合成加粗会发糊 */
}

body.is-locked{ overflow: hidden; }

a{ color: inherit; }

:focus-visible{
  outline: 2px solid #0071e3;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 所有链接统一过渡（避免某个入口点了没反应） */
a{
  transition: color .18s ease, background-color .18s ease,
              border-color .18s ease, opacity .18s ease;
}

/* =========================================================
   1. 导航条（白底 + 毛玻璃）
   ========================================================= */
.gn{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.gn__bar{
  position: relative;
  z-index: 3;
  height: var(--gn-h);
  background: var(--gn-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 var(--gn-hair);
  transition: background .3s ease, box-shadow .3s ease;
}
.gn.is-open .gn__bar{ box-shadow: inset 0 -1px 0 var(--gn-hair); }
.gn.is-scrolled .gn__bar{ background: var(--gn-bg-solid); }

.gn__content{
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* logo：彩色版，压在白色导航上 */
.gn__logo{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 14px;
  -webkit-tap-highlight-color: transparent;
}
.gn__logo img{
  display: block;
  height: 40px;
  width: auto;
}

/* 栏目：等宽栅格，长短词都占同一格，整条才齐 */
.gn__list{
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 8px;
}

.gn__link{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 4px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gn-fg);
  cursor: default;              /* Apple 的导航用默认光标 */
  white-space: nowrap;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.gn__link:hover,
.gn__link.is-current{ color: var(--gn-fg-hi); }
a.gn__link{ text-decoration: none; }

/* 语言切换 */
.gn__tools{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: 14px;
}

/* 回到首页按钮 */
.gn__home{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  margin-right: 12px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.gn__home svg{ width: 13px; height: 13px; }
.gn__home:hover{ background: rgba(0,0,0,.045); border-color: rgba(0,0,0,.3); }

.lang{
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.lang__opt{
  appearance: none;
  border: 0;
  background: none;
  padding: 5px 9px;
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  color: rgba(0,0,0,.6);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang__opt:hover{ color: var(--ink); }
.lang__opt.is-active{
  background: var(--ink);
  color: #fff;
}

/* 汉堡按钮（移动端） */
.gn__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  order: -1;
}
.gn__burger span{
  display: block;
  width: 17px;
  height: 1.5px;
  background: rgba(0,0,0,.75);
  border-radius: 1px;
  transition: transform .35s var(--ease), opacity .2s ease;
  transform-origin: center;
}
.gn__burger[aria-expanded="true"] span:first-child{ transform: translateY(3.75px) rotate(45deg); }
.gn__burger[aria-expanded="true"] span:last-child{ transform: translateY(-3.75px) rotate(-45deg); }

/* =========================================================
   2. 悬停展开的面板
   ========================================================= */
.gn__panel{
  position: fixed;
  top: var(--gn-h);
  left: 0;
  right: 0;
  z-index: 2;
  height: 0;
  overflow: hidden;
  background: var(--paper);
  transition: height .46s var(--ease);
}
.gn.is-open .gn__panel{
  box-shadow: 0 26px 50px rgba(0,0,0,.13), 0 2px 6px rgba(0,0,0,.05);
}

.menu{
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 44px 0 56px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility 0s linear .26s;
}
.menu.is-active{
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease .1s, visibility 0s;
}

.menu__grid{
  max-width: var(--panel-w);
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr;
  gap: 40px;
}

.menu__eyebrow{
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.menu ul{ list-style: none; margin: 0; padding: 0; }

/* 左列：大字 */
.menu__lead a{
  display: inline-block;
  padding: 2px 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.008em;
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease;
}
.menu__lead a:hover{ color: var(--brand-hi); }

/* 商店菜单：全部产品为主链接，三条产品线降为二级 */
.menu__lead .lead-xl a{
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.menu__lead .lead-xl{ margin-bottom: 6px; }

.menu__lead .lead-sub a{
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.008em;
}

/* 左列二级条目（商店里的三条产品线 + 产品对比） */
.menu__sub{ margin-top: 20px; }
.menu__sub li{ margin-bottom: 12px; }
.menu__sub li:last-child{ margin-bottom: 0; }
.menu__sub a{
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .18s ease;
}
.menu__sub a:hover{ color: var(--ink); }

/* 左列下方小链接 */
.menu ul.menu__mini{ margin-top: 26px; }

/* 右侧两列：小字 */
.menu__col > ul > li{ margin-bottom: 12px; }
.menu__col > ul > li:last-child{ margin-bottom: 0; }

.menu__col a,
.menu__mini a{
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease;
}
.menu__col a:hover,
.menu__mini a:hover{
  color: var(--brand-hi);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   3. 高斯模糊遮罩
   ========================================================= */
.gn__veil{
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  transition: opacity .32s ease;
}
.gn.is-open .gn__veil{ opacity: 1; }

/* =========================================================
   4. 移动端抽屉
   ========================================================= */
.drawer{
  position: fixed;
  top: var(--gn-h);
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: var(--paper);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s linear .42s;
}
.drawer.is-open{
  transform: translateY(0);
  visibility: visible;
  transition: transform .42s var(--ease), visibility 0s;
}

.drawer__nav{ display: flex; flex-direction: column; padding: 8px 24px 40px; }

.drawer__nav a{
  display: block;
  padding: 17px 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.drawer__nav a:last-child{ border-bottom: 0; }

/* =========================================================
   5. 页面内容（浅色）
   ========================================================= */
.hero{
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 22px 80px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f1f1f3 42%, #e6e6e9 100%);
}

/* 头部文案压在同心环上 */
.hero__content{
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
}
.hero__content h1{
  margin: 16px 0 16px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* 首屏标题轮播：四句话叠在同一个格子里，高度取最高那行，切换不跳 */
.hero__rot{ display: grid; }
.hero__rot .hero__line{
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.hero__rot .hero__line.is-on{ opacity: 1; transform: none; }
html.no-motion .hero__rot .hero__line{ transition: none; }
.hero__sub{
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__art{ position: absolute; inset: 0; }

.hero__glow{
  position: absolute;
  left: 50%; top: 44%;
  width: 76vmin; height: 76vmin;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(0,0,0,.06) 0%, rgba(0,0,0,.03) 42%, transparent 68%);
  filter: blur(8px);
}

.hero__ring{
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.10);
}
.hero__ring--1{ width: 26vmin; height: 26vmin; border-color: rgba(0,0,0,.16); }
.hero__ring--2{ width: 44vmin; height: 44vmin; border-color: rgba(0,0,0,.11); }
.hero__ring--3{ width: 66vmin; height: 66vmin; border-color: rgba(0,0,0,.08); }

.hero__scan{
  position: absolute;
  left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.26), transparent);
  box-shadow: 0 0 12px rgba(0,0,0,.10);
  animation: scanY 7s var(--ease-out) infinite;
}
@keyframes scanY{
  0%   { top: 20%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 76%; opacity: 0; }
}

/* 两片“设备卡片” */
.hero__card{
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(165deg, #ffffff 0%, #f2f6fb 100%);
  box-shadow: 0 30px 60px rgba(23,38,77,.14), 0 2px 8px rgba(23,38,77,.06), inset 0 1px 0 #fff;
  overflow: hidden;
}
/* 镜头 */
.hero__card::after{
  content: "";
  position: absolute;
  left: 50%; top: 22%;
  width: 34px; height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0,0,0,.24), rgba(0,0,0,.10) 58%, transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
}
/* 屏幕分隔线 */
.hero__card::before{
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 24%;
  height: 1px;
  background: rgba(0,0,0,.10);
}
.hero__card--a{ --rot: -6deg; width: 132px; height: 178px; left: 13%; top: 22%; transform: rotate(var(--rot)); }
.hero__card--b{ --rot: 7deg; width: 106px; height: 146px; right: 14%; top: 30%; transform: rotate(var(--rot)); }

.hero__grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(58% 58% at 50% 44%, #000 0%, transparent 76%);
  mask-image: radial-gradient(58% 58% at 50% 44%, #000 0%, transparent 76%);
}

.hero__eyebrow{
  position: relative;
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.cta{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  background: none;          /* button 元素否则会带浏览器默认灰底 */
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s var(--ease), background .2s ease, color .2s ease;
}
.btn:active{ transform: scale(.97); }
.btn--primary{ background: var(--brand); color: #fff; }
.btn--primary:hover{ background: var(--brand-hi); }
.btn--ghost{ border: 1px solid var(--brand); color: var(--brand); }
.btn--ghost:hover{ background: rgba(0,0,0,.04); }

/* ---------- 产品窗口（仿 Apple 首页卡片） ---------- */
.showcase{ background: #fff; }

.tile{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 72px 22px 0;
  background: #fbfbfd;
}
.tile--hero{ padding-top: 88px; }

.tile__text{ max-width: 760px; }

.tile__eyebrow{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.tile__title{
  margin: 0;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.02em;
}

.tile__sub{
  margin: 14px 0 0;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.45;
  color: var(--ink-2);
}

.tile__cta{
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

/* 产品图位：之后把 <img> 放进这个容器即可 */
.tile__stage{
  position: relative;
  width: 100%;
  max-width: 940px;
  height: clamp(280px, 38vh, 440px);
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(0,0,0,.12);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f5 100%);
}
.tile__ph{
  font-size: 12px;
  letter-spacing: .1em;
  color: #b3b3b8;
}

/* 放入 <img> 后占位文字自动隐藏，图片按容器等比居中 */
.tile__stage img{
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  /* 白底产品图融进浅色舞台：白色变透明，投影自然保留 */
  mix-blend-mode: multiply;
}
.tile__stage:has(img){ border-color: transparent; }
.tile__stage:has(img) .tile__ph{ display: none; }

/* 四宫格 */
.grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 12px 0;
  background: #fff;
}
.tile--mini{
  padding: 52px 22px 0;
  background: var(--mist);
  border-radius: 24px;
}

@media (hover: hover){
  .tile--mini{
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
  }
  .tile--mini:hover{
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0,0,0,.07);
  }
}
.tile--mini .tile__title{ font-size: clamp(26px, 2.9vw, 38px); }
.tile--mini .tile__sub{ font-size: clamp(14px, 1.4vw, 16px); margin-top: 10px; }
.tile--mini .tile__cta{ margin-top: 20px; }
.tile--mini .tile__stage{
  max-width: 520px;
  height: clamp(200px, 24vh, 280px);
  margin-top: 28px;
}

/* 深色：AI 脉诊单独一条产品线 */
.tile--dark{
  background: #000;
  color: #f5f5f7;
}
.tile--dark .tile__eyebrow{ color: rgba(255,255,255,.55); }
.tile--dark .tile__sub{ color: rgba(255,255,255,.7); }
.tile--dark .tile__stage{
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
}
.tile--dark .tile__ph{ color: rgba(255,255,255,.4); }
.tile--dark .btn--primary{ background: #f5f5f7; color: #111; }
.tile--dark .btn--primary:hover{ background: #e6e6e9; }
.tile--dark .btn--ghost{ border-color: rgba(255,255,255,.45); color: #fff; }
.tile--dark .btn--ghost:hover{ background: rgba(255,255,255,.08); }

.ft{
  padding: 56px 22px 44px;
  background: var(--mist);
  border-top: 1px solid rgba(0,0,0,.08);
}
.ft__inner{ max-width: 1080px; margin: 0 auto; }

/* 多列目录 */
.ft__dir{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 24px;
}
.ft__col h4{
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
}
.ft__col ul{ list-style: none; margin: 0; padding: 0; }
.ft__col li{ margin-bottom: 10px; }
.ft__col li:last-child{ margin-bottom: 0; }
.ft__col a{
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.ft__col a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* 「更多选购方式」一行 */
.ft__more{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.1);
  font-size: 12px;
  color: var(--ink-2);
}
.ft__more a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.28);
  padding-bottom: 1px;
}
.ft__more a:hover{ border-color: var(--ink); }

.ft__legal{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 11.5px;
  color: var(--ink-3);
}
.ft__legal p{ margin: 0; }
.ft__disclaimer{
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

@media (max-width: 900px){
  .ft__dir{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  .ft{ padding: 44px 18px 36px; }
  .ft__dir{ grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .ft__legal{ flex-direction: column; gap: 4px; }
}

/* =========================================================
   5.4 公司内容（华为式「左标签 + 右内容」，黑白灰）
   ========================================================= */
.section{ padding: 120px 22px; }
.section__inner{ max-width: 1080px; margin: 0 auto; }

.eyebrow{
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.display{
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.022em;
  text-wrap: balance;
}

/* 左标签 + 右内容 */
.split{
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
}
.split__label{ position: relative; }
.split__title{
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.022em;
  position: sticky;
  top: 104px;
}
.split__lead{
  margin: 0;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -.012em;
}
.split__content p{
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}
.split__content p.split__lead{ margin-top: 0; }

/* 图位 */
.media{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #f6f6f8 0%, #ebebee 100%);
  border: 1px solid rgba(0,0,0,.04);
}
.media span{ font-size: 12px; letter-spacing: .12em; color: #a8a8ad; }
.media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.media:has(img) span{ display: none; }
.media--wide{ aspect-ratio: 16 / 9; margin-top: 52px; }

/* 数据 */
.figures{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 56px 0 0;
  padding: 36px 0 0;
  list-style: none;
  border-top: 1px solid rgba(0,0,0,.12);
}
.figures b{
  display: block;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.figures span{
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* 技术团队 */
.tech{ background: var(--mist); }
.tech__blocks > * + *{ margin-top: 34px; }
.tech__block h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.012em;
}
.tech__block p{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.media-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 52px;
}
.media-grid .media{ aspect-ratio: 4 / 3; border-radius: 14px; }

/* 解决方案 */
.solutions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px 48px;
}
.sol__k{
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.sol h3{
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.012em;
}
.sol p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* 学术顾问 */
.advisor-sec{ background: var(--mist); }
.advisor{
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.advisor__media{ aspect-ratio: 3 / 4; border-radius: 16px; }
.advisor__name{
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.advisor__titles{
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.advisor__note{ margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }

/* 发展历程：单年展示 + 右侧年份栏 */
.history{ background: #fff; }
.history__head{ margin-bottom: 56px; }

.history__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 80px;
}

.history__item{ display: none; }
.history__item.is-active{ display: block; }

.history__year{
  font-size: clamp(64px, 9vw, 128px);
  line-height: .92;
  font-weight: 600;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.history__text{ max-width: 600px; margin-top: 30px; }
.history__text h3{ margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.history__text p{ margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }

/* 下一年（更早）的灰色预告 */
.history__ghost{
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 64px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: #e5e5e8;
  transition: color .3s ease;
}
.history__ghost:hover{ color: #c8c8ce; }
.history__ghost.is-hidden{ display: none; }
.history__ghost-year{
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.history__ghost-title{ font-size: 13px; letter-spacing: .02em; }

.history__rail{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid rgba(0,0,0,.1);
  align-self: start;
  position: sticky;
  top: 110px;
}
.history__rail button{
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: 13px;
  letter-spacing: .02em;
  color: #b6b6bc;
  cursor: pointer;
  transition: color .25s ease;
  font-variant-numeric: tabular-nums;
}
.history__rail button:hover{ color: var(--ink-2); }
.history__rail button.is-active{ color: var(--ink); font-weight: 600; }

/* 切换：旧内容向下滑出，新内容自上方滑下 */
.history__panel{ transition: opacity .2s ease, transform .2s ease; }
.history__panel.is-out{ opacity: 0; transform: translate3d(0, 18px, 0); }
.history__panel.is-in{ animation: historyIn .5s var(--ease-out) both; }
@keyframes historyIn{
  from{ opacity: 0; transform: translate3d(0, -26px, 0); }
  to  { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* =========================================================
   5.5 动效：首屏分层入场 + 滚动浮现 + 视差
   ========================================================= */

/* ---------- 首屏入场 ---------- */
@keyframes riseIn{
  from{ opacity: 0; transform: translate3d(0, 26px, 0); }
  to  { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ringIn{
  from{ opacity: 0; transform: translate(-50%, -50%) scale(.92); }
  to  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes cardIn{
  from{ opacity: 0; transform: translate3d(0, 44px, 0) rotate(var(--rot, 0deg)) scale(.94); }
  to  { opacity: 1; transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1); }
}
@keyframes glowIn{
  from{ opacity: 0; }
  to  { opacity: 1; }
}

.hero__eyebrow{ animation: riseIn .9s var(--ease-out) .05s both; }
.hero__content h1{ animation: riseIn 1.05s var(--ease-out) .16s both; }
.hero__sub{ animation: riseIn 1s var(--ease-out) .30s both; }
.hero .cta{ animation: riseIn .95s var(--ease-out) .44s both; }

.hero__glow{ animation: glowIn 1.6s ease .10s both; }
.hero__ring{ animation: ringIn 1.7s var(--ease-out) both; }
.hero__ring--1{ animation-delay: .05s; }
.hero__ring--2{ animation-delay: .18s; }
.hero__ring--3{ animation-delay: .30s; }

.hero__card{ animation: cardIn 1.25s var(--ease-out) both; }
.hero__card--a{ animation-delay: .34s; }
.hero__card--b{ animation-delay: .46s; }

/* ---------- 滚动进入视口：文字分层、图片缩放落位 ---------- */
.js .tile__text[data-reveal] > *{
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.js .tile__text[data-reveal].is-inview > *{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.js .tile__text[data-reveal].is-inview > *:nth-child(2){ transition-delay: .08s; }
.js .tile__text[data-reveal].is-inview > *:nth-child(3){ transition-delay: .16s; }
.js .tile__text[data-reveal].is-inview > *:nth-child(4){ transition-delay: .24s; }

.js .tile__stage[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(.95);
  transition: opacity 1.15s var(--ease-out), transform 1.15s var(--ease-out);
  transition-delay: .12s;
  will-change: opacity, transform;
}
.js .tile__stage[data-reveal].is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 通用淡入（公司区块用） */
.js [data-reveal]:not(.tile__text):not(.tile__stage){
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal]:not(.tile__text):not(.tile__stage).is-inview{
  opacity: 1;
  transform: none;
}

/* ---------- 微交互 ---------- */
.btn{
  transition: transform .3s var(--ease-out), background .25s ease,
              color .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary:hover{ box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn:active{ transform: scale(.97); }

.tile--dark .btn--primary:hover{ box-shadow: 0 10px 26px rgba(255,255,255,.20); }

/* 收藏：已收藏 = 反色 */
.js-save.is-saved{
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tile--dark .js-save.is-saved{
  background: #f5f5f7;
  border-color: #f5f5f7;
  color: #111;
}

/* 公司简介里的资料下载 */
.split__content .company__dl{ margin-top: 30px; }
.link-arrow{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.22);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}
.link-arrow::after{ content: "↓"; font-size: 12px; }
.link-arrow--go::after{ content: "→"; }
.link-arrow:hover{ border-color: var(--ink); }

.gn__logo{ transition: opacity .25s ease; }
.gn__logo:hover{ opacity: .76; }

/* 静态模式（?motion=off）：一次性呈现终态，不做任何入场 */
html.no-motion .hero__eyebrow,
html.no-motion .hero__content h1,
html.no-motion .hero__sub,
html.no-motion .hero .cta,
html.no-motion .hero__glow,
html.no-motion .hero__ring,
html.no-motion .hero__card{ animation: none !important; }

html.no-motion [data-reveal],
html.no-motion [data-reveal] > *{
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =========================================================
   5.6 子页面：页头 / 产品网格 / 联系表单 / 切换淡入淡出
   ========================================================= */
.page-hero{ padding: 150px 22px 72px; background: #fff; }
.page-hero__inner{ max-width: 1080px; margin: 0 auto; }
.page-hero .display{ margin: 0 0 20px; }
.page-hero__lead{
  max-width: 660px;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
}
.page-hero .cta{ margin-top: 34px; justify-content: flex-start; }
.page-hero--dark{ background: #000; color: #f5f5f7; }
.page-hero--dark .page-hero__lead{ color: rgba(255,255,255,.72); }
.page-hero--dark .eyebrow{ color: rgba(255,255,255,.5); }
.page-hero--dark .btn--primary{ background: #f5f5f7; border-color: #f5f5f7; color: #111; }
.page-hero--dark .btn--ghost{ border-color: rgba(255,255,255,.45); color: #fff; }
.page-hero--dark .btn--ghost:hover{ background: rgba(255,255,255,.08); }

/* 产品网格 */
.pgrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.pgrid .tile--mini{ padding: 40px 18px 0; }

/* 产品网格下方的对比入口 */
.grid-more{ margin-top: 44px; text-align: center; }
.grid-more .link-arrow{ font-size: 15px; }

/* 详情页按钮下的机型对比 */
.product-hero__compare{ margin: 22px 0 0; }

/* 横跨整行的产品卡（X1 这类单独一条产品线） */
.tile--wide{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 32px;
  padding: 44px 48px;
  text-align: left;
}
.tile--wide .tile__text{ max-width: 460px; margin: 0; }
.tile--wide .tile__cta{ justify-content: flex-start; }
.tile--wide .tile__stage{
  margin-top: 0;
  height: 340px;
  aspect-ratio: auto;
  background: none;
  border: 0;
}
.tile--wide .tile__stage img{ max-height: 100%; }

/* 技术团队的实景照片 */
.media-grid .media--shot{
  display: block;
  margin: 0;          /* figure 默认有 40px 左右外边距 */
  padding: 0;
  border: 0;
  background: none;
  aspect-ratio: auto;
}
.media--shot img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--mist);
}
.media--shot figcaption{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* 3D 页里的产品条 */.product-strip{ margin: 56px 0 0; }
.product-strip img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-strip figcaption{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.product-strip strong{ font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }

/* 深色区用透明底切图，不能再 multiply */
.tile--dark .tile__stage img{ mix-blend-mode: normal; }
.tile--dark .tile__stage:has(img){ border-color: transparent; }

/* 通用卡片（子页面用） */
.cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.card{
  background: var(--mist);
  border-radius: 18px;
  padding: 32px 28px 34px;
}
.card__k{
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.card h3{ margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.card p{ margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* 产品详情页 */
.product-hero{ padding: 140px 22px 90px; background: #fff; }
.product-hero__inner{
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.product-hero__text .display{ margin: 0 0 18px; }
.product-hero__text .cta{ margin-top: 30px; justify-content: flex-start; }
.product-hero__media{ text-align: center; }
.product-hero__media img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-hero__media .media{ aspect-ratio: 4 / 3; }

/* 深色实拍/示意图：不透明、带圆角 */
.product-hero__media--plain img{
  mix-blend-mode: normal;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
}
.product-hero__media--plain{ animation-delay: .1s; }

/* 首屏与下一段之间收紧一半（原来 90 + 120 = 210px） */
.product-hero--tight{ padding-bottom: 56px; }
.section--tight{ padding-top: 48px; }

@media (max-width: 900px){
  .product-hero--tight{ padding-bottom: 40px; }
  .section--tight{ padding-top: 32px; }
}

.spec-table{ width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec-table th,
.spec-table td{
  text-align: left;
  vertical-align: top;
  padding: 16px 0;
  font-size: 15px;
  line-height: 1.6;
  /* 发丝线用背景画，才能做从左到右的出现动画 */
  background-image: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
}
.spec-table th{
  width: 190px;
  padding-right: 24px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-3);
}

/* 逐行从右滑入：标签先到、数值跟半拍，发丝线最后从左画到右 */
.js .spec-table tr > *{
  opacity: 0;
  transform: translate3d(76px, 0, 0);
  background-size: 0% 1px;
  transition:
    opacity .7s var(--ease-out) calc(var(--i, 0) * 62ms + var(--d, 0ms)),
    transform .7s var(--ease-out) calc(var(--i, 0) * 62ms + var(--d, 0ms)),
    background-size .95s var(--ease-out) calc(var(--i, 0) * 62ms + 150ms);
  will-change: opacity, transform;
}
.js .spec-table th{ --d: 0ms; transform: translate3d(44px, 0, 0); }
.js .spec-table td{ --d: 55ms; }
.js .spec-table.is-in tr > *{
  opacity: 1;
  transform: none;
  background-size: 100% 1px;
}

/* 悬停：整行轻微提亮，数值再往右让 2px */
@media (hover: hover) {
  .spec-table tr:hover > *{ background-color: rgba(0,0,0,.018); }
  .spec-table tr:hover td{ transform: translate3d(3px, 0, 0); }
  .js .spec-table tr > *{ transition-property: opacity, transform, background-size, background-color; }
}

/* 详情页首屏：文字逐条上浮，产品图从右侧带一点缩放进来 */
.js .product-hero__text > *{ animation: phRise .9s var(--ease-out) both; }
.js .product-hero__text > *:nth-child(1){ animation-delay: .06s; }
.js .product-hero__text > *:nth-child(2){ animation-delay: .14s; }
.js .product-hero__text > *:nth-child(3){ animation-delay: .22s; }
.js .product-hero__text > *:nth-child(4){ animation-delay: .30s; }
.js .product-hero__media{ animation: phIn 1.1s var(--ease-out) .12s both; }

@keyframes phRise{
  from{ opacity: 0; transform: translate3d(0, 26px, 0); }
  to{ opacity: 1; transform: none; }
}
@keyframes phIn{
  from{ opacity: 0; transform: translate3d(48px, 0, 0) scale(.97); }
  to{ opacity: 1; transform: none; }
}
.spec-note{ margin: 24px 0 0; font-size: 12px; color: var(--ink-3); }
.backlink{ margin: 34px 0 0; }
.backlink a{
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
}
.backlink a:hover{ color: var(--ink); border-color: var(--ink); }

/* 参数页底部的「下一站」块 */
.spec-next{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--mist);
  border-radius: 16px;
}
.spec-next__text{ min-width: 0; }
.spec-next__k{
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.spec-next__t{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.spec-next .btn{ flex: none; }

@media (max-width: 700px){
  .spec-next{ flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* 解决方案里的门店场景块 */
.scene{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
  padding: 48px;
  background: var(--mist);
  border-radius: 24px;
}
.scene h3{ margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.scene p{ margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); max-width: 420px; }
.scene .link-arrow{ margin-top: 26px; }
.scene figure{ margin: 0; }
.scene img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #fff;
}

/* 七光谱样品 */
.spectra__h{ margin: 46px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.spectra__desc{
  margin: 10px 0 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* 七光谱样品：整个左栏一起吸顶，滚动时标题 + 提示 + 解读都停在原地 */
.spectra .split__label{
  position: sticky;
  top: 104px;
  align-self: start;
}
.spectra .split__title{ position: static; }

/* 左侧解读面板 */
.spectra-note{
  position: static;
  margin-top: 30px;
  padding: 18px;
  max-width: 300px;
  background: var(--mist);
  border-radius: 14px;
}
.spectra-note__hint{
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--ink-3);
}

/* 解读正文：灰框下面的普通黑字，不套卡片 */
.spectra-read{
  max-width: 300px;
  margin-top: 26px;
  min-height: 96px;
}
.spectra-read__inner{
  opacity: 0;
  transition: opacity .5s cubic-bezier(.16,1,.3,1);
}
.spectra-read__inner.is-in{ opacity: 1; }
.spectra-read__k{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.spectra-read__t{
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}
.spectra-read__empty{
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #c2c2c7;
}

.spectra-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  position: relative;
}
.spectra__item{
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0c;
  cursor: zoom-in;
}
/* 样片统一 contain：不裁切、不丢比例；容器是近黑色，留白与图底色融在一起 */
.spectra__item img{ display: block; width: 100%; height: 100%; object-fit: contain; }
.spectra__item figcaption{
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
  pointer-events: none;
}
.spectra__zoom{
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s ease, transform .2s var(--ease-out), background .2s ease;
}
.spectra__zoom svg{ width: 15px; height: 15px; }
.spectra__item:hover .spectra__zoom,
.spectra__zoom:focus-visible{ opacity: 1; }
.spectra__zoom:hover{ transform: scale(1.08); background: #fff; }

/* JS 接管后改用绝对定位，位置由脚本计算，可过渡 */
.spectra-grid.is-ready{ display: block; }
.spectra-grid.is-ready .spectra__item{
  position: absolute;
  transition:
    left .55s cubic-bezier(.16,1,.3,1),
    top .55s cubic-bezier(.16,1,.3,1),
    width .55s cubic-bezier(.16,1,.3,1),
    height .55s cubic-bezier(.16,1,.3,1);
}
.spectra__item.is-active{ cursor: zoom-out; }
.spectra__item.is-active img{ object-fit: cover; }
.spectra__item.is-active figcaption{ color: #fff; }

@media (max-width: 700px){
  .spectra-grid{ grid-template-columns: 1fr; }
  .spectra__desc{ font-size: 12.5px; }
}

/* 产品对比页 */
.cmp-slots{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.cmp-slot{
  background: var(--mist);
  border-radius: 20px;
  padding: 26px 20px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cmp-slot__media{ height: 210px; display: flex; align-items: center; justify-content: center; }
.cmp-slot__media img{
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cmp-slot__name{ margin: 6px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.cmp-slot__cat{ margin: 0; font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.cmp-slot__empty{
  flex: 1;
  width: 100%;
  min-height: 230px;
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 16px;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
  font: inherit;
}
.cmp-slot__empty span{ font-size: 26px; line-height: 1; }
.cmp-slot__empty b{ font-size: 14px; font-weight: 500; }
.cmp-slot__change{
  margin-top: 6px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding: 0 0 2px;
  font: inherit;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.cmp-vs{ font-size: 11px; letter-spacing: .22em; color: var(--ink-3); }

.cmp-table{ width: 100%; border-collapse: collapse; margin-top: 56px; }
.cmp-table th,
.cmp-table td{
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 15px;
  line-height: 1.55;
}
.cmp-table th{ width: 200px; font-weight: 400; font-size: 13px; color: var(--ink-3); }
.cmp-table .cmp-head td{ font-size: 17px; font-weight: 600; padding-bottom: 20px; }
.cmp-table td.is-none{ color: #c9c9ce; }
.cmp-hint{ color: var(--ink-3); font-size: 14px; padding: 26px 0; }
.cmp-note{ margin-top: 24px; font-size: 12px; color: var(--ink-3); }

.cmp-dialog{
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(880px, 92vw);
  max-height: 84vh;
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}
.cmp-dialog::backdrop{ background: rgba(0,0,0,.32); backdrop-filter: blur(6px); }
.cmp-dialog__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cmp-dialog__head h2{ margin: 0; font-size: 17px; font-weight: 600; }
.cmp-dialog__head button{
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-2);
}
.cmp-dialog__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 24px 26px;
  overflow: auto;
  max-height: calc(84vh - 66px);
}
.cmp-pick{
  background: var(--mist);
  border: 0;
  border-radius: 14px;
  padding: 16px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font: inherit;
  transition: background .2s ease;
}
.cmp-pick img{ height: 104px; object-fit: contain; mix-blend-mode: multiply; }
.cmp-pick b{ font-size: 14px; font-weight: 600; }
.cmp-pick span{ font-size: 11px; color: var(--ink-3); }
.cmp-pick:hover{ background: #eaeaee; }

@media (max-width: 900px){
  .cmp-slots{ grid-template-columns: 1fr; gap: 14px; }
  .cmp-vs{ text-align: center; }
  .cmp-table th{ width: 120px; padding: 14px 10px; }
  .cmp-table td{ padding: 14px 10px; font-size: 14px; }
  .cmp-dialog__grid{ grid-template-columns: repeat(2, 1fr); }
}

/* 产品页：核心功能 */
.feature-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}
.feature-list li{
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .3;
}

/* 产品页：常见问题 */
.faq{
  border-top: 1px solid rgba(0,0,0,.1);
  padding: 18px 0;
}
.faq:last-child{ border-bottom: 1px solid rgba(0,0,0,.1); }
.faq summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+";
  flex: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform .3s var(--ease-out), color .2s ease;
}
.faq summary:hover{ color: var(--ink); }
.faq summary:hover::after{ color: var(--ink); }
.faq[open] summary::after{ content: "−"; }

.faq__body{
  padding-top: 12px;
  overflow: hidden;
}
.faq__body p{
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

@media (max-width: 900px){
  .feature-list{ grid-template-columns: 1fr; gap: 12px; }
}

/* 联系页 */.contact-list{ list-style: none; margin: 0; padding: 0; }
.contact-list li{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  font-size: 15px;
}
.contact-list li:first-child{ border-top: 1px solid rgba(0,0,0,.1); }
.contact-list span{ color: var(--ink-3); font-size: 13px; }
.contact-list b{ font-weight: 500; }
.contact-list a{ color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.2); }

.contact-form{ margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label{ display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); }
.contact-form input,
.contact-form textarea{
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 10px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus{ outline: none; border-color: var(--ink); }
.contact-form__wide{ grid-column: 1 / -1; }
.contact-form button{ justify-self: start; margin-top: 6px; }
.contact-form__note{ grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--ink-3); }

/* 当前页的导航项 */
.gn__link{ position: relative; }
.gn__link[aria-current="page"]{ color: var(--gn-fg-hi); }
.gn__link[aria-current="page"]::after{
  content: "";
  position: absolute;
  left: 50%; bottom: 15px;
  width: 14px; height: 1px;
  margin-left: -7px;
  background: currentColor;
  opacity: .55;
}
.drawer__nav a[aria-current="page"]{ font-weight: 600; }

/* 页面切换 */
body{ opacity: 1; transition: opacity .26s ease; }
html.is-entering body{ opacity: 0; }
body.is-leaving{ opacity: 0; pointer-events: none; }


/* =========================================================
   5.7 花式动效：倾斜 / 揭幕 / 扫光 / 菜单落入
   ========================================================= */

/* 产品卡 3D 倾斜（JS 加 .tilt 后生效） */
.tilt{ will-change: transform; }
.tile--mini.tilt{ transition: transform .25s var(--ease-out), box-shadow .45s var(--ease-out); }

/* 标题揭幕：文字从下往上被揭开 */
.reveal-title{
  clip-path: inset(100% 0 0 0);
  transform: translateY(12px);
  transition: clip-path .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal-title.is-shown{
  clip-path: inset(-10% 0 -10% 0);
  transform: none;
}

/* 主按钮扫光 */
.btn--primary{ position: relative; overflow: hidden; }
.btn--primary::after{
  content: "";
  position: absolute;
  top: -20%;
  left: -140%;
  width: 60%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  transition: left .65s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.btn--primary:hover::after{ left: 150%; }
.tile--dark .btn--primary::after,
.page-hero--dark .btn--primary::after{
  background: linear-gradient(100deg, transparent, rgba(0,0,0,.14), transparent);
}

/* 导航面板：开启时逐条落入 */
.menu .menu__col{ opacity: 0; transform: translateY(10px); }
.gn.is-open .menu.is-active .menu__col{
  animation: menuColIn .5s cubic-bezier(.16,1,.3,1) both;
}
.gn.is-open .menu.is-active .menu__col:nth-child(1){ animation-delay: .02s; }
.gn.is-open .menu.is-active .menu__col:nth-child(2){ animation-delay: .09s; }
.gn.is-open .menu.is-active .menu__col:nth-child(3){ animation-delay: .16s; }

.gn.is-open .menu.is-active li{ animation: menuItemIn .45s cubic-bezier(.16,1,.3,1) both; }
.gn.is-open .menu.is-active li:nth-child(1){ animation-delay: .05s; }
.gn.is-open .menu.is-active li:nth-child(2){ animation-delay: .10s; }
.gn.is-open .menu.is-active li:nth-child(3){ animation-delay: .15s; }
.gn.is-open .menu.is-active li:nth-child(4){ animation-delay: .20s; }
.gn.is-open .menu.is-active li:nth-child(5){ animation-delay: .25s; }
.gn.is-open .menu.is-active li:nth-child(6){ animation-delay: .30s; }
.gn.is-open .menu.is-active li:nth-child(7){ animation-delay: .34s; }
.gn.is-open .menu.is-active li:nth-child(8){ animation-delay: .38s; }

@keyframes menuColIn{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: none; }
}
@keyframes menuItemIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: none; }
}

/* 减弱动效 / 静态模式下全部退化为直接可见 */
html.no-motion .menu .menu__col,
html.no-motion .menu li{ opacity: 1; transform: none; animation: none; }
html.no-motion .reveal-title{ clip-path: none; transform: none; }


/* 文章列表 / 详情 */
.post-list{ display: grid; gap: 4px; max-width: 820px; }
.post{
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  text-decoration: none;
  color: inherit;
}
.post:first-child{ border-top: 1px solid rgba(0,0,0,.1); }
.post__date{ font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.post__title{ margin: 8px 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.post__summary{ margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.post__more{ display: inline-block; margin-top: 12px; font-size: 13px; color: var(--ink); }
.post:hover .post__title{ text-decoration: underline; text-underline-offset: 3px; }
.post-empty{ padding: 40px 0; color: var(--ink-3); font-size: 14px; }

.article{ max-width: 760px; }
.article__meta{ margin: 0 0 14px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.article__title{ margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
.article__summary{ margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article__body{ font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.article__body p{ margin: 0 0 18px; }
.article__body h2{ margin: 32px 0 14px; font-size: 20px; color: var(--ink); }
.article__body h3{ margin: 26px 0 12px; font-size: 17px; color: var(--ink); }
.article__body img{ max-width: 100%; border-radius: 12px; }
.article__body ul{ padding-left: 20px; margin: 0 0 18px; }

/* =========================================================
   6. 响应式
   ========================================================= */
/* 窄屏下装饰卡片会压到标题，直接隐藏 */
@media (max-width: 1100px){
  .hero__card{ display: none; }
}

/* 导航在 960 以下收成汉堡：中文栏目名比苹果的英文长，再窄就会挤在一起 */
@media (max-width: 960px){
  .gn__content{ justify-content: space-between; gap: 0; }

  .gn__logo{
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
  }
  .gn__logo img{ height: 36px; }

  .gn__list{ display: none; }
  .gn__burger{ display: flex; }
  .gn__panel{ display: none; }

  .gn__tools{ margin-left: auto; }
}

/* 公司区块：窄屏改单列，年份栏移到下方横排 */
@media (max-width: 900px){
  .section{ padding: 76px 20px; }
  .split{ grid-template-columns: 1fr; gap: 28px; }
  .split__title{ position: static; }
  .split__lead{ font-size: 20px; }
  .solutions{ grid-template-columns: 1fr; gap: 34px; }
  .advisor{ grid-template-columns: 1fr; }
  .advisor__media{ max-width: 200px; }
  .history__grid{ grid-template-columns: 1fr; gap: 36px; }
  .history__rail{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.1);
    position: static;
  }
  .history__year{ font-size: clamp(56px, 16vw, 96px); }
  .media-grid{ gap: 8px; }
  .figures{ grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 40px; }

  /* 子页面 */
  .page-hero{ padding: 120px 20px 56px; }
  .pgrid{ grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .contact-form{ grid-template-columns: 1fr; }
  .tile--wide{ grid-template-columns: 1fr; padding: 40px 24px; text-align: center; }
  .tile--wide .tile__cta{ justify-content: center; }
  .tile--wide .tile__text{ margin: 0 auto; }
  .tile--wide .tile__stage{ height: 260px; margin-top: 24px; }
}

@media (max-width: 600px){
  .pgrid{ grid-template-columns: 1fr; }
  .contact-list li{ grid-template-columns: 1fr; gap: 4px; }
  .cards{ grid-template-columns: 1fr; margin-top: 40px; }
}

@media (max-width: 833px){
  :root{ --gn-h: 48px; }

  .menu__grid{ grid-template-columns: 1fr; gap: 32px; }

  .hero{ min-height: 0; padding: 72px 20px 56px; }

  .grid{ grid-template-columns: 1fr; gap: 10px; padding: 10px 0; }
  .tile{ padding: 52px 18px 0; }
  .tile--hero{ padding-top: 56px; }
  .tile__stage{
    height: 240px;
    margin-top: 28px;
    border-radius: 20px 20px 0 0;
  }
  .tile--mini .tile__stage{ height: 200px; }

  .ft__inner{ flex-direction: column; gap: 24px; }
  .ft__nav{ gap: 18px 24px; }
}

@media (max-width: 420px){
  .tile__cta{ gap: 10px; }
  .btn{ padding: 11px 18px; font-size: 15px; }
}

/* =========================================================
   7. 偏好与打印
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print{
  .gn, .drawer{ display: none; }
}
