/* Category Page Styles */

/* Category Hero Section - Modern Style matching home page */
.category-hero {
    position: relative;
    min-height: 160px;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-surface) 25%, var(--color-background) 50%, var(--color-surface) 75%, var(--color-background) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

/* Animated Background Elements for Category Pages */
.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Add floating shapes to category hero */
.category-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--color-bg-1), var(--color-bg-8));
    border-radius: 50%;
    animation: float-gentle 6s ease-in-out infinite;
    z-index: 1;
}

/* Gentle floating animation */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Add gradient orbs */
.category-hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-bg-3), var(--color-bg-3));
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse-gentle 8s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes pulse-gentle {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(1.1); }
}

.category-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Breadcrumb - Modern Style */
.breadcrumb {
    justify-content: center;
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    box-shadow: var(--shadow-md);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--color-text-secondary);
    margin: 0 0.75rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
}

.breadcrumb a:hover {
    color: var(--color-primary-hover);
    background: var(--color-secondary);
}

.breadcrumb-item.active {
    color: var(--color-text);
    font-weight: 600;
}

/* Category Header - Modern Style */
.category-header {
    animation: fadeInUp 0.8s ease-out;
}

.category-icon-large {
    display: none; /* Hidden as requested */
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.category-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-normal);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.category-stats span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.tools-count {
    background: var(--color-primary) !important;
    color: var(--color-btn-primary-text) !important;
    border: none !important;
}

.tools-free {
    background: var(--color-success) !important;
    color: var(--color-btn-primary-text) !important;
    border: none !important;
}

.tools-registration {
    background: var(--color-warning) !important;
    color: var(--color-btn-primary-text) !important;
    border: none !important;
}

/* Hero Filter Controls - Minimal and Compact Design */
.hero-filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-filter-controls .search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.hero-filter-controls .search-box input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    font-size: var(--font-size-sm);
    background: var(--color-surface);
    color: var(--color-text);
    transition: all var(--duration-fast) var(--ease-standard);
    box-shadow: var(--shadow-xs);
}

.hero-filter-controls .search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
}

.hero-filter-controls .search-box input::placeholder {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.hero-filter-controls .search-box .search-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    pointer-events: none;
    font-size: var(--font-size-sm);
}

.hero-filter-controls .sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hero-filter-controls .sort-controls label {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.hero-filter-controls .sort-controls select {
    padding: 0.625rem 1.75rem 0.625rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    appearance: none;
    background-image: var(--select-caret-light);
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
    transition: all var(--duration-fast) var(--ease-standard);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    min-width: 100px;
}

.hero-filter-controls .sort-controls select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
}

.hero-filter-controls .sort-controls select:hover {
    border-color: var(--color-primary);
}

/* Tools Filter Section - Modern Style */
.tools-filter-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--color-background), var(--color-surface));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    border: 2px solid color-mix(in srgb, var(--color-primary), transparent 80%);
    border-radius: 16px;
    font-size: 1rem;
    background: color-mix(in srgb, var(--color-surface), transparent 5%);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
    transform: translateY(-2px);
}

.search-box input::placeholder {
    color: var(--color-text-secondary);
}

.search-box .search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
    font-size: 1.1rem;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-controls label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.sort-controls select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid color-mix(in srgb, var(--color-primary), transparent 80%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-surface), transparent 5%);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23' + var(--color-primary) + '' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.sort-controls select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
    transform: translateY(-2px);
}

.sort-controls select:hover {
    border-color: color-mix(in srgb, var(--color-primary), transparent 70%);
}

/* Category Tools Section */
.category-tools-section {
    padding: 4rem 0;
    min-height: 400px;
    background: linear-gradient(135deg, var(--color-background), var(--color-surface));
}

/* Enhanced Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

/* Enhanced Tool Cards with Animations */
.tool-card {
    position: relative;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform: translateY(0);
    box-shadow: 
        0 4px 6px -1px rgba(var(--color-slate-900-rgb), 0.1),
        0 2px 4px -1px rgba(var(--color-slate-900-rgb), 0.06);
    backdrop-filter: blur(10px);
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Modern subtle glow effect on hover */
.tool-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 17px;
    background: var(--color-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.tool-card:hover::before {
    opacity: 0.1;
}

/* Modern minimalistic hover effects */
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(var(--color-slate-900-rgb), 0.1),
        0 10px 10px -5px rgba(var(--color-slate-900-rgb), 0.04);
    border-color: var(--color-primary);
}

/* Tool header enhanced */
.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
}

