/* 下载页Hero区域 */
.download-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0066ff 0%, #00a0ff 100%);
    text-align: center;
    color: #fff;
}

.download-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.download-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* 主要下载区域 */
.download-main {
    padding: 80px 0;
    background: #fff;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.tab-btn {
    background: #f5f5f5;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #0066ff 0%, #00a0ff 100%);
    color: #fff;
}

.download-platforms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.platform-card {
    display: none;
    padding: 50px 40px;
    background: #f8f9fa;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease;
}

.platform-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.platform-icon {
    font-size: 56px;
}

.platform-header h2 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #333;
}

.platform-header p {
    color: #666;
    font-size: 16px;
}

.download-info {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: #666;
}

.info-row span:last-child {
    font-weight: 600;
    color: #333;
}

.btn-download-large {
    width: 100%;
    background: linear-gradient(135deg, #0066ff 0%, #00a0ff 100%);
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.btn-download-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.btn-download-large.apple {
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.btn-arrow {
    font-size: 20px;
}

.download-tips {
    text-align: left;
}

.download-tips p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.store-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.store-link:hover {
    background: #0066ff;
    color: #fff;
}

.qr-code {
    margin-top: 20px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* 历史版本 */
.version-history {
    padding: 80px 0;
    background: #f5f7fa;
}

.version-history .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.version-list {
    max-width: 800px;
    margin: 0 auto;
}

.version-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.version-item:hover {
    transform: translateX(5px);
}

.version-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.version-number {
    background: linear-gradient(135deg, #0066ff 0%, #00a0ff 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 600;
}

.version-date {
    color: #999;
    font-size: 14px;
}

.version-desc {
    flex: 1;
    color: #666;
}

.btn-small-download {
    background: #0066ff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-small-download:hover {
    background: #00a0ff;
}

.btn-show-more {
    display: block;
    margin: 30px auto 0;
    background: transparent;
    color: #0066ff;
    border: 2px solid #0066ff;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-show-more:hover {
    background: #0066ff;
    color: #fff;
}

/* 安装教程 */
.install-guide {
    padding: 80px 0;
    background: #fff;
}

.install-guide .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066ff 0%, #00a0ff 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 下载问题FAQ */
.download-faq {
    padding: 80px 0;
    background: #f5f7fa;
}

.download-faq .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item-download {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-item-download h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.faq-item-download p {
    color: #666;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .download-hero h1 {
        font-size: 32px;
    }

    .download-subtitle {
        font-size: 16px;
    }

    .download-badges {
        flex-wrap: wrap;
    }

    .platform-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .version-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .version-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .btn-small-download {
        align-self: flex-start;
    }
}
