.category-container {
    margin: 2rem 0;
}

.category-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--header-border);
}

.category-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
}

.tool-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--header-border);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.tool-icon {
    font-size: 1.8rem;
    margin-right: 0.8rem;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
}

.tool-card h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

.tool-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-small {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }

    .tool-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}