/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 全新现代红白配色 (WPS官方红) */
    --primary-red: #DF2028; /* WPS 官方红 */
    --hover-red: #BE1A22;
    --light-red: #FEF2F2;
    --bg-color: #F8FAFC; /* 极浅的灰背景 */
    --card-bg: #FFFFFF;
    --text-main: #0F172A; /* 更深的深灰色，替代纯黑 */
    --text-muted: #64748B;
    --border-color: #E2E8F0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 - 毛玻璃效果 (Glassmorphism) */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-red);
}

.btn-nav-download {
    background-color: var(--light-red);
    color: var(--primary-red) !important;
    padding: 10px 24px;
    border-radius: 100px; /* 胶囊按钮 */
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-nav-download:hover {
    background-color: var(--primary-red);
    color: #FFF !important;
    box-shadow: 0 4px 12px rgba(223, 32, 40, 0.2);
}

/* 首屏 Banner - 径向渐变背景 */
.hero {
    background: radial-gradient(circle at 80% 0%, var(--light-red) 0%, #F8FAFC 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-red);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(50px);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 540px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 100px; /* 胶囊按钮 */
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(223, 32, 40, 0.5);
}

.btn-primary:hover {
    background-color: var(--hover-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(223, 32, 40, 0.6);
}

.btn-outline {
    background-color: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.08);
}

.version-info {
    font-size: 13px !important;
    color: #94A3B8 !important;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    text-align: right;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(150, 20, 30, 0.1));
}

/* 核心功能 - 现代卡片设计 */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 70px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card:hover::after {
    opacity: 1;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%; /* 圆形图标 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px -4px rgba(0,0,0,0.15);
}

.blue-bg { background: linear-gradient(135deg, #4A88FF, #1456F0); }
.green-bg { background: linear-gradient(135deg, #34A853, #1E7E34); }
.orange-bg { background: linear-gradient(135deg, #FB7C37, #D24726); }
.red-bg { background: linear-gradient(135deg, #FF5B5C, #E33E3F); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 常见问题 (FAQ) - 极简分割线风格 */
.faq {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 20px 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 17px;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-red);
}

.faq-icon {
    font-size: 24px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 300;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 24px;
    line-height: 1.8;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-red);
}

/* 底部 */
.footer {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 8px;
}

/* 响应式 */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero::before {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-links {
        display: none;
    }
    
    .faq-list {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
}