.page-wrap {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.page-content--static {
  flex: none;
  overflow: visible;
}

/* PC 子页壳层：Header + 主区 + Footer（仅桌面端，不渗入 H5） */
@media (min-width: 993px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .footer {
    width: 100%;
    height: var(--pc-footer-height);
    line-height: var(--pc-footer-height);
    margin: 0;
    text-align: center;
    background: #05070B;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .footer p {
    font-size: 12px;
  }

  .page-main {
    margin-top: var(--pc-header-height);
    height: calc(100vh - var(--pc-header-height) - var(--pc-footer-height));
    box-sizing: border-box;
    overflow: hidden;
  }
}

/* 底部五块 */.about-features {
  width: 1200px;
  max-width: 100%;
  height: 88px;
  flex-shrink: 0;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-sizing: border-box;
}

.feature-item {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 18px 0 24px;
  color: inherit;
  box-sizing: border-box;
}

.feature-item + .feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 0.5px;
  height: 40px;
  background: #8F8F8F;
  opacity: 0.5;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-right: 12px;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.feature-arrow {
  margin-left: 50px;
  font-size: 12px;
}

.feature-item.active .feature-arrow {
  display: none;
}

.feature-item.active .feature-text h3::after {
  content: "";
  flex-shrink: 0;
  margin-left: 50px;
  width: 35px;
  height: 24px;
  background: url("../img/fffff.png") no-repeat center / contain;
}

.feature-item.active h3 {
  font-weight: 600;
}

.feature-item.active::after {
  content: "";
  position: absolute;
  left: 29px;
  bottom: 3px;
  width: 200px;
  height: 2px;
  background: var(--accent-gradient-line);
}

.feature-text p {
  font-size: 12px;
  line-height: 18px;
}

/* 窄桌面（如 1024px）：五块导航保留单行标题，避免内容被挤成两行。 */
@media (min-width: 993px) and (max-width: 1200px) {
  .about-features {
    width: calc(100% - 32px);
  }

  .feature-item {
    padding: 0 10px;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    margin-right: 7px;
  }

  .feature-text h3 {
    min-width: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .feature-arrow {
    margin-left: auto;
  }

  .feature-item.active .feature-text h3::after {
    margin-left: auto;
  }

  .feature-text p {
    font-size: 11px;
    line-height: 15px;
  }
}

/* 了解我们 PC 子页：底部五块导航统一贴住主区域底部，避免不同正文高度导致页面切换跳动。 */
@media (min-width: 993px) {
  body.page-about-sub .page-wrap {
    position: relative;
  }

  body.page-about-sub .page-wrap > .about-features {
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: 1200px;
    max-width: calc(100vw - 32px);
    margin: 0;
    transform: translateX(-50%);
  }
}

/* 了解我们子页 PC：仅 5 块，隐藏手机端额外的首/末项 */
body.page-about-sub .feature-item-h5-only {
  display: none;
}

body.page-about-sub .about-features .feature-item-h5-only + .feature-item::before {
  display: none;
}

body.page-about-sub .sub-section-title,
body.page-about-sub .hxnl-section-title {
  display: none;
}

/* 产品中心 / 软件详情等页面共用的顶部 banner */
.cp-banner {
  display: grid;
  flex-shrink: 0;
  width: 100%;
  max-width: 1920px;
  height: 180px;
  margin: 0 auto;
}

.cp-banner-img,
.cp-banner-inner,
.cp-banner-toolbar {
  grid-area: 1 / 1;
}

.cp-banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cp-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 35px;
  z-index: 1;
  font-family: "Microsoft YaHei", sans-serif;
}

.cp-banner-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
  white-space: nowrap;
  color: #C8CED6;
}

.cp-banner-line {
  display: block;
  width: 120px;
  height: 4px;
  margin-top: 16px;
  background: #E10600;
}

.cp-banner-desc {
  max-width: 1303px;
  margin: 18px 20px 0;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  font-synthesis: none;
}

/* Banner 返回：顶栏「联系我们」右对齐，距其下约 50px */
.cp-banner-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  padding: 50px 80px 0;
  box-sizing: border-box;
  pointer-events: none;
}

.cp-banner-back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 30px;
  margin: 0;
  padding: 0;
  gap: 10px;
  border: none;
  border-radius: 30px;
  background: #244765;
  color: #fff;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

.cp-banner-back:hover {
  background: #244765;
  color: #fff;
}

@media (min-width: 993px) and (max-width: 1200px) {
  .cp-banner {
    height: clamp(150px, 15vw, 180px);
  }

  .cp-banner-img {
    height: 100%;
  }

  .cp-banner-inner {
    padding-top: clamp(24px, 2.9vw, 35px);
  }

  .cp-banner-title {
    font-size: clamp(28px, 3vw, 36px);
  }

  .cp-banner-line {
    width: clamp(96px, 10vw, 120px);
    margin-top: clamp(12px, 1.35vw, 16px);
  }

  .cp-banner-desc {
    margin-top: clamp(12px, 1.5vw, 18px);
    font-size: clamp(12px, 1.18vw, 14px);
    line-height: 1.65;
  }

  .cp-banner-toolbar {
    padding-right: calc(23.19vw - 198px);
  }
}

/* 平板（iPad Pro 等）：宽度 >992 仍走 PC，但隐藏底部版权，主区占满 */
@media (min-width: 993px) and (max-width: 1366px) and ((hover: none) and (pointer: coarse), (any-pointer: coarse)) {
  body.page-h5.page-about-sub .footer,
  body.page-h5.page-about1 .footer,
  body.page-h5.page-hxnl .footer,
  body.page-h5.page-products .footer,
  body.page-h5.page-jjf .footer,
  body.page-h5.page-cjgl-detail .footer,
  body.page-h5.page-cj-detail .footer,
  body.page-h5.page-contact .contact-footer,
  body.page-h5 .footer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0;
    line-height: 0;
  }

  body.page-h5 .page-main {
    height: calc(100vh - var(--pc-header-height));
  }

  body.page-h5.page-contact .contact-main {
    min-height: calc(100vh - var(--pc-header-height));
  }

  /* iOS/iPad 对 background-attachment: fixed 支持差，改 scroll */
  .hero,
  .about-main,
  .sub-main,
  .fwtx-main,
  .sthz-main,
  .wlzw-main,
  .qywh-main,
  .jjf-bg-item,
  .cj-detail-hero {
    background-attachment: scroll;
  }

  /* 了解我们子页：平板全屏 cover 背景（fixed 层，避免 iOS fixed attachment 问题） */
  body.page-about-sub .page-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #05070B;
    background-image: var(--about-h5-bg-image, none);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  body.page-about-sub .sub-main,
  body.page-about-sub .qywh-main {
    background: none !important;
  }

  body.page-about-sub .qywh-main::before {
    display: none;
  }

  body.page-about-sub .page-main > .page-wrap {
    position: relative;
    z-index: 1;
  }

  body.page-about1 .page-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #05070B;
    background-image: url("../img/h5/about1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  body.page-about1 .about-main {
    background: none !important;
  }

  body.page-about1 .about-main > .about-pc,
  body.page-about1 .about-main > .about-h5 {
    position: relative;
    z-index: 1;
  }
}
