html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0px;
  padding: 0px;
}

html {
  margin: 0;
  font-family: PingFang SC, PingFang SC;
  color: #333;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100vh;
  /* 确保页面高度至少为视窗高度 */
  height: 100%;
}

body {
  margin: 0;
  font-family: PingFang SC, PingFang SC;
  color: #333;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100vh;
  /* 确保页面高度至少为视窗高度 */
  height: 100%;
}

.home {
  background-image: url(../image/homeBg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: linear-gradient(90deg, #FFE2F8 0%, #FFC5C5 100%);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;

  .header-img {
    width: 9rem;
    height: auto;
  }
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: -3px;
  width: 50%;
  height: 4px;
  border-radius: 22px;
  background: #333;
}


.box {
  width: 72.6875rem;
  flex: 1;
  /* 自动拉伸填充剩余空间 */
  display: flex;
  flex-direction: column;
  /* padding: 0 23.75rem; */
  margin: 0 auto;
  height: 100%;
}

.main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* padding: 60px 80px; */

  height: 100%;
  /* z-index: -1; */

  .span1 {
    font-weight: 400;
    font-size: 70px;
    color: #111111;
    line-height: 100px;
  }

  .span2 {
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 36px;
    color: #111111;
    line-height: 80px;
    text-align: left;
  }

  .p1 {
    font-weight: 400;
    font-size: 24px;
    color: #111111;
    line-height: 40px;
    text-align: left;
    margin: 24px 0 0;
  }
}

@media (max-width: 1380px) {
  html {
    height: auto;
  }

  .main {
    flex-direction: column;
    text-align: center;
  }

  .header {
    padding: 38px 0;
  }

  .main .span1 {
    font-size: 42px;
    line-height: 60px;
    /* 70 * 0.8 */
  }

  .main .span2 {
    font-size: 20px;
    line-height: 24px;
  }

  .main .p1 {
    font-size: 14px;
    line-height: 24px;
  }

  .box {
    width: 22.5rem;
    /* justify-content: space-around; */
  }

  .logo {
    height: 28px !important;
  }

  .dynamic-text {
    font-size: 7px !important;
  }

  .buttons {
    padding-top: 24px !important;
    gap: 16px !important;
  }

  .phones {
    margin: 40px 0;
  }

  .phone {
    max-width: 331px;
    width: 100% !important;
  }

  .btn,
  .dynamic-link {
    height: 44px !important;
    font-size: 16px !important;
    padding: 0 8px 0 8px !important;
  }


}

.dynamic-text {
  font-size: 12px;
  color: #FFFFFF;
}

.intro {
  max-width: 607px;
  text-align: left;
}

.intro p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.buttons {
  padding-top: 60px;
  display: flex;
  gap: 20px;
}


.btn,
.dynamic-link {
  width: auto;
  height: 74px;
  border-radius: 12px;
  background: #111111;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  padding: 0 15px 0 15px;
  border: 1px solid #B4B4B4;

  img {
    margin-right: 8px;
  }
}

.logo {
  height: 44px;
}

.btn-text-box {
  font-family: PingFang SC, PingFang SC;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phones {
  display: flex;
  gap: 40px;
}

.phone {
  width: 480px;
  height: auto;
}

.footer {
  background: linear-gradient(90deg, #FA3A9E 0%, #FE1849 54%, #FC772A 99%);
  text-align: center;
  padding: 12px;
  font-size: 14px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* width: 100%; */
  /* height: 20vh; */
  .footer-bottom {
    color: #365EFF;
    text-decoration: none;
  }

  p {
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: 22px;
    margin: 0px;
    word-break: break-all;
  }
}

.step {
  padding-top: 50px;
  text-align: center;
}

.step .top_logo {
  height: 122px;
}

.step .title {
  margin-top: 42px;
  font-size: 20px;
  font-weight: bold;
  line-height: normal;
  color: #3F9EFF;
}

.step .desc {
  font-size: 14px;
}

.step .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3F9EFF;
  width: 230px;
  height: 49px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  border-radius: 34px;
  padding: 12px 28px;
  background: #ECF5FF;
  box-sizing: border-box;
  border: 1px solid #B3D8FF;
  z-index: 1;
}

.step .icon {
  width: 24px;
  height: 24px;
}

.step .tips {
  font-size: 12px;
  color: #666666;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.modal .cover {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal .content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 327px;
  height: 201px;
  padding: 20px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.modal .title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.install_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 224px;
  height: 49px;
  margin: 24px auto;
  font-size: 18px;
  font-weight: 600;
  background: #3F9EFF;
  border-radius: 34px;
  cursor: pointer;
}