    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: system-ui, 'Segoe UI', 'Inter', 'Helvetica Neue', sans-serif;
        }

        body {
            background: linear-gradient(145deg, #e9f0fc 0%, #d9e2ef 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        /* Demo trigger button */
        .demo-launch-btn {
            background: #0a2b3e;
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1.2rem;
            font-weight: 600;
            border-radius: 60px;
            cursor: pointer;
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.25);
            transition: all 0.2s ease;
            backdrop-filter: blur(2px);
            letter-spacing: -0.2px;
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }

        .demo-launch-btn:hover {
            background: #12455f;
            transform: scale(1.02);
            box-shadow: 0 24px 36px -14px rgba(0,0,0,0.3);
        }

        /* FULLSCREEN MODAL BACKDROP */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(12px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0s linear 0.3s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease, visibility 0s linear 0s;
        }

        /* FULLSCREEN MODAL CONTAINER */
        .fullscreen-modal {
            width: 96%;
            max-width: 1400px;
            height: 90%;
            max-height: 90vh;
            background: #ffffff;
            border-radius: 36px;
            box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: modalPop 0.25s ease-out;
        }

        @keyframes modalPop {
            0% {
                transform: scale(0.97);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* MODAL HEADER */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 2rem;
            background: #fefefe;
            border-bottom: 1px solid #eef2f8;
        }

        .modal-header h2 {
            font-size: 1.65rem;
            font-weight: 600;
            background: linear-gradient(135deg, #1b4f72, #0d3b4f);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.3px;
        }

        .close-modal-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            line-height: 1;
            color: #5c6f87;
            transition: 0.2s;
            width: 44px;
            height: 44px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.close-modal-btn:hover {
            background: #f0f2f5;
            color: #1e2a3a;
            transform: rotate(90deg);
        }

        /* TAB BAR */
        .tab-bar {
            display: flex;
            gap: 0.25rem;
            padding: 0 1.8rem;
            background: #ffffff;
            border-bottom: 1px solid #e9edf2;
            flex-wrap: wrap;
        }

        .tab-btn {
            background: transparent;
            border: none;
            padding: 0.9rem 1.8rem;
            font-size: 1rem;
            font-weight: 600;
            color: #4a5b6e;
            cursor: pointer;
            transition: all 0.2s;
            border-radius: 32px 32px 0 0;
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tab-btn i {
            font-style: normal;
            font-weight: 500;
            font-size: 1.2rem;
        }

        .tab-btn:hover {
            background: #f4f8fe;
            color: #1f6392;
        }

        .tab-btn.active {
            color: #0f5b87;
            background: #f9fbfe;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #0f5b87;
            border-radius: 3px 3px 0 0;
        }

        /* SEARCH PANEL (inside modal) */
        .search-panel {
            padding: 1.2rem 2rem 1rem 2rem;
            background: #fbfdff;
            border-bottom: 1px solid #eef2f8;
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: 1rem;
        }

        .search-group {
            flex: 3;
            min-width: 220px;
        }

        .search-group label {
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
            color: #62748c;
            display: block;
            margin-bottom: 6px;
        }

        .search-group input {
            width: 100%;
            padding: 0.85rem 1rem;
            border: 1px solid #cfdfed;
            border-radius: 24px;
            font-size: 0.95rem;
            background: white;
            transition: 0.2s;
            outline: none;
        }

        .search-group input:focus {
            border-color: #2c7cb6;
            box-shadow: 0 0 0 3px rgba(44,124,182,0.2);
        }

        .search-actions {
            display: flex;
            gap: 12px;
            align-items: center;
  
    justify-content: center;

            
        }

        .btn-primary {
            background: #146b3a;
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.9rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        .btn-primary:hover {
            background: #0f5830;
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: #eef3fc;
            border: 1px solid #cbdde9;
            color: #2c5a74;
            padding: 0.8rem 1.6rem;
            border-radius: 40px;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-secondary:hover {
            background: #e2ecf7;
        }

        /* RESULTS AREA (scrollable) */
        .results-container {
            flex: 1;
            overflow-y: auto;
            padding: 1.8rem 2rem;
            background: #ffffff;
        }

        /* result cards grid layout */
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.25rem;
        }

.result-card {
            background: #ffffff;
            border-radius: 24px;
            border: 1px solid #e6edf4;
            padding: 1.2rem 1.2rem;
            transition: all 0.2s;
            box-shadow: 0 5px 12px rgba(0,0,0,0.02);
        }

        .result-card:hover {
            transform: translateY(-3px);
            border-color: #cde0ef;
            box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.12);
        }

        .result-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #0e2f41;
            margin-bottom: 0.5rem;
        }

        .result-category {
            font-size: 0.7rem;
            background: #eef3fc;
            display: inline-block;
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            color: #1e6f5c;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .result-desc {
            color: #3a556b;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .loading-state {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
            padding: 3rem;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid #e2ecf7;
            border-top: 4px solid #146b3a;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .empty-state {
            text-align: center;
            padding: 3rem;
            color: #6e8dab;
            font-size: 1.1rem;
        }

        /* tab content panels */
        .tab-content {
            display: none;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
        }

        .tab-content.active-tab {
            display: flex;
        }

        /* make modal body fill remaining space */
        .modal-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* responsive */
        @media (max-width: 700px) {
            .fullscreen-modal {
                width: 98%;
                height: 95%;
                border-radius: 28px;
            }
            .tab-btn {
                padding: 0.7rem 1rem;
                font-size: 0.85rem;
            }
            .search-panel {
                flex-direction: column;
                align-items: stretch;
            }
            .search-actions {
                justify-content: flex-end;
            }
        }
    