.page-wrap--hxnl {
  position: relative;
  padding: 20px clamp(32px, 4vw, 80px) 24px;
  color: #C8CED6;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

/* 副标题字色：全端唯一入口（改此处即可，勿分散到 media 里） */
body.page-hxnl {
  --hxnl-subtitle-color: #C8CED6;
}

body.page-hxnl h2.hxnl-subtitle {
  color: var(--hxnl-subtitle-color) !important;
  -webkit-text-fill-color: var(--hxnl-subtitle-color) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

/* 描述正文：不设 font-weight，避免部分字体被拉粗 */
body.page-hxnl .hxnl-desc,
body.page-hxnl .hxnl-xl-section li,
body.page-hxnl .zhglpt-desc,
body.page-hxnl .zhglpt-block-list li,
body.page-hxnl .hxnl-ai-section-desc,
body.page-hxnl .hxnl-zxc-desc,
body.page-hxnl .hxnl-lxzt-desc,
body.page-hxnl .hxnl-gmj-intro,
body.page-hxnl .hxnl-gmj-card-desc {
  font-synthesis: none;
}

/* 背景独立图层：随当前页面尺寸居中铺满。 */
.hxnl-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  background: url("../img/hxnl_bg.png") no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.page-wrap--hxnl > .hxnl-tabs,
.page-wrap--hxnl > .hxnl-scenes,
.page-wrap--hxnl > .hxnl-h5-dots {
  position: relative;
  z-index: 1;
}

/* 纯 CSS Tab：radio + label */
.hxnl-tab-input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.hxnl-tab-input:nth-of-type(1):checked ~ .hxnl-bg {
  background-image: url("../img/hxnl_bg.png");
}

.hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-bg {
  background-image: url("../img/hxnl2_bg.png");
}

.hxnl-tab-input:nth-of-type(3):checked ~ .hxnl-bg {
  background-image: url("../img/zhgl_bg.png");
}

.hxnl-tab-input:nth-of-type(4):checked ~ .hxnl-bg {
  background-image: url("../img/ai_bg.png");
}

.hxnl-tab-input:nth-of-type(5):checked ~ .hxnl-bg {
  background-image: url("../img/zxc_bg.png");
}

.hxnl-tab-input:nth-of-type(6):checked ~ .hxnl-bg {
  background-image: url("../img/lxzt_bg.png");
}

.hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-bg {
  background-image: url("../img/gmj_bgj.png");
}

.hxnl-tab-input:nth-of-type(1):checked ~ .hxnl-tabs > li:nth-child(1) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-tabs > li:nth-child(2) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(3):checked ~ .hxnl-tabs > li:nth-child(3) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(4):checked ~ .hxnl-tabs > li:nth-child(4) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(5):checked ~ .hxnl-tabs > li:nth-child(5) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(6):checked ~ .hxnl-tabs > li:nth-child(6) .hxnl-tab::after,
.hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-tabs > li:nth-child(7) .hxnl-tab::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 142px;
  height: 2px;
  background: var(--accent-gradient-line);
}

.hxnl-tab-input:nth-of-type(1):checked ~ .hxnl-h5-dots > li:nth-child(1) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-h5-dots > li:nth-child(2) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(3):checked ~ .hxnl-h5-dots > li:nth-child(3) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(4):checked ~ .hxnl-h5-dots > li:nth-child(4) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(5):checked ~ .hxnl-h5-dots > li:nth-child(5) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(6):checked ~ .hxnl-h5-dots > li:nth-child(6) .hxnl-h5-dot,
.hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-h5-dots > li:nth-child(7) .hxnl-h5-dot {
  width: 24px;
  background: #E10600;
}

.hxnl-section-title,
.hxnl-h5-dots {
  display: none;
}

.hxnl-cj-detail {
  display: none;
}

/* IE11 does not support inset. */
.hxnl-bg {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media (min-width: 993px) {
  .hxnl-main.page-main {
    overflow: hidden;
    background: #05070B;
    width: 100%;
  }

  .hxnl-main .hxnl-bg {
    position: fixed;
    top: var(--pc-header-height);
    right: 0;
    bottom: var(--pc-footer-height);
    left: 0;
    width: auto;
    height: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .page-wrap--hxnl > .hxnl-tabs {
    justify-content: center;
  }

  .hxnl-scenes {
    align-items: center;
    width: 100%;
  }

  .hxnl-scene {
    width: 100%;
    max-width: 1289px;
    margin-left: auto;
    margin-right: auto;
  }

  .hxnl-content--hy,
  .hxnl-content--xl,
  .hxnl-content--zhgl,
  .hxnl-content--ai,
  .hxnl-content--zxc,
  .hxnl-content--lxzt,
  .hxnl-content--gmj {
    margin-left: auto;
    margin-right: auto;
  }

  .hxnl-zxc-panel {
    margin-left: auto;
  }

  .hxnl-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 8px;
    background: transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .page-wrap--hxnl {
    padding-bottom: 12px;
    overflow: hidden;
  }

  /* 页脚全宽铺底，与顶栏一致；保留顶部分割线 */
  body.page-hxnl .footer {
    background: #05070B;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* 背景在 .hxnl-bg 固定层；仅 .hxnl-scenes 内滚动，与第 3 屏一致 */
  .hxnl-scenes {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hxnl-scenes::-webkit-scrollbar {
    display: none;
  }

  .hxnl-tab-input:nth-of-type(1):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(1),
  .hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(2),
  .hxnl-tab-input:nth-of-type(3):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(3),
  .hxnl-tab-input:nth-of-type(4):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(4),
  .hxnl-tab-input:nth-of-type(5):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(5),
  .hxnl-tab-input:nth-of-type(6):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(6),
  .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(7) {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .hxnl-scene {
    display: none;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
  }

  .hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-scenes > .hxnl-scene:nth-child(2) {
    flex: 1 1 auto;
    min-height: 100%;
  }

  /* 2.星络物模型：压缩纵向空间，避免滚动 */
  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-scenes > .hxnl-scene--xl {
    flex: 1 1 auto;
    min-height: 100%;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-content--xl {
    flex: 1;
    min-height: 0;
    padding-bottom: 50px;
    align-items: stretch;
    box-sizing: border-box;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-xl-left {
    display: flex;
    flex-direction: column;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-xl-stats {
    margin-top: auto;
    margin-bottom: 0;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-xl-right {
    justify-content: flex-end;
    align-self: stretch;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-devices {
    margin-top: auto;
    margin-bottom: 0;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-scene--xl .hxnl-xl-titlebar {
    margin-top: clamp(8px, 1.5vh, 16px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-xl-stat {
    height: 72px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-devices {
    height: clamp(180px, 24vh, 210px);
    transform: none;
  }

  .page-wrap--hxnl:has(#hxnl-tab-2:checked) .hxnl-device-summary {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
  }

  /* 1.鸿雁架构：芯片合作区与成本统计贴底对齐 */
  .page-wrap--hxnl:has(#hxnl-tab-1:checked) .hxnl-scenes > .hxnl-scene--hy {
    flex: 1 1 auto;
    min-height: 100%;
  }

  .page-wrap--hxnl:has(#hxnl-tab-1:checked) .hxnl-content--hy {
    flex: 1;
    min-height: 0;
    align-items: flex-end;
    padding-bottom: 15px;
    box-sizing: border-box;
  }

  .page-wrap--hxnl:has(#hxnl-tab-1:checked) .hxnl-right {
    align-self: stretch;
    justify-content: flex-start;
  }

  .page-wrap--hxnl:has(#hxnl-tab-1:checked) .hxnl-stats {
    margin-top: auto;
    margin-bottom: 0;
  }

  /* 3.综合管理平台：内容贴底对齐，避免 100vh margin 滚动时闪动 */
  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .hxnl-scenes > .hxnl-scene--zhgl {
    flex: 1 1 auto;
    min-height: 100%;
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .hxnl-content--zhgl {
    margin-top: auto;
    margin-left: auto;
    flex: 0 0 auto;
    min-height: auto;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-desc {
    margin-top: clamp(12px, 2vh, 20px);
    font-size: clamp(13px, 1.4vw, 16px);
    line-height: clamp(20px, 2.4vh, 24px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-bottom {
    margin-top: clamp(12px, 2vh, 20px);
    gap: clamp(12px, 2vh, 20px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-block-list li {
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: clamp(20px, 2.4vh, 28px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-6:checked) .hxnl-content--lxzt {
    margin-top: 24px;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  /* 5.智星超联动：文字区上移，矮屏一屏内尽量不滚动 */
  .page-wrap--hxnl:has(#hxnl-tab-5:checked) .hxnl-content--zxc {
    margin-top: clamp(24px, calc(100vh - var(--pc-header-height) - var(--pc-footer-height) - 420px), 140px);
    padding-bottom: 24px;
    flex: none;
    min-height: auto;
    box-sizing: border-box;
  }

  .page-wrap--hxnl:has(#hxnl-tab-5:checked) .hxnl-zxc-panel {
    height: auto;
    min-height: 0;
  }

  .page-wrap--hxnl:has(#hxnl-tab-5:checked) .hxnl-zxc-desc {
    margin-top: clamp(16px, 2.5vh, 40px);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(22px, 2.6vh, 28px);
  }

  /* 7.国密级安全防护：图片适度缩放，优先保证可视尺寸 */
  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-content--gmj,
  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-panel {
    width: min(1274px, 100%);
    height: auto;
    flex: none;
    min-height: 0;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-panel {
    padding-top: clamp(16px, 2vh, 32px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-cards {
    width: 100%;
    height: auto;
    max-height: 272px;
    aspect-ratio: 1274 / 272;
    object-fit: contain;
    object-position: center;
    margin-top: clamp(10px, 1.2vh, 20px);
    flex-shrink: 0;
    min-height: 0;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-intro {
    margin-top: clamp(10px, 1.2vh, 24px);
    font-size: clamp(13px, 1.35vw, 16px);
    line-height: clamp(20px, 2.2vh, 26px);
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-card-descs {
    margin-top: clamp(8px, 1vh, 14px);
    gap: clamp(6px, 0.8vh, 12px);
    flex: none;
    min-height: 0;
    align-items: flex-start;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-card-desc {
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: clamp(18px, 2.1vh, 24px);
  }
}

/* 3.综合管理平台 */
.hxnl-content--zhgl {
  width: 100%;
  max-width: 1389px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

@media (min-width: 993px) {
  .hxnl-scenes {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
}

.hxnl-scenes {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  box-sizing: border-box;
}

.hxnl-scene {
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
}

/* 顶部七个 Tab */
.hxnl-tabs {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.hxnl-tab {
  position: relative;
  width: 168px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.hxnl-tab-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* 1.鸿雁架构 */
.hxnl-content--hy {
  width: 100%;
  max-width: 1289px;
  flex: 1;
  min-height: 0;
  margin-top: 37px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  box-sizing: border-box;
}

/* 2.星络物模型 */
.hxnl-content--xl {
  width: 100%;
  max-width: 1289px;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

.hxnl-partners {
  width: 687px;
  max-width: 100%;
  height: 134px;
  flex-shrink: 0;
  padding: 16px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hxnl-partners-title {
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
  color: #E10600;
}

.hxnl-partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hxnl-partners-logos img {
  height: 56px;
  width: auto;
}

.hxnl-right {
  width: 524px;
  max-width: 100%;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hxnl-line {
  display: block;
  width: 120px;
  height: 4px;
  margin-top: 18px;
  background: #E10600;
}

.hxnl-desc {
  margin-top: 24px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #C8CED6;
  text-indent: 2em;
}

.hxnl-stats {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.hxnl-stat,
.hxnl-xl-stat,
.hxnl-lxzt-stat {
  width: 152px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-sizing: border-box;
}

.hxnl-stat strong,
.hxnl-xl-stat strong,
.hxnl-lxzt-stat strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #E10600;
}

.hxnl-stat span {
  margin-top: 8px;
  font-size: 14px;
}

.hxnl-xl-stat span {
  margin-top: 4px;
  font-size: 14px;
}

.hxnl-xl-stat em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
}

.hxnl-lxzt-stat span {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.hxnl-xl-left {
  width: 570px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  box-sizing: border-box;
}

.hxnl-xl-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  box-sizing: border-box;
}

.hxnl-xl-stats {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}

.hxnl-devices {
  width: 640px;
  max-width: 100%;
  height: 250px;
  transform: translateY(60px);
  padding: 10px 14px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.hxnl-device-img {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  transform: scale(0.84);
  transform-origin: center center;
}

.hxnl-device-img--h5 {
  display: none;
}

.hxnl-device-summary {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #E10600;
  flex-shrink: 0;
}

.hxnl-xl-titlebar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.hxnl-xl-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hxnl-xl-title {
  flex-shrink: 0;
}

.hxnl-xl-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 118px;
  height: 24px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(180deg, #F25458 12.02%, #C10014 69.23%);
  opacity: 0.9;
  box-sizing: border-box;
}

.hxnl-xl-link--slide {
  display: none;
}

.hxnl-xl-sections {
  width: 100%;
  margin: 10px 0 20px;
  box-sizing: border-box;
}

.hxnl-xl-section + .hxnl-xl-section {
  margin-top: 20px;
}

.hxnl-xl-section {
  display: flex;
  align-items: flex-start;
}

.hxnl-xl-section h3 {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 0;
}

.hxnl-xl-section ul {
  flex: 1;
  min-width: 0;
  margin: 0 10px 0 8px;
  padding-left: 18px;
  box-sizing: border-box;
}

.hxnl-xl-section:first-child li,
.hxnl-xl-section:nth-child(2) li,
.hxnl-xl-section:nth-child(3) li {
  font-size: 16px;
  line-height: 28px;
  list-style: disc;
}

.zhglpt-desc {
  max-width: 1273px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
}

.zhglpt-bottom {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
  box-sizing: border-box;
}

.zhglpt-block {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
}

.zhglpt-block:first-child {
  flex: 0 0 auto;
}

.zhglpt-block:last-child {
  flex: 1 1 0;
  min-width: 0;
}

.zhglpt-block-title {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.zhglpt-block-list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-left: 18px;
  box-sizing: border-box;
}

.zhglpt-block:first-child .zhglpt-block-list {
  flex: 0 1 auto;
  width: auto;
}

.zhglpt-block-list li {
  display: list-item;
  color: #C8CED6;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 28px;
  list-style: disc;
}

/* 4.AI引擎 */
.hxnl-content--ai {
  width: 100%;
  max-width: 1289px;
  flex: 1;
  min-height: 0;
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  box-sizing: border-box;
}

.hxnl-ai-panel {
  width: 552px;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.hxnl-ai-section {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hxnl-ai-section-title {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.hxnl-ai-section-desc {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  font-size: 16px;
  line-height: 28px;
}

/* 5.智星超联动 */
.hxnl-content--zxc {
  width: 100%;
  max-width: 1289px;
  flex: 1;
  min-height: 0;
  margin-top: 229px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
}

.hxnl-zxc-panel {
  width: 521px;
  height: 365px;
  max-width: 100%;
  margin-left: 782px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.hxnl-zxc-desc {
  margin-top: 54px;
  font-size: 16px;
  line-height: 28px;
  text-indent: 2em;
}

/* 6.灵星智能体 */
.hxnl-content--lxzt {
  width: 100%;
  max-width: 1289px;
  flex: 1;
  min-height: 0;
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
}

.hxnl-lxzt-panel {
  width: 540px;
  height: 539px;
  max-width: 100%;
  flex: none;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hxnl-lxzt-desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 28px;
  text-indent: 2em;
}

.hxnl-lxzt-desc + .hxnl-lxzt-desc {
  margin-top: 16px;
}

.hxnl-lxzt-stats {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: auto 0 50px;
  padding: 0;
}

.hxnl-lxzt-stat-icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.hxnl-lxzt-stat-icon + span {
  margin-top: 2px;
  font-weight: 700;
}

/* 7.国密级安全防护：设计 1274×698，top 222px，left 323px */
.hxnl-content--gmj {
  width: 1274px;
  max-width: 100%;
  height: 698px;
  flex: none;
  align-self: flex-start;
  margin-top: 0;
  margin-left: 0;
  box-sizing: border-box;
}

.hxnl-gmj-panel {
  width: 1274px;
  max-width: 100%;
  height: 698px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hxnl-gmj-intro {
  width: 1273px;
  max-width: 100%;
  margin-top: 40px;
  font-size: 16px;
  line-height: 28px;
}

.hxnl-gmj-cards {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
}

.hxnl-gmj-list {
  display: none;
}

.hxnl-gmj-card-descs {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex: 1;
  min-height: 0;
}

.hxnl-gmj-card-desc {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

/* PC：排版与字色；H5 见 hxnl-h5.css，互不共用 */
@media (min-width: 993px) {
  .hxnl-line.hxnl-line--section {
    display: none;
  }

  .hxnl-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    background: none;
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }

  .hxnl-subtitle,
  body.page-hxnl h2.hxnl-subtitle,
  body.page-hxnl .hxnl-panel h2.hxnl-subtitle,
  body.page-hxnl .zhglpt-main h2.hxnl-subtitle,
  body.page-hxnl .hxnl-ai-panel h2.hxnl-subtitle,
  body.page-hxnl .hxnl-zxc-panel h2.hxnl-subtitle,
  body.page-hxnl .hxnl-lxzt-panel h2.hxnl-subtitle,
  body.page-hxnl [class*="hxnl-content--"] h2.hxnl-subtitle {
    max-width: 100%;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .hxnl-content--zhgl .hxnl-subtitle {
    margin-top: 20px;
    line-height: 1;
  }

  .hxnl-content--ai .hxnl-subtitle,
  .hxnl-content--zxc .hxnl-subtitle,
  .hxnl-content--lxzt .hxnl-subtitle {
    margin-top: 20px;
    line-height: 1.3;
  }

  /* 6.灵星智能体：左栏限宽，矮屏随内容增高、底部统计不再被裁切 */
  .hxnl-lxzt-panel {
    width: min(540px, calc(100vw - 640px));
    max-width: 540px;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hxnl-lxzt-stats {
    margin: 24px 0 0;
    flex-shrink: 0;
  }

  /* 区块小标题：渐变红（仅 PC h3；勿用 .hxnl-subtitle） */
  .hxnl-xl-section h3,
  .zhglpt-block-title,
  .hxnl-ai-section-title {
    background: linear-gradient(180deg, #FF8870 0%, #C01A10 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* 2.星络物模型 PC：副标题 / 行业痛点 / 列表适中字号 */
  body.page-hxnl .hxnl-scene--xl .hxnl-xl-left h2.hxnl-subtitle {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.25;
  }

  .hxnl-scene--xl .hxnl-content--xl {
    flex: 1;
    min-height: 0;
    padding-bottom: 50px;
    align-items: stretch;
    box-sizing: border-box;
  }

  .hxnl-scene--xl .hxnl-xl-left {
    display: flex;
    flex-direction: column;
  }

  .hxnl-scene--xl .hxnl-xl-right {
    justify-content: flex-end;
    align-self: stretch;
  }

  .hxnl-scene--xl .hxnl-xl-stats {
    margin-top: auto;
    margin-bottom: 0;
  }

  .hxnl-scene--xl .hxnl-xl-sections {
    margin: 6px 0 8px;
  }

  .hxnl-scene--xl .hxnl-xl-section + .hxnl-xl-section {
    margin-top: 8px;
  }

  .hxnl-scene--xl .hxnl-xl-section h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .hxnl-scene--xl .hxnl-xl-section ul {
    margin: 0 8px 0 6px;
    padding-left: 16px;
  }

  .hxnl-scene--xl .hxnl-xl-section:first-child li,
  .hxnl-scene--xl .hxnl-xl-section:nth-child(2) li,
  .hxnl-scene--xl .hxnl-xl-section:nth-child(3) li {
    font-size: 16px;
    line-height: 28px;
  }

  .hxnl-scene--xl .hxnl-xl-titlebar {
    margin-top: clamp(8px, 1.5vh, 16px);
  }

  .hxnl-scene--xl .hxnl-xl-stat {
    height: 72px;
  }

  .hxnl-scene--xl .hxnl-devices {
    height: clamp(180px, 24vh, 210px);
    transform: none;
    margin-top: auto;
    margin-bottom: 0;
  }

  .hxnl-scene--xl .hxnl-device-summary {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hxnl-scene > .hxnl-section-title,
  .hxnl-scene > .hxnl-line.hxnl-line--section {
    display: none !important;
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .hxnl-gmj-intro {
    color: #C8CED6;
    -webkit-text-fill-color: #C8CED6;
    background: none;
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }

  .hxnl-scene--hy .hxnl-content--hy {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    max-width: 1289px;
    margin-top: 37px;
  }

  .hxnl-scene--hy .hxnl-partners {
    order: 1;
    width: 687px;
    max-width: none;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 0;
    height: 134px;
    padding: 16px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .hxnl-scene--hy .hxnl-right {
    order: 2;
    width: 524px;
    max-width: none;
    flex-shrink: 0;
    align-self: stretch;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 1600px) {
  .hxnl-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .hxnl-scene--hy .hxnl-content--hy {
    flex-direction: column;
    align-items: stretch;
    overflow-y: visible;
  }

  .hxnl-scene--hy .hxnl-right {
    width: 100%;
    order: 1;
  }

  .hxnl-scene--hy .hxnl-partners {
    width: 100%;
    order: 2;
    margin-top: auto;
  }

  .page-wrap--hxnl:has(#hxnl-tab-1:checked) .hxnl-scene--hy .hxnl-right {
    flex: 1;
    min-height: 0;
  }

  .hxnl-content--xl {
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    height: auto;
    overflow-y: visible;
    padding-bottom: 50px;
    box-sizing: border-box;
  }

  .hxnl-scene--xl .hxnl-xl-left {
    width: min(520px, 46%);
    display: flex;
    flex-direction: column;
  }

  .hxnl-scene--xl .hxnl-xl-right {
    width: auto;
    flex: 1;
    min-width: 0;
    margin-top: 0;
    justify-content: flex-end;
    align-self: stretch;
  }

  .hxnl-scene--xl .hxnl-devices {
    width: 100%;
    max-width: 560px;
    height: clamp(170px, 22vh, 200px);
    transform: none;
    margin-top: auto;
    margin-bottom: 0;
  }

  .hxnl-content--zhgl {
    margin-top: auto;
    margin-left: 0;
    overflow-y: visible;
  }

  .zhglpt-bottom {
    flex-direction: column;
    gap: clamp(12px, 2vh, 16px);
  }

  .zhglpt-desc {
    margin-top: clamp(12px, 2vh, 20px);
    font-size: clamp(13px, 1.4vw, 16px);
    line-height: clamp(20px, 2.4vh, 24px);
  }

  .zhglpt-block-list li {
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: clamp(20px, 2.4vh, 28px);
  }

  .hxnl-content--ai {
    justify-content: flex-start;
    overflow-y: visible;
  }

  .hxnl-content--zxc {
    margin-top: clamp(24px, calc(100vh - var(--pc-header-height) - var(--pc-footer-height) - 400px), 48px);
    justify-content: flex-start;
    overflow-y: visible;
  }

  .hxnl-zxc-panel {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .hxnl-zxc-desc {
    margin-top: clamp(16px, 2vh, 32px);
  }

  .hxnl-content--lxzt {
    margin-top: 24px;
    overflow-y: visible;
  }

  .hxnl-lxzt-panel {
    width: min(480px, 100%);
    max-width: 480px;
    height: auto;
  }

  .hxnl-lxzt-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .hxnl-lxzt-stats {
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .hxnl-content--gmj,
  .hxnl-gmj-panel {
    width: 100%;
    height: auto;
  }

  .hxnl-gmj-cards {
    max-height: 272px;
    object-fit: contain;
  }

  .hxnl-gmj-intro {
    margin-top: clamp(10px, 1.2vh, 20px);
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: clamp(22px, 2.2vh, 28px);
  }

  .hxnl-gmj-card-descs {
    margin-top: clamp(10px, 1vh, 14px);
    gap: clamp(8px, 1vh, 12px);
  }

  .hxnl-gmj-card-desc {
    font-size: clamp(12px, 1.2vw, 13px);
    line-height: clamp(18px, 2vh, 20px);
  }

  .hxnl-gmj-card-descs {
    flex-wrap: wrap;
  }

  .hxnl-gmj-card-desc {
    flex: 1 1 calc(50% - 8px);
  }

  .hxnl-xl-left,
  .hxnl-xl-right {
    width: 100%;
  }

  .hxnl-scene--xl .hxnl-xl-left {
    width: min(520px, 46%);
  }

  .hxnl-scene--xl .hxnl-xl-right {
    width: auto;
    flex: 1;
    min-width: 0;
    margin-top: 0;
  }

  .hxnl-xl-right {
    padding-bottom: 0;
    justify-content: flex-start;
    margin-top: 16px;
  }

  .hxnl-scene--xl .hxnl-xl-right {
    margin-top: 0;
    justify-content: flex-end;
  }

  .hxnl-xl-stats {
    margin-top: 16px;
  }

  .hxnl-scene--xl .hxnl-xl-stats {
    margin-top: auto;
    margin-bottom: 0;
  }

  .hxnl-devices {
    width: 100%;
    height: auto;
  }

  .hxnl-scene--xl .hxnl-devices {
    max-width: 560px;
    height: clamp(170px, 22vh, 200px);
    transform: none;
    margin-top: auto;
    margin-bottom: 0;
  }
}

/* 桌面端：滚动仅发生在 .hxnl-scenes，背景层 .hxnl-bg 不随内容移动 */
@media (min-width: 993px) {
  .hxnl-xl-stat span {
    font-size: 12px;
    color: #E10600;
  }

  .hxnl-xl-stat em {
    font-size: 14px;
    color: #C8CED6;
  }

  .hxnl-xl-stat {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-content: center;
    align-items: baseline;
    justify-content: center;
    column-gap: 2px;
  }

  .hxnl-xl-stat strong {
    grid-column: 1;
    grid-row: 1;
  }

  .hxnl-xl-stat span {
    grid-column: 2;
    grid-row: 1;
  }

  .hxnl-xl-stat em {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }

  .hxnl-content--xl .hxnl-xl-stats {
    margin-left: 122px;
  }

  .hxnl-gmj-panel {
    padding-top: clamp(12px, 2vh, 40px);
  }
}

/* 矮屏笔记本（如 1424×866）：高屏保留统计区贴底，矮屏改为自然流式排版 */
@media (min-width: 993px) and (min-height: 980px) {
  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-desc {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-bottom {
    margin-top: 20px;
    gap: 20px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-3:checked) .zhglpt-block-list li {
    font-size: 16px;
    line-height: 28px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-5:checked) .hxnl-content--zxc {
    margin-top: min(229px, max(140px, calc(100vh - var(--pc-header-height) - var(--pc-footer-height) - 420px)));
  }

  .page-wrap--hxnl:has(#hxnl-tab-5:checked) .hxnl-zxc-desc {
    margin-top: 54px;
    font-size: 16px;
    line-height: 28px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-content--gmj,
  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-panel {
    max-height: none;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-panel {
    padding-top: 40px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-intro {
    margin-top: 40px;
    font-size: 16px;
    line-height: 28px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-cards {
    max-height: 272px;
    margin-top: 24px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-card-descs {
    margin-top: 16px;
    gap: 16px;
  }

  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-card-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .hxnl-lxzt-panel {
    min-height: 539px;
  }

  .hxnl-lxzt-stats {
    margin-top: auto;
    margin-bottom: 50px;
  }
}

@media (min-width: 993px) and (max-height: 820px) {
  .page-wrap--hxnl:has(#hxnl-tab-7:checked) .hxnl-gmj-cards {
    max-height: min(272px, max(230px, calc((100vh - var(--pc-header-height) - var(--pc-footer-height) - 72px - 200px) * 0.68)));
  }
}

/* IE11：修复国密防护固定高度与 Flex 等分失效造成的文字溢出。 */
@media screen and (min-width: 993px) {
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    html,
    body.page-hxnl {
      overflow-y: auto;
    }

    body.page-hxnl .page-main {
      height: auto;
      min-height: calc(100vh - var(--pc-shell-offset));
      overflow: visible;
    }

    .page-wrap--hxnl {
      display: -ms-flexbox;
      -ms-flex-direction: column;
      min-height: calc(100vh - var(--pc-shell-offset));
    }

    .hxnl-scenes {
      -ms-flex: 1 1 auto;
    }

    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes > .hxnl-scene--gmj,
    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes .hxnl-content--gmj,
    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes .hxnl-gmj-panel {
      height: auto;
      overflow: visible;
      -ms-flex: 0 0 auto;
    }

    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes .hxnl-gmj-card-descs {
      display: block;
      overflow: hidden;
      font-size: 0;
    }

    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes .hxnl-gmj-card-desc {
      display: inline-block;
      width: 18.4%;
      margin-right: 2%;
      vertical-align: top;
      font-size: 14px;
      word-wrap: break-word;
      word-break: normal;
    }

    .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-scenes .hxnl-gmj-card-desc:nth-child(5n) {
      margin-right: 0;
    }
  }
}

/* iPad 等平板：核心能力背景改用 H5 切图与定位 */
@media (min-width: 993px) and (max-width: 1366px) and ((hover: none) and (pointer: coarse), (any-pointer: coarse)) {
  .hxnl-bg {
    background-color: #05070B;
  }

  .hxnl-tab-input:nth-of-type(1):checked ~ .hxnl-bg {
    background-image: url("../img/h5/hxnl_bg.png");
    background-position: center 58%;
  }

  .hxnl-tab-input:nth-of-type(2):checked ~ .hxnl-bg {
    background-image: url("../img/h5/hxnl2_bg.png");
    background-position: center center;
  }

  .hxnl-tab-input:nth-of-type(3):checked ~ .hxnl-bg {
    background-image: url("../img/h5/zhgl_bg.png");
    background-position: center bottom;
  }

  .hxnl-tab-input:nth-of-type(4):checked ~ .hxnl-bg {
    background-image: url("../img/h5/ai_bg.png");
  }

  .hxnl-tab-input:nth-of-type(5):checked ~ .hxnl-bg {
    background-image: url("../img/h5/zxc_bg.png");
  }

  .hxnl-tab-input:nth-of-type(6):checked ~ .hxnl-bg {
    background-image: url("../img/h5/lxzt_bg.png");
  }

  .hxnl-tab-input:nth-of-type(7):checked ~ .hxnl-bg {
    background-image: url("../img/h5/gmj_bgj.png");
  }
}
