/* 下载页面样式 */

.download-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.download-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: var(--shadow-xl);
}

.download-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.download-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.download-version {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.download-description {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
}

.download-content {
    padding: 2.5rem;
}

.system-requirements {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.system-requirements h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.system-requirements h3 i {
    color: var(--primary-color);
}

.system-requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.system-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.system-requirements li i {
    color: var(--primary-color);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-download {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: white;
}

.btn-download.windows {
    background: linear-gradient(135deg, #0078d4, #005a9e);
}

.btn-download.mac {
    background: linear-gradient(135deg, #000000, #333333);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-download i {
    font-size: 1.5rem;
}

.download-notes {
    padding: 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0.5rem;
}

.download-notes p {
    margin-bottom: 0.75rem;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.download-notes p:last-child {
    margin-bottom: 0;
}

.download-notes i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* 安装指南 */
.install-guide {
    padding: 5rem 0;
    background: white;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    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.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 常见问题 */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 3.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .download-header {
        flex-direction: column;
        text-align: center;
    }

    .download-buttons {
        flex-direction: column;
    }

    .btn-download {
        width: 100%;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .faq-answer {
        padding-left: 1.5rem;
    }
}
