/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  width: 100%;
}

html,
body {
  height: 100%;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    PingFang SC,
    Hiragino Sans GB,
    Microsoft YaHei,
    sans-serif;
  color: #111;
  background: #fff;
}

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

ul {
  list-style: none;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: 12rem;
  margin: 0 auto;
  padding: 0 0.24rem;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.05);
}

.site-header-menu {
  width: 0.3rem;
  display: block;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.68rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.logo img {
  width: 50px;
}
.logo-mark {
  display: inline-block;
  color: #fff;
  border-radius: 0.08rem;
  width: 0.8rem;
}

.logo-text {
  font-size: 0.2rem;
  color: #222;
}

.logo-text span {
  display: block;
}

.nav {
  /*display: bolo;*/
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link + .nav-link {
  margin-left: 0.2rem;
}
.nav.h5 {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: white;
  height: 100vh;
  padding: 0.3rem;
}

.nav.h5 a {
  display: block;
}

.nav-link {
  color: #666;
  font-size: 0.15rem;
}

.nav-link:hover,
.nav-link.active {
  color: #2f0d94;
}

.hero-figure {
  display: none;
}

/* 首屏 */
.hero {
  background: #2f0d94;
  padding: 0.5rem 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-figure img {
  width: 100%;
  max-width: 4.4rem;
  height: auto;
}

.hero-title {
  font-size: 0.44rem;
  color: white;
  margin-bottom: 0.2rem;
}

.hero-subtitle {
  font-size: 0.26rem;
  color: #666;
  margin-bottom: 0.36rem;
}

.hero-features {
  background: #fff;
  border-radius: 0.16rem;
  box-shadow: 0 0.06rem 0.24rem rgba(0, 0, 0, 0.06);
  padding: 0.28rem 0.32rem;
  display: grid;
  gap: 0.16rem;
}

.hero-features li {
  font-size: 0.26rem;
  color: #444;
  position: relative;
  padding-left: 0.36rem;
}

.hero-features li:before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

.download-card {
  border-radius: 0.16rem;
  overflow: hidden;
  margin: 0.16rem 0;
}

.download-card.muted {
  background: #fff;
  opacity: 0.7;
  border: 0.02rem solid #eef1f6;
}

.download-card.solid {
  box-shadow: 0 0.06rem 0.24rem rgba(0, 0, 0, 0.06);
}

.download-row {
  display: grid;
  grid-template-columns: 1 1fr;
  gap: 0.16rem;
  padding: 0.24rem;
}

.btn {
  display: flex;
  align-items: center;
  background: #fff;
  justify-content: center;
  height: 0.72rem;
  border-radius: 0.12rem;
  font-size: 0.26rem;
  color: #222;
  border: 0.02rem solid #e7ecf3;
}

.btn img {
  width: 0.3rem;
  margin-right: 0.2rem;
  flex-shrink: 0;
}

.btn.os.ios {
}

.btn.os.android {
}

.btn.os.windows {
}

.btn.os.mac {
}

.btn.ghost {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0.02rem solid #2f0d94;
  color: #2f0d94;
  margin: 0 auto;
}

/* 自动负载 */
.balance {
  padding: 0.5rem 0;
  background: #fff;
}

.balance-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  /* justify-content: center; */
  gap: 0.6rem;
}

.balance-inner img {
  width: 30%;
}

.balance-text h2 {
  font-size: 0.38rem;
  margin-bottom: 0.16rem;
}

.balance-text p {
  font-size: 0.26rem;
  color: #666;
  margin-bottom: 0.28rem;
}

.balance-art {
  border-radius: 0.24rem;
}

/* 功能栅格 */
.features-grid {
  padding: 1rem 0;
  background: #f8fafc;
}

.grid {
  display: grid;
  grid-template-columns: 1 1fr;
  gap: 0.2rem;
}

.grid-item {
  background: #fff;
  border-radius: 0.16rem;
  box-shadow: 0 0.06rem 0.18rem rgba(0, 0, 0, 0.05);
  padding: 0.36rem;
  text-align: center;
}
.hero-tips {
  font-size: 16px;
  color: white;
}
.hero-tips {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-tips li {
  width: 50%;
  margin-bottom: 10px;
  text-align: center;
}
.grid-icon {
  width: 0.88rem;
  height: 0.88rem;
  object-fit: contain;
  margin: 0.08rem auto 0.16rem;
  display: block;
}

.grid-item h3 {
  font-size: 0.3rem;
  margin-bottom: 0.08rem;
}

.grid-item p {
  font-size: 0.24rem;
  color: #666;
}

/* 多设备 */
.devices {
  padding: 1rem 0;
  background: #fff;
}

.devices-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.devices-text h2 {
  font-size: 0.38rem;
  margin-bottom: 0.12rem;
}

.devices-text p {
  font-size: 0.26rem;
  color: #666;
}

.devices-art {
  /* background: url('../images/index/8.png') center/cover no-repeat */
}

/* 无需注册 */
.no-register {
  padding: 1rem 0;
  background: #fff;
}

.no-register-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.no-register-text h2 {
  font-size: 0.38rem;
  margin-bottom: 0.12rem;
}

.no-register-text p {
  font-size: 0.26rem;
  color: #666;
}

.no-register-art {
  border-radius: 0.24rem;
  background: url("../images/index/9.png") center/cover no-repeat;
}

/* 底部 */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.8rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand .logo-mark {
  background: white;
  color: #fff;
  border-radius: 0.08rem;
  margin-right: 0.12rem;
}

.footer-brand .logo-text {
  font-size: 0.28rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.footer-link {
  font-size: 0.24rem;
  color: #cbd5e1;
}

.hero-img {
  width: 100%;
  max-width: 500px;
}

.ftR ul {
  /* display: flex;
        font-size: 14px;

        flex-wrap: wrap; */
}

.ftR ul li {
  margin-right: 15px;
  margin-bottom: 10px;
  font-size: 0.15rem;
}

/* PC 端：宽度大于 1024px 使用 px 与弹性布局（媒体查询） */
@media (min-width: 1025px) {
  .container {
    max-width: 1200px;
    padding: 0 24px;
  }

  .nav-link + .nav-link {
    margin-left: 70px;
  }

  .nav-link {
    color: #3d3d3d;
    font-size: 18px;
  }

  .footer-brand .logo-text {
    font-size: 36px;
    color: #fff;
    margin-left: 10px;
    line-height: 1;
  }

  .footer-brand .logo-text span {
    display: flex;
  }

  .footer-brand .logo-text .tip {
    font-size: 18px;
    line-height: 1;
    color: #aaabb1;
    margin-top: 5px;
  }

  .nav {
    display: flex;
  }

  .btn img {
    width: 30px;
  }

  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo-mark {
    width: 60px;
  }

  .hero {
    padding: 80px 0;
  }

  .footer-links-box {
    width: 50%;
  }

  .ftR ul {
    display: flex;
    flex-wrap: wrap;
  }

  .ftR ul li {
    margin-right: 15px;
    margin-bottom: 10px;
  }

  .ftR ul li span {
    font-size: 14px;
  }

  .hero-figure {
    display: flex;
    justify-content: center;
  }

  .site-header-menu {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-figure img {
    max-width: 520px;
  }

  .hero-title {
    font-size: 40px;
    color: white;
  }

  .hero-subtitle {
    color: #121313;
    font-size: 32px;
    margin: 20px 0;
  }

  .hero-features {
    padding: 20px;
    border-radius: 12px;
  }

  .hero-features li {
    font-size: 16px;
    padding-left: 22px;
  }

  .download-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .btn {
    height: 60px;
    border-radius: 8px;
    font-size: 20px;
  }

  .download-card {
    margin-top: 40px;
  }

  .balance {
    padding: 80px 0;
  }

  .balance .text-box {
    margin: 40px 0;
  }

  .balance-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .balance-text h2 {
    font-size: 28px;
  }

  .balance-text p {
    font-size: 16px;
  }

  .balance-art {
    border-radius: 18px;
  }

  .features-grid {
    padding: 80px 0;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .grid-item {
    padding: 24px;
    border-radius: 12px;
    flex-direction: row;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  /* .grid-item > div {
        display: flex;
        flex-direction: column;
        align-items: center;
     } */

  .grid-icon {
    width: 50%;
    height: auto;
    margin: 0;
  }

  .grid-item h3 {
    font-size: 18px;
  }

  .grid-item p {
    font-size: 18px;
  }

  .devices {
    padding: 80px 0;
  }

  .devices-inner {
    flex-direction: row;
    align-items: center;
  }

  .devices-art {
    width: 40%;
  }

  .devices-text {
    width: 50%;
    text-align: center;
  }

  .devices-text h2 {
    font-size: 28px;
    margin-bottom: 60px;
  }

  .devices-text p {
    font-size: 16px;
  }

  .no-register {
    padding: 80px 0;
  }

  .no-register-inner {
    display: flex;
    align-items: center;
  }

  .no-register-inner {
    display: flex;
    flex-direction: row;
  }

  .no-register-art {
    border-radius: 18px;
    width: 40%;
  }

  .no-register-text {
    width: 50%;
    text-align: center;
  }

  .no-register-text h2 {
    font-size: 28px;
    margin-bottom: 60px;
  }

  .no-register-text p {
    font-size: 16px;
  }

  .site-footer {
    padding: 56px 0;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-link {
    font-size: 14px;
  }
}

@media (max-width: 1025px) {
  .balance {
    padding: 0;
  }
  .nav {
    display: none;
  }
  .nav-link {
    margin-bottom: 0.2rem;
  }
  .nav-link + .nav-link {
    margin-left: 0;
  }
  .features-grid {
    padding: 0.3rem 0;
  }
  .grid-item {
    padding: 0.2rem;
  }
  .btn.ghost {
    height: 0.5rem;
    margin-bottom: 0.3rem;
  }
  .balance-inner {
    gap: 0;
    padding: 0.2rem 0;
  }
  .grid-item p {
    font-size: 0.16rem;
  }
  .hero {
    margin-top: 0;
    padding-top: 0.3rem;
  }
  .devices {
    padding: 0.3rem 0;
  }
  .balance-text h2,
  .devices-text h2,
  .no-register-text h2 {
    font-size: 0.2rem;
  }
  .balance-text p,
  .devices-text p,
  .no-register-text p {
    font-size: 0.15rem;
  }
  。 .hero-title {
    font-size: 0.3rem;
  }

  .hero-subtitle {
    font-size: 0.2rem;
    margin-bottom: 0rem;
  }

  .download-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.1rem;
  }

  .hero-inner {
    margin-bottom: 0.5rem;
  }

  .hero-right {
    /* display: none; */
  }
  .hero-figure {
    display: block;
  }

  .hero .btn {
    font-size: 0.15rem;
    height: 0.5rem;
  }

  .hero .btn img {
    margin-right: 0.1rem;
  }

  .no-register {
    padding: 0.3rem 0;
  }
  .no-register-inner {
    flex-direction: column-reverse;
  }
}
