/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #2563eb;
}

/* 英雄区域样式 */
.hero {
  margin-top: 70px;
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero h1 {
  font-size: 2.5rem;
  color: #2d3748;
  max-width: 800px;
}

.hero p {
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 600px;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 通用区块标题样式 */
.section-title {
  font-size: 2rem;
  color: #2d3748;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2563eb;
  border-radius: 2px;
}

/* 步骤区域样式 */
.steps-section {
  padding: 80px 0;
  background-color: #fff;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-img img {
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-content {
  text-align: center;
}

.step-content h3 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.step-content p {
  color: #4a5568;
  font-size: 0.95rem;
}

/* 常见问题样式 */
.faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
  color: #2d3748;
}

.faq-question:hover {
  background-color: #f5fafe;
}

.faq-question i {
  color: #2563eb;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background-color: #fefeff;
}

.faq-answer p {
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  color: #4a5568;
  font-size: 0.95rem;
}

.faq-answer p:first-child {
  border-top: none;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* 客服与下载区域样式 */
.contact-section {
  padding: 80px 0;
  background-color: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  align-items: center;
}

.wechat-service {
  text-align: center;
}

.wechat-service h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 20px;
}

.wechat-qrcode {
  margin-bottom: 15px;
}

.wechat-qrcode img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wechat-service p {
  color: #4a5568;
  margin-bottom: 10px;
}

.service-time {
  color: #718096;
  font-size: 0.9rem;
}

.download-area {
  text-align: center;
}

.download-area h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.1rem;
}

.download-btn i {
  font-size: 1.5rem;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.android-btn {
  background-color: #3ddc84;
}

.ios-btn {
  background-color: #000;
}

.download-note {
  background-color: #f5fafe;
  padding: 15px;
  border-radius: 8px;
  text-align: left;
}

.download-note p {
  color: #4a5568;
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-note p:last-child {
  margin-bottom: 0;
}

.download-note i {
  color: #2563eb;
}

/* 页脚样式 */
.footer {
  background-color: #2d3748;
  color: #a0aec0;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2563eb;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
}

/* 响应式样式 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

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

  .logo {
    font-size: 1.3rem;
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  .steps-section, .faq-section, .contact-section {
    padding: 60px 0;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    gap: 50px;
  }

  .download-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .nav-links {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .step-img img {
    width: 100%;
    height: auto;
  }

  .download-buttons {
    width: 100%;
  }

  .download-btn {
    width: 100%;
  }

  .footer-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}