/* 基础样式 */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #333;
    --light-text: #777;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #3367d6;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-download {
    background-color: var(--secondary-color);
    color: white;
    border: 1px solid var(--secondary-color);
    margin-bottom: 10px;
}

.btn-download:hover {
    background-color: #2d9249;
    color: white;
}

.btn-disabled {
    background-color: #ccc;
    color: #666;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

/* 头部样式 */
.site-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 页脚样式 */
.site-footer {
    background-color: var(--light-bg);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-text);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: var(--light-text);
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--light-text);
    font-size: 14px;
}

/* 首页样式 */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 0;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-text);
}

.features {
    padding: 60px 0;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px 20px;
    border-radius: 8px;
    background-color: var(--light-bg);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.screenshots {
    padding: 60px 0;
    text-align: center;
}

.screenshots h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.screenshot-gallery img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot-gallery img:hover {
    transform: scale(1.03);
}

.news-preview {
    padding: 60px 0;
    text-align: center;
}

.news-preview h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.news-item {
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-bg);
}

.news-item h3 {
    margin-bottom: 10px;
}

.news-item h3 a {
    color: var(--text-color);
}

.news-item h3 a:hover {
    color: var(--primary-color);
}

.news-meta {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
}

/* 使用帮助页样式 */
.help-section {
    padding: 60px 0;
}

.help-section h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
}

.category h2 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.category h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.help-articles h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 30px;
}

.help-articles a {
    color: var(--text-color);
}

.help-articles a:hover {
    color: var(--primary-color);
}

.contact-support {
    text-align: center;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-support h2 {
    margin-bottom: 15px;
}

/* 资讯列表页样式 */
.news-list {
    padding: 60px 0;
}

.news-list h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.news-items {
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-image {
    flex: 0 0 300px;
}

.news-image img {
    border-radius: 8px;
}

.news-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-meta {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a:hover:not(.active) {
    background-color: var(--light-bg);
}

/* 资讯详情页样式 */
.news-detail {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--light-text);
    font-size: 14px;
}

.featured-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.news-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.news-content p {
    margin-bottom: 15px;
}

.news-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.inline-image {
    margin: 20px 0;
    border-radius: 8px;
}

.download-promo {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* 下载页样式 */
.download-section {
    padding: 60px 0;
}

.download-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 50px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.download-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
}

.os-icon i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.download-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.version-info {
    margin: 20px 0;
    font-size: 14px;
    color: var(--light-text);
}

.version-info span {
    display: block;
    margin-bottom: 5px;
}

.system-requirements {
    margin-bottom: 50px;
}

.system-requirements h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.requirement {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
}

.requirement h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.requirement ul {
    list-style-position: inside;
}

.requirement li {
    margin-bottom: 8px;
}

.mobile-download {
    text-align: center;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-download h2 {
    margin-bottom: 15px;
}

.mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-buttons {
        flex-direction: column;
        gap: 10px;
    }
}