.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color System */
    --bg-color: #FAFAFA;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    
    --card-bg: #FFFFFF;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: #E5E7EB;
    
    /* Brand Colors */
    --primary-cta: #FFC107; /* Yellow */
    --primary-cta-hover: #E0A800;
    --secondary-cta: #D4AF37; /* Royal Gold */
    --secondary-cta-hover: #b5952f;
    
    /* Accents & Status */
    --accent-green: #10B981;
    --accent-green-bg: #D1FAE5;
    --accent-red: #EF4444;
    --accent-red-bg: #FEE2E2;
    --accent-ai: #8B5CF6;
    --accent-ai-bg: #EDE9FE;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    --h1-size: clamp(3rem, 5vw, 3.5rem); /* 48px - 56px */
    --h2-size: clamp(1.75rem, 3vw, 2rem); /* 28px - 32px */
    --body-size: 1rem; /* 16px */
    --small-size: 0.875rem; /* 14px */
    
    /* Spacing (8px grid system) */
    --space-1: 0.5rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-6: 3rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    
    /* Shadows & Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 15px rgba(93, 95, 239, 0.5);

    /* Animation System */
    --anim-fast: 150ms ease-in-out;
    --anim-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1200px;
}

/* Dark Theme Variables */
body.theme-dark {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --card-bg-gradient: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --nav-bg: rgba(15, 23, 42, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--body-size);
    transition: background-color var(--anim-normal), color var(--anim-normal);
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: max(100px, env(safe-area-inset-bottom, 100px));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

/* Navigation (Header) */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    text-decoration: none;
}

.logo-diamond {
    width: 32px;
    height: 32px;
    background: var(--text-primary);
    position: relative;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-diamond::after {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--primary-cta);
    border-radius: 2px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-subtext {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.main-menu {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.main-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: var(--space-1) 0;
    transition: color var(--anim-fast);
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--text-primary);
}

.main-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-cta);
}

/* Mega Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-4); /* Bridge for hover */
    margin-bottom: calc(-1 * var(--space-4));
}

.mega-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: var(--space-4);
    display: flex;
    gap: var(--space-6);
    z-index: 1000;
    transform: translateY(10px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-item-dropdown:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.mega-menu-col strong {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mega-menu-col a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background var(--anim-fast);
    display: flex;
    align-items: center;
}

.mega-menu-col a i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.mega-menu-col a:hover {
    background: var(--bg-color);
    color: var(--secondary-cta);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.lang-toggle {
    display: inline-flex;
    position: relative;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2px;
}

.lang-toggle button {
    position: relative;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    border-radius: 16px;
}

.lang-toggle button.active {
    color: var(--bg-color);
}

.lang-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: calc(33.33% - 1.33px);
    background: var(--text-primary);
    border-radius: 16px;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.lang-toggle:has(button:nth-child(1).active)::before { transform: translateX(0); }
.lang-toggle:has(button:nth-child(2).active)::before { transform: translateX(100%); }
.lang-toggle:has(button:nth-child(3).active)::before { transform: translateX(200%); }

.btn-primary {
    background: var(--primary-cta);
    color: var(--text-primary);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-cta-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--secondary-cta);
    color: var(--secondary-cta);
    box-shadow: var(--shadow-md);
}

.theme-toggle-pill {
    position: relative;
    width: 24px;
    height: 48px;
    border-radius: 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle-pill .icon-light {
    width: 12px;
    height: 12px;
    color: var(--text-secondary);
    z-index: 2;
    transition: color 0.3s;
}

.theme-toggle-pill .icon-dark {
    width: 12px;
    height: 12px;
    color: var(--text-secondary);
    z-index: 2;
    transition: color 0.3s;
}

.theme-toggle-pill .thumb {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--primary-cta);
    border-radius: 50%;
    left: 2px;
    top: 3px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.theme-dark .theme-toggle-pill .thumb {
    transform: translateY(22px);
}

body.theme-dark .theme-toggle-pill .icon-dark {
    color: #111827;
}

body:not(.theme-dark) .theme-toggle-pill .icon-light {
    color: #111827;
}

/* Tooltip Container */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container .tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.5;
    z-index: 2000;
    transform: translateY(-5px);
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-align: left;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Global Icon Animations */
i[data-lucide] {
    transition: transform 0.2s ease-in-out;
}
i[data-lucide]:hover {
    transform: scale(1.1);
}

.btn-primary:hover {
    background: var(--primary-cta-hover);
}

.profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
}

.profile-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Mobile Bottom Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    border-top: 1px solid var(--border-color);
    padding: var(--space-1) var(--space-2) max(var(--space-1), env(safe-area-inset-bottom));
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.mobile-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--space-1);
    transition: color var(--anim-fast);
}

