html {
  -webkit-tap-highlight-color: transparent;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #121212;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

.home {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.home-top {
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-grow: 1;
  flex-wrap: wrap;
}

.home-top-left,
.home-top-right {
  display: flex;
  min-height: 100vh;
}

.home-top-left {
  position: relative;
  flex-direction: column;
  background-color: #fff;
}

.home-top-left-logo-link {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  display: block;
}

.home-top-left-logo {
  display: block;
  width: auto;
  height: 7vh;
  min-height: 48px;
  max-height: 76px;
}

.home-top-left-content {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
}

.home-top-left-title {
  margin: 0;
  color: #121212;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  white-space: normal;
}

.home-top-left-desc2 {
  padding-top: 15px;
  padding-bottom: 50px;
  color: #121212;
  font-size: 21px;
  line-height: 1.5;
  white-space: normal;
}

.home-top-left-desc2 span {
  display: block;
}

.home-top-left-download {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.download-link {
  display: inline-flex;
  align-items: center;
  transition: opacity .15s ease, transform .15s ease;
}

.download-link:hover,
.download-link:focus-visible {
  opacity: .86;
  transform: translateY(-1px);
}

.download-image-button {
  position: relative;
  display: inline-flex;
}

.download-image-button img {
  display: block;
  height: 55px;
}

.download-suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.qrcode-btn {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 55px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
  cursor: pointer;
}

.qrcode-btn-bg {
  width: 55px;
  height: 55px;
  transition: opacity .2s ease;
}

.qrcode-btn-img {
  position: absolute;
  top: -1px;
  right: -200px;
  z-index: 4;
  width: 200px;
  height: 200px;
  padding: 24px;
  border: 1px solid rgba(70, 97, 129, .22);
  border-radius: 4px;
  background-color: #fff;
  opacity: 0;
  transform: scale(.23);
  transform-origin: left top;
  transition: all .3s ease;
}

.qrcode-btn:hover > .qrcode-btn-img,
.qrcode-btn:focus > .qrcode-btn-img,
.qrcode-btn:focus-within > .qrcode-btn-img {
  opacity: 1;
  transform: scale(1);
}

.qrcode-btn:hover > .qrcode-btn-bg,
.qrcode-btn:focus > .qrcode-btn-bg {
  opacity: 0;
}

.home-top-right {
  width: 100%;
  background: #f8edf4 url("./assets/right-bg.jpg") center / cover no-repeat;
}

.home-top-right-slider,
.slides {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-top-right-content {
  display: flex;
  width: 50vw;
  min-height: 100vh;
  padding: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-top-right-title {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.home-top-right-desc {
  margin: 10px 0 0;
  color: #444;
  font-size: 1.5rem;
  text-align: center;
}

.home-top-right-img {
  width: auto;
  height: 60vh;
  min-height: 524px;
  max-height: 806px;
  margin: 20px;
  object-fit: contain;
}

.swiper-pagination {
  position: absolute;
  bottom: 13vh;
  left: 0;
  z-index: 5;
  width: 100%;
  text-align: center;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 7px;
  height: 3px;
  margin: 0 3px;
  padding: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, .4);
  cursor: pointer;
  vertical-align: middle;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

.home-footer {
  display: flex;
  padding: 10px;
  flex-direction: column;
  flex-grow: 1;
  border: solid #e0e0e0;
  border-width: 1px 0 0;
  background-color: #fafafa;
  font-size: 14px;
}

.home-footer-link {
  display: block;
  text-align: center;
}

.home-footer-link p {
  margin: 8px 0;
  color: #aaa;
}

.home-footer-link p:first-child a {
  color: #000;
}

.home-footer-link a {
  display: inline-block;
  padding: 10px;
  color: #aaa;
  line-height: 1.5;
  text-decoration: underline;
}

.mask {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: flex-end;
  background: rgba(0, 0, 0, .7);
}

.mask[hidden] {
  display: none;
}

.mask-img {
  width: 80vw;
  height: 45vh;
  object-fit: contain;
}

@media screen and (min-width: 960px) {
  .home-top-left,
  .home-top-right {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 959.95px) {
  .home-top {
    width: 100%;
    min-height: 70vh;
  }

  .home-top-left {
    width: 100%;
    min-height: 70vh;
    flex: 1 1 100%;
  }

  .home-top-left-content {
    min-height: 70vh;
  }

  .home-top-left-title {
    padding-top: 50px;
    font-size: 34px;
  }

  .home-top-left-desc2 {
    padding-bottom: 40px;
    font-size: 22px;
  }

  .home-top-right {
    width: 100%;
    min-height: 70vh;
    flex: 1 1 100%;
  }

  .home-top-right-slider,
  .slides,
  .home-top-right-content {
    width: 100vw;
    min-height: 70vh;
  }

  .home-top-right-desc {
    font-size: 1.2rem;
  }

  .home-top-right-img {
    height: 54vh;
    min-height: 360px;
    max-height: 620px;
  }

  .swiper-pagination {
    bottom: 20px;
  }

  .qrcode-btn-img {
    top: 64px;
    right: auto;
    left: 0;
  }

  .home-footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 420px) {
  .home-top-left-logo-link {
    top: 24px;
    left: 24px;
  }

  .home-top-left-logo {
    height: 52px;
  }

  .home-top-left-content {
    padding: 24px;
  }

  .home-top-left-title {
    font-size: 34px;
  }

  .home-top-left-desc2 {
    font-size: 20px;
  }

  .home-top-left-download {
    gap: 8px;
  }
}

@media screen and (max-width: 360px) {
  .home-top-left-title {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .download-link,
  .qrcode-btn-img,
  .qrcode-btn-bg {
    transition: none;
  }
}
