/* ==================== 下载中心模块 ==================== */
.download-section {
    padding: 80px 0;
    background: #f7f8fa;
}

/* 标题区 */
.download-header {
    text-align: center;
    margin-bottom: 48px;
}

.download-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

/* 必装角标 */
.badge-must {
    display: inline-block;
    padding: 5px 16px;
    background: linear-gradient(90deg, #e84335, #ff6a3c);
    color: white;
    border-radius: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* 主下载卡片 - 背景图模式 */
.download-main-card {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260px;
}

.download-main-inner {
    display: flex;
    align-items: center;
    padding: 60px 50px;
}

.download-main-text {
    max-width: 380px;
}

.download-main-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.download-main-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 28px;
    line-height: 1.8;
}

.download-btn-primary {
    display: inline-block;
    padding: 10px 28px;
    background: #0069FF;
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.download-btn-primary:hover {
    background: #0055d4;
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.3);
}

/* 多端协同管理标题 */
.download-subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* 区域提示文字 */
.download-section-tip {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 10px;
    line-height: 1.6;
}

.download-section-tip--sub {
    margin-top: 0;
    margin-bottom: 32px;
}

/* 多端下载卡片 */
.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 24px;
    background-color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.download-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 红色角标 */
.badge-promo {
    position: absolute;
    top: 0;
    right: 0;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 0 12px 0 8px;
    z-index: 1;
    letter-spacing: 1px;
}

.download-card-text {
    margin-bottom: 16px;
}

.download-card-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.download-card-text p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 14px;
}

.download-card-url {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
    word-break: break-all;
}

.download-btn-blue {
    display: inline-block;
    padding: 7px 20px;
    background: #0069FF;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.download-btn-blue:hover {
    background: #0055d4;
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.3);
}

.download-card-img {
    display: none;
}

/* 小程序码展示区 */
.download-qrcode-group {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 56px;
}

.download-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.download-qrcode-item img {
    width: 140px;
    height: 140px;
    max-width: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}

.download-qrcode-item span {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .download-section {
        padding: 50px 0;
    }

    .download-header h2 {
        font-size: 24px;
    }

    .download-main-inner {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
    }

    .download-main-img {
        width: 100%;
    }

    .download-subtitle {
        font-size: 22px;
    }

    .download-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-qrcode-group {
        gap: 30px;
    }

    .download-qrcode-item img {
        width: 110px;
    }
}
