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

/* 主题色定义 */
:root {
    --sky-blue: #409EFF;
    --sky-blue-light: #66b1ff;
    --milk-white: #F9FBFD;
    --gray: #666;
    --dark-gray: #333;
    --light-gray: #eee;
}

/* 页面基础布局 */
body {
    background-color: var(--milk-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

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

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--sky-blue);
}

/* 导航栏 */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

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

nav ul li a:hover {
    color: var(--sky-blue);
}

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

.btn:hover {
    background-color: var(--sky-blue-light);
}

/* 下载按钮容器（横置排列） */
.download-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

/* 产品图片样式 */
.product-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

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

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

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

/* 短文章区域 */
.short-articles {
    margin: 40px 0;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

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

/* 版本更新区域 */
.version-update {
    margin: 40px 0;
}

.update-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.update-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.update-item:last-child {
    border-bottom: none;
}

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

/* 页脚样式 */
footer {
    background-color: white;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

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

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

.error-page p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .intro-list, .article-list {
        grid-template-columns: 1fr;
    }
    .download-btns {
        flex-direction: column;
        width: 80%;
        margin: 0 auto 20px;
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 15px;
    }
}