/* 基础样式重置 */
* {
  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 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0070f3;
}

nav a {
  color: #0070f3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0050c3;
}



/* 英雄区域 */
#hero {
  background: linear-gradient(135deg, #0070f3, #0050c3);
  color: #fff;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmZmZmMTAiPjwvcmVjdD4KPHBhdGggZD0iTTAgNUw1IDBaTTYgNEw0IDZaTS0xIDFMMSAtMVoiIHN0cm9rZT0iI2ZmZmZmZjIwIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KPC9zdmc+') repeat;
  opacity: 0.1;
}

#hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

#hero p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* 按钮样式 */
.cta {
  display: inline-block;
  background: #fff;
  color: #0070f3;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background: #f8f9fa;
}

/* 功能区域 */
#features {
  padding: 100px 0;
  background: #fff;
}

#features h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

#features ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0 20px;
}

#features li {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#features li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#features li::before {
  content: '✓';
  display: block;
  font-size: 32px;
  color: #0070f3;
  margin-bottom: 20px;
}

/* 适用场景 */
#scenarios {
  padding: 100px 0;
  background: #f8f9fa;
}

#scenarios h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

#scenarios ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0 20px;
}

#scenarios li {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#scenarios li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#scenarios li::before {
  content: '🎯';
  display: block;
  font-size: 32px;
  margin-bottom: 20px;
}

/* 下载页面 */
#download {
  background: linear-gradient(135deg, #0070f3, #0050c3);
  color: #fff;
  padding: 160px 0 80px;
  text-align: center;
  margin-top: 80px;
}

#download h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

#download p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#download .cta {
  background: #fff;
  color: #0070f3;
}

/* 产品特点 */
#details {
  padding: 100px 0;
  background: #fff;
}

#details h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

#details ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0 20px;
}

#details li {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#details li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#details li::before {
  content: '⭐';
  display: block;
  font-size: 32px;
  margin-bottom: 20px;
}

/* 常见问题 */
#faq {
  padding: 100px 0;
  background: #f8f9fa;
}

#faq h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

#faq ul {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0 20px;
}

#faq li {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

#faq li:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 页脚 */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

footer p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* 动画效果 */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  #hero h2,
  #download h2 {
    font-size: 32px;
  }
  
  #hero p,
  #download p {
    font-size: 16px;
  }
  
  #features h3,
  #scenarios h3,
  #details h3,
  #faq h3 {
    font-size: 24px;
  }
  
  #features ul,
  #scenarios ul,
  #details ul {
    grid-template-columns: 1fr;
  }
  
  .cta {
    padding: 12px 30px;
    font-size: 16px;
  }
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }
  
  header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  
  #features {
    background: #1e1e1e;
  }
  
  #features h3,
  #scenarios h3,
  #details h3,
  #faq h3 {
    color: #e0e0e0;
  }
  
  #features li,
  #scenarios li,
  #details li,
  #faq li {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  
  #scenarios {
    background: #2d2d2d;
  }
  
  #details {
    background: #1e1e1e;
  }
  
  #faq {
    background: #2d2d2d;
  }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 产品详解 */
#product-details {
  padding: 100px 0;
  background: #fff;
}

#product-details h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.detail-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.detail-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0070f3;
}

/* 技术原理 */
#technology {
  padding: 100px 0;
  background: #f8f9fa;
}

#technology h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.tech-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.tech-content ol {
  list-style-position: inside;
  line-height: 1.8;
}

.tech-content li {
  margin-bottom: 15px;
  font-size: 16px;
}

/* 使用教程 */
#tutorial {
  padding: 100px 0;
  background: #fff;
}

#tutorial h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.step-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0070f3;
}

/* 用户评价 */
#testimonials {
  padding: 100px 0;
  background: #f8f9fa;
}

#testimonials h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.testimonial-item {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-item span {
  font-weight: 600;
  color: #0070f3;
}

/* 价格方案 */
#pricing {
  padding: 100px 0;
  background: #fff;
}

#pricing h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-item.featured {
  background: linear-gradient(135deg, #0070f3, #0050c3);
  color: #fff;
  transform: scale(1.05);
}

.pricing-item.featured h4,
.pricing-item.featured .price {
  color: #fff;
}

.pricing-item.featured li {
  color: #f8f9fa;
}

.pricing-item.featured .cta {
  background: #fff;
  color: #0070f3;
}

.pricing-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.pricing-item .price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0070f3;
}

.pricing-item ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.pricing-item li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #333;
}

.pricing-item li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0070f3;
  font-weight: bold;
}

.pricing-item.featured li::before {
  color: #fff;
}

/* 功能网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.feature-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0070f3;
}

/* 场景网格 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.scenario-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.scenario-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.scenario-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0070f3;
}

/* 下载平台 */
.download-platforms {
  margin-top: 60px;
}

.download-platforms h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #333;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.platform-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.platform-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.platform-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.platform-item p {
  margin-bottom: 20px;
  color: #666;
}

/* 安装指南 */
#installation-guide {
  padding: 100px 0;
  background: #f8f9fa;
}

#installation-guide h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

/* 常见问题 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.faq-item {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.faq-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0070f3;
}

/* 打印样式 */
@media print {
  #floating-download {
    display: none;
  }
  
  #hero,
  #download {
    background: #fff;
    color: #000;
  }
  
  .cta {
    border: 1px solid #000;
    color: #000;
  }
  
  .pricing-item.featured {
    background: #fff;
    color: #000;
    border: 2px solid #0070f3;
  }
  
  .feature-item,
  .scenario-item,
  .platform-item,
  .step-item,
  .faq-item {
    background: #fff;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}