.mt-24 {
  margin-top: 24px;
}
.mx-26 {
  margin: 0 26px;
}
.mb-40 {
  margin-bottom: 40px;
}
.download {
  font-weight: 300;
}

.download-page1 {
  width: 100vw;
  background-image: url("../img/download/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 240px;
  padding-bottom: 400px;
}

.download-page1-content {
  width: 1360px;
  height: 680px;
  display: flex;
  align-items: center;
  margin: auto;
}

.page1-title {
  font-size: 44px;
  color: #ffffff;
  line-height: 64px;
}
.page1-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 32px;
}

.ewm-btns {
  display: flex;
}

.ewm_btn {
  position: relative;
  color: #fff;
  font-size: 24px;
  margin: 80px 32px 0 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 294px;
  height: 64px;
  position: relative;
  background-image: url("../img/home/ewm_btn.png");
  background-size: 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ewm_box {
  position: absolute;
  top: 80px;
  width: 200px;
  height: 210px;
  background-image: url("../img/home/ewm.png");
  background-size: 100%;
  background-repeat: no-repeat;
  display: none;
  justify-content: center;
  align-items: center;
}

.ewm_img {
  margin-top: 10px;
  width: 160px;
  height: 160px;
  border: 8px solid rgba(101, 93, 190, 0.2);
  border-radius: 6px;
}

.ewm_btn:hover .ewm_box {
  display: flex;
}

.ewm_btn:hover {
  background-image: url("../img/home/ewm_btn2.png");
}

.click {
  border: 2px solid transparent;
  background: #5333ff;
  border-radius: 12px 12px 12px 12px;
}

.ewm_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(
      170deg,
      rgba(121.00000038743019, 96.00000187754631, 255, 1),
      rgba(186.0000041127205, 117.00000062584877, 255, 1),
      rgba(255, 125.00000014901161, 242.00000077486038, 1),
      rgba(253.0000001192093, 159.0000057220459, 18.000000827014446, 1)
    )
    2 2;
  /* background: linear-gradient(90deg, #5D5DFD 0%, #7A7AFF 100%); */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.plaicon {
  width: 28px;
  height: 28px;
  margin-right: 16px;
}

.download-page2-content {
  width: 1360px;
  height: 680px;
  align-items: center;
  margin: 0 auto;
  margin-top: 368px;
}

.page2-title {
  font-size: 60px;
  color: #ffffff;
  line-height: 72px;
  text-align: center;
  margin-bottom: 120px;
}

.page2-title span {
  font-size: 60px;
  color: #2c80ff;
  line-height: 72px;
}

.page2-item {
  width: 436px;
  height: auto;
  min-height: 244px;
  padding: 28px;
}
.page2-item-title {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
}

.page2-item-title span {
  margin-bottom: 4px;
  font-size: 32px;
  line-height: 32px;
  color: #ffffff;
}

.page2-items {
  display: flex;
  flex-wrap: wrap;
}

.page2-item-title-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}
.page2-item-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 36px;
}

.page2-item:hover {
  background: linear-gradient(315deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px 20px 20px 20px;
}

.download-page2-right {
  width: 680px;
  height: 680px;
}

/* 移动端样式 */
/* 移动端下载链接样式 */
.mobile-download-link {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background-image: url("../img/home/ewm_btn.png");
  background-size: 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  font-size: 24px;
}

.mobile-download-link:hover {
  background-image: url("../img/home/ewm_btn2.png");
}

@media (max-width: 750px) {
  /* 在移动端隐藏原来的图标和文字，但保留下载链接中的内容 */
  .ewm_btn > .plaicon {
    display: none;
  }

  .ewm_btn {
    color: transparent;
  }

  /* 在移动端显示下载链接并确保内容居中 */
  .mobile-download-link {
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
  }

  /* 确保下载链接中的图标有正确的间距 */
  .mobile-download-link .plaicon {
    margin-right: 12px;
  }
}

@media (max-width: 1360px) {
  .mt-24 {
    margin-top: 0.24rem;
  }
  .mx-26 {
    margin: 0 0.26rem;
  }
  .mb-40 {
    margin-bottom: 0.4rem;
  }

  .download-page1 {
    padding: 0 0.3rem;
  }

  .download {
    font-weight: 300;
  }

  .download-page1-content {
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding-top: 1.7rem;
    height: auto;
  }

  .download-page1-left {
    width: 100%;
  }

  .page1-title {
    font-size: 30px;
    line-height: 48px;
    font-weight: 300;
  }

  .page1-subtitle {
    width: 4.48rem;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    margin: 0 auto;
  }

  .ewm-btns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .ewm_btn {
    font-size: 20px;
    margin: 0;
    background-size: contain;
    background-position: center;
  }

  .plaicon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
  }

  .ewm_box {
    display: none !important;
  }

  .ewm_img {
    width: 140px;
    height: 140px;
    border: 6px solid rgba(101, 93, 190, 0.2);
  }

  .download-page2-right {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    margin-top: 0.7rem;
  }

  .download-page2 {
    height: auto;
    min-height: 100vh;
    padding: 60px 20px;
    background-position: center;
  }

  .download-page2-content {
    width: 100%;
    height: auto;
    margin-top: 0;
    padding-top: 0.8rem;
    padding-bottom: 2.4rem;
  }

  .page2-title {
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 0.6rem;
  }

  .page2-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .page2-item {
    width: 3.3rem;
    height: auto;
    min-height: 3.6rem;
    padding: 0;
    margin-bottom: 0.4rem !important;
  }

  .page2-item-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.1rem;
  }

  .page2-item-title span {
    font-size: 16px;
    margin-bottom: 0;
  }

  .page2-item-title-icon {
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.1rem;
  }

  .page2-item-content {
    font-size: 14px;
    line-height: 24px;
  }

  .page2-item:hover {
    background: linear-gradient(315deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    transform: translateY(-2px);
    transition: all 0.3s ease;
  }

  /* 移除桌面端的margin类在移动端的应用 */
  .mx-26 {
    margin: 0;
  }

  .mb-40 {
    margin-bottom: 0;
  }

  .mt-24 {
    margin-top: 16px;
  }
}
