@charset "UTF-8";

.carousel {
  display: flex;
  justify-content: space-between;
}

.banner {
  width: calc(100% - 0.64rem);
  overflow: hidden;
  position: relative;
  --swiper-navigation-color: var(--colorAuxiliary);
}

.banner .swiper-slide {
  border-radius: 0 0 0 1rem;
  overflow: hidden;
}

.banner img {
  border-radius: 0 0 0 1rem;
}

.join-alert {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.join-alert-content {
  width: 5.3rem;
  height: 0.8rem;
  background-color: var(--colorPrimary);
  color: #fff;
  letter-spacing: 0.05rem;
  font-size: 0.24rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 0.3rem 0 0 0;
}

.join-alert-text {
  margin-left: 0.4rem;
}

/* Join Modal Styles */
.join-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.join-modal.active {
  display: flex;
}

.join-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.join-modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 0.2rem;
  padding: 0.6rem 0.5rem;
  max-width: 5rem;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.join-modal-close {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.join-modal-close .iconfont {
  font-size: 0.32rem;
  color: var(--colorText);
  transition: all 0.3s ease;
}

.join-modal-close:hover {
  transform: rotate(90deg);
}

.join-modal-close:hover .iconfont {
  color: var(--colorPrimary);
}

.join-modal-body {
  text-align: center;
}

.join-modal-title {
  font-size: 0.32rem;
  color: var(--colorH1TitleText);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.join-modal-qrcode {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.3rem;
  border-radius: 0.1rem;
  overflow: hidden;
  border: 2px solid var(--colorBorderSecondary);
}

.join-modal-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join-modal-tip {
  font-size: 0.2rem;
  color: var(--colorSubTitleText);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .join-modal-content {
    padding: 0.5rem 0.4rem;
  }

  .join-modal-title {
    font-size: 0.28rem;
    margin-bottom: 0.3rem;
  }

  .join-modal-qrcode {
    width: 2.5rem;
    height: 2.5rem;
  }

  .join-modal-tip {
    font-size: 0.18rem;
  }
}

@media (max-width: 640px) {
  .join-modal-content {
    padding: 0.4rem 0.3rem;
    width: 85%;
  }

  .join-modal-title {
    font-size: 0.26rem;
    margin-bottom: 0.25rem;
  }

  .join-modal-qrcode {
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 0.25rem;
  }

  .join-modal-tip {
    font-size: 0.16rem;
  }
}

.brand-advantage-content {
  padding: 1.4rem 0.7rem;
  background-color: var(--colorDeepPrimary);
  position: relative;
  transition: all 0.5s ease-in-out;
}

.advantage-swiper {
  overflow: hidden;
}

.b-a-t-1 {
  position: absolute;
  left: 0.1rem;
  top: 0.1rem;
}

.b-a-t-2 {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 100%;
}

.cooperation-case {
  padding-bottom: var(--sectionTop);
}

.coo-case-list {
  overflow: hidden;
}

.coo-case-content .coo-case-list:nth-child(3),
.coo-case-content .coo-case-list:nth-child(2) {
  margin-top: 0.4rem;
}

.coo-case-content .wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 0.24rem;
  width: calc(13 * 3.8rem + 13 * 0.24rem);
}

.coo-case-content .wrap img {
  width: 3.8rem;
  height: 2rem;
  border-radius: 0.2rem;
  object-fit: cover;
}

.coo-case-content .coo-case-list:nth-child(1) .wrap {
  animation: moveLeft 90s linear infinite;
}

.coo-case-content .coo-case-list:nth-child(2) .wrap {
  animation: moveRight 90s linear infinite;
}

.coo-case-content .coo-case-list:nth-child(3) .wrap {
  animation: moveLeft 90s linear infinite;
}

.join-support {
  padding: var(--sectionTop) 0.65rem;
}

.join-support-content {
  display: flex;
  justify-content: space-between;
  background-color: #f7f7f7;
  padding: 0.2rem;
  border-radius: 0.2rem;
  flex-wrap: wrap;
}

.join-s-c-item {
  width: calc(100% / 5 - 0.4rem);
  text-align: center;
  background-color: #fff;
  padding: 0.2rem 0.1rem;
}

.join-s-c-cover {
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 auto;
}

.join-s-c-title {
  margin-top: 0.6rem;
  margin-bottom: 0.36rem;
  line-height: 2;
  font-weight: 600;
  color: var(--colorH1TitleText);
  font-size: 0.24rem;
}

.join-s-c-desc {
  color: #5d5d5d;
  line-height: 1.8;
}

.news {
  padding: var(--sectionTop) var(--sectionLeft);
}

@media (max-width: 1024px) {
  .carousel {
    display: block;
  }

  .banner {
    width: 100%;
  }

  .banner img,
  .banner .swiper-slide {
    border-radius: 0;
  }

  .join-s-c-item {
    width: calc(100% / 2 - 0.2rem);
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 640px) {
  .join-alert {
    display: none;
  }

  .brand-advantage-content {
    padding: 0.7rem 0.35rem;
  }

  .join-support {
    padding: var(--sectionTop) var(--sectionLeft);
  }

  .join-support-content {
    padding: 0;
    background-color: #fff;
  }

  .join-s-c-item {
    box-shadow: 3px 3px 26px #dcdcdc80;
    margin-bottom: 0.4rem;
  }

  .join-s-c-cover {
    width: 0.6rem;
    height: 0.6rem;
  }

  .join-s-c-title {
    margin-top: 0.3rem;
    margin-bottom: 0.18rem;
  }

  .join-s-c-title {
    font-size: 0.3rem;
  }

  .join-s-c-desc {
    font-size: 0.24rem;
  }
}

@keyframes moveLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes moveRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
