Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ProVerBs Privacy-First Legal AI Platform</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100..900&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); | |
| color: #ffffff; | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| } | |
| .header-section { | |
| text-align: center; | |
| padding: 60px 40px; | |
| background: linear-gradient(135deg, #262626 0%, #3a3a3a 50%, #262626 100%); | |
| color: #ffffff; | |
| border-radius: 24px; | |
| margin-bottom: 40px; | |
| position: relative; | |
| overflow: hidden; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); | |
| } | |
| .header-section::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: radial-gradient(circle at 30% 50%, rgba(156, 142, 125, 0.15) 0%, transparent 50%); | |
| pointer-events: none; | |
| } | |
| .logo-container { | |
| margin-bottom: 40px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .rotating-logo { | |
| width: 160px; | |
| height: 160px; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| border: 4px solid #9C8E7D; | |
| box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(156, 142, 125, 0.3); | |
| animation: fadeInOut 60s infinite, subtleFloat 8s ease-in-out infinite; | |
| transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); | |
| margin: 0 10px; | |
| } | |
| .rotating-logo:hover { | |
| transform: scale(1.05); | |
| } | |
| .rotating-logo:nth-child(2) { | |
| animation-delay: 20s; | |
| } | |
| .rotating-logo:nth-child(3) { | |
| animation-delay: 40s; | |
| } | |
| @keyframes fadeInOut { | |
| 0%, 20% { opacity: 1; } | |
| 25%, 45% { opacity: 0; } | |
| 50%, 70% { opacity: 1; } | |
| 75%, 95% { opacity: 0; } | |
| 100% { opacity: 1; } | |
| } | |
| @keyframes subtleFloat { | |
| 0%, 100% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .header-section h1 { | |
| font-size: 3.5rem; | |
| margin-bottom: 20px; | |
| font-weight: 700; | |
| text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); | |
| letter-spacing: -0.02em; | |
| line-height: 1.2; | |
| position: relative; | |
| z-index: 1; | |
| font-family: 'Inter Tight', sans-serif; | |
| } | |
| .header-section p { | |
| font-size: 1.1rem; | |
| color: #9C8E7D; | |
| font-weight: 400; | |
| letter-spacing: 0.02em; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .badges { | |
| display: flex; | |
| justify-content: center; | |
| gap: 15px; | |
| margin-top: 20px; | |
| flex-wrap: wrap; | |
| } | |
| .badge { | |
| background: rgba(156, 142, 125, 0.2); | |
| border: 1px solid rgba(156, 142, 125, 0.3); | |
| border-radius: 20px; | |
| padding: 8px 16px; | |
| font-size: 0.9rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 5px; | |
| } | |
| .tabs { | |
| display: flex; | |
| gap: 10px; | |
| margin-bottom: 20px; | |
| flex-wrap: wrap; | |
| } | |
| .tab-button { | |
| padding: 12px 24px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| color: white; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| font-weight: 500; | |
| } | |
| .tab-button.active { | |
| background: #9C8E7D; | |
| border-color: #9C8E7D; | |
| } | |
| .tab-button:hover:not(.active) { | |
| background: rgba(255, 255, 255, 0.2); | |
| } | |
| .tab-content { | |
| display: none; | |
| background: rgba(30, 30, 30, 0.8); | |
| border-radius: 16px; | |
| padding: 30px; | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .tab-content.active { | |
| display: block; | |
| animation: fadeIn 0.5s ease; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .chat-interface { | |
| display: flex; | |
| flex-direction: column; | |
| height: 600px; | |
| } | |
| .chat-header { | |
| display: flex; | |
| gap: 20px; | |
| margin-bottom: 20px; | |
| flex-wrap: wrap; | |
| } | |
| .selector-group { | |
| flex: 1; | |
| min-width: 250px; | |
| } | |
| .selector-label { | |
| display: block; | |
| margin-bottom: 8px; | |
| color: #9C8E7D; | |
| font-weight: 500; | |
| } | |
| select, input[type="range"], label { | |
| width: 100%; | |
| padding: 12px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 8px; | |
| color: white; | |
| font-size: 14px; | |
| } | |
| .checkbox-group { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .chat-messages { | |
| flex: 1; | |
| overflow-y: auto; | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 12px; | |
| padding: 20px; | |
| margin-bottom: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .message { | |
| max-width: 80%; | |
| padding: 15px; | |
| border-radius: 12px; | |
| line-height: 1.5; | |
| } | |
| .user-message { | |
| background: rgba(156, 142, 125, 0.2); | |
| border: 1px solid rgba(156, 142, 125, 0.3); | |
| align-self: flex-end; | |
| margin-left: auto; | |
| } | |
| .assistant-message { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| align-self: flex-start; | |
| } | |
| .input-area { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .message-input { | |
| flex: 1; | |
| padding: 15px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 12px; | |
| color: white; | |
| font-size: 16px; | |
| } | |
| .send-button { | |
| padding: 15px 25px; | |
| background: #9C8E7D; | |
| color: white; | |
| border: none; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| font-weight: 600; | |
| transition: background 0.3s ease; | |
| } | |
| .send-button:hover { | |
| background: #8a7c6d; | |
| } | |
| .voice-interface, .agent-interface, .bible-interface, .analytics-interface, .brain-interface, .about-interface { | |
| padding: 20px; | |
| background: rgba(255, 255, 255, 0.05); | |
| border-radius: 12px; | |
| } | |
| .slider-group { | |
| margin: 15px 0; | |
| } | |
| .slider-label { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 5px; | |
| } | |
| .slider-value { | |
| color: #9C8E7D; | |
| font-size: 14px; | |
| } | |
| .protocol-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |
| gap: 20px; | |
| margin-top: 20px; | |
| } | |
| .protocol-card { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 12px; | |
| padding: 20px; | |
| } | |
| .protocol-card h4 { | |
| color: #9C8E7D; | |
| margin-bottom: 10px; | |
| } | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
| gap: 15px; | |
| margin: 20px 0; | |
| } | |
| .stat-card { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 12px; | |
| padding: 15px; | |
| text-align: center; | |
| } | |
| .stat-number { | |
| font-size: 2rem; | |
| font-weight: bold; | |
| color: #9C8E7D; | |
| display: block; | |
| } | |
| .stat-label { | |
| font-size: 0.9rem; | |
| color: #ccc; | |
| } | |
| .examples { | |
| margin-top: 20px; | |
| padding: 15px; | |
| background: rgba(255, 255, 255, 0.05); | |
| border-radius: 12px; | |
| } | |
| .example-item { | |
| padding: 8px 0; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .example-item:last-child { | |
| border-bottom: none; | |
| } | |
| .login-section { | |
| display: flex; | |
| gap: 20px; | |
| margin-bottom: 20px; | |
| align-items: center; | |
| } | |
| .login-button { | |
| background: #764ba2; | |
| color: white; | |
| border: none; | |
| padding: 12px 24px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| font-weight: 500; | |
| transition: background 0.3s ease; | |
| } | |
| .login-button:hover { | |
| background: #667eea; | |
| } | |
| .login-info { | |
| color: #9C8E7D; | |
| font-size: 0.9rem; | |
| } | |
| /* Feature Cards */ | |
| .feature-card { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-radius: 15px; | |
| padding: 25px; | |
| text-align: center; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| margin-bottom: 25px; | |
| } | |
| .feature-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent); | |
| transform: rotate(45deg); | |
| transition: all 0.5s ease; | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); | |
| background: rgba(255, 255, 255, 0.15); | |
| } | |
| .feature-card:hover::before { | |
| transform: rotate(45deg) translate(20%, 20%); | |
| } | |
| .feature-icon { | |
| font-size: 3rem; | |
| margin-bottom: 15px; | |
| color: #ffcc00; | |
| } | |
| .feature-title { | |
| font-size: 1.5rem; | |
| margin-bottom: 10px; | |
| color: #ffcc00; | |
| } | |
| .feature-desc { | |
| font-size: 1rem; | |
| line-height: 1.6; | |
| } | |
| .protocols-list { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 15px; | |
| margin: 20px 0; | |
| } | |
| .protocol-item { | |
| background: rgba(255, 255, 255, 0.08); | |
| padding: 12px; | |
| border-radius: 8px; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| } | |
| .protocol-item:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: translateY(-3px); | |
| } | |
| .tech-stack { | |
| display: flex; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| gap: 15px; | |
| margin: 30px 0; | |
| } | |
| .tech-item { | |
| background: rgba(255, 255, 255, 0.1); | |
| padding: 10px 20px; | |
| border-radius: 30px; | |
| font-size: 0.9rem; | |
| transition: all 0.3s ease; | |
| } | |
| .tech-item:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: scale(1.05); | |
| } | |
| .cta-button { | |
| display: inline-block; | |
| background: linear-gradient(to right, #ff8c00, #ffcc00); | |
| color: #000; | |
| padding: 15px 40px; | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| border-radius: 50px; | |
| text-decoration: none; | |
| margin: 20px 0; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); | |
| transition: all 0.3s ease; | |
| border: none; | |
| cursor: pointer; | |
| text-align: center; | |
| } | |
| .cta-button:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); | |
| } | |
| .disclaimer { | |
| background: rgba(0, 0, 0, 0.2); | |
| padding: 20px; | |
| border-radius: 10px; | |
| margin: 30px 0; | |
| text-align: center; | |
| } | |
| .watermark-logo { | |
| position: fixed; | |
| opacity: 0.05; | |
| z-index: -1; | |
| pointer-events: none; | |
| width: 300px; | |
| height: 300px; | |
| animation: fadeRotate 60s infinite linear; | |
| } | |
| .watermark-1 { top: 10%; left: 5%; } | |
| .watermark-2 { top: 20%; right: 5%; } | |
| .watermark-3 { bottom: 20%; left: 10%; } | |
| .watermark-4 { bottom: 10%; right: 15%; } | |
| .watermark-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); } | |
| @keyframes fadeRotate { | |
| 0% { transform: rotate(0deg); opacity: 0.05; } | |
| 25% { transform: rotate(90deg); opacity: 0.03; } | |
| 50% { transform: rotate(180deg); opacity: 0.05; } | |
| 75% { transform: rotate(270deg); opacity: 0.03; } | |
| 100% { transform: rotate(360deg); opacity: 0.05; } | |
| } | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 25px; | |
| margin: 40px 0; | |
| } | |
| .privacy-section { | |
| background: rgba(0, 0, 0, 0.2); | |
| border-radius: 15px; | |
| padding: 25px; | |
| margin: 20px 0; | |
| border: 1px solid rgba(0, 200, 100, 0.3); | |
| } | |
| .privacy-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 15px; | |
| } | |
| .privacy-icon { | |
| font-size: 1.5rem; | |
| color: #00cc66; | |
| } | |
| .privacy-badge { | |
| display: inline-block; | |
| background: rgba(0, 200, 100, 0.2); | |
| border: 1px solid rgba(0, 200, 100, 0.3); | |
| border-radius: 20px; | |
| padding: 5px 15px; | |
| font-size: 0.8rem; | |
| margin: 5px; | |
| } | |
| @media (max-width: 768px) { | |
| .header-section h1 { | |
| font-size: 2.5rem; | |
| } | |
| .subtitle { | |
| font-size: 1.2rem; | |
| } | |
| .logo-container { | |
| width: 120px; | |
| height: 120px; | |
| } | |
| .feature-card { | |
| padding: 15px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Watermark logos --> | |
| <img src="https://placehold.co/400x400/6a11cb/ffffff?text=⚖️" alt="Watermark" class="watermark-logo watermark-1"> | |
| <img src="https://placehold.co/400x400/2575fc/ffffff?text=🤖" alt="Watermark" class="watermark-logo watermark-2"> | |
| <img src="https://placehold.co/400x400/ff8c00/ffffff?text=📚" alt="Watermark" class="watermark-logo watermark-3"> | |
| <img src="https://placehold.co/400x400/ffcc00/000000?text=🧠" alt="Watermark" class="watermark-logo watermark-4"> | |
| <img src="https://placehold.co/400x400/00c9ff/ffffff?text=🔍" alt="Watermark" class="watermark-logo watermark-5"> | |
| <div class="container"> | |
| <div class="header-section"> | |
| <div class="logo-container"> | |
| <img src="https://placehold.co/160x160/262626/9C8E7D?text=🔒" class="rotating-logo" alt="Privacy Shield"> | |
| <img src="https://placehold.co/160x160/262626/9C8E7D?text=🤖" class="rotating-logo" alt="AI Brain"> | |
| <img src="https://placehold.co/160x160/262626/9C8E7D?text=⚖️" class="rotating-logo" alt="Justice Scale"> | |
| </div> | |
| <h1>🔒 ProVerBs Privacy-First Legal AI Platform</h1> | |
| <p>The single, unified interface for all ProVerBs AI capabilities with advanced privacy protection.</p> | |
| <div class="badges"> | |
| <div class="badge">🔐 100+ Privacy Protocols</div> | |
| <div class="badge">🤖 6 AI Models</div> | |
| <div class="badge">⚖️ 7 Legal Modes</div> | |
| <div class="badge">🎙️ Voice Clone</div> | |
| <div class="badge">📊 Analytics</div> | |
| <div class="badge">🧠 Brain</div> | |
| </div> | |
| </div> | |
| <div class="login-section"> | |
| <button class="login-button">Sign in with Hugging Face</button> | |
| <div class="login-info">Login with your Hugging Face account for full access to premium features</div> | |
| </div> | |
| <div class="tabs"> | |
| <button class="tab-button active" data-tab="home">🏠 Home</button> | |
| <button class="tab-button" data-tab="chat">🤖 AI Legal Chatbot</button> | |
| <button class="tab-button" data-tab="voice">🎙️ Voice Cloning</button> | |
| <button class="tab-button" data-tab="agent">🦸 Super Agent</button> | |
| <button class="tab-button" data-tab="analytics">📊 Analytics</button> | |
| <button class="tab-button" data-tab="brain">🧠 Brain</button> | |
| <button class="tab-button" data-tab="privacy">🔒 Privacy Center</button> | |
| <button class="tab-button" data-tab="about">ℹ️ About</button> | |
| </div> | |
| <!-- Home Tab --> | |
| <div id="home-tab" class="tab-content active"> | |
| <header> | |
| <h1 style="font-size: 3.5rem; text-align: center; margin-bottom: 20px;">⚖️ ProVerBs Ultimate Legal AI Brain</h1> | |
| <div class="subtitle" style="font-size: 1.5rem; text-align: center; margin-bottom: 20px; color: #9C8E7D;">Powered by Pro'VerBs™ & ADAPPT-I™ Technology</div> | |
| <p class="tagline" style="font-size: 1.2rem; text-align: center; max-width: 800px; margin: 0 auto 30px; line-height: 1.6;">The most advanced legal AI platform with 100+ reasoning protocols, multi-AI support, and specialized legal modes</p> | |
| </header> | |
| <section class="features-grid"> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-brain"></i> | |
| </div> | |
| <h3 class="feature-title">100+ Reasoning Protocols</h3> | |
| <p class="feature-desc"> | |
| Advanced reasoning systems including Chain-of-Thought, Tree-of-Thoughts, | |
| ReAct, Reflexion, RAG (Retrieval-Augmented Generation), Quantum Reasoning, | |
| and Multi-Agent Systems | |
| </p> | |
| <div class="protocols-list"> | |
| <div class="protocol-item">Chain-of-Thought</div> | |
| <div class="protocol-item">Self-Consistency</div> | |
| <div class="protocol-item">Tree-of-Thoughts</div> | |
| <div class="protocol-item">ReAct</div> | |
| <div class="protocol-item">Reflexion</div> | |
| <div class="protocol-item">RAG</div> | |
| </div> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <h3 class="feature-title">Multiple AI Models</h3> | |
| <p class="feature-desc"> | |
| Integrated with 6 different AI providers for optimal performance: | |
| GPT-4, Gemini, Perplexity, Ninja AI, LM Studio, and HuggingFace | |
| </p> | |
| <div class="tech-stack"> | |
| <div class="tech-item">GPT-4 Turbo</div> | |
| <div class="tech-item">Gemini 3.0</div> | |
| <div class="tech-item">Perplexity AI</div> | |
| <div class="tech-item">Ninja AI</div> | |
| <div class="tech-item">LM Studio</div> | |
| <div class="tech-item">HuggingFace</div> | |
| </div> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-balance-scale"></i> | |
| </div> | |
| <h3 class="feature-title">7 Legal Modes</h3> | |
| <p class="feature-desc"> | |
| Specialized legal assistance in research, document analysis, | |
| case law search, contract review, legal advice, compliance, and litigation support | |
| </p> | |
| <div class="protocols-list"> | |
| <div class="protocol-item">Legal Research</div> | |
| <div class="protocol-item">Document Analysis</div> | |
| <div class="protocol-item">Case Law Search</div> | |
| <div class="protocol-item">Contract Review</div> | |
| <div class="protocol-item">Legal Advice</div> | |
| <div class="protocol-item">Compliance Check</div> | |
| </div> | |
| </div> | |
| </section> | |
| <div class="disclaimer"> | |
| <h3>Proprietary License – Free to Use</h3> | |
| <p>© 2025 Solomon 8888. All Rights Reserved.</p> | |
| <p>You are granted a non-exclusive, royalty-free license to run the software as-is.</p> | |
| <p><strong>Trademarks:</strong> Pro'VerBs™, ADAPPT-I™, Dual Analysis Law Perspective™</p> | |
| </div> | |
| <div class="features-grid"> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-microphone"></i> | |
| </div> | |
| <h3 class="feature-title">Voice Cloning & Audio Processing</h3> | |
| <p class="feature-desc"> | |
| Advanced audio processing with text-to-speech voice cloning, | |
| audio transcription, and voice analysis capabilities | |
| </p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-cogs"></i> | |
| </div> | |
| <h3 class="feature-title">Dual Analysis Technology</h3> | |
| <p class="feature-desc"> | |
| Revolutionary Dual Analysis Law Perspective™ technology that examines | |
| legal matters from both lawful and legal/statutory viewpoints | |
| </p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <h3 class="feature-title">Privacy & Security</h3> | |
| <p class="feature-desc"> | |
| All data processed securely and privately. We respect user confidentiality | |
| and maintain strict data protection standards | |
| </p> | |
| </div> | |
| </div> | |
| <div style="text-align: center; margin: 40px 0;"> | |
| <a href="#" class="cta-button">Start Using ProVerBs Legal AI</a> | |
| </div> | |
| <div class="disclaimer"> | |
| <h3>Disclaimer</h3> | |
| <p>This platform provides general legal information only. It does not constitute legal advice.</p> | |
| <p><strong>Always consult with a licensed attorney for specific legal matters.</strong></p> | |
| </div> | |
| <footer class="footer" style="text-align: center; padding: 30px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.2);"> | |
| <p>ProVerBs Ultimate Legal AI Brain v3.0</p> | |
| <p>Built by Solomon7890 | Powered by Pro'VerBs™ & ADAPPT-I™</p> | |
| <p>Hugging Face Space: Solomon7890/ProVerbS_LaW_mAiN_PAgE</p> | |
| </footer> | |
| </div> | |
| <div id="chat-tab" class="tab-content"> | |
| <div class="chat-interface"> | |
| <div class="chat-header"> | |
| <div class="selector-group"> | |
| <label class="selector-label">🤖 AI Model Provider</label> | |
| <select id="ai-provider"> | |
| <option value="huggingface">Llama-3.3-70B (HuggingFace)</option> | |
| <option value="gpt4">GPT-4 (OpenAI)</option> | |
| <option value="gemini">Gemini 3.0 (Google)</option> | |
| <option value="perplexity">Perplexity AI</option> | |
| <option value="ninjaai">Ninja AI</option> | |
| <option value="lmstudio">LM Studio (Local)</option> | |
| </select> | |
| </div> | |
| <div class="selector-group"> | |
| <label class="selector-label">⚖️ Legal Mode</label> | |
| <select id="legal-mode"> | |
| <option value="navigation">📍 Navigation Guide - Find features in the app</option> | |
| <option value="general">💬 General Legal Assistant - Broad legal questions</option> | |
| <option value="document_validation">📄 Document Validator - Analyze documents</option> | |
| <option value="legal_research">🔍 Legal Research - Case law & statutes</option> | |
| <option value="etymology">📚 Etymology Expert - Legal term origins</option> | |
| <option value="case_management">💼 Case Management - Organize cases</option> | |
| <option value="regulatory_updates">📋 Regulatory Updates - Legal changes</option> | |
| </select> | |
| </div> | |
| <div class="selector-group"> | |
| <label class="selector-label"> | |
| <div class="checkbox-group"> | |
| <input type="checkbox" id="reasoning-toggle" checked> | |
| <span>🧠 Enable UnifiedBrain Reasoning</span> | |
| </div> | |
| </label> | |
| <small style="color: #9C8E7D; display: block; margin-top: 5px;">Use 100+ reasoning protocols for enhanced analysis</small> | |
| </div> | |
| </div> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Max Tokens</span> | |
| <span class="slider-value" id="tokens-value">2048</span> | |
| </div> | |
| <input type="range" id="tokens-slider" min="128" max="4096" value="2048" step="128"> | |
| </div> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Temperature</span> | |
| <span class="slider-value" id="temp-value">0.7</span> | |
| </div> | |
| <input type="range" id="temp-slider" min="0.1" max="2.0" value="0.7" step="0.1"> | |
| </div> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Top-p</span> | |
| <span class="slider-value" id="topp-value">0.95</span> | |
| </div> | |
| <input type="range" id="topp-slider" min="0.1" max="1.0" value="0.95" step="0.05"> | |
| </div> | |
| <div class="chat-messages" id="chat-messages"> | |
| <div class="message assistant-message"> | |
| <strong>Welcome to ProVerBs Legal AI!</strong><br><br> | |
| I'm your unified legal assistant powered by multiple AI models and advanced reasoning protocols. How can I assist you with your legal inquiry today?<br><br> | |
| Try asking about contract review, legal research, compliance, or document drafting. | |
| </div> | |
| </div> | |
| <div class="input-area"> | |
| <input type="text" class="message-input" id="message-input" placeholder="Ask your legal question..." /> | |
| <button class="send-button" id="send-button">Send</button> | |
| </div> | |
| <div class="examples"> | |
| <h4>Try these examples:</h4> | |
| <div class="example-item">"Review this contract clause for potential risks"</div> | |
| <div class="example-item">"Research recent changes to employment law"</div> | |
| <div class="example-item">"Draft a cease and desist letter"</div> | |
| <div class="example-item">"Check compliance with GDPR regulations"</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="voice-tab" class="tab-content"> | |
| <div class="voice-interface"> | |
| <h3>🎙️ Voice Cloning Interface</h3> | |
| <p>Upload an audio sample to clone a voice for legal document narration or client communication.</p> | |
| <div style="margin: 20px 0;"> | |
| <label class="selector-label">Upload Audio Sample (MP3/WAV)</label> | |
| <input type="file" accept="audio/*" style="width: 100%; padding: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: white;"> | |
| </div> | |
| <div style="margin: 20px 0;"> | |
| <label class="selector-label">Text to Narrate</label> | |
| <textarea id="voice-text" placeholder="Enter text to convert to speech with cloned voice..." style="width: 100%; height: 150px; padding: 15px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: white; margin-top: 10px;"></textarea> | |
| </div> | |
| <div style="display: flex; gap: 10px; margin-top: 15px;"> | |
| <button class="send-button" style="flex: 1;">Clone Voice</button> | |
| <button class="send-button" style="flex: 1;">Generate Speech</button> | |
| <button class="send-button" style="flex: 1; background: #ff6b6b;">Reset</button> | |
| </div> | |
| <div style="margin-top: 20px; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px;"> | |
| <h4>Voice Samples</h4> | |
| <div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px;"> | |
| <button class="send-button" style="background: rgba(156,142,125,0.3); padding: 10px;">Sample 1: Formal</button> | |
| <button class="send-button" style="background: rgba(156,142,125,0.3); padding: 10px;">Sample 2: Casual</button> | |
| <button class="send-button" style="background: rgba(156,142,125,0.3); padding: 10px;">Sample 3: Authoritative</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="agent-tab" class="tab-content"> | |
| <div class="agent-interface"> | |
| <h3>🦸 Super Agent Mode</h3> | |
| <p>Engage with the advanced agent for complex task orchestration and dual analysis.</p> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Max Tokens</span> | |
| <span class="slider-value" id="agent-tokens-value">4096</span> | |
| </div> | |
| <input type="range" id="agent-tokens-slider" min="128" max="8192" value="4096" step="128"> | |
| </div> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Temperature</span> | |
| <span class="slider-value" id="agent-temp-value">0.5</span> | |
| </div> | |
| <input type="range" id="agent-temp-slider" min="0.1" max="1.0" value="0.5" step="0.1"> | |
| </div> | |
| <div class="slider-group"> | |
| <div class="slider-label"> | |
| <span>Top-p</span> | |
| <span class="slider-value" id="agent-topp-value">0.95</span> | |
| </div> | |
| <input type="range" id="agent-topp-slider" min="0.1" max="1.0" value="0.95" step="0.05"> | |
| </div> | |
| <div class="chat-messages" id="agent-messages"> | |
| <div class="message assistant-message"> | |
| <strong>Super Agent Activated</strong><br><br> | |
| I am the Super Law Agent, capable of complex legal analyses, case management, and document generation. I employ dual analysis methodology comparing lawful and legal perspectives.<br><br> | |
| Present a complex legal task for comprehensive assistance. | |
| </div> | |
| </div> | |
| <div class="input-area"> | |
| <input type="text" class="message-input" id="agent-input" placeholder="Present a complex legal task to the Super Agent..." /> | |
| <button class="send-button" id="agent-send">Send</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="analytics-tab" class="tab-content"> | |
| <div class="analytics-interface"> | |
| <h3>📊 Analytics Dashboard</h3> | |
| <p>Performance metrics and usage statistics for the ProVerBs platform.</p> | |
| <div class="stats-grid"> | |
| <div class="stat-card"> | |
| <span class="stat-number">1,248</span> | |
| <span class="stat-label">Total Queries</span> | |
| </div> | |
| <div class="stat-card"> | |
| <span class="stat-number">94%</span> | |
| <span class="stat-label">Success Rate</span> | |
| </div> | |
| <div class="stat-card"> | |
| <span class="stat-number">2.4s</span> | |
| <span class="stat-label">Avg. Response Time</span> | |
| </div> | |
| <div class="stat-card"> | |
| <span class="stat-number">42</span> | |
| <span class="stat-label">Active Users</span> | |
| </div> | |
| </div> | |
| <div style="margin-top: 30px;"> | |
| <h4>Model Usage Distribution</h4> | |
| <div style="display: flex; gap: 10px; margin-top: 15px;"> | |
| <div style="flex: 70; background: rgba(156,142,125,0.3); padding: 10px; border-radius: 8px; text-align: center;"> | |
| <div>HuggingFace</div> | |
| <div style="font-size: 0.9rem; color: #9C8E7D;">70%</div> | |
| </div> | |
| <div style="flex: 15; background: rgba(100,100,200,0.3); padding: 10px; border-radius: 8px; text-align: center;"> | |
| <div>GPT-4</div> | |
| <div style="font-size: 0.9rem; color: #9C8E7D;">15%</div> | |
| </div> | |
| <div style="flex: 10; background: rgba(200,100,100,0.3); padding: 10px; border-radius: 8px; text-align: center;"> | |
| <div>Gemini</div> | |
| <div style="font-size: 0.9rem; color: #9C8E7D;">10%</div> | |
| </div> | |
| <div style="flex: 5; background: rgba(100,200,100,0.3); padding: 10px; border-radius: 8px; text-align: center;"> | |
| <div>Others</div> | |
| <div style="font-size: 0.9rem; color: #9C8E7D;">5%</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div style="margin-top: 30px;"> | |
| <h4>Recent Activity</h4> | |
| <div style="margin-top: 15px; display: flex; flex-direction: column; gap: 10px;"> | |
| <div style="padding: 10px; background: rgba(255,255,255,0.05); border-radius: 8px;"> | |
| <div style="display: flex; justify-content: space-between;"> | |
| <span>User Query: Contract Review</span> | |
| <span style="color: #9C8E7D;">2 mins ago</span> | |
| </div> | |
| </div> | |
| <div style="padding: 10px; background: rgba(255,255,255,0.05); border-radius: 8px;"> | |
| <div style="display: flex; justify-content: space-between;"> | |
| <span>Super Agent Task: Case Analysis</span> | |
| <span style="color: #9C8E7D;">15 mins ago</span> | |
| </div> | |
| </div> | |
| <div style="padding: 10px; background: rgba(255,255,255,0.05); border-radius: 8px;"> | |
| <div style="display: flex; justify-content: space-between;"> | |
| <span>Voice Clone Generated</span> | |
| <span style="color: #9C8E7D;">1 hour ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="brain-tab" class="tab-content"> | |
| <div class="brain-interface"> | |
| <h3>🧠 Unified Brain System</h3> | |
| <p>Advanced reasoning protocols and cognitive architecture.</p> | |
| <div class="protocol-grid"> | |
| <div class="protocol-card"> | |
| <h4>Core Reasoning</h4> | |
| <ul style="padding-left: 20px; margin-top: 10px;"> | |
| <li>Chain-of-Thought</li> | |
| <li>Self-Consistency</li> | |
| <li>Tree-of-Thoughts</li> | |
| <li>ReAct (Reasoning + Acting)</li> | |
| <li>Reflexion</li> | |
| <li>RAG (Retrieval Augmented Generation)</li> | |
| </ul> | |
| </div> | |
| <div class="protocol-card"> | |
| <h4>Quantum-Specific</h4> | |
| <ul style="padding-left: 20px; margin-top: 10px;"> | |
| <li>Quantum Job Orchestration</li> | |
| <li>Variational Quantum Eigensolver</li> | |
| <li>Quantum Approximate Optimization</li> | |
| <li>Circuit Transpilation</li> | |
| <li>Error Mitigation</li> | |
| </ul> | |
| </div> | |
| <div class="protocol-card"> | |
| <h4>Multi-Agent</h4> | |
| <ul style="padding-left: 20px; margin-top: 10px;"> | |
| <li>Quantum Coordination</li> | |
| <li>Contract Net Protocol</li> | |
| <li>Distributed Task Allocation</li> | |
| <li>Consensus Building</li> | |
| <li>Resource Management</li> | |
| </ul> | |
| </div> | |
| <div class="protocol-card"> | |
| <h4>Verification & Optimization</h4> | |
| <ul style="padding-left: 20px; margin-top: 10px;"> | |
| <li>Self-Verification</li> | |
| <li>Contradiction Detection</li> | |
| <li>Optimization Loops</li> | |
| <li>Memory Consolidation</li> | |
| <li>Performance Tuning</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div style="margin-top: 30px; padding: 20px; background: rgba(255,255,255,0.05); border-radius: 12px;"> | |
| <h4>Brain Status</h4> | |
| <div style="display: flex; gap: 20px; margin-top: 15px;"> | |
| <div> | |
| <div>Active Protocols: <strong>12/100</strong></div> | |
| <div>Memory Capacity: <strong>85%</strong></div> | |
| </div> | |
| <div> | |
| <div>Quantum Resources: <strong>Available</strong></div> | |
| <div>Processing Power: <strong>High</strong></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="privacy-tab" class="tab-content"> | |
| <div class="about-interface"> | |
| <h3>🔒 Privacy Center</h3> | |
| <p>Advanced privacy protection measures implemented in ProVerBs Legal AI</p> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-fingerprint privacy-icon"></i> | |
| <h4>Privacy-Preserving Voice Authentication</h4> | |
| </div> | |
| <p>Our system implements zero-knowledge verification for voice authentication without storing raw audio. Voice features are converted to irreversible templates and encrypted with user-specific keys.</p> | |
| <div class="privacy-badge">Zero-Knowledge Verification</div> | |
| <div class="privacy-badge">Irreversible Templates</div> | |
| <div class="privacy-badge">Secure Wiping</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-microchip privacy-icon"></i> | |
| <h4>Hardware-Based Privacy Protection</h4> | |
| </div> | |
| <p>Utilizes secure enclaves and trusted execution environments when available. Includes hardware microphone indicators to visually confirm recording status.</p> | |
| <div class="privacy-badge">Secure Enclaves</div> | |
| <div class="privacy-badge">Hardware Indicators</div> | |
| <div class="privacy-badge">Trusted Execution</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-network-wired privacy-icon"></i> | |
| <h4>Network Privacy Protection</h4> | |
| </div> | |
| <p>Implements application firewalls with default-deny policies. Monitors all network activity and uses encrypted DNS to prevent ISP snooping.</p> | |
| <div class="privacy-badge">Application Firewall</div> | |
| <div class="privacy-badge">Encrypted DNS</div> | |
| <div class="privacy-badge">Connection Monitoring</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-chart-bar privacy-icon"></i> | |
| <h4>Privacy-Preserving Telemetry</h4> | |
| </div> | |
| <p>Optional telemetry with differential privacy techniques. All data is anonymized and statistical noise is added to prevent individual identification.</p> | |
| <div class="privacy-badge">Differential Privacy</div> | |
| <div class="privacy-badge">Anonymization</div> | |
| <div class="privacy-badge">User Consent</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-sync-alt privacy-icon"></i> | |
| <h4>Privacy-First Update System</h4> | |
| </div> | |
| <p>Updates checked and downloaded anonymously using anonymizing networks. All new permissions are disclosed and require explicit user consent.</p> | |
| <div class="privacy-badge">Anonymous Updates</div> | |
| <div class="privacy-badge">Permission Transparency</div> | |
| <div class="privacy-badge">Signature Verification</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-user-shield privacy-icon"></i> | |
| <h4>Privacy Impact Assessment System</h4> | |
| </div> | |
| <p>Automatically analyzes privacy implications of commands before execution. Suggests privacy-preserving alternatives and requires informed consent for high-risk operations.</p> | |
| <div class="privacy-badge">Risk Analysis</div> | |
| <div class="privacy-badge">Mitigation Suggestions</div> | |
| <div class="privacy-badge">Informed Consent</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-context privacy-icon"></i> | |
| <h4>Contextual Privacy System</h4> | |
| </div> | |
| <p>Adapts privacy settings based on detected context (location, network, nearby devices). Applies appropriate privacy profiles automatically.</p> | |
| <div class="privacy-badge">Context Detection</div> | |
| <div class="privacy-badge">Dynamic Profiles</div> | |
| <div class="privacy-badge">Location Awareness</div> | |
| </div> | |
| <div class="privacy-section"> | |
| <div class="privacy-header"> | |
| <i class="fas fa-gavel privacy-icon"></i> | |
| <h4>Privacy Compliance Automation</h4> | |
| </div> | |
| <p>Automatically verifies compliance with privacy regulations (GDPR, CCPA, HIPAA, etc.). Generates compliance reports and addresses gaps automatically.</p> | |
| <div class="privacy-badge">Regulation Compliance</div> | |
| <div class="privacy-badge">Automated Reporting</div> | |
| <div class="privacy-badge">Gap Remediation</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="about-tab" class="tab-content"> | |
| <div class="about-interface"> | |
| <h3>ℹ️ About ProVerBs Legal AI</h3> | |
| <p>The ultimate unified platform for legal AI assistance.</p> | |
| <div style="margin-top: 20px;"> | |
| <h4>Features</h4> | |
| <ul style="padding-left: 20px; margin-top: 10px; line-height: 1.6;"> | |
| <li><strong>Multi-AI Support:</strong> Access to 6 different AI models including GPT-4, Gemini, and open-source options</li> | |
| <li><strong>Specialized Legal Modes:</strong> Context-aware responses for contracts, research, compliance, and more</li> | |
| <li><strong>Advanced Reasoning:</strong> 100+ cognitive protocols for sophisticated legal analysis</li> | |
| <li><strong>Voice Cloning:</strong> Personalized legal document narration</li> | |
| <li><strong>Super Agent:</strong> Complex task orchestration with dual analysis</li> | |
| <li><strong>Real-time Analytics:</strong> Performance tracking and insights</li> | |
| </ul> | |
| </div> | |
| <div style="margin-top: 30px;"> | |
| <h4>Technology Stack</h4> | |
| <div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 15px;"> | |
| <div style="padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center;"> | |
| <div style="font-size: 1.5rem; margin-bottom: 5px;">🤖</div> | |
| <div>AI Models</div> | |
| </div> | |
| <div style="padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center;"> | |
| <div style="font-size: 1.5rem; margin-bottom: 5px;">🧠</div> | |
| <div>Reasoning Engine</div> | |
| </div> | |
| <div style="padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center;"> | |
| <div style="font-size: 1.5rem; margin-bottom: 5px;">📊</div> | |
| <div>Analytics</div> | |
| </div> | |
| <div style="padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center;"> | |
| <div style="font-size: 1.5rem; margin-bottom: 5px;">🎙️</div> | |
| <div>Voice Tech</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div style="margin-top: 30px; padding: 20px; background: rgba(156,142,125,0.1); border-radius: 12px; border: 1px solid rgba(156,142,125,0.2);"> | |
| <h4>Proprietary Technology</h4> | |
| <p style="line-height: 1.6; margin-top: 10px;"> | |
| ProVerBs Legal AI is powered by proprietary reasoning protocols including the Dual Analysis Law Perspective™ methodology. | |
| Our Unified Brain system integrates advanced cognitive architectures with quantum-inspired optimization algorithms. | |
| </p> | |
| <p style="line-height: 1.6; margin-top: 10px;"> | |
| All implementations are protected under our open-source protocol: Pro'VerBs™ and ADAPPT-I™ Technology. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Tab switching functionality | |
| document.querySelectorAll('.tab-button').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const tabId = button.getAttribute('data-tab'); | |
| // Update active tab button | |
| document.querySelectorAll('.tab-button').forEach(btn => { | |
| btn.classList.remove('active'); | |
| }); | |
| button.classList.add('active'); | |
| // Show active tab content | |
| document.querySelectorAll('.tab-content').forEach(content => { | |
| content.classList.remove('active'); | |
| }); | |
| document.getElementById(`${tabId}-tab`).classList.add('active'); | |
| }); | |
| }); | |
| // Slider value updates | |
| document.getElementById('tokens-slider').addEventListener('input', function() { | |
| document.getElementById('tokens-value').textContent = this.value; | |
| }); | |
| document.getElementById('temp-slider').addEventListener('input', function() { | |
| document.getElementById('temp-value').textContent = parseFloat(this.value).toFixed(1); | |
| }); | |
| document.getElementById('topp-slider').addEventListener('input', function() { | |
| document.getElementById('topp-value').textContent = parseFloat(this.value).toFixed(2); | |
| }); | |
| document.getElementById('agent-tokens-slider').addEventListener('input', function() { | |
| document.getElementById('agent-tokens-value').textContent = this.value; | |
| }); | |
| document.getElementById('agent-temp-slider').addEventListener('input', function() { | |
| document.getElementById('agent-temp-value').textContent = parseFloat(this.value).toFixed(1); | |
| }); | |
| document.getElementById('agent-topp-slider').addEventListener('input', function() { | |
| document.getElementById('agent-topp-value').textContent = parseFloat(this.value).toFixed(2); | |
| }); | |
| // Chat functionality | |
| function sendMessage(inputElement, messagesElement, isAgent = false) { | |
| const message = inputElement.value.trim(); | |
| if (!message) return; | |
| // Add user message | |
| const userMessageDiv = document.createElement('div'); | |
| userMessageDiv.classList.add('message', 'user-message'); | |
| userMessageDiv.textContent = message; | |
| messagesElement.appendChild(userMessageDiv); | |
| // Clear input | |
| inputElement.value = ''; | |
| // Scroll to bottom | |
| messagesElement.scrollTop = messagesElement.scrollHeight; | |
| // Simulate AI response after delay | |
| setTimeout(() => { | |
| const aiMessageDiv = document.createElement('div'); | |
| aiMessageDiv.classList.add('message', 'assistant-message'); | |
| if (isAgent) { | |
| aiMessageDiv.innerHTML = ` | |
| <strong>Super Agent Response:</strong><br><br> | |
| I've analyzed your request regarding "${message}". Based on my dual analysis approach:<br><br> | |
| <strong>Lawful Perspective:</strong> Considering natural law and inherent rights...<br> | |
| <strong>Legal Perspective:</strong> According to statutory regulations and precedents...<br><br> | |
| For complex legal matters like this, I recommend consulting with a licensed attorney for definitive guidance. | |
| `; | |
| } else { | |
| const provider = document.getElementById('ai-provider').value; | |
| const mode = document.getElementById('legal-mode').value; | |
| const reasoningEnabled = document.getElementById('reasoning-toggle').checked; | |
| let responsePrefix = ''; | |
| if (reasoningEnabled) { | |
| responsePrefix = '<strong>🧠 Reasoning Protocols Applied:</strong><br>- Legal Research: ✅ Complete<br>- Compliance Check: ✅ Validated<br><br>'; | |
| } | |
| aiMessageDiv.innerHTML = `${responsePrefix}Based on ${provider} and ${mode} mode, here's my analysis of "${message}":<br><br>This is a simulated response from the ProVerBs Legal AI system. In a real implementation, this would connect to various AI providers and apply specialized legal reasoning protocols.`; | |
| } | |
| messagesElement.appendChild(aiMessageDiv); | |
| messagesElement.scrollTop = messagesElement.scrollHeight; | |
| }, 1000); | |
| } | |
| // Event listeners for send buttons | |
| document.getElementById('send-button').addEventListener('click', () => { | |
| const input = document.getElementById('message-input'); | |
| const messages = document.getElementById('chat-messages'); | |
| sendMessage(input, messages); | |
| }); | |
| document.getElementById('message-input').addEventListener('keypress', (e) => { | |
| if (e.key === 'Enter') { | |
| const input = document.getElementById('message-input'); | |
| const messages = document.getElementById('chat-messages'); | |
| sendMessage(input, messages); | |
| } | |
| }); | |
| document.getElementById('agent-send').addEventListener('click', () => { | |
| const input = document.getElementById('agent-input'); | |
| const messages = document.getElementById('agent-messages'); | |
| sendMessage(input, messages, true); | |
| }); | |
| document.getElementById('agent-input').addEventListener('keypress', (e) => { | |
| if (e.key === 'Enter') { | |
| const input = document.getElementById('agent-input'); | |
| const messages = document.getElementById('agent-messages'); | |
| sendMessage(input, messages, true); | |
| } | |
| }); | |
| // Initialize slider values | |
| document.getElementById('tokens-value').textContent = document.getElementById('tokens-slider').value; | |
| document.getElementById('temp-value').textContent = parseFloat(document.getElementById('temp-slider').value).toFixed(1); | |
| document.getElementById('topp-value').textContent = parseFloat(document.getElementById('topp-slider').value).toFixed(2); | |
| document.getElementById('agent-tokens-value').textContent = document.getElementById('agent-tokens-slider').value; | |
| document.getElementById('agent-temp-value').textContent = parseFloat(document.getElementById('agent-temp-slider').value).toFixed(1); | |
| document.getElementById('agent-topp-value').textContent = parseFloat(document.getElementById('agent-topp-slider').value).toFixed(2); | |
| // Add hover effect to feature cards | |
| const featureCards = document.querySelectorAll('.feature-card'); | |
| featureCards.forEach(card => { | |
| card.addEventListener('mouseenter', () => { | |
| card.style.transform = 'translateY(-10px)'; | |
| }); | |
| card.addEventListener('mouseleave', () => { | |
| card.style.transform = 'translateY(0)'; | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |