/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 悬浮下载条 */
.floating-download {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #4a6cf7;
  color: white;
  text-align: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.floating-download a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.2);
  transition: background-color 0.3s ease;
}

.floating-download a:hover {
  background-color: rgba(255,255,255,0.3);
}

/* 导航栏 */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px 0;
  margin-top: 45px;
  position: sticky;
  top: 45px;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 24px;
  font-weight: bold;
  color: #4a6cf7;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #4a6cf7;
}

.action-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-download {
  background-color: #4a6cf7;
  color: white;
}

.btn-download:hover {
  background-color: #3a5ae0;
}

.btn-login {
  background-color: white;
  color: #4a6cf7;
  border: 1px solid #4a6cf7;
}

.btn-login:hover {
  background-color: #f0f3ff;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #4a6cf7;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 头部区域 */
.header {
  background: linear-gradient(135deg, #4a6cf7 0%, #3a5ae0 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.header p {
  font-size: 20px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.header-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.header-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.header-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.header-feature-icon {
  font-size: 18px;
}

.header-feature-text {
  font-weight: 500;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* 核心功能区 */
.features {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.section-description {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 48px;
  color: #4a6cf7;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.feature-description {
  color: #666;
  line-height: 1.6;
}

/* 价格套餐区域 */
.pricing {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pricing-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: #4a6cf7;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-badge.featured {
  background-color: #ff6b6b;
}

.pricing-saving {
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border: 2px solid #4a6cf7;
  transform: scale(1.05);
}

.pricing-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.pricing-price {
  font-size: 36px;
  font-weight: bold;
  color: #4a6cf7;
  margin-bottom: 10px;
}

.pricing-period {
  color: #666;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.pricing-features li:before {
  content: '✓';
  color: #4a6cf7;
  font-weight: bold;
  margin-right: 10px;
}

/* 行动召唤区 */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #4a6cf7 0%, #3a5ae0 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
}

/* 差异化说明区 */
.differentiation {
  padding: 80px 0;
  background-color: white;
}

.differentiation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.differentiation-item {
  text-align: center;
  padding: 30px;
}

.differentiation-icon {
  font-size: 48px;
  color: #4a6cf7;
  margin-bottom: 20px;
}

.differentiation-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.differentiation-description {
  color: #666;
  line-height: 1.6;
}

/* 用户评价区 */
.testimonials {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}

.testimonial-rating {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffd700;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 14px;
  color: #999;
}

/* 常见问题区 */
.faq {
  padding: 80px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background-color: #f8f9fa;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e9ecef;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
}

.faq-answer.active {
  padding: 20px;
  max-height: 200px;
}

.faq-question:after {
  content: '+';
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question.active:after {
  content: '-';
  transform: rotate(180deg);
}

/* 页脚 */
.footer {
  background-color: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section p,
.footer-section li {
  color: #ccc;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  color: #ccc;
  font-size: 14px;
}

/* 下载页面样式 */
.download-links {
  padding: 60px 0;
  background-color: white;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.download-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.download-icon {
  font-size: 48px;
  color: #4a6cf7;
  margin-bottom: 20px;
}

.download-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.download-system {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.download-details {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.download-details ul {
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.download-details li {
  margin-bottom: 5px;
  color: #666;
}

.download-details p {
  margin-bottom: 10px;
  color: #333;
}

/* 安装指南区 */
.install-guide {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.install-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #4a6cf7;
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.step-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-tips {
  background-color: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: left;
  border-left: 4px solid #2196f3;
}

.step-tips p {
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.step-tips p:last-child {
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .action-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .header h1 {
    font-size: 36px;
  }
  
  .header p {
    font-size: 18px;
  }
  
  .stats {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .install-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 28px;
  }
  
  .header p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .cta-subtitle {
    font-size: 16px;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 16px;
  }
}

/* 加载动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item,
.pricing-card,
.testimonial-card,
.download-card,
.install-step {
  animation: fadeIn 0.6s ease-out;
}

.feature-item:nth-child(2),
.pricing-card:nth-child(2),
.testimonial-card:nth-child(2),
.download-card:nth-child(2),
.install-step:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(3),
.pricing-card:nth-child(3),
.testimonial-card:nth-child(3),
.download-card:nth-child(3),
.install-step:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-item:nth-child(4),
.download-card:nth-child(4),
.install-step:nth-child(4) {
  animation-delay: 0.6s;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #4a6cf7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a5ae0;
}