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

/* 颜色变量定义 */
:root {
    --sky-blue: #1890ff;       /* 天空蓝 */
    --milk-white: #f8f9fa;     /* 奶白色 */
    --dark-blue: #0f7ae5;      /* 深蓝（hover效果） */
    --text-color: #333333;     /* 文字主色 */
    --light-text: #666666;     /* 次要文字色 */
    --border-color: #e8e8e8;   /* 边框色 */
}

/* 通用样式 */
body {
    background-color: var(--milk-white);
    color: var(--text-color);
    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;
}

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

.logo {
    width: 100px;
}

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

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    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;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* 主要内容区样式 */
main {
    padding: 50px 0;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--sky-blue);
}

/* 产品介绍样式 */
.product-intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

.intro-card h3 {
    color: var(--sky-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

/* 下载页样式 */
.download-section {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.download-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.download-btn {
    padding: 12px 25px;
    font-size: 16px;
}

.product-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

/* 版本更新样式 */
.version-update {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.update-list {
    list-style: none;
}

.update-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

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

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

/* 短文章样式 */
.short-articles {
    display: grid;
    grid-template-columns: repeat(3, 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 h4 {
    margin-bottom: 10px;
    color: var(--sky-blue);
}

/* 404页面样式 */
.error-page {
    text-align: center;
    padding: 100px 0;
}

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

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

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

/* 响应式适配 */
@media (max-width: 768px) {
    .product-intro {
        grid-template-columns: 1fr;
    }
    
    .short-articles {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        position: static;
        transform: none;
        margin-bottom: 20px;
    }
    
    .nav-list {
        flex-direction: column;
        margin-top: 20px;
    }
    
    .nav-list li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}