        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #7C73FF;
            --primary-dark: #5B52CC;
            --primary-light: #9D96FF;
            --secondary: #00D4FF;
            --accent: #7C73FF;
            --success: #10B981;
            --warning: #F59E0B;
            --error: #EF4444;
            --bg-color: #0F1419;
            --surface: #1A1F2E;
            --border: #2D3748;
            --text-primary: #F7FAFC;
            --text-secondary: #CBD5E0;
            --text-tertiary: #A0AEC0;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
            --shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-color);
            min-height: 100vh;
            padding: 16px;
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        .app-layout {
            display: flex;
            min-height: calc(100vh - 64px);
        }

        .sidebar {
            width: 240px;
            background: var(--surface);
            border-right: 1px solid var(--border);
            position: fixed;
            left: 0;
            top: 64px;
            bottom: 0;
            overflow-y: auto;
            padding: 16px 0;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .main-content {
            flex: 1;
            margin-left: 240px;
            background: var(--bg-color);
        }

        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 20px 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-title h1 {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
            color: var(--text-primary);
        }

        .header h1 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
        }

        .beta-badge {
            position: absolute;
            top: -4px;
            right: -100px;
            background: var(--primary);
            color: white;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .monkey-logo {
            font-size: 36px;
        }

        .header p {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 400;
        }

        .content-wrapper {
            padding: 32px;
            max-width: 1200px;
        }

        .page-header {
            margin-bottom: 24px;
        }

        .page-header h2 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--text-primary);
        }

        .page-header p {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .nav-section {
            padding: 8px 12px;
        }

        .nav-section-title {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-tertiary);
            padding: 8px 12px;
            margin-bottom: 4px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.15s ease;
            border-radius: 6px;
            width: 100%;
            text-align: left;
            margin-bottom: 2px;
        }

        .nav-item:hover {
            color: var(--text-primary);
            background: var(--bg-color);
        }

        .nav-item.active {
            color: var(--primary);
            background: rgba(99, 91, 255, 0.08);
            font-weight: 600;
        }

        .nav-item-icon {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.3s ease-out;
        }

        .tab-content.active {
            display: block;
        }

        .tab-content::-webkit-scrollbar {
            width: 6px;
        }

        .tab-content::-webkit-scrollbar-track {
            background: transparent;
        }

        .tab-content::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .tab-content::-webkit-scrollbar-thumb:hover {
            background: var(--text-tertiary);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        h2 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }

        h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }

        p {
            color: var(--text-secondary);
            line-height: 1.5;
            font-size: 14px;
        }

        strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            font-weight: 500;
            margin-bottom: 6px;
            color: var(--text-primary);
            font-size: 13px;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        select,
        textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-size: 14px;
            font-family: inherit;
            transition: all 0.15s ease;
            background: var(--surface);
            color: var(--text-primary);
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
        }

        input::placeholder,
        textarea::placeholder {
            color: var(--text-tertiary);
        }

        textarea {
            resize: vertical;
            min-height: 120px;
            font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
            font-size: 13px;
            line-height: 1.6;
        }

        .emoji-picker {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
            gap: 8px;
            margin-top: 12px;
        }

        .emoji-option {
            font-size: 28px;
            padding: 10px;
            cursor: pointer;
            border: 1px solid var(--border);
            border-radius: 6px;
            transition: all 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--surface);
        }

        .emoji-option:hover {
            border-color: var(--primary);
            transform: scale(1.03);
            box-shadow: var(--shadow-sm);
        }

        .emoji-option.selected {
            border-color: var(--primary);
            background: rgba(99, 91, 255, 0.05);
            box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
        }

        .button-group {
            display: flex;
            gap: 8px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
        }

        .btn {
            padding: 9px 16px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            position: relative;
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn.loading {
            opacity: 0.7;
            cursor: wait;
            padding-right: 40px;
        }

        .btn.loading::after {
            content: '';
            position: absolute;
            right: 12px;
            width: 14px;
            height: 14px;
            border: 2px solid currentColor;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover:not(:disabled) {
            background: var(--primary-dark);
            box-shadow: var(--shadow);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-secondary {
            background: var(--surface);
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover:not(:disabled) {
            background: var(--bg-color);
            border-color: var(--text-tertiary);
        }

        .btn-success {
            background: var(--success);
            color: white;
            box-shadow: var(--shadow-sm);
        }

        .btn-success:hover:not(:disabled) {
            background: #00C520;
            box-shadow: var(--shadow);
        }

        .alert {
            padding: 12px 16px;
            border-radius: 6px;
            margin-bottom: 16px;
            display: none;
            font-weight: 400;
            font-size: 13px;
            border: 1px solid;
        }

        .alert.success {
            background: rgba(16, 185, 129, 0.2);
            color: #6EE7B7;
            border-color: #86EFAC;
        }

        .alert.error {
            background: #FEE2E2;
            color: #991B1B;
            border-color: #FCA5A5;
        }

        .alert.warning {
            background: rgba(245, 158, 11, 0.2);
            color: #FCD34D;
            border-color: #FCD34D;
        }

        .alert.info {
            background: rgba(99, 91, 255, 0.15);
            color: #93C5FD;
            border-color: #93C5FD;
        }

        .alert.show {
            display: flex;
            align-items: center;
            gap: 8px;
            animation: slideDown 0.2s ease-out;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.15s ease;
        }

        .card:hover {
            box-shadow: var(--shadow);
        }

        .info-box {
            background: rgba(99, 91, 255, 0.1);
            border-left: 3px solid var(--primary);
            padding: 16px;
            margin-bottom: 20px;
            border-radius: 6px;
            border: 1px solid rgba(99, 91, 255, 0.3);
        }

        .info-box p {
            color: var(--text-primary);
            line-height: 1.6;
            margin: 0;
            font-size: 13px;
            font-weight: 500;
        }

        .setup-cta {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            padding: 24px;
            margin: 24px 0;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            animation: slideDown 0.5s ease-out;
        }

        .setup-cta-content {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .setup-cta-icon {
            font-size: 48px;
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .setup-cta-text {
            flex: 1;
        }

        .setup-cta h3 {
            color: white;
            margin: 0 0 8px 0;
            font-size: 18px;
        }

        .setup-cta p {
            color: rgba(255, 255, 255, 0.9);
            margin: 0;
        }

        .setup-cta .btn {
            background: var(--surface);
            color: #667eea;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .setup-cta .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }

        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .status-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.15s ease;
        }

        .status-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }

        .status-indicator {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .status-indicator.complete {
            background: var(--success);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
        }

        .status-indicator.incomplete {
            background: var(--warning);
            box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
        }

        .preview {
            background: #F8FAFC;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 16px;
            margin-top: 12px;
            font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
            font-size: 13px;
            white-space: pre-wrap;
            max-height: 400px;
            overflow-y: auto;
            color: var(--text-primary);
            line-height: 1.6;
        }

        .preview::-webkit-scrollbar {
            width: 6px;
        }

        .preview::-webkit-scrollbar-track {
            background: transparent;
        }

        .preview::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .llm-provider-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }

        .provider-card {
            border: 2px solid rgba(6, 182, 212, 0.3);
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            background: rgba(15, 23, 42, 0.6);
        }

        .provider-card:hover {
            border-color: var(--neon-cyan);
            transform: translateY(-2px);
            box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
        }

        .provider-card.selected {
            border-color: var(--neon-cyan);
            background: rgba(6, 182, 212, 0.15);
            box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.3);
        }

        .provider-card .icon {
            font-size: 40px;
            margin-bottom: 12px;
        }

        .provider-card .name {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 4px;
        }

        .provider-card .desc {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.87);
        }

        .connection-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }

        .connection-status.connected {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .connection-status.disconnected {
            background: rgba(107, 114, 128, 0.1);
            color: rgba(255, 255, 255, 0.85);
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: rgba(255, 255, 255, 0.85);
            font-size: 20px;
        }

        .toggle-password:hover {
            color: var(--neon-cyan);
        }

        .input-wrapper {
            position: relative;
        }

        @media (max-width: 768px) {
            .grid-2 {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 40px;
            }

            .tab-content {
                padding: 24px;
            }

            .tabs {
                padding: 0 10px;
            }

            .tab {
                padding: 16px 20px;
                font-size: 14px;
            }
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.2s ease-out;
        }

        .modal-content {
            background: var(--surface);
            margin: 5% auto;
            padding: 32px;
            border-radius: 16px;
            max-width: 500px;
            position: relative;
            animation: slideUp 0.3s ease-out;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        }

        .modal-close {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 28px;
            font-weight: 300;
            color: #999;
            cursor: pointer;
            transition: color 0.2s;
        }

        .modal-close:hover {
            color: #333;
        }

        .btn-glass {
            background: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 12px 24px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
        }

        .btn-glass:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        .credit-package {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .credit-package:hover {
            border-color: var(--primary);
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(99,102,241,0.2);
        }

        .credit-package.popular {
            border-color: var(--primary);
            background: rgba(99,102,241,0.05);
        }

        .credit-package.popular::before {
            content: "⭐ Popular";
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }

        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Channels Tab Styles */
        .channels-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }

        .channel-card {
            background: var(--surface);
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .channel-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        .channel-card.locked {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .channel-card.locked:hover {
            transform: none;
            box-shadow: none;
        }

        .channel-card.connected {
            border-color: var(--success);
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
        }

        .channel-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .channel-icon {
            font-size: 40px;
            line-height: 1;
        }

        .channel-info {
            flex: 1;
        }

        .channel-name {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0 0 4px 0;
        }

        .channel-difficulty {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .channel-difficulty.easy {
            background: rgba(16, 185, 129, 0.2);
            color: #6EE7B7;
        }

        .channel-difficulty.medium {
            background: rgba(245, 158, 11, 0.2);
            color: #FCD34D;
        }

        .channel-difficulty.hard {
            background: #FEE2E2;
            color: #991B1B;
        }

        .channel-description {
            color: var(--text-secondary);
            font-size: 13px;
            line-height: 1.5;
            margin: 12px 0;
            min-height: 40px;
        }

        .channel-status {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .channel-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--border);
        }

        .channel-status-dot.connected {
            background: var(--success);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .channel-status-text {
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
        }

        .channel-lock-overlay {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .channel-connect-btn {
            width: 100%;
            padding: 10px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 12px;
        }

        .channel-connect-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .channel-connect-btn.connected {
            background: var(--success);
        }

        .channel-connect-btn.locked {
            background: var(--border);
            cursor: not-allowed;
        }

        /* Bundles Grid */
        .bundles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .bundle-card {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border: 2px solid transparent;
            border-radius: 16px;
            padding: 28px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .bundle-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 16px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .bundle-card:hover::before {
            opacity: 1;
        }

        .bundle-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
        }

        .bundle-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .bundle-icon {
            font-size: 48px;
        }

        .bundle-info h4 {
            margin: 0 0 4px 0;
            font-size: 20px;
            color: var(--text-primary);
        }

        .bundle-price {
            font-size: 16px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .bundle-description {
            color: var(--text-secondary);
            margin-bottom: 16px;
            font-size: 14px;
            line-height: 1.6;
        }

        .bundle-channels {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .bundle-channel-tag {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            color: var(--text-primary);
        }

        .bundle-cta {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .bundle-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }

        /* Providers Tab Styles */
        .providers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }

        .provider-card {
            background: var(--surface);
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .provider-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        .provider-card.locked {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .provider-card.locked:hover {
            transform: none;
            box-shadow: none;
        }

        .provider-card.connected {
            border-color: var(--success);
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
        }

        .provider-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .provider-icon {
            font-size: 48px;
            line-height: 1;
        }

        .provider-info {
            flex: 1;
        }

        .provider-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 6px 0;
        }

        .provider-difficulty {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .provider-difficulty.easy {
            background: rgba(16, 185, 129, 0.2);
            color: #6EE7B7;
        }

        .provider-difficulty.medium {
            background: rgba(245, 158, 11, 0.2);
            color: #FCD34D;
        }

        .provider-difficulty.hard {
            background: #FEE2E2;
            color: #991B1B;
        }

        .provider-description {
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.6;
            margin: 16px 0;
            min-height: 42px;
        }

        .provider-models {
            background: rgba(102, 126, 234, 0.08);
            border-radius: 8px;
            padding: 12px;
            margin: 12px 0;
        }

        .provider-models-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-tertiary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .provider-models-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .provider-model-tag {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
            color: var(--text-primary);
        }

        .provider-model-tag.recommended {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
        }

        .provider-benefits {
            margin: 16px 0;
        }

        .provider-benefit {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-secondary);
            margin: 6px 0;
        }

        .provider-benefit::before {
            content: '✓';
            color: var(--success);
            font-weight: 700;
            font-size: 14px;
        }

        .provider-status {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .provider-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--border);
        }

        .provider-status-dot.connected {
            background: var(--success);
            animation: pulse 2s ease-in-out infinite;
        }

        .provider-status-text {
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
        }

        .provider-lock-overlay {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .provider-connect-btn {
            width: 100%;
            padding: 12px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 12px;
        }

        .provider-connect-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .provider-connect-btn.connected {
            background: var(--success);
        }

        .provider-connect-btn.locked {
            background: var(--border);
            cursor: not-allowed;
        }

        /* Channel Configuration Modal */
        .channel-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .channel-modal.active {
            display: flex;
        }

        .channel-modal-content {
            background: var(--surface);
            border-radius: 16px;
            padding: 32px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease-out;
        }

        .channel-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }

        .channel-modal-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 24px;
            font-weight: 600;
        }

        .channel-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            padding: 4px 8px;
            opacity: 0.6;
            transition: opacity 0.2s;
        }

        .channel-modal-close:hover {
            opacity: 1;
        }

        .form-field {
            margin-bottom: 20px;
        }

        .form-field label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            font-size: 14px;
        }

        .form-field input,
        .form-field textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s;
            font-family: inherit;
        }

        .form-field input:focus,
        .form-field textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
        }

        .form-field-help {
            font-size: 12px;
            color: var(--text-tertiary);
            margin-top: 4px;
        }

        .form-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .form-actions button {
            flex: 1;
        }
