html,
body {
  background-color: #fff;
  margin: 0px;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
  max-width: 800px;
  margin: 0 auto;
}

.site-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-subtitle {
  font-size: 20px;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 2px;
}

/* 主要内容区域 */
.main-content {
  flex: 1;
}

/* 英雄区域 */
.hero-section {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 功能特色区域 */
.features-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 50px;
  font-weight: 600;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #667eea;
  margin: 15px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h4 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* 关于我们区域 */
.about-section {
  background: white;
  padding: 80px 0;
}

.about-text {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* 页脚样式 */
.footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0;
  margin-top: auto;
  text-align: center;
}

.footer-info {
  margin-bottom: 10px;
}

.footer-info span {
  font-size: 14px;
  margin-right: 20px;
}

.icp {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.icp:hover {
  color: white;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .site-title {
    font-size: 36px;
  }
  
  .site-subtitle {
    font-size: 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .footer-info span {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  .header {
    padding: 30px 0;
  }
  
  .site-title {
    font-size: 28px;
  }
  
  .site-subtitle {
    font-size: 14px;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .features-section,
  .about-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .feature-card {
    padding: 25px 15px;
  }
  
  .footer {
    padding: 30px 0;
  }
}

/* 确保页面占满整个视口高度 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
