/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #4a5568;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.navbar .logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #cbd5e0;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background-color: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 特性区域样式 */
.features {
    padding: 4rem 0;
    background-color: #f7fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.feature i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature p {
    color: #4a5568;
}

/* 截图区域样式 */
.screenshots {
    padding: 4rem 0;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshots-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshots-grid img:hover {
    transform: scale(1.05);
}

/* 新闻区域样式 */
.news {
    padding: 4rem 0;
    background-color: #f7fafc;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.news-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.news-item p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.news-item .date {
    color: #718096;
    font-size: 0.9rem;
}

/* 下载区域样式 */
.download-section {
    padding: 4rem 0;
}

.download-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.download-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.download-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.download-header p {
    color: #4a5568;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.download-option {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.download-option:hover {
    transform: translateY(-3px);
    background-color: #edf2f7;
}

.download-option h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.download-option p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.download-option .btn {
    background-color: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

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

.system-requirements {
    background-color: #edf2f7;
    padding: 1.5rem;
    border-radius: 8px;
}

.system-requirements h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.system-requirements ul {
    list-style: none;
}

.system-requirements li {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* 社区区域样式 */
.community-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.community-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.community-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.community-section p {
    color: #4a5568;
    margin-bottom: 2rem;
}

.community-links {
    display: grid;
    gap: 1.5rem;
}

.community-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f7fafc;
    border-radius: 8px;
    transition: transform 0.3s;
}

.community-link:hover {
    transform: translateY(-3px);
    background-color: #edf2f7;
}

.community-link i {
    font-size: 2rem;
    color: #667eea;
    margin-right: 1rem;
}

.community-link div {
    flex: 1;
}

.community-link h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #2d3748;
}

.community-link p {
    color: #4a5568;
    font-size: 0.9rem;
}

.community-link .btn {
    background-color: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.community-link .btn:hover {
    background-color: #5a67d8;
}

.stats-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stats-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: center;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4a5568;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #a0aec0;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-grid, .screenshots-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar .nav-links {
        margin-top: 1rem;
    }
    
    .navbar .nav-links a {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}