* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* 导航栏 */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #5b7ae8;
  text-decoration: none;
  gap: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu li a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-menu li a:hover {
  color: #5b7ae8;
}

.nav-menu li a.active {
  color: #5b7ae8;
  font-weight: 600;
}

.nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: #5b7ae8;
  border-radius: 2px;
}

/* 主要内容容器 */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero 区域 */
.hero {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 80px 60px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 48px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 特性卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  color: #667eea;
}

.feature-card h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* 下载平台区域 */
.platforms {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.platforms h2 {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 50px;
  font-weight: 700;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.platform-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.platform-item:hover {
  border-color: #667eea;
  background: white;
}

.platform-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #667eea;
}

.platform-item h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.platform-item .version {
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
}

.platform-item button {
  width: 100%;
}

/* FAQ 区域 */
.faq {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.faq h2 {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-item {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  display: flex;
  align-items: start;
  gap: 10px;
}

.faq-question::before {
  content: 'Q:';
  color: #667eea;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  padding-left: 30px;
}

/* 用户评价 */
.testimonials {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: #667eea;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 3px;
}

.author-info p {
  font-size: 13px;
  color: #999;
}

/* 页脚 */
.footer {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 60px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
}

.footer-verify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: #27ae60;
  margin-bottom: 15px;
  font-weight: 500;
}

.footer-copyright {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
}

/* 下载页特殊样式 */
.download-hero {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.download-hero h1 {
  font-size: 42px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.download-hero .subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.featured-download {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}

.featured-download-info {
  text-align: left;
  flex: 1;
}

.featured-download-info h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.featured-download-info p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.featured-download button {
  background: white;
  color: #667eea;
  font-size: 18px;
  padding: 18px 50px;
  white-space: nowrap;
}

.featured-download button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 内容区域 */
.content-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.content-section h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
}

.content-section h3 {
  font-size: 24px;
  color: #2c3e50;
  margin: 30px 0 15px;
  font-weight: 600;
}

.content-section p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  margin: 20px 0;
}

.content-section ul li {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
}

.highlight-box {
  background: #f0f4ff;
  border-left: 4px solid #667eea;
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.highlight-box p {
  margin-bottom: 0;
}

.cta-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
  color: white;
}

.cta-box h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 25px;
}

.cta-box .btn {
  background: white;
  color: #667eea;
}

.cta-box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 对比表格 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background: #f8f9fa;
  color: #2c3e50;
  font-weight: 600;
}

.comparison-table tr:hover {
  background: #f8f9fa;
}

/* 动画 */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }

  .nav-menu {
    gap: 20px;
    margin-top: 15px;
  }

  .hero {
    padding: 40px 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .featured-download {
    flex-direction: column;
    text-align: center;
  }

  .featured-download-info {
    text-align: center;
  }

  .platforms,
  .faq,
  .testimonials,
  .content-section {
    padding: 40px 30px;
  }

  .footer {
    padding: 30px 20px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .platforms h2,
  .faq h2,
  .testimonials h2,
  .content-section h2 {
    font-size: 28px;
  }

  .btn {
    padding: 14px 30px;
    font-size: 15px;
  }
}
