/* -------- 页面头部 -------- */
.page-header {
    background: linear-gradient(145deg, #f0f4fa 0%, #e6edf6 100%);
    padding: 5rem 0 3rem;               /* 上下内边距分别增加 1rem 和 1rem */
    border-bottom: 1px solid rgba(0, 106, 205, 0.08);
}
.page-header h2 {
    font-weight: 700;
    color: #0b1a33;
    font-size: 2.2rem;
    margin-bottom: 1rem;               /* 标题与描述之间的间距加大 */
}
.page-header h2 i {
    color: #006ACD;
    margin-right: 8px;
}
.page-header .lead {
    color: #4b5a6a;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;                 /* 描述与搜索框之间的间距加大 */
    display: block;
    text-align: center;
}
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.page-header .breadcrumb-item a {
    color: #006ACD;
    text-decoration: none;
}
.page-header .breadcrumb-item.active {
    color: #4b5a6a;
}

/* -------- 软件资源列表 -------- */
.software-section {
    padding: 3rem 0 3rem;
}
.software-section .section-title {
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.5rem;
}
.software-section .section-sub {
    color: #6c7a8a;
    font-size: 1.05rem;
}

/* 分类标签 */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.filter-tabs .btn {
    border-radius: 30px;
    padding: 0.35rem 1.6rem;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #dde2eb;
    color: #4b5a6a;
    background: #fff;
    transition: 0.2s;
}
.filter-tabs .btn:hover,
.filter-tabs .btn.active {
    background: #006ACD;
    color: #fff;
    border-color: #006ACD;
    box-shadow: 0 4px 12px rgba(0, 106, 205, 0.20);
}

/* 软件卡片 */
.software-card {
    border: none;
    border-radius: 1.2rem;
    padding: 1.8rem 1.5rem;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}
.software-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 106, 205, 0.08);
    border-color: rgba(0, 106, 205, 0.10);
}
.software-card .card-icon {
    font-size: 2.8rem;
    color: #006ACD;
    margin-bottom: 1rem;
    line-height: 1;
}
.software-card .card-icon i {
    background: rgba(0, 106, 205, 0.08);
    padding: 0.6rem;
    border-radius: 16px;
    transition: 0.3s;
}
.software-card:hover .card-icon i {
    background: rgba(0, 106, 205, 0.15);
    transform: scale(1.05);
}
.software-card h5 {
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.4rem;
}
.software-card .card-desc {
    color: #6c7a8a;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}
.software-card .card-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.software-card .card-tags span {
    background: #f0f4fa;
    color: #4b5a6a;
    font-size: 0.7rem;
    padding: 0.15rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.software-card .card-footer-actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f4fa;
    padding-top: 1rem;
}
.software-card .card-footer-actions .btn-outline-primary {
    border-radius: 30px;
    font-size: 0.85rem;
    padding: 0.25rem 1.4rem;
    border-color: #dde2eb;
    color: #1e293b;
    transition: 0.2s;
}
.software-card .card-footer-actions .btn-outline-primary:hover {
    background: #006ACD;
    border-color: #006ACD;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 106, 205, 0.15);
}
.software-card .card-footer-actions .version {
    font-size: 0.8rem;
    color: #b0b8c0;
}

/* -------- 分页控件 -------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.pagination .page-link {
    color: #006ACD;
    border: 1px solid #dde2eb;
    border-radius: 8px;
    margin: 0 4px;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    transition: 0.2s;
    background: #fff;
}
.pagination .page-link:hover {
    background: #f0f4fa;
    border-color: #b0c4de;
}
.pagination .page-item.active .page-link {
    background: #006ACD;
    border-color: #006ACD;
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: #b0b8c0;
    pointer-events: none;
}