/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", Arial, sans-serif;
}

/* 颜色变量定义 */
:root {
  --sky-blue: #87CEEB;
  --sky-blue-dark: #4FC3F7;
  --milk-white: #F5F5F5;
  --text-color: #333333;
  --light-gray: #E0E0E0;
}

/* 页面基础样式 */
body {
  background-color: var(--milk-white);
  color: var(--text-color);
  line-height: 1.6;
}

/* 居中容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--sky-blue-dark);
}

/* 英雄区样式 */
.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--sky-blue), var(--milk-white));
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #333;
}

/* 下载按钮区域 */
.download-section {
  position: relative;
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--sky-blue-dark);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.download-btn:hover {
  background-color: #2196F3;
}

.download-btn img {
  width: 24px;
  height: 24px;
}

.product-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 产品介绍区域 */
.product-intro {
  padding: 40px 0;
}

.product-intro h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--sky-blue-dark);
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.intro-card {
  background-color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.intro-card:hover {
  transform: translateY(-5px);
}

.intro-card h3 {
  color: var(--sky-blue-dark);
  margin-bottom: 15px;
}

/* 版本更新区域 */
.version-update {
  padding: 40px 0;
  background-color: white;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.version-update h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--sky-blue-dark);
}

.update-list {
  max-width: 800px;
  margin: 0 auto;
}

.update-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 15px;
}

.update-item:last-child {
  border-bottom: none;
}

.update-item img {
  width: 20px;
  height: 20px;
}

/* 短文章区域 */
.short-articles {
  padding: 40px 0;
}

.short-articles h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--sky-blue-dark);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.article-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--sky-blue-dark);
}

.article-card p {
  font-size: 0.9rem;
  color: #666;
}

/* 页脚样式 */
footer {
  background-color: var(--sky-blue);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}

/* 404页面样式 */
.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--milk-white);
}

.error-page h1 {
  font-size: 8rem;
  color: var(--sky-blue-dark);
  margin-bottom: 20px;
}

.error-page h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.error-page p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #666;
}

.error-page a {
  padding: 12px 24px;
  background-color: var(--sky-blue-dark);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.error-page a:hover {
  background-color: #2196F3;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .intro-cards {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 80%;
    justify-content: center;
  }
}