/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* 基础样式 */
:root {
    --sky-blue: #87CEEB;
    --deep-sky: #1E90FF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-color: #333333;
}

body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

/* 容器样式 - 居中布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--deep-sky);
}

nav a.active {
    color: var(--deep-sky);
    border-bottom: 2px solid var(--deep-sky);
}

/* 主要内容区 */
main {
    padding: 40px 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--deep-sky);
    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: #00BFFF;
}

/* 下载区域样式 */
.download-section {
    text-align: center;
    padding: 50px 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn img {
    width: 20px;
    height: 20px;
}

.product-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* 产品介绍样式 */
.product-intro {
    margin: 50px 0;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.intro-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.intro-card:hover {
    transform: translateY(-5px);
}

.intro-card h3 {
    color: var(--deep-sky);
    margin-bottom: 15px;
}

/* 内容页样式 */
.content-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.short-articles {
    margin-bottom: 40px;
}

.short-articles h2 {
    color: var(--deep-sky);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sky-blue);
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.short-article {
    padding: 15px;
    border-left: 3px solid var(--sky-blue);
    background-color: var(--light-gray);
    border-radius: 5px;
}

/* 版本更新样式 */
.version-updates {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.version-updates h2 {
    color: var(--deep-sky);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sky-blue);
}

.update-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 15px;
}

.update-item:last-child {
    border-bottom: none;
}

.update-icon {
    width: 24px;
    height: 24px;
    color: var(--deep-sky);
}

/* 404页面样式 */
.error-page {
    text-align: center;
    padding: 80px 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.error-page h1 {
    font-size: 8rem;
    color: var(--deep-sky);
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 页脚样式 */
footer {
    background-color: var(--deep-sky);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
    }
    
    .error-page h1 {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}