/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 复古风格基础样式 */
body {
    font-family: "SimSun", "宋体", serif;
    background-color: #f5f0e6;
    color: #5a3e2b;
    line-height: 1.8;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.06' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* 头部样式 */
header {
    background-color: #8b5a2b;
    padding: 1rem 5%;
    border-bottom: 3px solid #5a3e2b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: normal;
}

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

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #5a3e2b;
}

/* 主要内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* 首页样式 */
.hero {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #d4b891;
}

.hero-image {
    flex: 1;
    padding-right: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #8b5a2b;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #8b5a2b;
    border-bottom: 2px solid #d4b891;
    padding-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #8b5a2b;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn i {
    margin-right: 0.8rem;
    font-size: 1.4rem;
}

.download-btn:hover {
    background-color: #5a3e2b;
}

/* 产品介绍区域 */
.product-intro {
    margin-bottom: 3rem;
}

.product-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #8b5a2b;
    border-bottom: 2px solid #d4b891;
    padding-bottom: 0.5rem;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.intro-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #d4b891;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.intro-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #8b5a2b;
}

/* 版本更新区域 */
.version-update {
    margin-bottom: 3rem;
}

.version-update h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #8b5a2b;
    border-bottom: 2px solid #d4b891;
    padding-bottom: 0.5rem;
}

.update-list {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #d4b891;
}

.update-item {
    padding: 1rem 0;
    border-bottom: 1px dashed #d4b891;
}

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

.update-item h4 {
    color: #8b5a2b;
    margin-bottom: 0.5rem;
}

/* 短文章区域 */
.short-articles {
    margin-bottom: 3rem;
}

.short-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #8b5a2b;
    border-bottom: 2px solid #d4b891;
    padding-bottom: 0.5rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #d4b891;
}

.article-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #8b5a2b;
}

/* 下载页样式 */
.download-page {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #d4b891;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-header h2 {
    font-size: 2.2rem;
    color: #8b5a2b;
    margin-bottom: 1rem;
}

.download-content {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.download-image {
    flex: 1;
    padding-right: 2rem;
}

.download-image img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #8b5a2b;
}

.download-options {
    flex: 1;
}

.download-option {
    margin-bottom: 1.5rem;
}

.download-option h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #8b5a2b;
}

/* 404页面样式 */
.error-page {
    text-align: center;
    padding: 5rem 0;
    background-color: #fff;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    border: 1px solid #d4b891;
}

.error-page h2 {
    font-size: 5rem;
    color: #8b5a2b;
    margin-bottom: 1rem;
}

.error-page h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #5a3e2b;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.back-home {
    display: inline-block;
    background-color: #8b5a2b;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.back-home:hover {
    background-color: #5a3e2b;
}

/* 页脚样式 */
footer {
    background-color: #8b5a2b;
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
    border-top: 3px solid #5a3e2b;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 1rem;
}

.footer-links li {
    margin: 0 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .hero, .download-content {
        flex-direction: column;
    }
    
    .hero-image, .download-image {
        padding-right: 0;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .intro-cards, .article-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .nav-links li {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}