.resources-hero {
    padding: 8rem 2.5rem 3rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            transition: transform var(--transition-fast);
        }

        .back-link:hover {
            transform: translateX(-4px);
            color: var(--secondary);
        }

        .resources-hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--text-primary) 40%, #1e3a8a 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .resources-hero p {
            font-size: 1.15rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 3rem;
        }

        /* Search & Filter Container */
        .controls-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 3rem;
    padding: 0 2.5rem;
    box-sizing: border-box;
}

        .search-wrapper {
            position: relative;
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1.5rem 1rem 3rem;
            font-size: 1rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            background: var(--bg-card);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: var(--text-primary);
            outline: none;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
            transition: all var(--transition-normal);
        }

        .search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-glow);
        }

        .search-icon {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }

        .filter-group {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }

        .filter-btn {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            padding: 0.5rem 1.25rem;
            border-radius: 99px;
            font-weight: 500;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .filter-btn:hover {
            transform: translateY(-1px);
        }

        .filter-btn[data-category="all"]:hover,
        .filter-btn[data-category="all"].active {
            background: rgba(37, 99, 235, 0.08);
            color: #2563eb;
            border-color: #2563eb;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
        }

        .filter-btn[data-category="affaires"]:hover,
        .filter-btn[data-category="affaires"].active {
            background: rgba(8, 145, 178, 0.08);
            color: #0891b2;
            border-color: #0891b2;
            box-shadow: 0 4px 12px rgba(8, 145, 178, 0.08);
        }

        .filter-btn[data-category="marketing"]:hover,
        .filter-btn[data-category="marketing"].active {
            background: rgba(37, 99, 235, 0.08);
            color: #2563eb;
            border-color: #2563eb;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
        }

        .filter-btn[data-category="tech"]:hover,
        .filter-btn[data-category="tech"].active {
            background: rgba(79, 70, 229, 0.08);
            color: #4f46e5;
            border-color: #4f46e5;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
        }

        .filter-btn[data-category="stats"]:hover,
        .filter-btn[data-category="stats"].active {
            background: rgba(16, 185, 129, 0.08);
            color: #10b981;
            border-color: #10b981;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
        }

        .filter-btn[data-category="legal"]:hover,
        .filter-btn[data-category="legal"].active {
            background: rgba(219, 39, 119, 0.08);
            color: #db2777;
            border-color: #db2777;
            box-shadow: 0 4px 12px rgba(219, 39, 119, 0.08);
        }

        .filter-btn[data-category="experience"]:hover,
        .filter-btn[data-category="experience"].active {
            background: rgba(217, 119, 6, 0.08);
            color: #d97706;
            border-color: #d97706;
            box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
        }

        .results-info {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            font-weight: 500;
        }

        /* Cards Grid */
        .abbreviations-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6rem;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    box-sizing: border-box;
}

        .abbreviation-card {
            background: var(--bg-card);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
            transition: all var(--transition-normal);
            display: flex;
            flex-direction: column;
            opacity: 1;
            transform: translateY(0);
        }

        .abbreviation-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.05);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.25rem;
            gap: 1rem;
        }

        .sigle-name {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.1;
        }

        .sigle-link {
            text-decoration: none;
        }

        .sigle-link:hover,
        .sigle-link:focus-visible {
            color: var(--primary);
        }

        .category-badge {
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.25rem 0.75rem;
            border-radius: 99px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Category specific badge styles */
        .cat-affaires {
            background: rgba(8, 145, 178, 0.08);
            color: #0891b2;
            border: 1px solid rgba(8, 145, 178, 0.2);
        }
        .cat-marketing {
            background: rgba(37, 99, 235, 0.08);
            color: #2563eb;
            border: 1px solid rgba(37, 99, 235, 0.2);
        }
        .cat-tech {
            background: rgba(79, 70, 229, 0.08);
            color: #4f46e5;
            border: 1px solid rgba(79, 70, 229, 0.2);
        }
        .cat-legal {
            background: rgba(219, 39, 119, 0.08);
            color: #db2777;
            border: 1px solid rgba(219, 39, 119, 0.2);
        }
        .cat-stats {
            background: rgba(16, 185, 129, 0.08);
            color: #10b981;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }
        .cat-experience {
            background: rgba(217, 119, 6, 0.08);
            color: #d97706;
            border: 1px solid rgba(217, 119, 6, 0.2);
        }

        .full-name {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .definition {
            color: var(--text-secondary);
            font-size: 0.925rem;
            line-height: 1.6;
            flex-grow: 1;
        }

        .glossary-cross-link {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            margin-top: 1rem;
            color: var(--primary);
            font-size: 0.82rem;
            font-weight: 600;
        }

        .glossary-cross-link::after {
            content: "→";
            margin-left: 0.35rem;
            transition: transform var(--transition-fast);
        }

        .glossary-cross-link:hover::after {
            transform: translateX(3px);
        }

        /* Empty State */
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem 2rem;
            background: var(--bg-card);
            border: 1px dashed var(--border-color);
            border-radius: 16px;
        }

        .empty-state svg {
            margin-bottom: 1.5rem;
            color: var(--text-muted);
        }

        .empty-state p {
            color: var(--text-secondary);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }
        
        .empty-state button {
            margin: 0 auto;
        }

        /* Fade animation for filters */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-card {
            animation: fadeIn 0.4s ease forwards;
        }

        /* Highlighted card (deep-linked via SEO URL) */
        .abbreviation-card.highlighted {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-glow), 0 12px 24px -8px rgba(37, 99, 235, 0.12);
            background: rgba(37, 99, 235, 0.03);
        }

        @media (max-width: 600px) {
            .resources-hero,
            .controls-container,
            .abbreviations-grid {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            .abbreviations-grid {
                grid-template-columns: minmax(0, 1fr);
                gap: 1rem;
            }

            .abbreviation-card {
                padding: 1.25rem;
            }

            .card-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.65rem;
            }

            .category-badge {
                white-space: normal;
            }
        }
