/* ========================================
   DOWNLOADS PAGE
   ======================================== */

.downloads-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    font-family: 'Nunito', sans-serif;
}

/* Header */
.downloads-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.downloads-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ddt-text-muted, #64748B);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.downloads-back-link:hover {
    color: var(--ddt-blue, #4A90D9);
}

.downloads-page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--ddt-text, #1E293B);
    margin: 0 0 6px 0;
}

.downloads-page-header p {
    font-size: 16px;
    color: var(--ddt-text-muted, #64748B);
    margin: 0;
}

/* Grid */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

/* Card */
.download-card {
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

/* Icon */
.download-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.03));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--ddt-blue, #4A90D9);
}

.download-card-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Info */
.download-card-info {
    margin-bottom: 20px;
}

.download-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 8px 0;
}

.download-platform-badge {
    display: inline-block;
    background: #EFF6FF;
    color: var(--ddt-blue, #4A90D9);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #BFDBFE;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.download-card-subtitle {
    font-size: 13px;
    color: #64748B;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

/* Button */
.download-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #4A90D9, #3B7DD8);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
}

.download-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

/* Empty */
.downloads-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 2px dashed #E2E8F0;
    border-radius: 16px;
    margin-bottom: 48px;
}

.downloads-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.downloads-empty p {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 6px 0;
}

.downloads-empty span {
    font-size: 14px;
    color: #64748B;
}

/* Help Section */
.downloads-help {
    margin-top: 16px;
}

.downloads-help-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 24px;
}

.downloads-help-card svg {
    flex-shrink: 0;
    color: #F59E0B;
}

.downloads-help-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 2px 0;
}

.downloads-help-card p {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

.downloads-help-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: transparent;
    color: #F59E0B;
    border: 2px solid #F59E0B;
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.downloads-help-btn:hover {
    background: rgba(245, 158, 11, 0.08);
    transform: translateY(-1px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .downloads-help-card {
        flex-direction: column;
        text-align: center;
    }
}
