.pages-shell {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 0 20px;
}

.pages-hero {
    background: radial-gradient(circle at top, #db2777, #be185d);
    color: white;
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 20px 50px rgba(190, 24, 93, 0.18);
    position: relative;
    overflow: hidden;
}

.pages-hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    background: rgba(255,255,255,0.08);
    filter: blur(120px);
    top: -220px;
    right: -120px;
}

.pages-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.pages-kicker {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 8px;
    opacity: 0.9;
    color: white;
}

.pages-hero h1 {
    margin: 0 0 10px;
    font-size: 2.6rem;
    color: white !important;
}

.pages-subtitle {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
    opacity: 0.95;
    color: white;
}

.pages-hero-card {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 22px;
    padding: 18px 22px;
    text-align: center;
    min-width: 240px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.pages-hero-card span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.92;
    margin-bottom: 7px;
    color: white;
}

.pages-hero-card strong {
    display: block;
    font-size: 1.2rem;
    color: white;
}

.pages-panel {
    background: white;
    border-radius: 26px;
    padding: 28px;
    margin-top: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.07);
}

.pages-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pages-topbar h2 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.85rem;
}

.pages-topbar p {
    margin: 0;
    color: #6b7280;
}

.pages-search-wrap {
    min-width: 280px;
    max-width: 360px;
    width: 100%;
    position: relative;
}

.pages-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #be185d;
}

.pages-search-wrap input {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid #fbcfe8;
    background: #fdf2f8;
    padding: 0 18px 0 44px;
    outline: none;
    font-size: 0.95rem;
    color: #111827;
}

.pages-search-wrap input:focus {
    border-color: #be185d;
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.08);
}

.pages-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-btn {
    border: 1px solid #fbcfe8;
    background: #fdf2f8;
    color: #be185d;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(190, 24, 93, 0.18);
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.page-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 22px;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: #fbcfe8;
}

.page-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.page-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #fce7f3;
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.page-category {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.page-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.15rem;
}

.page-card p {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.7;
}

.page-link-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #be185d;
    font-weight: 800;
    font-size: 0.92rem;
}

.no-pages-found {
    display: none;
    text-align: center;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 22px;
    padding: 28px;
    margin-top: 20px;
}

.no-pages-found i {
    color: #be185d;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-pages-found h3 {
    margin: 0 0 8px;
    color: #111827;
}

.no-pages-found p {
    margin: 0;
    color: #6b7280;
}

.pages-cta {
    margin-top: 34px;
    text-align: center;
    background: linear-gradient(135deg, #fdf2f8, #fff);
    border: 1px solid #fbcfe8;
    border-radius: 24px;
    padding: 28px;
}

.pages-cta h2 {
    margin: 0 0 8px;
    color: #111827;
}

.pages-cta p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.pages-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pages-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pages-btn:hover {
    transform: translateY(-2px);
}

.pages-btn.primary {
    background: linear-gradient(135deg, #be185d, #db2777);
    color: white;
    box-shadow: 0 12px 26px rgba(190, 24, 93, 0.18);
}

.pages-btn.secondary {
    background: #f3f4f6;
    color: #111827;
}

@media (max-width: 1050px) {
    .pages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pages-shell {
        padding: 0 14px;
        margin-top: 20px;
    }

    .pages-hero {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .pages-hero h1 {
        font-size: 2rem;
    }

    .pages-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .pages-hero-card {
        width: 100%;
    }

    .pages-grid {
        grid-template-columns: 1fr;
    }

    .pages-search-wrap {
        max-width: 100%;
    }

    .pages-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pages-hero h1 {
        font-size: 1.8rem;
    }

    .pages-panel,
    .page-card,
    .pages-cta {
        padding: 18px;
        border-radius: 18px;
    }

    .page-card-top {
        flex-direction: column;
    }
}