.index {
  background-color: #fff;
}
.index .swiper-index {
  width: 100%;
  height: 8.2rem;
}
.index .swiper-index .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.index .swiper-index .swiper-button-prev,
.index .swiper-index .swiper-button-next {
  color: #fff;
}
.index .swiper-index .swiper-button-prev {
  left: 0.5rem;
}
.index .swiper-index .swiper-button-next {
  right: 0.5rem;
}
.index .product .list {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin: 0.6rem 0 1rem;
}
.index .product .list .item {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  font-size: 0.3rem;
  color: #222;
  position: relative;
  cursor: pointer;
}
.index .product .list .item.active {
  color: #d6000f;
  font-weight: 700;
}
.index .product .list .item.active::after {
  content: '';
  position: absolute;
  bottom: -0.08rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5rem;
  height: 0.04rem;
  background: #d6000f;
}
.index .product .type-list {
  margin-bottom: 0.32rem;
  display: flex;
  justify-content: end;
  gap: 0.25rem;
}
.index .product .type-list .item {
  -webkit-tap-highlight-color: transparent;
  color: #666;
  font-size: 0.24rem;
  line-height: 0.3rem;
  position: relative;
  cursor: pointer;
}
.index .product .type-list .item br {
  display: none;
}
.index .product .type-list .item:last-of-type::after {
  display: none;
}
.index .product .type-list .item.active {
  color: #d6000f;
  font-weight: 700;
}
.index .product .type-list .item.active::before {
  content: '';
  position: absolute;
  bottom: -0.08rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.2rem;
  height: 0.02rem;
  background: #e60000;
}
.index .product .bg {
  display: flex;
  gap: 0.3rem;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #000027, #3b0149 48%, #000027 100%);
}
.index .product .bg.comp {
  background: linear-gradient(180deg, #000027, #000047 48%, #000027 100%);
}
.index .product .bg .title {
  width: 5rem;
  height: 6.65rem;
  margin-left: 1.8rem;
  transform: translateY(-0.5rem);
  border-radius: 0.02rem;
}
.index .product .bg .title img {
  width: 100%;
  height: 100%;
}
.index .product .bg .swiper-container {
  width: calc(100% - 7.1rem);
  margin: 0.5rem 0;
}
.index .product .bg .swiper-container .swiper-wrapper {
  width: 100%;
  align-items: center;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide {
  width: 3.46rem;
  margin-right: 0.3rem;
  background: #fff;
  border-radius: 0.02rem;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide img {
  width: 90%;
  height: 3rem;
  display: block;
  margin: 0.56rem auto 0;
  object-fit: contain;
  background-color: #fff;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide .name {
  font-size: 0.18rem;
  line-height: 0.26rem;
  color: #222;
  text-align: center;
  margin-top: 0.3rem;
  padding: 0 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide .des {
  display: block;
  font-size: 0.16rem;
  line-height: 0.26rem;
  color: #666;
  text-align: center;
  margin-top: 0.1rem;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide .btn {
  display: block;
  width: 1.38rem;
  height: 0.36rem;
  line-height: 0.36rem;
  border: 1px solid #e1e1e1;
  margin: 0.53rem auto 0;
  font-size: 0.14rem;
  color: #666;
  text-align: center;
  border-radius: 0.02rem;
}
.index .product .bg .swiper-container .swiper-wrapper .swiper-slide .btn:hover {
  color: #fff;
  background: #d6000f;
  border: 1px solid #d6000f;
}
.index .swiper-surround {
  width: 100%;
  height: 5.6rem;
}
.index .swiper-surround .swiper-wrapper {
  width: 100%;
  height: 5.1rem;
  left: -3.75rem;
}
.index .swiper-surround .swiper-wrapper .swiper-slide {
  width: 5.1rem;
  height: 5.1rem;
  margin-right: 0.3rem;
}
.index .swiper-surround .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: cover;
  border-radius: 0.02rem;
}
.index .swiper-surround .swiper-surround-pagination {
  bottom: 0;
  width: 10rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
.index .swiper-surround .swiper-surround-pagination .swiper-pagination-bullet {
  margin: 0;
  flex: 1;
  height: 0.02rem;
  border-radius: 0.08rem;
  background: #d7d7e2;
  opacity: 1;
}
.index .swiper-surround .swiper-surround-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #f10000;
}
.index .scheme-box {
  background: #f7f7f7;
  box-shadow: 0 0.1rem 0.2rem 0.02rem rgba(232, 232, 232, 0.3);
  padding: 0.61rem 0 0.98rem;
  margin-top: 0.4rem;
}
.index .scheme-box .page-title {
  padding-top: 0;
}
.index .scheme-box .scheme {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  justify-content: space-between;
}
.index .scheme-box .scheme .item {
  display: block;
  width: 3.72rem;
  height: 4.38rem;
  overflow: hidden;
  position: relative;
  border-radius: 0.02rem;
  transition: all 0.8s;
}
.index .scheme-box .scheme .item:nth-child(4) {
  display: none;
}
.index .scheme-box .scheme .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
}
.index .scheme-box .scheme .item img:hover {
  transform: scale(1.2);
}
.index .scheme-box .scheme .item.active {
  width: 7.54rem;
}
.index .scheme-box .scheme .item.active .bottom .des {
  opacity: 1;
}
.index .scheme-box .scheme .item .bottom {
  left: 0;
  right: 0;
  position: absolute;
  bottom: 0;
  padding: 0.3rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 0%, rgba(34, 34, 34, 0.7) 100%);
}
.index .scheme-box .scheme .item .bottom .name {
  font-size: 0.32rem;
  font-weight: 700;
  line-height: 0.4rem;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.index .scheme-box .scheme .item .bottom .des {
  opacity: 0;
  transition: opacity 0.3s ease-out;
  font-size: 0.2rem;
  line-height: 0.24rem;
  margin-top: 0.12rem;
  text-align: left;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.index .scheme-box .scheme .item .bottom .name,
.index .scheme-box .scheme .item .bottom .des {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.index .case-box {
  height: 5.2rem;
  background: #fff;
  display: flex;
  box-shadow: 0 0.2rem 0.45rem 0.02rem rgba(245, 245, 245, 0.8);
}
.index .case-box .left {
  width: 7.2rem;
  height: 100%;
}
.index .case-box .left .swiper-case {
  width: 100%;
  height: 100%;
}
.index .case-box .left .swiper-case .swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 0.02rem;
  transition: all 0.3s;
}
.index .case-box .left .swiper-case .swiper-slide img:hover {
  transform: scale(1.2);
}
.index .case-box .right {
  flex: 1;
  height: 100%;
  position: relative;
  margin: 0.82rem 0.7rem 0;
}
.index .case-box .right .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.index .case-box .right .item.active {
  opacity: 1;
  z-index: 1;
}
.index .case-box .right .item .title {
  width: 7rem;
  height: 0.88rem;
  font-size: 0.32rem;
  font-weight: 700;
  color: #222;
  line-height: 0.44rem;
  margin-bottom: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  cursor: pointer;
}
.index .case-box .right .item .title:hover {
  color: #e60000;
}
.index .case-box .right .item .des {
  width: 7rem;
  height: 1.45rem;
  font-size: 0.16rem;
  color: #51575c;
  line-height: 0.29rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}
.index .case-box .right .item .more {
  font-size: 0.16rem;
  color: #e60000;
}
.index .case-box .right .item .more span {
  font-size: 0.28rem;
  margin-left: 0.1rem;
  position: relative;
  top: 0.05rem;
}
.index .case-mobile-box {
  padding: 0 0.3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.2rem;
}
.index .case-mobile-box .item img {
  object-fit: cover;
  width: 100%;
  height: 1.78rem;
}
.index .case-mobile-box .item .title {
  color: #222;
  font-size: 0.24rem;
  line-height: 0.35rem;
  padding-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.index .server-box {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(5, 2.88rem);
  grid-template-rows: repeat(2, 1.84rem);
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}
.index .server-box .item {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  color: #fff;
  grid-row: 1 / span 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.index .server-box .item:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1 / span 1;
}
.index .server-box .item:nth-child(2) {
  grid-column: 1 / span 2;
  grid-row: 2 / span 1;
}
.index .server-box .item img.bg {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}
.index .server-box .item:hover img.bg {
  transform: scale(1.05);
}
.index .server-box .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.index .server-box .item:hover::before {
  opacity: 1;
}
.index .server-box .item .icons {
  display: grid;
  column-gap: 0.18rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.index .server-box .item .icons::before {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0.37rem;
  right: 0;
  height: 100%;
  content: '';
  opacity: 0.4;
  background: linear-gradient(90deg, #1677ff 0%, rgba(22, 119, 255, 0) 100%);
}
.index .server-box .item .icons .icon {
  grid-row: 1 / span 2;
  font-size: 0;
}
.index .server-box .item .icons img {
  width: 0.74rem;
}
.index .server-box .item .icons .title {
  grid-column: 2 / span 1;
}
.index .server-box .item .title {
  text-align: center;
  font-size: 0.28rem;
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.index .server-box .item:hover .title {
  opacity: 1;
}
.index .server-box .item .des {
  font-size: 0.16rem;
}
@media screen and (max-width: 768px) {
  .index .product .list {
    gap: 0.04rem;
    margin-bottom: 0.2rem;
  }
  .index .product .list .item {
    padding: 0.17rem 0.25rem;
    background-color: #ededed;
    -webkit-clip-path: polygon(0.08rem 0, 100% 0%, calc(100% - 0.08rem) 100%, 0 100%);
    clip-path: polygon(0.08rem 0, 100% 0%, calc(100% - 0.08rem) 100%, 0 100%);
  }
  .index .product .list .item.active {
    color: #e60000;
    background-color: #FFE6E6;
  }
  .index .product .list .item.active::after {
    display: none;
  }
  .index .product .type-list {
    justify-content: center;
    margin-bottom: 0.4rem;
  }
  .index .product .bg {
    background: none;
    overflow-x: hidden;
  }
  .index .product .bg .swiper-container {
    width: 100%;
    height: 7.18rem;
    overflow: initial;
    margin: 0;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide {
    width: 5.4rem;
    height: 6.9rem;
    transition: height 0.3s ease-out;
    margin: 0 0.15rem;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide:not(.mp-show) {
    border: 0.02rem solid #E5E5E5;
    box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, 0.1);
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide .name {
    font-size: 0.28rem;
    line-height: 0.4rem;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide .des {
    font-size: 0.24rem;
    line-height: 0.34rem;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide .btn {
    width: 2rem;
    height: 0.54rem;
    line-height: 0.54rem;
    font-size: 0.24rem;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide .bigImg {
    height: 100%;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide .bigImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
  }
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide-active,
  .index .product .bg .swiper-container .swiper-wrapper .swiper-slide-duplicate-active {
    height: 7.18rem;
  }
  .index .product .bg img.title {
    transform: none;
  }
  .index .scheme-box {
    padding-bottom: 0.3rem;
  }
  .index .scheme-box .scheme {
    padding: 0 0.3rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .index .scheme-box .scheme .item {
    background-color: #000;
    width: 100% !important;
    height: 2.94rem;
  }
  .index .scheme-box .scheme .item:nth-child(4) {
    display: block;
  }
  .index .scheme-box .scheme .item .bottom {
    padding: 0.2rem;
  }
  .index .scheme-box .scheme .item .bottom .name {
    font-size: 0.24rem;
    line-height: 0.35rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .index .scheme-box .scheme .item .bottom .des {
    display: none;
  }
  .index .server-box {
    grid-template-columns: repeat(2, 3.35rem);
    grid-template-rows: repeat(4, 1.84rem);
    margin-bottom: 0.3rem;
  }
  .index .server-box .item {
    grid-column: 1 / span 2;
  }
  .index .server-box .item:nth-child(3) {
    grid-column: 1 / span 1;
    grid-row: 3 / span 2;
  }
  .index .server-box .item:nth-child(4) {
    grid-column: 2 / span 1;
    grid-row: 3 / span 1;
  }
  .index .server-box .item:nth-child(5) {
    grid-column: 2 / span 1;
    grid-row: 4 / span 1;
  }
}
