/* 主样式文件 - WPS Office下载网站 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 链接样式 */
a {
    color: #1E6FFF;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1557CC;
}

/* 按钮样式 */
.btn-download {
    background: #1E6FFF;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 16px;
}

.btn-download:hover {
    background: #1557CC;
    transform: translateY(-2px);
}

.btn-download.large {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 6px;
}

/* 主内容区域 */
main {
    padding-top: 20px;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F7FA 0%, #E4E8F0 100%);
}

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

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #1A1A1A;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #1E6FFF;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero .description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.download-btn {
    background: white;
    border: 2px solid #E4E8F0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.download-btn:hover {
    border-color: #1E6FFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 111, 255, 0.1);
}

.download-btn.primary {
    border-color: #1E6FFF;
    background-color: rgba(30, 111, 255, 0.05);
}

.download-btn span {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.download-btn small {
    color: #6C757D;
    font-size: 0.85rem;
}

.version-info {
    font-size: 0.9rem;
    color: #6C757D;
    max-width: 600px;
}

/* 功能特色区域 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1A1A1A;
}

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

.feature-card {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1A1A1A;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
}

/* 统计数据区域 */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #1E6FFF 0%, #00A4FF 100%);
    color: white;
}

.stats h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 常见问题区域 */
.faq {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1A1A1A;
}

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

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #1A1A1A;
    position: relative;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #1E6FFF;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
}

/* 下载引导区域 */
.download-cta {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.download-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.download-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-cta .small-text {
    font-size: 0.9rem;
    color: #6C757D;
    margin-top: 20px;
}

/* 页脚样式 */
.footer {
    background-color: #1A1A1A;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #777;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features h2, .stats h2, .faq h2, .download-cta h2 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .download-buttons {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero, .features, .stats, .faq, .download-cta {
        padding: 60px 0;
    }
}