/**
 * 顶部head区域 首页下载按钮 h5适配
 **/
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
  z-index: 0;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  z-index: -1;
  animation:
    bgMove 10s ease-in-out infinite alternate,
    bgFade 8s ease-in-out infinite alternate;
}

/* 第二层背景：蓝绿色系（用于颜色变幻） */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  z-index: -2;
  opacity: 0.4;
  animation:
    bgMove 20s ease-in-out infinite alternate-reverse,
    bgFade 18s ease-in-out infinite alternate-reverse;
}

/* 左右流动 */
@keyframes bgMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 颜色融合变幻（核心！） */
@keyframes bgFade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.wrap {
  width: 100%;
}

.main-bg {
  width: 100vw;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  z-index: 999;
}

.header-left {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.logo {
  width: 224px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo:hover {
  transform: scale(1.08) rotate(-8deg);
}

.site-info {
  display: flex;
  flex-direction: column;
}
.site-title {
  font-size: 22px;
  color: #1e1c1c;
  font-weight: 600;
  letter-spacing: 1px;
}
.site-desc {
  font-weight: 400;
  font-size: 14px;
  color: #1e1c1c;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 20px;
  color: rgba(143, 143, 143, 1);
  font-weight: 500;
  padding: 14px 18px;
  cursor: pointer;
  transition: color 0.3s;
}
.nav-btn.active,
.nav-btn:hover {
  color: #ffffff;
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 8px;
  background: url('../images/home/x.webp');
  background-size: cover;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.main-content {
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0 15px;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: url('../images/home/bg1.webp');
  background-size: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.section-main {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  max-width: 1200px;
  min-height: 500px;
}

.content-left {
  flex: 1 1 450px;
  display: flex;
  margin: 200px 0 0;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 420px;
}

.main-texts {
  position: absolute;
  left: 168px;
}
.main-slogan {
  width: 274px;
  height: 78px;
  background: url('../images/home/slogan.webp');
  background-size: 100% 100%;
  animation: fadeInDown 1.2s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.main-btns {
  position: absolute;
  bottom: 190px;
  display: flex;
  gap: 25px;
  animation: fadeInUp 1.2s ease-out 0.9s backwards;
}

.download-btn {
  width: 240px;
  height: 64px;
  background: #24ffed;
  font-weight: 600;
  font-size: 20px;
  color: #191b1e;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0px 5 10px 0px rgba(185, 119, 255, 0.2);
  transition: all 0.3s;
}

.download-btn img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.qrcode_box {
  position: relative;
  /* 保证按钮在最上层 */
  z-index: 1;
}

/* 🔥 绝对定位的白色背景板 */
.qrcode_box::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: #fff;
  border-radius: 15px;
  z-index: -1;
}

/* hover 时背景板向上展开 220px */
.qrcode_box:hover::before {
  height: 270px;
}

/* 二维码定位 */
.qrcode_box .qrcode {
  position: absolute;
  width: 190px;
  height: 190px;
  left: 50%;
  bottom: 65px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

/* hover 显示二维码 */
.qrcode_box:hover .qrcode {
  opacity: 1;
  visibility: visible;
}

.qrcode_box:hover .download-btn {
  background-color: #fff;
  color: #333;
}

/* iOS 按钮 hover 变色 */
.ios .download-btn:hover {
  background: #fff;
  color: #333;
}
/* 默认：白色图标显示，黑色图标隐藏 */
.ios_i:first-child {
  display: inline-block;
}
.ios_i:last-child {
  display: none;
}

/* hover 时：白色图标隐藏，黑色图标显示 */
.qrcode_box.ios:hover .ios_i:first-child {
  display: none;
}
.qrcode_box.ios:hover .ios_i:last-child {
  display: inline-block;
}

/* =======================
   安卓 图标切换
======================= */
.anzhuo_i:first-child {
  display: inline-block;
}
.anzhuo_i:last-child {
  display: none;
}
.qrcode_box:hover .anzhuo_i:first-child {
  display: none;
}
.qrcode_box:hover .anzhuo_i:last-child {
  display: inline-block;
}

.content-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 476px;
  height: 772px;
  z-index: -1;
}
.main-image {
  position: relative;
  bottom: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  animation: fadeInRight 1.5s;
  z-index: -1;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 125px;
  background: #212121;
  z-index: 11;
}

.huizhang {
  width: 15px;
}

.zhengce {
  display: flex;
  align-items: center;
  gap: 5px;
}

.zhengce a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-content {
  width: 100%;
  min-height: 125px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  font-size: 12px;
  color: #ffffff;
  gap: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .wrap {
    padding: 0;
  }
  .logo {
    width: 224px;
    height: 50px;
  }
  .header {
    align-items: center;
    padding: 24px 10px 0 10px;
  }
  .header-left {
    margin-left: 0;
  }
  .header-right {
    gap: 10px;
  }
  .nav-btn {
    font-size: 16px;
    padding: 6px 5px;
  }
  .nav-btn.active::before {
    width: 32px;
    height: 8px;
    bottom: -5px;
  }
  .main-content {
    flex-direction: column;
    align-items: center;
  }
  .content-right {
    width: 100%;
    height: 550px;
  }
  .main-texts {
    left: 50%;
    transform: translateX(-50%);
  }
  .main-slogan {
    width: 274px;
    height: 78px;
  }
  .main-image {
    height: auto;
    border-radius: 18px;
  }
  .content-left {
    margin-top: 150px;
    max-width: 100%;
    width: 100%;
  }
  .main-btns {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .download-btn {
    width: 100%;
    transform: scale(0.8);
  }
  .main-list-text {
    font-size: 20px;
  }
  .footer-content {
    padding: 0 10px;
  }
}

a {
  text-decoration: none;
}

/**
 * 滚动内容页面 h5适配
 **/

/* 整屏滚动容器 */
.fullpage {
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
}
.section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.section-1 {
  margin: 0 auto;
}
/* 第二屏背景图 */
.section-3,
.section-2 {
  position: relative;
}

.section2-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: url('../images/home/bg2.webp');
  background-size: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.section3-content,
.section2-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section3-left,
.section2-left {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: -1;
  justify-content: flex-end;
}
.section2-pic {
  width: 554px;
  height: 830px;
  object-fit: contain;
  opacity: 0;
}

.section3-pic {
  width: 490px;
  height: 830px;
  object-fit: contain;
  opacity: 0;
}

.section3-right,
.section2-right {
  display: flex;
  flex-direction: column;
  padding-left: 550px;
  color: #1e1c1c;
}

.section3-right img,
.section2-right img {
  margin-top: 200px;
  width: 806px;
  height: 566px;
  opacity: 0;
}

.section3-right img {
  /* margin-top: 50px; */
}

.section2-title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 23px;
  letter-spacing: 5px;
  opacity: 0;
}

.section2-title span {
  padding: 0;
  margin: 0;
}

.section2-subtitle {
  font-size: 34px;
  font-weight: 500;
}

.section2-desc {
  font-weight: 400;
  font-size: 23px;
  opacity: 0;
}

/* 激活动画 */
.section-2.animate .section2-pic,
.section-2.animate .section3-pic {
  animation: fadeInLeft 1.2s ease-out forwards;
}
.section-2.animate .section2-right img {
  animation: fadeInRight 1.2s ease-out 0.3s forwards;
}

.section-2.animate .section3-right img {
  animation: fadeInRight 1.2s ease-out 0.3s forwards;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .section3-content,
  .section2-content {
    flex-direction: column;
    padding: 0 0;
  }
  .section-2 {
  }
  .section2-left,
  .section2-right {
    flex: 1 1 100%;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
  .section2-right {
    align-items: center;
    padding-left: 0;
    margin-top: 120px;
  }
  .section3-right img,
  .section2-right img {
    margin-top: -50px;
    margin-left: 0;
    width: 90%;
    height: auto;
  }
  .section3-right img {
    margin-top: -100px;
  }
  .section3-right {
    align-items: center;
    padding-left: 0;
    margin-top: 150px;
  }
  .section2-title {
    margin-top: 150px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  .section2-subtitle {
    font-size: 20px;
  }
  .section2-desc {
    font-size: 16px;
  }
  .section3-pic,
  .section2-pic {
    width: 100vw;
    height: auto;
  }
  .section2-title,
  .section2-subtitle,
  .section2-desc {
    text-align: center;
    width: 100%;
  }
}
