/* ============================================================
   Banner video + product-center embed (site-specific)
   All classes use a bw- prefix or are scoped under .index01/.index04.
   ============================================================ */

/* ---------- index01 banner video ---------- */
.index01 {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #02070d;
}
.bw-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #02070d url("/video/banner.jpg") center center / cover no-repeat;
}
.bw-banner-media::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background: #02070d url("/video/banner.jpg") center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  filter: blur(18px) brightness(.62);
  pointer-events: none;
}
.bw-banner-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}
.index01::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 8, 15, .38) 0%, transparent 26%, transparent 70%, rgba(2, 8, 15, .28) 100%);
}
.bw-banner-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 50px;
  background: rgba(2, 8, 15, .52);
  color: #fff;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .12em;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .32);
  transition: background .2s ease, border-color .2s ease;
}
.bw-banner-play.is-visible { display: inline-flex; }
.bw-banner-play:hover {
  background: rgba(18, 48, 70, .72);
  border-color: rgba(139, 225, 255, .9);
}
.bw-banner-play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  filter: drop-shadow(0 0 6px rgba(125, 220, 255, .55));
}
.bw-banner-play-text { font-size: 14px; }

/* ---------- index04 product center ---------- */
.index04 {
  position: relative;
  width: 100%;
  height: 100vh !important;
  height: 100svh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #06121f;
}
.index04 .bpm-section {
  height: 100% !important;
  min-height: 0 !important;
}
/* 站点已有顶部导航，隐藏组件自带的重复品牌栏 */
.index04 .bpm-topbar { display: none !important; }
/* 给站点头部留出空间 */
.index04 .bpm-hero { top: 104px !important; }

@media (max-width: 999px) {
  .index01 {
    height: auto;
    min-height: 0;
    padding-top: 4rem !important;
  }
  .bw-banner-media {
    position: relative;
    height: auto;
    padding-top: 56.25%;
    background-color: #02070d;
    background-image: none;
  }
  .bw-banner-media::before { opacity: 0; }
  .bw-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bw-banner-play {
    left: auto;
    top: auto;
    right: 10px;
    bottom: 10px;
    transform: none;
    padding: 8px 13px;
    gap: 7px;
    background: rgba(2, 8, 15, .62);
  }
  .bw-banner-play-text { font-size: 12px; }
  .bw-banner-play-icon {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }
  .index04 .bpm-hero { top: 76px !important; }
}

@media (max-width: 360px) {
  .bw-banner-play { padding: 7px 11px; }
  .bw-banner-play-text { font-size: 11px; }
}
