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

/* 全局变量定义 */
:root {
    --sky-blue: #4A90E2;      /* 天空蓝主色 */
    --sky-blue-light: #6BA5E8;/* 浅天空蓝 */
    --milk-white: #F8F9FA;    /* 奶白色 */
    --gray: #6c757d;          /* 灰色文本 */
    --dark-gray: #343a40;     /* 深灰色 */
    --white: #ffffff;         /* 纯白色 */
    --shadow: 0 2px 10px rgba(0,0,0,0.1); /* 阴影效果 */
}

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

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

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    width: 120px;
}

/* 导航样式 */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--sky-blue);
}

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

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

/* 英雄区域样式 */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* 下载按钮区域 */
.download-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

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

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

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

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

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

.intro-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.intro-card:hover {
    transform: translateY(-5px);
}

.intro-title {
    font-size: 18px;
    color: var(--sky-blue);
    margin-bottom: 10px;
}

.intro-content {
    color: var(--gray);
    font-size: 14px;
}

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

.update-list {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.update-date {
    color: var(--gray);
    font-size: 14px;
    margin-right: 15px;
}

.update-content {
    color: var(--dark-gray);
    font-size: 15px;
}

/* 短文章区域 */
.articles {
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.article-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.article-content {
    font-size: 14px;
    color: var(--gray);
}

/* 下载页专属样式 */
.download-page {
    padding: 50px 0;
}

.download-main {
    text-align: center;
    margin-bottom: 50px;
}

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

.error-code {
    font-size: 120px;
    color: var(--sky-blue);
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

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

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

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .download-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .error-code {
        font-size: 80px;
    }
}