/* 全局样式重置与基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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

h1, h2, h3, h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #3498db;
  transition: all 0.3s ease;
}

a:hover {
  color: #2980b9;
}

/* 导航栏样式 */
.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;
}

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

.logo h1 {
  font-size: 1.5rem;
  color: #3498db;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: #3498db;
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* 头部横幅样式 */
.header {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  margin-top: 70px;
}

.header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* 关于我们区域样式 */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-content h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
}

/* 服务优势区域样式 */
.services-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.services-section h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.service-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

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

.faq-section h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

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

.faq-question i {
  color: #3498db;
  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: #fff;
}

.faq-answer p {
  padding: 20px 0;
  border-top: 1px solid #f1f3f5;
}

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

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

/* 联系客服区域样式 */
.contact-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contact-section h3 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 50px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.wechat-service, .app-download {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.wechat-service h4, .app-download h4 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.wechat-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wechat-qrcode img {
  width: 180px;
  height: 180px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 8px;
}

.service-time {
  margin-top: 15px;
  color: #666;
  font-size: 0.9rem;
}

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

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.android-btn {
  background-color: #2ecc71;
}

.ios-btn {
  background-color: #34495e;
}

.download-btn i {
  font-size: 1.2rem;
  margin-right: 10px;
}

.download-note {
  color: #666;
  font-size: 0.9rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: #3498db;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-logo p {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-links a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  color: #bdc3c7;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* 回到顶部按钮样式 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3498db;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

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

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

/* 响应式样式 */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    height: calc(100vh - 70px);
    transition: 0.3s;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: block;
  }

  .header h2 {
    font-size: 2rem;
  }

  .about-content h3,
  .services-section h3,
  .faq-section h3,
  .contact-section h3 {
    font-size: 1.7rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .contact-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 80px 0 40px;
  }

  .header h2 {
    font-size: 1.8rem;
  }

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

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

  .download-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .wechat-qrcode img {
    width: 150px;
    height: 150px;
  }
}