* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
}

.nav-logo {
    width: 40px;
    height: 40px;
}

.nav-brand-text {
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.hero-subtitle {
    font-size: 20px;
    color: #555;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
}

.stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
}

/* 按钮 */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #d63a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(231, 76, 60, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover:not(:disabled) {
    background: #efefef;
    border-color: #bbb;
}

.btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 通用区域样式 */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #777;
    margin-bottom: 50px;
}

/* 功能特色 */
.features {
    padding: 80px 20px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.features-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.detail-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.detail-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 多平台支持 */
.platforms {
    padding: 80px 20px;
    background: #f9f9f9;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.platform-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.platform-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-name {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.platform-info {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.platform-size {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

/* 用户评价 */
.reviews {
    padding: 80px 20px;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.review-stars {
    font-size: 16px;
    color: #f39c12;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    min-height: 60px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #e67e22);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.review-role {
    font-size: 12px;
    color: #999;
}

/* 安全保障 */
.security {
    padding: 80px 20px;
    background: #f9f9f9;
}

.security-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.security-item {
    text-align: center;
}

.security-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    width: 100%;
    height: 100%;
}

.security-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.security-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.comparison-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.comparison-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th {
    background: #f5f5f5;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #222;
    border-bottom: 2px solid #eee;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.comparison-table tr:hover {
    background: #fafafa;
}

.comparison-table .highlight {
    color: #e74c3c;
    font-weight: 600;
}

/* 版本选择 */
.versions {
    padding: 80px 20px;
    background: white;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.version-card {
    padding: 40px 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.3s ease;
}

.version-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.version-card.featured {
    background: linear-gradient(135deg, #e74c3c, #e67e22);
    color: white;
    border: none;
    transform: scale(1.05);
}

.version-card.featured .version-name,
.version-card.featured .version-desc,
.version-card.featured .version-features {
    color: white;
}

.version-card.featured .version-features li {
    color: rgba(255, 255, 255, 0.9);
}

.version-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.version-card.featured .version-badge {
    background: rgba(255, 255, 255, 0.3);
}

.version-name {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.version-price {
    margin-bottom: 10px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
}

.version-card.featured .price-value {
    color: white;
}

.price-period {
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

.version-card.featured .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.version-desc {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

.version-features {
    list-style: none;
    margin-bottom: 30px;
}

.version-features li {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.version-card.featured .version-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.version-features li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq {
    padding: 80px 20px;
    background: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-item.open .faq-question {
    background: #f5f5f5;
    color: #e74c3c;
}

.faq-icon {
    font-size: 24px;
    color: #ddd;
    transition: color 0.3s ease;
}

.faq-item.open .faq-icon {
    color: #e74c3c;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-security {
    font-size: 13px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-detail {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .versions-grid {
        grid-template-columns: 1fr;
    }

    .version-card.featured {
        transform: scale(1);
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .features,
    .platforms,
    .reviews,
    .security,
    .versions,
    .faq {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
    }

    .nav-brand-text {
        display: none;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 24px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .feature-card,
    .platform-card,
    .review-card {
        padding: 20px;
    }

    .comparison-section {
        padding: 20px;
    }

    .version-card {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 15px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 15px 15px;
    }
}
