html,
body {
  position: relative;
  height: 100%;
}

@font-face {
  font-family: "HarmonyOS Sans Black";
  src: url("./fonts/HarmonyOS_Sans_Black.ttf") format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans Bold";
  src: url("./fonts/HarmonyOS_Sans_Bold.ttf") format("truetype");
}

body {
  font-family: PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #fff;
  margin: 0;
  padding: 0;
  background: linear-gradient(
      -45deg,
      rgba(60, 62, 227, 1),
      rgba(130, 60, 227, 1) 100%
    ),
    rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

p {
  padding: 0;
  margin: 0;
  word-break: break-word;
}

h1,
h2,
h3,
h4,
h5 {
  padding: 0;
  margin: 0;
  font-family: "HarmonyOS Sans Black", sans-serif;
}

ul {
  list-style: none;
  padding: 0;
}

.flex {
  display: flex;
}

.cell {
  flex: 1;
}

.column {
  flex-direction: column;
}

.item-c {
  align-items: center;
}

.jcc {
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.opacity-6 {
  opacity: 0.6;
}

.header {
  height: clamp(64px, 5vw, 96px);
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0 clamp(24px, 8vw, 200px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.nav-wrapper {
  position: relative;
}

nav ul {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  gap: clamp(16px, 2vw, 40px);
}

nav li {
  cursor: pointer;
}

.nav-line {
  position: absolute;
  width: 43px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  bottom: 10px;
  left: 23px;
  transition: left 0.2s linear;
}

.menu-icon {
  width: 24px;
  height: 19px;
  position: absolute;
  cursor: pointer;
  top: 20px;
  right: 20px;
  z-index: 13;
  display: none;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  bottom: 0;
}

.menu-icon.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  bottom: 8px;
  transform: rotate(-45deg);
}

.menu-icon:hover span {
  background-color: #fff;
}

.logo {
  height: 40px;
}

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

.vertical > .swiper-wrapper > .swiper-slide {
  height: 100vh;
  overflow: hidden;
}

/* .vertical .swiper-slide img {
  display: block;
  object-fit: cover;
} */

.vertical .swiper-slide h3 {
  font-size: 40px;
  margin-top: clamp(50px, 18vh, 230px);
}

.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
  /* border: 1px solid transparent; */
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  width: 16px;
  height: 16px;
}

.swiper-pagination-vertical.swiper-pagination-bullets
  .swiper-pagination-bullet:last-child,
.swiper-vertical
  > .swiper-pagination-bullets
  .swiper-pagination-bullet:last-child {
  margin-top: -22px;
}

.swiper-pagination-bullet::after,
.swiper-pagination-bullet::before {
  position: absolute;
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-radius: 16px;
  border: 2px solid #fff;
}

.swiper-pagination-vertical.swiper-pagination-bullets
  .swiper-pagination-bullet-active,
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet-active {
  /* border-color: #fff; */
  background: none;
}

.swiper-pagination-vertical.swiper-pagination-bullets
  .swiper-pagination-bullet-active::after,
.swiper-vertical
  > .swiper-pagination-bullets
  .swiper-pagination-bullet-active::after {
  width: 16px;
  height: 16px;
  border-width: 1px;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.slide-1 {
  /* background: linear-gradient(
    -45deg,
    rgba(60, 62, 227, 1),
    rgba(94.50415802001953, 61.01416778564453, 227, 0.2) 49%,
    rgba(130, 60, 227, 1) 100%
  ); */
  background: url(./images/slide-1.webp) no-repeat bottom center;
  background-size: cover;
}

.footer {
  background-color: #292929;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 12px;
}

.contact {
  padding: clamp(24px, 1.98vw, 38px) 16px;
}

.copyright {
  background-color: #000;
  color: rgba(255, 255, 255, 0.4);
  padding: clamp(16px, 1.25vw, 24px) 16px;
}

.vertical .swiper-wrapper .footer.swiper-slide {
  height: auto;
}

.bottom-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(64px, 8.12vw, 156px);
  opacity: 0.4;
}

.slide-1 h1 {
  color: rgba(129, 255, 204, 1);
  font-size: clamp(60px, 10vw, 124px);
  font-weight: 900;
  line-height: 1.169;
  letter-spacing: 0px;
  margin-top: 282px;
}

.slide-1 h2 {
  color: rgba(255, 255, 255, 1);
  font-size: clamp(16px, 4.16vw, 80px);
  line-height: 1.175;
  font-weight: 700;
  letter-spacing: 6px;
  margin-top: 26px;
}

.icon-next {
  width: 50px;
  height: 50px;
  margin-top: 65px;
  cursor: pointer;
}

.list-1 {
  gap: 38px;
  margin-top: 40px;
  padding-top: 80px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.list-1 img {
  width: 243px;
  height: 251px;
}

.list-1 .column {
  width: clamp(300px, 21.61vw, 415px);
}

.list-1 h5 {
  font-family: "HarmonyOS Sans Bold", sans-serif;
  font-size: 28px;
  margin: 28px 0 16px 0;
}

.slide-2 .desc {
  font-size: 16px;
  margin-top: 24px;
  opacity: 0.8;
  padding: 0 16px;
}

.list-1 p {
  opacity: 0.8;
}

.slide-3 {
  background: url(./images/slide-3/bg.webp) no-repeat center center;
  background-size: cover;
}

.list-2 {
  gap: 37px;
  margin-top: 40px;
  padding-top: 80px;
  padding-bottom: 20px;
  /* box-shadow: 6px 36px 51px 0px rgba(0, 0, 0, 0.15); */
  /* background: linear-gradient(
      -30.32deg,
      rgba(60, 62, 227, 1),
      rgba(130, 60, 227, 1) 100%
    ),
    rgba(0, 0, 0, 0.2); */
  opacity: 0.95;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.card {
  width: 328px;
  height: 460px;
  border-radius: 24px;
  padding: 53px 26px;
  /* background: rgba(77, 55, 215, 1); */
}

.card:nth-child(1) {
  background: linear-gradient(-30.32deg, #673ab8 0%, #533bb9 100%),
    rgba(0, 0, 0, 0.2);
}

.card:nth-child(2) {
  background: linear-gradient(-30.32deg, #613ab8 0%, #4c3bb9 100%),
    rgba(0, 0, 0, 0.2);
}

.card:nth-child(3) {
  background: linear-gradient(-30.32deg, #593bb9 0%, #443bb9 100%),
    rgba(0, 0, 0, 0.2);
}

.card:nth-child(4) {
  background: linear-gradient(-30.32deg, #513bb9 0%, #3d3bb9 100%),
    rgba(0, 0, 0, 0.2);
}

.card .title {
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0px;
  margin: 24px 0 20px 0;
}

.card .desc {
  opacity: 0.6;
  line-height: 21px;
}

.card .num {
  width: 74px;
  height: 72px;
}

/* .card h2 {
  font-family: HarmonyOS Sans;
  font-size: 60px;
  font-weight: 900;
  line-height: 70px;
  letter-spacing: 0px;
  color: transparent;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #fff;
} */

.brands {
  width: clamp(230px, 68.75vw, 1320px);
  margin-top: 75px;
  gap: 16px 8px;
}

.brand-box {
  width: 230px;
  aspect-ratio: 230 / 162;
}

.brand-box img {
  max-width: 100%;
  max-height: 100%;

  transform-style: preserve-3d;
}

.brand-box:hover img,
.brand-box.active img {
  transition: transform 0.6s;
  transform: rotateY(360deg);
}

.horizontal {
  width: 100%;
  padding: 20px 0;
}

.horizontal > .swiper-wrapper > .swiper-slide {
  width: 100%;
}

.tab-bar-wrap {
  margin-top: 60px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 55px;
  flex-shrink: 1;
  max-width: 100%;
  scrollbar-width: none;
}

/* .tab-bar-wrap::-webkit-scrollbar {
  display: none;
} */

.tab-bar {
  gap: 30px;
  white-space: nowrap;
}

.tab-bar p {
  border-radius: 14px;
  padding: 13.5px 18px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  cursor: pointer;
}

.tab-bar p.on {
  color: rgba(45, 0, 107, 1);
  background-color: #fff;
}

.grid {
  gap: 40px 35px;
  width: clamp(417px, 72vw, 1321px);
  padding: 40px 0;
}

.grid .img-box {
  width: clamp(300px, 21.71vw, 417px);
  aspect-ratio: 417 / 320;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.img-box img {
  max-width: 100%;
  max-height: 100%;
}

.img-box .cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(77, 55, 215, 0),
    rgba(77, 55, 215, 0.78) 57%,
    rgba(77, 55, 215, 1) 100%
  );
  opacity: 0.96;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  justify-content: flex-end;
  font-size: 13px;
  padding: 26px;
}

.img-box:hover .cover {
  transform: translateY(-100%);
  transition: transform 0.2s ease-in;
}

.cover .title {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 12px;
}

.scroll-view {
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  position: relative;
  z-index: 1;
}

/* WebKit (Chrome, Safari, Edge) */
.scroll-view::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 1440px) {
  /* .header {
    padding: 0 120px;
  } */
}

@media screen and (max-width: 1366px) {
  .list-2 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid {
    width: clamp(417px, 90vw, 1024px);
  }

  .grid .img-box {
    width: clamp(300px, 30vw, 417px);
  }
}

@media screen and (max-width: 1024px) {
  .menu-icon {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    width: 80vw;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 100px;
    padding-left: 24px;
    z-index: 12;
    transform: translateX(100%);
    /* transition: transform 0.2s ease-out;
    display: none; */
  }

  .nav-line {
    display: none;
  }

  .nav-mark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 11;
    display: none;
  }

  .nav-wrapper ul {
    flex-direction: column;
    align-items: flex-start;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    gap: 40px;
  }

  .nav-wrapper ul li.on {
    color: rgba(255, 255, 255, 1);
  }

  .nav-wrapper.active {
    transform: translateX(0);
    transition: transform 0.2s ease-in;
  }

  .nav-mark.active {
    display: block;
  }

  /* background: linear-gradient(
        -45deg,
        rgba(60, 62, 227, 1),
        rgba(130, 60, 227, 1) 100%
      ),
      rgba(0, 0, 0, 0.36);
  } */

  /* .grid {
    grid-template-columns: 1fr 1fr;
  } */

  .list-1 {
    grid-template-columns: 1fr 1fr;
  }

  .list-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .grid {
    width: 100vw;
    gap: 20px 30px;
  }
}

@media screen and (max-width: 640px) {
  .list-1 {
    grid-template-columns: 1fr;
  }

  .list-2 {
    grid-template-columns: 1fr;
  }

  /* .grid .img-box {
    width: clamp(300px, 30vw, 417px);
  } */
}
