
/* ============ 全局 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { width: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* 默认显示 PC，隐藏 H5 */
.h5 { display: none; }

/* ============ PC 端 ============ */
.pc {
  background: url("img/web/bj.png") no-repeat center top / cover fixed;
  min-height: 100vh;
}
.pc .wrap {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 60px;
}

.pc .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.pc .header .logo { width: 258px; }

.pc .hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0 40px;
}
.pc .hero .slogan { width: 506px; }
.pc .hero .pc-btn { width: 230px; }

.pc .features { padding: 40px 0; }
.pc .features .big {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pc .features .big > img,
.pc .features .big .card { width: calc((100% - 48px) / 3); }
.pc .features .card { position: relative; }
.pc .features .card > img { width: 100%; }
.pc .features .card .overlays {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 12px;
}
.pc .features .card .overlays img { width: 27%; }
.pc .features .card .overlays .btn {
  width: 42%;
  transform: translateX(-60px);
}

.pc .advantage { padding: 20px 0; }
.pc .advantage img { width: 100%; }

.pc .float-kf {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 271px;
  cursor: pointer;
  z-index: 100;
}

.pc .footer {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  padding: 20px 0 40px;
  letter-spacing: 1px;
}

/* ============ H5 端 ============ */
.h5 {
  background: #000 url("img/h5/BJ.jpg") no-repeat center top;
  background-size: 100% auto;
  min-height: 100vh;
}
.h5 .page {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 12px;
}

.h5 .header {
  display: flex;
  justify-content: flex-start;
  padding: 16px 0 8px;
}
.h5 .header .logo { width: 110px; }

.h5 .copy {
  display: flex;
  justify-content: flex-start;
  padding: 8px 0;
}
.h5 .copy img { width: 55%; }

.h5 .block { padding: 6px 0; }
.h5 .block > img { width: 100%; }
.h5 .block .layer { position: relative; }
.h5 .block .layer > img { width: 100%; }
.h5 .block .btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-right: 2%;
}
.h5 .block .btns img { width: 18%; }
.h5 .block .btns.center {
  justify-content: center;
  padding-right: 0;
}
.h5 .block .btns img.wide {
  width: 29%;
  transform: translateX(20px);
}

.h5 .copy2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  padding: 8px 0 16px;
}
.h5 .copy2 .left {
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.h5 .copy2 .left .txt { width: 100%; }
.h5 .copy2 .left .btn { width: 59%; margin-top: 8px; }
.h5 .copy2 .carousel { width: 58%; }

.h5 .float {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 100px;
  cursor: pointer;
  z-index: 100;
}

.h5 .footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  padding: 16px 0 24px;
  letter-spacing: 1px;
}

/* ============ 响应式切换 PC / H5 ============ */
@media (max-width: 768px) {
  .pc { display: none; }
  .h5 { display: block; }
}

/* ============ PC 端随视口缩放 ============ */
@media (max-width: 1440px) {
  .pc .wrap { padding: 0 40px; }
  .pc .header .logo { width: 210px; }
  .pc .hero .slogan { width: 420px; }
  .pc .hero .pc-btn { width: 200px; }
  .pc .float-kf { width: 220px; right: 16px; bottom: 16px; }
}

@media (max-width: 1100px) {
  .pc .wrap { padding: 0 24px; }
  .pc .header .logo { width: 170px; }
  .pc .hero .slogan { width: 340px; }
  .pc .hero .pc-btn { width: 170px; }
  .pc .features .big { gap: 16px; }
  .pc .float-kf { width: 180px; }
}