.mobile-nav-item a.active,
.mobile-nav-item a:hover {
    color: var(--secondary-cta);
}

/* Hero Section */
.hero {
    padding: var(--space-8) 0 var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-pill {
    background: var(--secondary-cta);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-pill span {
    color: rgba(255,255,255,0.8);
}

.hero h1 {
    font-size: var(--h1-size);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    max-width: 800px;
}

.hero h1 em {
    font-style: italic;
    color: var(--secondary-cta);
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: var(--space-6);
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-secondary);
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    font-size: var(--body-size);
    font-family: var(--font-family);
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-cta);
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.1);
}

.top-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3);
    width: 100%;
    margin-bottom: var(--space-6);
}

.hero-tagline-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.btn-secondary {
    background: white;
    color: var(--secondary-cta);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
    border-color: var(--secondary-cta);
    background: rgba(93, 95, 239, 0.02);
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    overflow-x: auto;
    padding-bottom: 8px;
}

.category-tab {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--anim-fast), opacity var(--anim-fast), background-color var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
}

.category-tab:hover {
    border-color: var(--secondary-cta);
    color: var(--secondary-cta);
}

.category-tab.active {
    background: var(--secondary-cta);
    color: white;
    border-color: var(--secondary-cta);
    box-shadow: 0 4px 12px rgba(93, 95, 239, 0.2);
}

/* Bento Grid */
.bento-grid, .top-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-8);

}

/* Tool Card (Human Aesthetic) */
.tool-card.human-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tool-card.human-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.human-card-inner {
    border-radius: 16px;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pastel-ai { background: #E3F2FD; } /* Light Blue */
.pastel-business { background: #FFE0B2; } /* Light Orange */
.pastel-utility { background: #E8F5E9; } /* Light Green */
.pastel-default { background: #F3E5F5; } /* Light Purple */

body.theme-dark .pastel-ai { background: rgba(33, 150, 243, 0.15); }
body.theme-dark .pastel-business { background: rgba(255, 152, 0, 0.15); }
body.theme-dark .pastel-utility { background: rgba(76, 175, 80, 0.15); }
body.theme-dark .pastel-default { background: rgba(156, 39, 176, 0.15); }

.human-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: var(--space-2);
}

body.theme-dark .human-title {
    color: #F9FAFB;
}

.human-desc {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.tool-card:hover 

.tool-card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    color: rgba(0,0,0,0.02);
    z-index: 0;
    pointer-events: none;
}

.tool-card * {
    z-index: 1;
    position: relative;
}

/* Skeleton Loaders */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-title { height: 24px; width: 70%; margin-bottom: 12px; }
.skeleton-icon { width: 48px; height: 48px; border-radius: 12px; }

/* Global Empty/Error States */
.state-container {
    padding: var(--space-6) var(--space-3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    margin: var(--space-4) 0;
}

.state-icon {
    width: 64px;
    height: 64px;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    opacity: 0.5;
}

.state-container h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
}

.state-container p {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

/* Responsive Rules */
/* Custom Cursor */
/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--secondary-cta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

.custom-cursor.cursor-hover {
    width: 48px;
    height: 48px;
    background: rgba(93, 95, 239, 0.1);
    border-color: var(--primary-cta);
}

/* Hide default cursor on desktop and use custom SVG pointer */
@media (pointer: fine) {
    body, a, button, .tool-card { 
        cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 3.5L18.5 12L11 13.5L8.5 21L5.5 3.5Z' fill='%235D5FEF' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"), auto !important; 
    }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sticky-nav {
        padding: var(--space-2) var(--space-2);
    }
    .main-menu, .header-actions {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }

    .mobile-header-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .tool-input-section > div {
        grid-template-columns: 1fr !important;
    }

    .bento-grid, .top-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

.human-desc {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

body.theme-dark .human-desc {
    color: #D1D5DB;
}

.human-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.human-tag {
    background: rgba(0,0,0,0.05);
    color: #111827;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

body.theme-dark .human-tag {
    background: rgba(255,255,255,0.1);
    color: #F9FAFB;
}

.human-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-2) 4px var(--space-2);
}

.explore-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.explore-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tool-card.human-card:hover .explore-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    #all-tools {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.search-active { overflow: hidden; }
    body.search-active .search-container { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(10px); z-index: 5000; padding: var(--space-4); display: flex; flex-direction: column; align-items: stretch; margin: 0; }
    body.search-active #all-tools { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); z-index: 5001; background: var(--bg-color); overflow-y: auto; padding: var(--space-4); display: block !important; }
}
