/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

:root {
    --primary: #409eff;
    --primary-dark: #337ecc;
    --secondary: #67c23a;
    --dark: #303133;
    --light: #f5f7fa;
    --gray: #909399;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.1);
}

body {
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary);
}

.download-btn {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区 */
.hero-section {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn, .secondary-btn {
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.secondary-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.sub-title {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 18px;
}

/* 功能板块 */
.feature-section {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.feature-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
}

/* 版本对比 */
.version-section {
    background: var(--light);
}

.version-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--primary);
    color: white;
    font-weight: bold;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: white;
    border-bottom: 1px solid #eee;
}

.table-col {
    padding: 15px;
    text-align: center;
}

.free { background: #67c23a; }
.pro { background: #e6a23c; }
.elite { background: #f56c6c; }

.fa-check { color: var(--secondary); }
.fa-times { color: #f56c6c; }

/* 用户评价 */
.review-section {
    background: white;
}

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

.review-card {
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stars {
    color: #ffd700;
    margin-bottom: 15px;
}

.review-card p {
    color: var(--gray);
    margin-bottom: 15px;
    font-style: italic;
}

.review-card h4 {
    text-align: right;
    color: var(--primary);
}

/* FAQ */
.faq-section {
    background: var(--light);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    background: #fafafa;
}

.faq-answer p {
    padding: 20px 0;
    color: var(--gray);
}

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

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }
}