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

/* 主题色定义 */
:root {
    --orange: #FF9800;
    --green: #4CAF50;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
}

/* 页面居中布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-gray);
}

.logo-text span {
    color: var(--orange);
}

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

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--orange);
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    padding: 80px 0;
    text-align: center;
}

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

.hero h1 span {
    color: var(--orange);
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s;
    margin-bottom: 40px;
}

.cta-button:hover {
    background-color: #F57C00;
}

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

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--green);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

.download-btn:hover {
    background-color: #388E3C;
}

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

/* 产品介绍样式 */
.product-intro {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.product-intro h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.intro-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.intro-card h3 {
    color: var(--orange);
    margin-bottom: 15px;
    font-size: 20px;
}

.intro-card p {
    color: #666;
    line-height: 1.6;
}

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

.version-updates h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

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

.update-item {
    background-color: white;
    padding: 20px;
    border-left: 4px solid var(--green);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.update-item h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 18px;
}

.update-item p {
    color: #666;
    line-height: 1.5;
}

/* 短文章区域 */
.articles {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.articles h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

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

.article-card h3 {
    color: var(--orange);
    margin-bottom: 10px;
    font-size: 18px;
}

.article-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

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

.error-page h1 {
    font-size: 120px;
    color: var(--orange);
    margin-bottom: 20px;
}

.error-page h2 {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.error-page p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
}

.error-page img {
    max-width: 400px;
    margin-bottom: 40px;
}

.back-home {
    background-color: var(--green);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.back-home:hover {
    background-color: #388E3C;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .product-intro h2,
    .version-updates h2,
    .articles h2 {
        font-size: 28px;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
    }
    
    .error-page h1 {
        font-size: 80px;
    }
    
    .error-page h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}