.tool-icon {
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.tool-card:hover .tool-icon {
    transform: scale(1.05);
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

/* Tool title enhanced */
.tool-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-title {
    color: var(--color-primary);
}

/* Tool description enhanced */
.tool-description {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-description {
    color: var(--color-text);
}

/* Enhanced tool badges */
.tool-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
}

.tool-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: badgePulse 2s ease-in-out infinite alternate;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

.tool-badge.new {
    background: var(--color-success);
    color: white;
    animation-delay: 0s;
}

.tool-badge.popular {
    background: var(--color-error);
    color: white;
    animation-delay: 0.5s;
}

.tool-card:hover .tool-badge {
    transform: scale(1.03);
}

/* Enhanced tool footer */
.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid color-mix(in srgb, var(--color-border), transparent 50%);
    transition: border-color 0.3s ease;
}

.tool-card:hover .tool-footer {
    border-color: var(--color-primary);
}

.tool-category {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: color-mix(in srgb, var(--color-primary), transparent 90%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-category {
    background: var(--color-primary);
    color: white;
    transform: translateX(2px);
}

/* Enhanced tool arrow */
.tool-arrow {
    font-size: 1rem;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
}

.tool-card:hover .tool-arrow {
    opacity: 1;
    transform: translateX(0);
    background: color-mix(in srgb, var(--color-primary), transparent 10%);
    color: var(--color-primary);
}

/* Modern entrance animations */
@keyframes toolCardSlideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: toolCardSlideInUp 0.6s cubic-bezier(0.23, 1, 0.320, 1) forwards;
    opacity: 0;
}

/* Staggered animation delays will be set via JavaScript */
.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
.tool-card:nth-child(7) { animation-delay: 0.7s; }
.tool-card:nth-child(8) { animation-delay: 0.8s; }
.tool-card:nth-child(9) { animation-delay: 0.9s; }

/* Loading shimmer effect */
.tool-card.loading {
    pointer-events: none;
    overflow: hidden;
}

.tool-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced tool header layout */
.tool-title-wrapper {
    flex: 1;
    position: relative;
}

/* Ripple effect for tool cards */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-teal-500-rgb), 0.3) 0%, transparent 70%);
    transform: scale(0);
    animation: rippleAnimation 0.6s linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced animate-in class */
.tool-card.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Improved mobile responsiveness */
@media (max-width: 640px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .tool-title {
        font-size: 1.1rem;
    }
    
    .tool-badges {
        position: static;
        margin-top: 0.5rem;
        justify-content: flex-start;
    }
    
    .tool-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Additional hover improvements */
.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--color-teal-500-rgb), 0.1), transparent 50%, rgba(var(--color-teal-500-rgb), 0.05));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tool-card:hover::after {
    opacity: 1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 3rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}



/* SEO Content Section - Modern Style */
.seo-content-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-surface), transparent 20%), color-mix(in srgb, var(--color-background), transparent 10%));
    border-top: 1px solid color-mix(in srgb, var(--color-primary), transparent 90%);
}

.seo-content-section h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.seo-content-section h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: 2rem 0 1rem 0;
}

.seo-content-section p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.seo-content-section ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.seo-content-section li {
    padding: 0.75rem 0;
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border), transparent 80%);
}

.seo-content-section li:last-child {
    border-bottom: none;
}

.quick-tips-card {
    background: color-mix(in srgb, var(--color-surface), transparent 10%);
    backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--color-primary), transparent 80%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 2rem;
}

.quick-tips-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-tips-card ul {
    list-style: none;
    padding: 0;
}

.quick-tips-card li {
    padding: 0.75rem 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border), transparent 85%);
    position: relative;
    padding-left: 1.5rem;
}

.quick-tips-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

.quick-tips-card li:last-child {
    border-bottom: none;
}

/* Other Categories Section - Enhanced */
.other-categories-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-background), var(--color-surface));
    border-top: 1px solid color-mix(in srgb, var(--color-primary), transparent 90%);
}

.other-categories-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.other-categories-section .section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-categories-section .section-header p {
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-btn-primary-text);
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design - Enhanced for Mobile */
@media (max-width: 768px) {
    .category-hero {
        min-height: 140px;
        padding: 0.75rem 0;
    }
    
    .category-hero-content {
        padding: 0 0.75rem;
    }
    
    .category-icon-large {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .category-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .category-stats {
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .category-stats span {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
        min-width: auto;
        justify-content: center;
    }
    
    /* Hero Filter Controls Mobile Styles - Minimal */
    .hero-filter-controls {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    .hero-filter-controls .search-box {
        max-width: none;
    }
    
    .hero-filter-controls .search-box input {
        padding: 0.5rem 2rem 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .hero-filter-controls .search-box .search-icon {
        right: 0.75rem;
        font-size: 0.875rem;
    }
    
    .hero-filter-controls .sort-controls {
        align-self: center;
        justify-content: center;
    }
    
    .hero-filter-controls .sort-controls label {
        font-size: 0.75rem;
    }
    
    .hero-filter-controls .sort-controls select {
        padding: 0.5rem 1.5rem 0.5rem 0.625rem;
        font-size: 0.75rem;
        min-width: 90px;
    }
    
    .tools-filter-section {
        padding: 1.5rem 0;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 0.75rem;
    }
    
    .search-box {
        max-width: none;
    }
    
    .search-box input {
        padding: 0.875rem 3rem 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .sort-controls {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .sort-controls select {
        padding: 0.625rem 2rem 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .category-tools-section {
        padding: 2.5rem 0;
    }
    
    .seo-content-section {
        padding: 3rem 0;
    }
    
    .seo-content-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .seo-content-section h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .seo-content-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .quick-tips-card {
        padding: 1.5rem;
        position: static;
        margin-top: 2rem;
    }
    
    .other-categories-section {
        padding: 3rem 0;
    }
    
    .other-categories-section .section-header {
        margin-bottom: 2.5rem;
    }
    
    .other-categories-section .section-header h2 {
        font-size: 2rem;
    }
    
    .other-categories-section .section-header p {
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .category-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .breadcrumb {
        font-size: var(--font-size-sm);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}