/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 主题色定义 */
:root {
  --sky-blue: #1890ff;
  --milk-white: #f9f9f9;
  --dark-text: #333;
  --light-text: #666;
  --border-color: #e8e8e8;
}

/* 页面基础样式 */
body {
  background-color: var(--milk-white);
  color: var(--dark-text);
  line-height: 1.6;
}

/* 居中容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list a {
  text-decoration: none;
  color: var(--dark-text);
  font-size: 16px;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: var(--sky-blue);
}

/* 按钮通用样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--sky-blue);
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #096dd9;
}

/* 下载按钮容器 */
.download-btns {
  display: flex;
  gap: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(24, 144, 255, 0.9);
  padding: 12px 24px;
  border-radius: 6px;
  color: white;
  text-decoration: none;
}

.download-btn img {
  width: 20px;
  height: 20px;
}

/* 产品图片容器 */
.product-img-box {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
}

.product-img-box img {
  width: 100%;
  border-radius: 8px;
}

/* 产品介绍区域 */
.product-intro {
  padding: 50px 0;
}

.product-intro h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--sky-blue);
}

.intro-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.intro-item {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-item h3 {
  color: var(--sky-blue);
  margin-bottom: 10px;
}

/* 版本更新区域 */
.version-update {
  padding: 50px 0;
  background-color: white;
}

.version-update h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--sky-blue);
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.update-item {
  padding: 15px;
  border-left: 4px solid var(--sky-blue);
  background-color: var(--milk-white);
  border-radius: 0 4px 4px 0;
}

.update-item .version {
  font-weight: bold;
  color: var(--sky-blue);
}

/* 短文章区域 */
.short-articles {
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-item {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-item h4 {
  margin-bottom: 10px;
  color: var(--sky-blue);
}

/* 页脚样式 */
footer {
  background-color: var(--sky-blue);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

/* 404页面样式 */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.error-page img {
  max-width: 400px;
  margin: 20px 0;
}

.error-page h1 {
  font-size: 80px;
  color: var(--sky-blue);
}

.error-page p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .intro-list {
    grid-template-columns: 1fr;
  }
  
  .short-articles {
    grid-template-columns: 1fr;
  }
  
  .download-btns {
    flex-direction: column;
  }
  
  .nav-list {
    gap: 15px;
  }
}