/* 全局样式重置 */
* {
  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: #202124;
  background: #ffffff;
}

/* 旋转动画 */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-logo svg {
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.nav-menu a.active {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* 主要内容区域 */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: #5f6368;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26,115,232,0.3);
}

.btn-secondary {
  background: white;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.btn-secondary:hover {
  background: #1a73e8;
  color: white;
}

.btn svg {
  margin-right: 8px;
}

/* 特性卡片 */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card svg {
  width: 64px;
  height: 64px;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #202124;
}

.feature-card p {
  color: #5f6368;
  line-height: 1.6;
}

/* 下载区域 */
.download-section {
  background: linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 100%);
  padding: 4rem 0;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.download-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.download-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #202124;
}

.download-card svg {
  width: 48px;
  height: 48px;
  color: #1a73e8;
  margin-bottom: 1rem;
}

/* 用户评价 */
.testimonials {
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-card .stars {
  color: #fbbc04;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: #5f6368;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  color: #202124;
}

/* FAQ 区域 */
.faq {
  background: #f8f9fa;
  padding: 4rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  border: none;
  background: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #202124;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #5f6368;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* 页脚 */
.footer {
  background: #202124;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .features-grid,
  .download-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* SEO 内容区域 */
.seo-content {
  padding: 4rem 0;
  background: white;
}

.seo-content h2 {
  font-size: 2rem;
  color: #1a73e8;
  margin-bottom: 2rem;
  text-align: center;
}

.seo-content h3 {
  font-size: 1.5rem;
  color: #202124;
  margin: 2rem 0 1rem;
}

.seo-content p {
  color: #5f6368;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.seo-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.seo-content li {
  color: #5f6368;
  margin-bottom: 0.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}

.comparison-table th {
  background: #1a73e8;
  color: white;
  font-weight: 600;
}

.comparison-table tr:hover {
  background: #f8f9fa;
}

.cta-section {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background: white;
  color: #1a73e8;
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
