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

/* 基础样式 */
body {
    background-color: #F5F5F5; /* 奶白色 */
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #87CEEB; /* 天空蓝 */
    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 {
    display: flex;
    align-items: center;
}

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

.logo h1 {
    color: #fff;
    font-size: 24px;
}

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

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e0f7fa;
}

/* 主要内容区域 */
main {
    padding: 40px 0;
}

.section-title {
    color: #87CEEB;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #87CEEB;
    margin: 10px auto;
}

/* 下载区域样式 */
.download-section {
    text-align: center;
    margin: 40px 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: #87CEEB;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

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

.download-btn:hover {
    background-color: #7EC0EE;
    transform: translateY(-2px);
}

.product-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 产品介绍样式 */
.product-intro {
    margin: 60px 0;
}

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

.intro-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.intro-item h3 {
    color: #87CEEB;
    margin-bottom: 10px;
    font-size: 18px;
}

.intro-item p {
    color: #666;
    font-size: 14px;
}

/* 版本更新样式 */
.version-update {
    margin: 60px 0;
}

.update-list {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

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

.update-item h4 {
    color: #87CEEB;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.update-item p {
    color: #666;
    font-size: 14px;
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.article-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-card h4 {
    color: #87CEEB;
    font-size: 16px;
    margin-bottom: 8px;
}

.article-card p {
    color: #666;
    font-size: 13px;
}

/* 页脚样式 */
footer {
    background-color: #87CEEB;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    font-size: 14px;
}

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

.error-page h2 {
    font-size: 80px;
    color: #87CEEB;
    margin-bottom: 20px;
}

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

.back-home {
    display: inline-block;
    padding: 10px 25px;
    background-color: #87CEEB;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.back-home:hover {
    background-color: #7EC0EE;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .intro-list {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 80%;
    }
}