/* 全局样式 */
:root {
  --primary-color: #409eff;
  --secondary-color: #67c23a;
  --dark-color: #303133;
  --light-color: #f5f7fa;
  --gray-color: #909399;
  --text-color: #303133;
  --text-light: #606266;
  --border-radius: 8px;
  --box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--box-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 0.8;
}

/* 导航下载按钮 */
.btn-nav {
  display: inline-block;
  background-color: white;
  color: var(--primary-color) !important;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: bold;
  transition: var(--transition);
}

.btn-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
}

/* 英雄区域 */
.hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(to bottom, #f5f7fa, white);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-download {
  background-color: white;
  color: var(--dark-color);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 特性区域 */
.features {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* 数据统计区域 */
.stats {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: white;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-value {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 平台区域 */
.platforms {
  padding: 80px 0;
  background-color: var(--light-color);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.platform-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.platform-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* 套餐区域 */
.pricing {
  padding: 80px 0;
  background-color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.pricing-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.pricing-price span {
  font-size: 1rem;
  opacity: 0.7;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.pricing-features li i {
  margin-right: 10px;
}

.pricing-features .ri-check-line {
  color: var(--secondary-color);
}

.pricing-features .ri-close-line {
  color: #f56c6c;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.popular {
  background-color: white;
  box-shadow: 0 8px 24px rgba(64, 158, 255, 0.2);
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: translateY(-10px) scale(1.05);
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* 行动召唤区域 */
.cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), #66b1ff);
  color: white;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* 页脚 */
footer {
  background-color: var(--dark-color);
  color: var(--gray-color);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #484848;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #66b1ff;
  transform: translateY(-3px);
}

.back-to-top i {
  font-size: 1.5rem;
}

/* 移动菜单 */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 深色模式 */
body.dark-theme {
  background-color: #1e1e1e;
  color: #f5f5f5;
}

body.dark-theme .features,
body.dark-theme .pricing {
  background-color: #2d2d2d;
}

body.dark-theme .feature-card,
body.dark-theme .platform-item,
body.dark-theme .pricing-card {
  background-color: #3d3d3d;
  color: #f5f5f5;
}

body.dark-theme .pricing-card.popular {
  background-color: #4d4d4d;
}

body.dark-theme .section-title h2 {
  color: #f5f5f5;
}

body.dark-theme .section-title p,
body.dark-theme .hero p {
  color: #b0b0b0;
}

/* 媒体查询 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 20px;
  }
  
  .nav-links.active li {
    margin: 10px 0;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.6s ease-out;
} 