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

:root {
  --primary: #00d9ff;
  --primary-dark: #00b8d9;
  --secondary: #ff6b6b;
  --accent: #00ff88;
  --dark: #0a1628;
  --dark-light: #1a2744;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
  --gradient-2: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}
body {
  font-family:
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flex {
  display: flex;
  align-items: center;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-align-start {
  align-items: flex-start;
}
.flex-align-end {
  align-items: flex-end;
}
/* ===== 按钮样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--gray);
}

.btn-outline:hover {
  background: var(--gray-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-small {
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

.navbar .navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .logo {
  max-width: 177px;
}

.nav-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #1ce8e8;
  text-decoration: underline;
  text-decoration-color: #1ce8e8;
  text-underline-offset: 5px;
}

/* ===== Hero区域 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(images/bg.png) center/cover;
}

.hero .hero-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 102px; /* 为 navbar (70px) + top (32px) 预留空间 */
}

.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 664px;
}
.hero-content .logo {
  display: none;
}
.hero-content .slogan {
  width: 100%;
  max-width: 664px;
}
.hero-content .desc {
  font-size: 20px;
  color: var(--white);
  line-height: 40px;
  max-width: 470px;
  text-align: justify;
}
.hero-wave {
  max-width: 470px;
  border-radius: 37px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(41px);
  padding: 67px 49px 50px 49px;
  box-sizing: border-box;
  margin-left: 66px;
  margin-top: 20px; /* 防止与 navbar 重叠 */
}
.hero-wave .qr-code {
  width: 100%;
  max-width: 307px;
  margin-bottom: 39px;
}
.hero-wave .scan-desc {
  color: #02e5e5;
  font-size: 24px;
  font-weight: 600;
  margin-left: 11px;
}
.hero-wave .btns {
  margin-top: 41px;
}
.hero-wave .btn {
  height: 60px;
  min-width: 160px;
  border-radius: 20rpx;
  background: rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  border: 1px solid #847d7b;
}
.hero-wave .btn .icon {
  width: 26px;
  height: 32px;
}
.hero-wave .btn .store {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-left: 13px;
  white-space: nowrap;
}
.hero-wave .btn.android {
  margin-left: 31px;
}

/* ===== 通用区域标题 ===== */
.section-header {
  text-align: center;
  margin: 0 auto 60px auto;
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

.section-title {
  font-size: 68px;
  font-weight: 600;
  line-height: 48px;
  color: #000000;
}

.section-desc {
  font-size: 24px;
  line-height: 40px;
  color: #0d0b10;
  margin-top: 47px;
  max-width: 712px;
}

/* ===== 核心功能 ===== */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, #b0f0fb -1%, #ffffff 94%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  border-radius: 30px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-img {
  max-width: 599px;
  height: 100%;
  object-fit: cover;
  border-radius: 30px 0 0 30px;
}
.feature-title-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0px 0px 30px 30px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(51px);
  padding: 20px 0;
}
.feature-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}
.feature-desc {
  font-size: 16px;
  color: #ffffff;
  margin-top: 6px;
}

/* ===== 数据统计 ===== */
.stats {
  position: relative;
  padding: 100px 0;
  background: var(--dark);
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000 url(images/ach-bg.png) no-repeat;
}
.stat-title {
  color: #000000;
  font-size: 28px;
  font-weight: 600;
  margin: 14px 0 8px 0;
}
.stat-desc {
  font-size: 16px;
  color: #373940;
  line-height: 32px;
  text-align: justify;
}
.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  border-radius: 24px;
  background: #ffffff;
  box-sizing: border-box;
  border: 1px solid #c4cdcd;
  padding: 23px 20px;
}

/* ===== CTA区域 ===== */
.cta {
  position: relative;
  padding: 34px 0 26px 0;
  background: linear-gradient(90deg, #27ffbe -25%, #1b68ff 99%);
}

.cta.cta--fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
}

.cta-bg {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(39, 255, 190, 0.2) -25%, rgba(27, 104, 255, 0.2) 99%);
}
.cta .wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1200px;
}

.cta .cta-container {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  color: #fff;
}

