.tool-list-page .tools-list-header {
    padding: 100px 0 40px;
    text-align: center;
    background: var(--white);
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.tool-list-page .tool-list-tool-category-group {
    margin-bottom: 75px;
}

.tool-list-page .tool-list-tool-category-group:last-child {
    margin-bottom: 20px;
}

.tool-list-page .tool-list-tool-category-header {
    background: var(--white, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.tool-list-page .tool-list-tool-category-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--gradient-start, #4f46e5), var(--gradient-end, #06b6d4));
    border-radius: 5px 0 0 5px;
}

.tool-list-page .tool-list-tool-category-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.tool-list-page .tool-list-tool-category-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color, #2563eb);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 2px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.tool-list-page .tool-list-tool-category-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
    margin: 0;
    line-height: 1.3;
}

.tool-list-page .tool-list-tool-category-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light, #6b7280);
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 999px;
    margin-left: auto;
    white-space: nowrap;
}

.tool-list-page .tool-list-tool-category-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
.tool-list-page .tool-list-tool-category-group {
        margin-bottom: 45px;
    }
.tool-list-page .tool-list-tool-category-header {
        padding: 16px 18px;
        margin-bottom: 20px;
    }
.tool-list-page .tool-list-tool-category-title {
        font-size: 1.2rem;
    }
.tool-list-page .tool-list-tool-category-count {
        margin-left: 0;
        width: 100%;
        margin-top: 4px;
        display: inline-block;
    }
}
