/*字体 Start*/
@font-face {
  font-family: "PangMenZhengDao";
  src: url("../font/pangmenZhengdao_min.woff");
  font-weight: normal;
  font-style: normal;
}

/*字体 End*/
body {
  background: #171822;
}

::-webkit-scrollbar {
  display: none;
}

.scroll-content {
  position: relative;
  /* height: 100vh; */
  transition: all 0.5s;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 1.125rem;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.main .content .item-box img,
.swiper-slide img {
  display: block;
  object-fit: cover;
}

.main .content .item-box:first-child {
  height: 56.7rem;
}
.main .content .item-box {
  height: 53rem;
}

/* banner Start */
.banner {
  position: relative;
  height: calc(100%);
}

.banner .backgroundImg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner .details {
  position: relative;
  text-align: left;
  top: 58%;
  transform: translateY(-50%);
}

.banner .details .title {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 4.4375rem;
  letter-spacing: 1.8125rem;
  text-transform: uppercase;
  text-shadow: 0rem 0.375rem 1.25rem #000000;
}

.banner .details .product-name {
  font-family: PangMenZhengDao;
  font-size: 3.75rem;
  letter-spacing: 0.1875rem;
  color: #2575fc;
  line-height: 2.9375rem;
  letter-spacing: 1.5rem;
  margin-left: 2.25rem;
  text-transform: uppercase;
  text-shadow:
    0rem 0.375rem 1.25rem #000000,
    0 0.0625rem #2575fc,
    0 -0.0625rem #2575fc,
    0.0625rem 0 #2575fc,
    -0.0625rem 0 #2575fc;
}

.banner .details .explain {
  font-size: 1.5rem;
  letter-spacing: 0.6rem;
  color: #f1f1f1;
  margin-top: 4.375rem;
  text-align: center;
}

.banner .button {
  margin-top: 6.25rem;
  text-align: center;
}

.banner .button a {
  border-radius: 1.875rem;
  border: solid 0.063rem #ffffff;
  padding: 1.125rem 4.575rem;
  display: inline-block;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.125rem;
  transition: all 0.5s;
}

.banner .button a:hover {
  color: #ffffff;
  background-color: #ffffff80;
}

.banner .mouse.icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, -100%);
  animation: moveUpDown 3s infinite ease-in-out;
}

/* banner animation  */
@keyframes moveUpDown {
  0% {
    transform: translate(-50%, -100%);
  }

  50% {
    transform: translate(-50%, -60%);
  }

  100% {
    transform: translate(-50%, -100%);
  }
}

/* banner End */

/* Demo Section */
.demo-section {
  padding: 6.188rem 0 0;
  background-color: #000000;
  position: relative;
}

.demo-container {
  display: flex;
  gap: 4.938rem;
}

.demo-main {
  flex: 1;
}

.demo-video-wrapper {
  position: relative;
  padding: 16.875rem 0 16.938rem;
  background-image: url("../images/banner.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-play-btn {
  position: relative;
  width: 5rem;
  height: 5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-play-btn:hover {
  transform: scale(1.15);
}

.demo-play-icon {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
}

.demo-info {
  margin-top: 3.375rem;
}

.demo-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.438rem;
}

.demo-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.906rem;
  line-height: 1;
  margin: 0;
}

/* 两条线重叠容器 */
.demo-lines-wrapper {
  position: relative;
  width: 50rem;
  height: 0.188rem;
  margin-top: 2.375rem;
}

/* 渐变长条 - 在底层 */
.demo-divider {
  position: absolute;
  top: 0.063rem;
  left: 0;
  width: 100%;
  height: 0.063rem;
  background: linear-gradient(0deg, #000000 0%, #2575fc 100%);
}

/* 紫色短条 - 在顶层 */
.demo-title-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.25rem;
  height: 0.188rem;
  background-color: #6a11cb;
  z-index: 1;
}

.demo-description {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: #ffffff;
  letter-spacing: 0.219rem;
  line-height: 2;
  opacity: 0.8;
}

/* Demo Cards */
.demo-cards {
  display: flex;
  flex-direction: column;
  width: 37.5rem;
  margin-bottom: 0.75rem;
}

.demo-card {
  display: flex;
  align-items: center;
  padding: 0.813rem 0;
  border-bottom: 0.063rem solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.demo-card:first-child {
  padding-top: 0;
  padding-bottom: 0.813rem;
}

.demo-card:last-child {
  padding-top: 0.75rem;
  border-bottom: none;
}

.demo-card:hover {
  background: linear-gradient(90deg, rgba(106, 17, 203, 0.1) 0%, transparent 100%);
  padding-left: 1.25rem;
}

.demo-card-content {
  flex: 1;
  width: 19.813rem;
}

.demo-card-icon {
  width: 1.938rem;
  height: 1.938rem;
  object-fit: contain;
}

.demo-card-title {
  margin-top: 1.188rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.594rem;
  line-height: 1;
}

.demo-card-text {
  margin-top: 2.063rem;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.75;
  opacity: 0.2;
}

.demo-card-image {
  width: 15.063rem;
  height: 12.563rem;
  object-fit: cover;
  margin-left: 4rem;
  transition: transform 0.4s ease;
}

.demo-card:hover .demo-card-image {
  transform: scale(1.03);
}

.demo-decoration {
  width: 3.188rem;
  height: 1.875rem;
  margin-top: 3.188rem;
  object-fit: contain;
}

/* Lab Section */
.lab-section {
  padding: 7.188rem 0 2.875rem;
  background-color: #000000;
}

.lab-container {
  max-width: 100rem;
}

.lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lab-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.906rem;
  line-height: 1;
  margin: 0;
}

