.twzbxt-page {
  margin: 0;
  min-width: 320px;
  color: #212123;
  background: #f5f7fa;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

.twzbxt-page main {
  position: relative;
  overflow: hidden;
  padding-bottom: 110px;
  background: #f5f7fa;
}

.twzbxt-page main::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(360px, 39.6875vw, 762px);
  content: "";
  pointer-events: none;
  background: url("/assets/matrix_cp/Maskgroup.png") center top / 100% 100% no-repeat;
  transform-origin: center top;
}

.hero {
  position: relative;
  z-index: 1;
  height: 363px;
  overflow: hidden;
}

.hero-bg {
  display: none;
}

.hero h1 {
  position: absolute;
  left: 50%;
  top: 176px;
  margin: 0;
  font-size: 48px;
  line-height: 1.34;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hero h1 span {
  color: #2468f2;
}

.content {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  background: #fff;
}

.panel-top {
  height: 1076px;
  margin-bottom: 20px;
}

.panel-bottom {
  min-height: 1590px;
  padding-bottom: 68px;
}

.panel-image {
  position: absolute;
  display: block;
  object-fit: cover;
}

.hero-screen {
  left: 46px;
  top: 41px;
  width: 1308px;
  height: 611px;
  border-radius: 0;
}

.panel-copy {
  position: absolute;
  color: #fff;
}

.panel-copy h2,
.studio-overlay h2 {
  position: relative;
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
}

.panel-copy h2::before,
.studio-overlay h2::before {
  position: absolute;
  left: -23px;
  top: 11px;
  width: 5px;
  height: 26px;
  content: "";
  border-radius: 3px;
  background: #2468f2;
}

.panel-copy p,
.studio-overlay p {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
}

.top-copy {
  left: 337px;
  top: 248px;
  width: 753px;
}

.feature-badges {
  position: absolute;
  left: 155px;
  top: 737px;
  display: grid;
  grid-template-columns: 501px 501px;
  gap: 25px 37px;
}

.feature-badges div {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  width: 501px;
  height: 71px;
  padding: 0 34px 0 55px;
  border-radius: 16px;
  background: rgba(230, 242, 255, 0.5);
}

.feature-badges strong {
  color: #2468f2;
  font-size: 28px;
  line-height: 37px;
  font-weight: 700;
}

.feature-badges span {
  color: #333;
  font-size: 28px;
  line-height: 37px;
  font-weight: 700;
  white-space: nowrap;
}

.studio-hero {
  position: relative;
  width: 1308px;
  height: 537px;
  margin: 40px auto 32px;
  overflow: hidden;
}

.studio-hero img {
  position: absolute;
  left: 0;
  top: -95px;
  width: 1308px;
  height: auto;
  max-width: none;
}

.studio-overlay {
  position: absolute;
  left: 314px;
  top: 222px;
  width: 753px;
  color: #fff;
}

.studio-grid {
  display: grid;
  width: 1302px;
  margin: 0 auto;
}

.wide-cards {
  grid-template-columns: repeat(3, 424px);
  gap: 20px 15px;
}

.narrow-cards {
  grid-template-columns: repeat(4, 317px);
  gap: 0 11px;
  margin-top: 20px;
}

.card {
  min-height: 265px;
  padding: 50px 28px 24px;
  border-radius: 16px;
  background: rgba(230, 242, 255, 0.5);
}

.card h3 {
  margin: 0 0 18px;
  color: #333;
  font-size: 25px;
  line-height: 33px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: #606060;
  font-size: 16px;
  line-height: 29px;
}

.narrow-cards .card {
  min-height: 342px;
  padding-top: 44px;
  width: 317px;
}

@media (max-width: 980px) {
  .twzbxt-page main {
    padding-bottom: 44px;
  }

  .twzbxt-page main::before {
    height: 360px;
  }

  .hero {
    height: 220px;
  }

  .hero-bg {
    width: 1268px;
    height: 503px;
  }

  .hero h1 {
    top: 106px;
    width: calc(100% - 32px);
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    white-space: normal;
  }

  .content {
    width: calc(100% - 24px);
  }

  .panel {
    border-radius: 12px;
  }

  .panel-top,
  .panel-bottom {
    height: auto;
    min-height: 0;
    padding: 14px;
  }

  .hero-screen,
  .panel-image,
  .studio-hero,
  .studio-hero img,
  .top-copy,
  .studio-overlay,
  .feature-badges {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .hero-screen,
  .studio-hero {
    display: block;
    margin: 0 0 14px;
    border-radius: 10px;
  }

  .studio-hero {
    overflow: visible;
  }

  .studio-hero img {
    max-width: 100%;
    border-radius: 10px;
  }

  .top-copy,
  .studio-overlay {
    padding: 14px 12px 18px;
    color: #333;
  }

  .panel-copy h2,
  .studio-overlay h2 {
    margin: 0 0 12px 16px;
    font-size: 22px;
    line-height: 31px;
  }

  .panel-copy h2::before,
  .studio-overlay h2::before {
    left: -18px;
    top: 7px;
    height: 22px;
  }

  .panel-copy p,
  .studio-overlay p {
    font-size: 15px;
    line-height: 1.75;
  }

  .feature-badges,
  .studio-grid,
  .wide-cards,
  .narrow-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
  }

  .studio-grid,
  .wide-cards,
  .narrow-cards {
    width: 100%;
  }

  .feature-badges div,
  .card,
  .card:nth-child(n) {
    width: auto;
    min-height: 0;
    margin: 0;
    grid-column: auto;
  }

  .narrow-cards .card {
    width: auto;
  }

  .feature-badges div {
    grid-template-columns: 58px 1fr;
    height: auto;
    min-height: 64px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .feature-badges strong {
    font-size: 22px;
    line-height: 30px;
  }

  .feature-badges span {
    font-size: 17px;
    line-height: 25px;
    white-space: normal;
  }

  .card {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 29px;
  }

  .card p {
    font-size: 15px;
    line-height: 1.75;
  }
}
