/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft Yahei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #f9f9f9;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* 通用样式 */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
}

.section-title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #3498db, #2980b9);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(to right, #3498db, #2980b9);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
  background: linear-gradient(to right, #2980b9, #3498db);
}

/* 页头样式 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 1px;
}

/* 汉堡菜单按钮 */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger-icon {
  width: 30px;
  height: 30px;
}

/* 导航菜单 */
.nav {
  display: block;
}

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

.nav-link {
  font-size: 16px;
  color: #34495e;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: #3498db;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 横幅区域 */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-btn {
  padding: 15px 40px;
  font-size: 18px;
}

.hero-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 介绍区块 */
.features {
  padding: 80px 0;
  background-color: #fff;
}

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

.feature-item {
  padding: 30px 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-desc {
  font-size: 14px;
  color: #7f8c8d;
  text-align: left;
  line-height: 1.7;
}

/* 下载区块 */
.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fb 100%);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-content {
  flex: 1;
  text-align: center;
}

.download-title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.download-desc {
  font-size: 16px;
  color: #58666e;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.8;
}

.download-btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.download-btn {
  width: 220px;
  padding: 15px 20px;
  gap: 10px;
  background: #fff;
  color: #2c3e50;
  border: 1px solid #e1e8ed;
}

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

.download-btn:hover {
  background: #f5f7fa;
  color: #3498db;
  border-color: #3498db;
}

.download-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 文章区块 */
.article-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.article-inner {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-title {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.article-content {
  font-size: 16px;
  color: #58666e;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.8;
}

/* 常见问题区块 */
.faq-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background-color: #f8f9fa;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

.faq-answer p {
  padding: 15px 0;
  color: #7f8c8d;
  text-align: left;
  line-height: 1.8;
}

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

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

/* 优势区块 */
.benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f7fa 100%);
}

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

.benefit-item {
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  margin: 0 auto 20px;
}

.benefit-title {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-desc {
  font-size: 14px;
  color: #7f8c8d;
  text-align: left;
  line-height: 1.7;
}

/* 页尾样式 */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 60px 0 20px;
}

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

.footer-col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #3498db;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #bdc3c7;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #3498db;
  padding-left: 5px;
}

.footer-qrcode img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid #34495e;
  border-bottom: 1px solid #34495e;
  margin-bottom: 20px;
}

.footer-mid-link {
  color: #bdc3c7;
  font-size: 14px;
}

.footer-mid-link:hover {
  color: #3498db;
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
  color: #95a5a6;
  padding-top: 10px;
}

/* 响应式适配 - 平板（768px） */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
  }

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

  .download-inner {
    flex-direction: column;
  }

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

/* 响应式适配 - 手机（767px） */
@media (max-width: 767px) {
  /* 汉堡菜单显示 */
  .hamburger-btn {
    display: block;
  }

  /* 导航菜单隐藏，移动端展开 */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  .nav.active {
    height: auto;
    padding: 20px 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .nav-item {
    width: 90%;
    margin: 5px 0;
  }

  .nav-link {
    display: block;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .section-title {
    font-size: 24px;
  }

  .article-inner {
    padding: 20px;
  }

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