/* 下载页头部 */
.download-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.download-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.download-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.download-hero-stats .stat {
    text-align: center;
}

.download-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.download-hero-stats .stat-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* 平台下载区 */
.download-platforms {
    padding: 80px 0;
}

.platform-section {
    display: none;
}

.platform-section.active {
    display: block;
}

.platform-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.platform-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.platform-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 64px;
    height: 64px;
}

.mac-icon { color: #999999; }
.android-icon { color: #3DDC84; }
.ios-icon { color: #000000; }
.tv-icon { color: #007AFF; }
.game-icon { color: #FF6B6B; }

.platform-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.platform-version,
.platform-size,
.platform-requirements {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 32px;
    font-size: 1rem;
}

/* 安装教程 */
.install-guide {
    padding: 80px 0;
    background: var(--bg-light);
}

.install-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0, 122, 255, 0.05);
}

.faq-question svg {
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-hero h1 {
        font-size: 2rem;
    }

    .download-hero p {
        font-size: 1.1rem;
    }

    .download-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .platform-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .platform-info {
        flex-direction: column;
        gap: 1rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .install-guide h2,
    .faq-section h2 {
        font-size: 2rem;
    }
}
