.downloads-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.downloads-filters {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(42, 108, 240, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .05);
}

.downloads-filters-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 14px;
}

.downloads-filters input,
.downloads-filters select {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d5deeb;
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-primary);
    background: #fff;
}

.downloads-filters-actions {
    display: flex;
    gap: 12px;
}

.downloads-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.downloads-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, .92);
    border: 1px solid #dde6f3;
    transition: all .25s ease;
}

.downloads-chip:hover,
.downloads-chip.is-active {
    color: #fff;
    background: #2A6CF0;
    border-color: #2A6CF0;
}

.downloads-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.download-item {
    background: #fff;
    border: 1px solid rgba(42, 108, 240, .08);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.download-item:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 108, 240, .18);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .08);
}

.download-item-header {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.file-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 108, 240, .08);
}

.file-icon svg {
    stroke: #2A6CF0;
}

.file-info {
    flex: 1;
}

.file-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.file-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(42, 108, 240, .1);
    color: #2A6CF0;
    font-size: 12px;
    font-weight: 600;
}

.file-badge--ghost {
    background: #f1f5f9;
    color: #64748b;
}

.file-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.file-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.8;
}

.file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 14px;
    color: #7b8794;
}

.download-actions {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 132px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #2A6CF0, #5B93F5);
    transition: transform .25s ease, box-shadow .25s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 108, 240, .22);
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed #d9e3f2;
}

@media (max-width: 768px) {
    .downloads-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .downloads-filters-main {
        grid-template-columns: 1fr;
    }

    .downloads-list {
        grid-template-columns: 1fr;
    }

    .download-item {
        padding: 20px;
    }

    .download-item-header {
        flex-direction: column;
    }

    .downloads-filters-actions {
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }
}
