/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 基础样式 */
body {
  background-color: #f8f9fa;
  color: #121212; /* 神秘黑 */
  line-height: 1.6;
}

/* 容器居中 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: #121212;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #1E90FF; /* 天空蓝 */
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1E90FF;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0b7dda;
}

/* 下载区域样式 */
.download-section {
  padding: 60px 0;
  text-align: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #121212;
  border: 1px solid #1E90FF;
}

.download-btn img {
  width: 24px;
  height: 24px;
}

.product-img {
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品介绍样式 */
.product-intro {
  padding: 60px 0;
  background-color: white;
}

.product-intro h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #121212;
}

.intro-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.intro-item {
  padding: 20px;
  border-radius: 10px;
  background-color: #f0f8ff;
  border-left: 4px solid #1E90FF;
}

.intro-item h3 {
  color: #1E90FF;
  margin-bottom: 15px;
}

/* 版本更新样式 */
.version-update {
  padding: 60px 0;
  background-color: #121212;
  color: white;
}

.version-update h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.version-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.version-item {
  padding: 20px;
  border-radius: 10px;
  background-color: #1e1e1e;
  border: 1px solid #1E90FF;
}

.version-item .version-num {
  color: #1E90FF;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 短文章区域 */
.articles {
  padding: 60px 0;
}

.articles h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.article-item {
  padding: 15px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-item h4 {
  color: #1E90FF;
  margin-bottom: 10px;
}

/* 页脚样式 */
footer {
  background-color: #121212;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1E90FF;
}

/* 404页面样式 */
.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.error-page h1 {
  font-size: 120px;
  color: #1E90FF;
  margin-bottom: 20px;
}

.error-page h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.error-page p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .intro-list, .version-list {
    grid-template-columns: 1fr;
  }
}