.lab-nav {
  display: flex;
  gap: 1.125rem;
}

.lab-nav-btn {
  width: 2.813rem;
  height: 2.813rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  padding: 0;
}

.lab-nav-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.lab-nav-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-gallery {
  display: flex;
  gap: 1.25rem;
  margin-top: 6.063rem;
}

.lab-item {
  transition: transform 0.4s ease;
  max-width: 25%;
  width: 25%;
}

.lab-item:hover {
  transform: translateY(-0.625rem);
}

.lab-item--small {
  flex: 0 0 16.188rem;
}

.lab-image {
  width: 100%;
  height: 22.563rem;
  object-fit: cover;
  border-radius: 0.25rem;
  transition: box-shadow 0.4s ease;
}

/* .lab-item:hover .lab-image {
  box-shadow: 0 1.25rem 3.75rem rgba(37, 117, 252, 0.2);
} */

.lab-image--small {
  width: 16.188rem;
}

.lab-caption {
  margin-top: 2.063rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: #999999;
}

.lab-caption--offset {
  margin-left: 8.688rem;
}
.lab-caption--offset2 {
  margin-left: 7.375rem;
}
.lab-caption--offset3 {
  margin-left: 7.438rem;
}

/*solution Start*/
.solution {
  background-color: #000000;
}

.solution .list {
  margin-top: 1.875rem;
}

.solution .list .item {
  width: 25%;
  position: relative;
  transition: all 0.6s;
  overflow: hidden;
}

.solution .list .item .backImg {
  position: absolute;
  height: 100%;
  filter: brightness(0.6);
  width: 100%;
}

.solution .list .item .backImg::after {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #eeeeee23;
  top: 0;
  left: 0;
}

.solution .list .item .details {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
  width: 70%;
}

.solution .list .item .details .icon {
  width: 2.563rem;
  height: 2.563rem;
  border: solid 0.063rem #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  margin: 0 auto;
}

.solution .list .item .details .name {
  font-size: 1.5rem;
  letter-spacing: 0.15rem;
  color: #f2f2f2;
  text-align: left;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  margin-top: 1.625rem;
}

.solution .list .item .details .explain {
  font-size: 0.875rem;
  line-height: 2.25rem;
  letter-spacing: 0.175rem;
  color: #f2f2f2;
  text-align: left;
  margin-top: 3.875rem;
  text-align: center;
}

/*solution End*/

/* News Section */
.news-section {
  padding: 6.248rem 0;
  background-color: #000000;
}

.news-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.905rem;
  line-height: 1;
  text-align: center;
  margin: 0 0 3.375rem;
}

.news-container {
  display: flex;
  gap: 3.75rem;
  align-items: flex-start;
}

/* 左侧视频 */
.news-video {
  flex: 0 0 50%;
}

.video-card {
  padding-bottom: 2.498rem;
  background-color: #212121;
  border-radius: 0.623rem;
  overflow: hidden;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url("../images/banner.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.623rem 0.623rem 0 0;
}

.video-thumbnail-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

.news-video-player,
.news-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 5;
  border-radius: 0.623rem 0.623rem 0 0;
}

.video-play-btn:hover {
  transform: scale(1.15);
}

.video-title {
  margin: 1.627rem 1.252rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.127rem;
}

/* 右侧新闻列表 */
.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
}

.news-card {
  transition: transform 0.4s ease;
}

.news-card:hover {
  transform: translateX(-0.623rem);
}

.news-card--featured {
  width: 100%;
  padding: 2.123rem 1.252rem;
  border-radius: 0.623rem;
  border-bottom: 0.061rem solid #2b2b2b;
}
.news-card--featured:hover {
  background-image: url("../images/box-border.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-bottom: 0.061rem solid transparent;
}
.news-card--bordered {
  width: 35.002rem;
  padding: 2.311rem 0 0 1.125rem;
  border-top: 0.127rem solid #2b2b2b;
  margin-top: 0;
}

.news-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 2.002rem;
}

.news-card-title {
  font-size: 0.998rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin: 0 0 0.938rem;
}

.news-card-summary {
  font-size: 0.877rem;
  color: #ffffff;
  line-height: 1.8;
  opacity: 0.4;
  margin: 0;
}

.news-card-date {
  display: block;
  margin-top: 0.938rem;
  font-size: 0.877rem;
  color: #ffffff;
  line-height: 1;
  opacity: 0.4;
}

.news-card-date--large {
  margin-right: 28.373rem;
}

.news-card-divider {
  margin-top: 0.938rem;
  width: 34.373rem;
  height: 0.127rem;
  background-color: #11121a;
  border: 0.061rem solid #2b2b2b;
}
/* News Section End */

/* Partner Section */
.partner-section {
  padding: 6.248rem 19.373rem 0;
  background-color: #000000;
}

.partner-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.905rem;
  line-height: 1;
  text-align: center;
  margin: 0 0 1rem;
}

.partner-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 3.188rem;
  display: block;
  width: 100%;
  opacity: 1;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.498rem 3.75rem;
}

.partner-logo {
  width: auto;
  height: 3.75rem;
  max-width: 12.502rem;
  object-fit: contain;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  filter: grayscale(100%);
}

.partner-logo:hover {
  transform: scale(1.08);
  filter: grayscale(0%);
}
/* Partner Section End */
