/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 蓝白主色调 */
:root {
    --primary-blue: #1456F0; /* WPS 经典蓝 */
    --hover-blue: #0d46c8;
    --light-blue: #f0f5ff;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-gray: #f5f7fa;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo img {
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 16px;
    color: var(--text-main);
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.btn-nav-download {
    background-color: var(--primary-blue);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.btn-nav-download:hover {
    background-color: var(--hover-blue);
}

/* 首屏 Banner */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.btn {
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(20, 86, 240, 0.3);
}

.btn-primary:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 86, 240, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--light-blue);
}

.version-info {
    font-size: 14px !important;
    color: #999 !important;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* 核心功能 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-main);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-gray);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #fff;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.blue-bg { background-color: #2b579a; }
.green-bg { background-color: #217346; }
.orange-bg { background-color: #d24726; }
.red-bg { background-color: #e33e3f; }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 常见问题 (FAQ) */
.faq {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8faff;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--text-main);
    font-weight: 500;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-blue);
    transition: transform 0.3s;
    line-height: 1;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fff;
}

.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 20px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 底部 */
.footer {
    background-color: var(--bg-gray);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer p {
    margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}