        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #0D6EFD;
            --primary-dark: #0B5DD8;
            --primary-light: #EFF6FF;
            --gold: #F1C40F;
            --success: #10B981;
            --gray-50: #F8FAFC;
            --gray-100: #F1F5F9;
            --gray-200: #E2E8F0;
            --gray-300: #CBD5E1;
            --gray-500: #64748B;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1E293B;
            --gray-900: #0F172A;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--gray-50);
            color: var(--gray-800);
            line-height: 1.6;
        }

        /* Navbar */
        .navbar {
            background: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--gray-600);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
            position: relative;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--gray-700);
        }

        /* Mobile Styles */
        @media (max-width: 968px) {
        .menu-toggle {
            display: block;
        }

        div#navActions {
            margin-top: 175px;
        }

        .nav-links,
        .nav-actions {
            display: none;
            flex-direction: column;
            background: white;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            padding: 1rem 1.5rem;
            gap: 1rem;
            z-index: 999;
        }

        .nav-links.show,
        .nav-actions.show {
            display: flex;
        }

        .nav-links a {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--gray-100);
        }

        .nav-actions .btn {
            width: 100%;
            justify-content: center;
        }
        }

        

        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
        }

        .btn-gold {
            background: linear-gradient(135deg, var(--gold), #F39C12);
            color: var(--gray-900);
        }

        .btn-gold:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(241, 196, 15, 0.4);
        }

        .btn-outline {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            padding: 4rem 1.5rem 3rem;
            text-align: center;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: 1rem;
        }

        .hero-subtitle {
            font-size: 1.15rem;
            color: var(--gray-700);
            margin-bottom: 2.5rem;
        }

        /* Search Bar */
        .search-container {
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .search-box {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3.5rem;
            border: 2px solid white;
            border-radius: 14px;
            font-size: 1rem;
            box-shadow: 0 4px 16px rgba(13, 110, 253, 0.15);
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 8px 24px rgba(13, 110, 253, 0.25);
        }

        .search-icon {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-500);
            font-size: 1.25rem;
        }

        /* Category Filters */
        .category-filters {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.625rem 1.25rem;
            background: white;
            border: 2px solid var(--gray-300);
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--gray-700);
            transition: all 0.2s;
        }

        .filter-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .filter-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Toolbar */
        .toolbar {
            background: white;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--gray-200);
            position: sticky;
            top: 65px;
            z-index: 100;
        }

        .toolbar-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .toolbar-left {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .result-count {
            color: var(--gray-600);
            font-size: 0.95rem;
        }

        .sort-select {
            padding: 0.625rem 1rem;
            border: 2px solid var(--gray-300);
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
            background: white;
        }

        .filter-group {
            display: flex;
            gap: 0.5rem;
        }

        .filter-chip {
            padding: 0.5rem 1rem;
            background: var(--gray-100);
            border: 2px solid transparent;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--gray-700);
            transition: all 0.2s;
        }

        .filter-chip:hover {
            background: var(--gray-200);
        }

        .filter-chip.active {
            background: var(--primary);
            color: white;
        }

        /* Main Layout */
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 1.5rem;
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 3rem;
        }

        /* Case Study Grid */
        .cases-grid {
            display: initial;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 1.75rem;
        }

        .case-card {
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: 16px;
            padding: 1.75rem;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .case-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            transform: translateY(-4px);
        }

        .case-tags {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .tag {
            padding: 0.35rem 0.75rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .tag-category {
            background: #DBEAFE;
            color: #1E40AF;
        }

        .tag-difficulty {
            background: #FEF3C7;
            color: #92400E;
        }

        .tag-free {
            background: #D1FAE5;
            color: #065F46;
        }

        .tag-premium {
            background: #FEF3C7;
            color: #92400E;
        }

        .case-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .case-summary {
            font-size: 0.9rem;
            color: var(--gray-600);
            margin-bottom: 1.25rem;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .case-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-bottom: 1.25rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .case-cta {
            width: 100%;
        }

        .btn-locked {
            background: linear-gradient(135deg, var(--gold), #F39C12);
            color: var(--gray-900);
            justify-content: center;
        }

        .btn-view {
            width: 100%;
            justify-content: center;
        }

        /* Premium Overlay
        .case-card.premium .case-summary {
            filter: blur(4px);
            user-select: none;
        } */

        .lock-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--gold), #F39C12);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 140px;
            height: fit-content;
        }

        .sidebar-section {
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: 16px;
            padding: 1.75rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 1.25rem;
        }

        .category-list {
            list-style: none;
        }

        .category-item {
            padding: 0.75rem;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .category-item:hover {
            background: var(--gray-50);
        }

        .category-name {
            color: var(--gray-700);
            font-weight: 500;
        }

        .category-count {
            background: var(--gray-200);
            color: var(--gray-700);
            padding: 0.25rem 0.65rem;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Top Cases */
        .top-case-mini {
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        /* .top-case-mini:hover {
            border-color: var(--primary);
            background: var(--gray-50);
        } */

        .top-case-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .top-case-meta {
            font-size: 0.8rem;
            color: var(--gray-500);
        }

        /* Load More */
        .load-more {
            text-align: center;
            padding: 3rem 0;
        }

        /* CTA Banner */
        .cta-banner {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
            padding: 4rem 2rem;
            border-radius: 20px;
            margin: 3rem auto;
            max-width: 1400px;
        }

        .cta-banner h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .cta-banner p {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        .footer {
            background: var(--gray-900);
            color: white;
            padding: 3rem 0 2rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.2s;
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .main-container {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: none;
            }
        }

        @media (max-width: 968px) {
            .nav-links {
                display: none;
            }

            .hero-title {
                font-size: 2rem;
            }

            .cases-grid {
                grid-template-columns: 1fr;
            }

            .toolbar-container {
                flex-direction: column;
                align-items: stretch;
            }

            .category-filters {
                overflow-x: auto;
                justify-content: flex-start;
                padding: 15px;
            }
        }

        @media (max-width: 640px) {
            .hero-section {
                padding: 3rem 1rem 2rem;
            }

            .main-container {
                padding: 2rem 1rem;
            }

            .case-card {
                padding: 1.5rem;
            }
        }
        a.btn.btn-primary.w-full.center {
            place-content: center;
        }