.cta-desc {
  font-size: 16px;
  color: #fff;
  margin-top: 16px;
}
.cta-download-btn {
  cursor: pointer;
  width: 256px;
  height: 78px;
  border: 2px solid #ffffff;
  border-radius: 39px;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ===== 页脚 ===== */
.footer {
  background: #1a1a1a;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo {
  width: 100%;
  max-width: 296px;
}
.footer-brand .footer-copyright a,
.footer-brand .footer-copyright {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
.footer-brand .footer-copyright .privacy {
  text-decoration: underline;
  text-underline-offset: 8px;
  margin-left: 36px;
}
.contact {
  display: flex;
  margin-top: 27px;
}
.contact-list {
  list-style: none;
}
.contact-list li {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 16px;
}
.contact-list li:last-child {
  margin-left: 49px;
}
.contact-list a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
.contact-list a:hover {
  color: var(--primary);
}
.social-links {
  display: flex;
  gap: 41px;
  margin-top: 54px;
}

.social-link {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.social-link svg {
  width: 30px;
  height: 30px;
}

.social-link.douyin svg {
  width: 25px;
  height: 25px;
}

/* ===== 微信公众号弹窗 ===== */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.wechat-modal.active {
  display: flex;
}

.wechat-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.wechat-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wechat-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.wechat-modal-close {
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.wechat-modal-close:hover {
  opacity: 1;
}

.wechat-modal-body {
  padding: 20px;
}

.wechat-modal-body img {
  width: 200px;
  height: 200px;
  display: block;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

/* ===== PC 大屏适配 ===== */
@media (min-width: 1440px) {
  .hero-wave {
    padding: 80px 60px 60px 60px;
    margin-left: 100px;
  }

  .hero-wave .qr-code {
    max-width: 340px;
    margin-bottom: 45px;
  }

  .hero-wave .scan-desc {
    font-size: 28px;
  }

  .hero-wave .btn {
    height: 68px;
  }

  .hero-wave .btn .store {
    font-size: 20px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-wave {
    padding: 60px 45px 45px 45px;
    margin-left: 80px;
  }

  .hero-wave .qr-code {
    max-width: 300px;
    margin-bottom: 35px;
  }

  .hero-wave .scan-desc {
    font-size: 24px;
  }

  .hero-wave .btn {
    height: 64px;
  }

  .hero-wave .btn .store {
    font-size: 18px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-wave {
    padding: 50px 40px 40px 40px;
    margin-left: 50px;
    max-width: 420px;
  }

  .hero-wave .qr-code {
    max-width: 280px;
    margin-bottom: 30px;
  }

  .hero-wave .scan-desc {
    font-size: 22px;
  }

  .hero-wave .btns {
    margin-top: 30px;
  }

  .hero-wave .btn {
    height: 56px;
    padding: 10px 20px;
  }

  .hero-wave .btn .store {
    font-size: 16px;
  }

  .hero-wave .btn.android {
    margin-left: 20px;
  }
}

/* ===== H5 移动端适配 ===== */
@media (max-width: 768px) {
  /* 隐藏 navbar 和 hero-wave */
  .navbar {
    display: none;
  }

  .hero-wave {
    display: none;
  }

  /* Hero 区域 */
  .hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero .hero-container {
    flex-direction: column;
    padding: 0 16px;
    gap: 30px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero-content .logo {
    display: block;
    max-width: 150px;
    margin-bottom: 20px;
  }

  .hero-content .slogan {
    max-width: 100%;
  }

  /* 通用区域标题 */
  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .section-desc {
    font-size: 14px;
    line-height: 22px;
    margin-top: 16px;
    padding: 0 16px;
  }

  /* 核心功能 */
  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .feature-card {
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
  }

  .feature-img {
    width: 100%;
    border-radius: 16px 16px 0 0;
  }

  .feature-title-box {
    padding: 16px 0;
    border-radius: 0 0 16px 16px;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-desc {
    font-size: 12px;
  }

  /* 数据统计 - 横向滚动 */
  .stats {
    padding: 60px 0;
  }

  .stats .container {
    overflow: hidden;
  }

  .stats-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .stats-grid::-webkit-scrollbar {
    display: none;
  }

  .stat-item {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 20px 16px;
  }

  .stat-icon {
    width: clamp(32px, 8vw, 48px);
    height: clamp(32px, 8vw, 48px);
  }

  .stat-title {
    font-size: 18px;
    margin: 12px 0 8px;
  }

  .stat-desc {
    font-size: 12px;
    line-height: 20px;
  }

  /* CTA 区域 */
  .cta {
    padding: 24px 0 20px;
  }
  .cta .cta-container {
    text-align: left;
  }
  .cta .wrapper {
    gap: 20px;
    text-align: center;
    padding: 0 16px;
  }

  .cta-title {
    font-size: 22px;
    line-height: 28px;
  }

  .cta-desc {
    font-size: 13px;
    margin-top: 8px;
  }

  .cta-download-btn {
    width: 122px;
    height: 42px;
    font-size: 15px;
    border-radius: 28px;
    border-width: 1px;
  }

  /* 页脚 */
  .footer {
    padding: 40px 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 30px;
    padding: 0 16px;
  }

  .footer-brand .logo {
    max-width: 200px;
  }

  .social-links {
    gap: 24px;
    margin-top: 0;
    justify-content: space-between;
  }
  .footer-links li {
    font-size: 12px;
    &::before {
      top: -2px;
    }
  }

  .privacy {
    display: none;
  }
}

/* ===== 响应式设计 ===== */
@media (max-width: 1199px) {
  .hero .hero-container {
    padding: 0 40px;
    gap: 40px;
  }

  .hero-wave {
    margin-left: 40px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-wave {
    margin-left: 20px;
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .image-card {
    display: none;
  }

  .features-grid,
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    height: 60px;
  }

  .nav-menu {
    display: none;
  }

  .title-main {
    font-size: 36px;
  }

  .title-sub {
    font-size: 30px;
  }

  .section-title {
    width: 100%;
    max-width: 495px;
  }

  .features-grid,
  .routes-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-brand .logo {
    max-width: 180px;
  }

  .footer-brand .footer-copyright,
  .footer-brand .footer-copyright a {
    font-size: 11px;
    line-height: 1.6;
  }

  .contact {
    margin-top: 16px;
  }

  .contact-list {
    gap: 8px;
  }

  .contact-list li {
    font-size: 12px;
  }
  .contact-list li:last-child {
    margin-left: 8px;
  }

  .social-links {
    gap: 20px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .footer {
    padding-bottom: 100px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }
}
