cal-vbeta1-03 / index.html
privateuserh's picture
Update index.html
1e13972 verified
raw
history blame
48.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ClassAction Connect (SaaS) | Free Legal Referrals for Class Action Lawsuits</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#2c3e50',
secondary: '#3498db',
accent: '#e74c3c',
}
}
}
}
</script>
<style>
.hero-gradient {
background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}
.lawsuit-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.animate-bounce-slow {
animation: bounce 3s infinite;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.form-input:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
}
.coming-soon {
position: relative;
overflow: hidden;
}
.coming-soon::after {
content: "COMING SOON";
position: absolute;
top: 10px;
right: -30px;
background: #e74c3c;
color: white;
font-size: 12px;
font-weight: bold;
padding: 2px 30px;
transform: rotate(45deg);
box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
/* AI Chatbot Styles */
.chatbot-container {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 1000;
transition: all 0.3s ease;
}
.chatbot-window {
width: 350px;
height: 500px;
background: white;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
overflow: hidden;
display: none;
transform: translateY(20px);
opacity: 0;
transition: all 0.3s ease;
}
.chatbot-window.active {
display: block;
transform: translateY(0);
opacity: 1;
}
.chatbot-header {
background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chatbot-messages {
height: 370px;
padding: 15px;
overflow-y: auto;
background: #f9f9f9;
}
.chatbot-input {
padding: 15px;
border-top: 1px solid #eee;
background: white;
}
.message {
margin-bottom: 15px;
max-width: 80%;
padding: 10px 15px;
border-radius: 18px;
font-size: 14px;
line-height: 1.4;
}
.user-message {
background: #3498db;
color: white;
margin-left: auto;
border-bottom-right-radius: 5px;
}
.bot-message {
background: #e9ecef;
color: #333;
margin-right: auto;
border-bottom-left-radius: 5px;
}
.typing-indicator {
display: flex;
padding: 10px 15px;
}
.typing-indicator span {
height: 8px;
width: 8px;
background: #ccc;
border-radius: 50%;
display: inline-block;
margin-right: 3px;
animation: typing 1s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) {
animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typing {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
/* Floating Button Styles */
.floating-button {
position: fixed;
width: 60px;
height: 60px;
background: #e74c3c;
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
cursor: pointer;
z-index: 1000;
transition: all 0.3s ease;
}
.floating-button:hover {
transform: scale(1.1);
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.floating-form {
position: fixed;
width: 350px;
background: white;
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
padding: 20px;
display: none;
z-index: 1000;
transform: translateY(20px);
opacity: 0;
transition: all 0.3s ease;
}
.floating-form.active {
display: block;
transform: translateY(0);
opacity: 1;
}
.confidential-badge {
position: absolute;
top: -10px;
right: -10px;
background: #2c3e50;
color: white;
padding: 5px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: bold;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* Defamation Meter Styles */
.meter-container {
width: 100%;
height: 30px;
background: #f3f3f3;
border-radius: 15px;
margin: 15px 0;
overflow: hidden;
}
.meter-bar {
height: 100%;
border-radius: 15px;
background: linear-gradient(90deg, #f39c12, #e74c3c);
width: 0%;
transition: width 0.5s ease;
position: relative;
}
.meter-threshold {
position: absolute;
height: 100%;
width: 2px;
background: #2c3e50;
left: 70%;
}
.meter-threshold::after {
content: "70% Win Threshold";
position: absolute;
top: -25px;
left: -60px;
width: 140px;
font-size: 12px;
font-weight: bold;
color: #2c3e50;
}
.meter-labels {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #666;
margin-top: 5px;
}
/* Defamation Factors */
.factor-item {
display: flex;
align-items: center;
margin-bottom: 10px;
cursor: pointer;
}
.factor-checkbox {
width: 20px;
height: 20px;
border: 2px solid #3498db;
border-radius: 4px;
margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.factor-checkbox.checked {
background: #3498db;
color: white;
}
.factor-label {
flex-grow: 1;
}
.factor-weight {
font-weight: bold;
color: #2c3e50;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-primary text-white shadow-lg">
<div class="container mx-auto px-4 py-3">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-balance-scale text-2xl text-accent"></i>
<a href="#" class="text-xl font-bold">ClassAction<span class="text-secondary">Connect</span></a>
</div>
<div class="hidden md:flex space-x-6">
<a href="#how-it-works" class="hover:text-secondary transition">How It Works</a>
<a href="#active-lawsuits" class="hover:text-secondary transition">Active Lawsuits</a>
<a href="#faq" class="hover:text-secondary transition">FAQ</a>
<a href="#contact" class="hover:text-secondary transition">Contact</a>
</div>
<button class="md:hidden text-xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient text-white py-16 md:py-24">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Join Class Action Lawsuits <span class="text-accent">For Free</span></h1>
<p class="text-xl mb-8">We refer you to top class action attorneys at no cost. No fees. No hidden charges. Just justice.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<a href="#signup" class="bg-accent hover:bg-red-600 text-white font-bold py-3 px-6 rounded-lg text-center transition">Sign Up Now</a>
<a href="#how-it-works" class="bg-white hover:bg-gray-100 text-primary font-bold py-3 px-6 rounded-lg text-center transition">Learn More</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="bg-white rounded-xl p-6 shadow-2xl max-w-md coming-soon">
<h3 class="text-primary text-xl font-bold mb-4">Check Your Eligibility</h3>
<div class="text-gray-600 mb-6">
<p>Our sign-up module will be available soon. Please check back to see if you qualify for any active class action lawsuits.</p>
</div>
<div class="bg-blue-50 border border-blue-200 text-blue-700 px-4 py-3 rounded">
<p>Sign-up coming in <span class="font-bold">July 2023</span></p>
</div>
</div>
<div class="absolute -top-6 -right-6 bg-yellow-400 text-primary px-4 py-2 rounded-full font-bold shadow-lg animate-bounce-slow hidden md:block">
No Fees!
</div>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="bg-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 text-center">
<div class="p-4">
<div class="text-4xl font-bold text-primary mb-2">250+</div>
<div class="text-gray-600">Active Lawsuits</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold text-primary mb-2">$1.2B+</div>
<div class="text-gray-600">Recovered for Clients</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold text-primary mb-2">100%</div>
<div class="text-gray-600">No Cost to Join</div>
</div>
<div class="p-4">
<div class="text-4xl font-bold text-primary mb-2">50+</div>
<div class="text-gray-600">Partner Law Firms</div>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section id="how-it-works" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-primary mb-12">How It Works</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md text-center">
<div class="bg-secondary text-white w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 text-2xl">1</div>
<h3 class="text-xl font-bold mb-3">Submit Your Information</h3>
<p class="text-gray-600">Complete our simple form to tell us about your potential claim. It takes less than 2 minutes.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md text-center">
<div class="bg-secondary text-white w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 text-2xl">2</div>
<h3 class="text-xl font-bold mb-3">We Refer You With Attorneys</h3>
<p class="text-gray-600">Our system connects you with qualified attorneys handling relevant class actions.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md text-center">
<div class="bg-secondary text-white w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 text-2xl">3</div>
<h3 class="text-xl font-bold mb-3">You Join the Lawsuit</h3>
<p class="text-gray-600">The attorney will contact you with next steps to join the class action at no cost to you.</p>
</div>
</div>
</div>
</section>
<!-- Active Lawsuits -->
<section id="active-lawsuits" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-primary mb-12">Active Class Action Lawsuits</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Lawsuit Card 1 -->
<div class="lawsuit-card bg-white border border-gray-200 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="bg-primary p-4 text-white">
<h3 class="font-bold text-lg">Data Privacy Violations</h3>
</div>
<div class="p-5">
<p class="text-gray-600 mb-4">Multiple companies facing lawsuits for unauthorized collection and sharing of personal data without consent.</p>
<div class="flex justify-between items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Active</span>
<a href="#" class="text-secondary font-medium hover:underline">Learn More</a>
</div>
</div>
</div>
<!-- Lawsuit Card 2 -->
<div class="lawsuit-card bg-white border border-gray-200 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="bg-primary p-4 text-white">
<h3 class="font-bold text-lg">Defamation Cases</h3>
</div>
<div class="p-5">
<p class="text-gray-600 mb-4">Class actions against companies and individuals for false statements causing reputational harm.</p>
<div class="flex justify-between items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Active</span>
<a href="#" class="text-secondary font-medium hover:underline">Learn More</a>
</div>
</div>
</div>
<!-- Lawsuit Card 3 -->
<div class="lawsuit-card bg-white border border-gray-200 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="bg-primary p-4 text-white">
<h3 class="font-bold text-lg">Wage & Hour Violations</h3>
</div>
<div class="p-5">
<p class="text-gray-600 mb-4">Multiple employers accused of failing to pay overtime or misclassifying employees as exempt.</p>
<div class="flex justify-between items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px 2.5 py-0.5 rounded">Active</span>
<a href="#" class="text-secondary font-medium hover:underline">Learn More</a>
</div>
</div>
</div>
<!-- Lawsuit Card 4 -->
<div class="lawsuit-card bg-white border border-gray-200 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="bg-primary p-4 text-white">
<h3 class="font-bold text-lg">False Advertising</h3>
</div>
<div class="p-5">
<p class="text-gray-600 mb-4">Consumer products that failed to deliver promised results or contained undisclosed ingredients.</p>
<div class="flex justify-between items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Active</span>
<a href="#" class="text-secondary font-medium hover:underline">Learn More</a>
</div>
</div>
</div>
<!-- Lawsuit Card 5 -->
<div class="p-5">
<p class="text-gray-600 mb-4">Investors alleging companies made false or misleading statements affecting stock prices.</p>
<div class="flex justify-between items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Active</span>
<a href="#" class="text-secondary font-medium hover:underline">Learn More</a>
</div>
</div>
</div>
<!-- Lawsuit Card 6 -->
<div class="lawsuit-card bg-white border border-gray-200 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="bg-primary p-4 text-white">
<h3 class="font-bold text-lg">View All Lawsuits</h3>
</div>
<div class="p-5 flex flex-col items-center justify-center h-full">
<i class="fas fa-search text-4xl text-secondary mb-4"></i>
<a href="#" class="text-secondary font-medium hover:underline text-lg">Browse All Active Cases</a>
</div>
</div>
</div>
</div>
</section>
<!-- Signup Form -->
<section id="signup" class="py-16 bg-primary text-white">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<h2 class="text-3xl font-bold mb-4">Sign Up Coming Soon</h2>
<p class="text-xl mb-8">Our class action sign-up module will be available in July 2023. Check back then to see if you qualify for any active lawsuits.</p>
<div class="bg-white rounded-xl p-8 shadow-lg text-left text-gray-700">
<div class="flex items-center justify-center">
<div class="text-center">
<i class="fas fa-clock text-5xl text-secondary mb-4"></i>
<h3 class="text-2xl font-bold mb-2">Sign Up Not Yet Available</h3>
<p class="mb-6">We're currently finalizing our system to ensure the best experience for our users.</p>
<div class="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 mb-6">
<p>Expected launch: <span class="font-bold">July 15, 2023</span></p>
</div>
<p>In the meantime, you can browse our active lawsuits above or read our FAQ below.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section id="faq" class="py-16 bg-white">
<div class="container mx-auto px-4 max-w-3xl">
<h2 class="text-3xl font-bold text-center text-primary mb-12">Frequently Asked Questions</h2>
<div class="space-y-4">
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 bg-gray-50 hover:bg-gray-100 transition font-medium">
<div class="flex justify-between items-center">
<span>Is there really no cost to use this service?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</div>
</button>
<div class="faq-answer p-4 border-t border-gray-200 hidden">
<p class="text-gray-600">Yes, our service is completely free for consumers. We provide this module as a public service (subject to change).</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 bg-gray-50 hover:bg-gray-100 transition font-medium">
<div class="flex justify-between items-center">
<span>How long do class action lawsuits take?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</div>
</button>
<div class="faq-answer p-4 border-t border-gray-200 hidden">
<p class="text-gray-600">Class actions can take anywhere from several months to several years to resolve, depending on the complexity of the case and whether it goes to trial or settles. We'll keep you informed throughout the process.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 bg-gray-50 hover:bg-gray-100 transition font-medium">
<div class="flex justify-between items-center">
<span>What information do I need to provide?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</div>
</button>
<div class="faq-answer p-4 border-t border-gray-200 hidden">
<p class="text-gray-600">At minimum, we need your contact information and basic details about your situation. Depending on the case, the attorney may later request documentation like receipts, medical records, or employment documents.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 bg-gray-50 hover:bg-gray-100 transition font-medium">
<div class="flex justify-between items-center">
<span>How much compensation can I expect?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</div>
</button>
<div class="faq-answer p-4 border-t border-gray-200 hidden">
<p class="text-gray-600">Compensation varies widely depending on the case. Some class actions result in small payments to each member, while others can provide significant compensation. The attorney will be able to give you a better estimate after reviewing your specific circumstances.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 bg-gray-50 hover:bg-gray-100 transition font-medium">
<div class="flex justify-between items-center">
<span>What if I'm not sure if I qualify?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</div>
</button>
<div class="faq-answer p-4 border-t border-gray-200 hidden">
<p class="text-gray-600">It doesn't hurt to submit your information. Our matching system and the attorneys we work with can help determine if you qualify. There's no obligation if you don't qualify for any current cases.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Contact -->
<section id="contact" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<h3 class="text-xl font-bold mb-4">Our Information</h3>
<div class="space-y-4">
<div class="flex items-start">
<i class="fas fa-map-marker-alt text-secondary mt-1 mr-3"></i>
<div>
<div class="font-medium">Address</div>
<div class="text-gray-600">123 Justice Ave, Suite 100<br>San Francisco, CA 94107</div>
</div>
</div>
<div class="flex items-start">
<i class="fas fa-phone-alt text-secondary mt-1 mr-3"></i>
<div>
<div class="font-medium">Phone</div>
<div class="text-gray-600">(800) 555-0199</div>
</div>
</div>
<div class="flex items-start">
<i class="fas fa-envelope text-secondary mt-1 mr-3"></i>
<div>
<div class="font-medium">Email</div>
<div class="text-gray-600">[email protected]</div>
</div>
</div>
<div class="flex items-start">
<i class="fas fa-clock text-secondary mt-1 mr-3"></i>
<div>
<div class="font-medium">Hours</div>
<div class="text-gray-600">Monday-Friday: 9am-6pm EST</div>
</div>
</div>
</div>
<div class="mt-6 pt-6 border-t border-gray-200">
<h4 class="font-medium mb-3">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center text-gray-700 hover:bg-secondary hover:text-white transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center text-gray-700 hover:bg-secondary hover:text-white transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center text-gray-700 hover:bg-secondary hover:text-white transition">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-primary text-white py-8">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i class="fas fa-balance-scale text-xl text-accent"></i>
<a href="#" class="text-xl font-bold">ClassAction<span class="text-secondary">Connect</span></a>
</div>
<p class="text-gray-300">Connecting consumers with class action justice since 2015.</p>
</div>
<div>
<h4 class="font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white transition">Home</a></li>
<li><a href="#how-it-works" class="text-gray-300 hover:text-white transition">How It Works</a></li>
<li><a href="#active-lawsuits" class="text-gray-300 hover:text-white transition">Active Lawsuits</a></li>
<li><a href="#faq" class="text-gray-300 hover:text-white transition">FAQ</a></li>
<li><a href="#contact" class="text-gray-300 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Legal</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white transition">Terms of Service</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Privacy Policy</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Attorney Advertising</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Do Not Sell My Info</a></li>
</ul>
</div>
<div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>© 2025 ClassActionConnect (SaaS). All rights reserved. This is not a law firm. We are a free legal referral SaaS.</p>
<p class="mt-2 text-sm">Attorney Advertising: Prior results do not guarantee similar outcomes.</p>
</div>
</div>
</footer>
<!-- Floating Confidential Plaintiff Button -->
<div class="floating-button" id="floatingButton" style="bottom: 30px; left: 30px;">
<i class="fas fa-user-shield text-xl"></i>
</div>
<!-- Floating Defamation Metrics Button -->
<div class="floating-button" id="defamationButton" style="bottom: 110px; left: 30px; background: #9b59b6;">
<i class="fas fa-chart-line text-xl"></i>
</div>
<!-- Confidential Form -->
<div class="floating-form" id="floatingForm">
<div class="confidential-badge">
<i class="fas fa-lock mr-1"></i> CONFIDENTIAL
</div>
<h3 class="text-xl font-bold mb-4 text-primary">Submit Potential Claim</h3>
<form id="confidentialForm">
<div class="mb-4">
<label class="block text-gray-700 mb-1">Your Name (Optional)</label>
<input type="text" class="form-input w-full p-2 border border-gray-300 rounded-lg" placeholder="Remains confidential">
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-1">Email</label>
<input type="email" required class="form-input w-full p-2 border border-gray-300 rounded-lg" placeholder="For attorney contact">
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-1">Phone (Optional)</label>
<input type="tel" class="form-input w-full p-2 border border-gray-300 rounded-lg" placeholder="For attorney contact">
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-1">Describe Your Potential Claim</label>
<textarea required class="form-input w-full p-2 border border-gray-300 rounded-lg h-24" placeholder="Briefly describe your situation"></textarea>
</div>
<div class="mb-4">
<label class="flex items-center">
<input type="checkbox" required class="form-checkbox">
<span class="ml-2 text-gray-700 text-sm">I understand this information will be shared with attorneys but remains confidential</span>
</label>
</div>
<button type="submit" class="w-full bg-accent hover:bg-red-600 text-white font-bold py-2 px-4 rounded-lg transition">
Submit Confidentially
</button>
</form>
</div>
<!-- Defamation Metrics Form -->
<div class="floating-form" id="defamationForm" style="bottom: 200px; left: 30px;">
<div class="confidential-badge">
<i class="fas fa-gavel mr-1"></i> DEFAMATION METRICS
</div>
<h3 class="text-xl font-bold mb-4 text-primary">Defamation Case Strength Analyzer</h3>
<div class="mb-4">
<h4 class="font-medium mb-2">Case Strength Meter</h4>
<div class="meter-container">
<div class="meter-bar" id="defamationMeter">
<div class="meter-threshold"></div>
</div>
</div>
<div class="meter-labels">
<span>Weak</span>
<span>Moderate</span>
<span>Strong</span>
</div>
<div class="text-center mt-2 text-sm" id="meterResult">
Select factors below to calculate your case strength
</div>
</div>
<div class="mb-4">
<h4 class="font-medium mb-2">Defamation Factors (Select all that apply)</h4>
<div class="factor-item" data-weight="15">
<div class="factor-checkbox">
<i class="fas fa-check" style="display: none;"></i>
</div>
<div class="factor-label">False statement was published or communicated to others</div>
<div class="factor-weight">15%</div>
</div>
<div class="factor-item" data-weight="20">
<div class="factor-checkbox">
<i class="fas fa-check" style="display: none;"></i>
</div>
<div class="factor-label">Statement was about you specifically</div>
<div class="factor-weight">20%</div>
</div>
<div class="factor-item" data-weight="25">
<div class="factor-checkbox">
<i class="fas fa-check" style="display: none;"></i>
</div>
<div class="factor-label">Statement harmed your reputation or caused damages</div>
<div class="factor-weight">25%</div>
</div>
<div class="factor-item" data-weight="15">
<div class="factor-checkbox">
<i class="fas fa-check" style="display: none;"></i>
</div>
<div class="factor-label">You have evidence of the false statement</div>
<div class="factor-weight">15%</div>
</div>
<div class="factor-item" data-weight="25">
<div class="factor-checkbox">
<i class="fas fa-check" style="display: none;"></i>
</div>
<div class="factor-label">Statement was made with malice or negligence</div>
<div class="factor-weight">25%</div>
</div>
</div>
<button id="analyzeCase" class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-2 px-4 rounded-lg transition">
Analyze My Case
</button>
</div>
<!-- AI General Assistant Chatbot -->
<div class="chatbot-container">
<div class="chatbot-window" id="chatbotWindow">
<div class="chatbot-header">
<div class="flex items-center">
<i class="fas fa-robot mr-2"></i>
<span>General Assistant</span>
</div>
<button id="closeChatbot" class="text-white hover:text-gray-200">
<i class="fas fa-times"></i>
</button>
</div>
<div class="chatbot-messages" id="chatbotMessages">
<div class="message bot-message">
Hello! I'm your general assistant here to help with general questions about our service.
</div>
<div class="message bot-message">
<p class="text-xs text-gray-500 italic mb-2">Note: I cannot provide legal advice. For legal questions, please consult with an attorney.</p>
You can ask me about:
<ul class="list-disc pl-5 mt-1">
<li>How our service works</li>
<li>General questions about class actions</li>
<li>Technical support</li>
<li>Account questions</li>
</ul>
</div>
</div>
<div class="chatbot-input">
<div class="flex">
<input type="text" id="chatbotInput" placeholder="Type your question..." class="flex-grow p-2 border border-gray-300 rounded-l-lg focus:outline-none">
<button id="sendChatbotMessage" class="bg-secondary hover:bg-blue-600 text-white px-4 rounded-r-lg">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<button id="chatbotButton" class="w-16 h-16 bg-secondary text-white rounded-full flex items-center justify-center shadow-lg hover:bg-blue-600 transition">
<i class="fas fa-robot text-2xl"></i>
</button>
</div>
<script>
// FAQ toggle functionality
document.querySelectorAll('.faq-question').forEach(button => {
button.addEventListener('click', () => {
const answer = button.nextElementSibling;
const icon = button.querySelector('i');
answer.classList.toggle('hidden');
icon.classList.toggle('rotate-180');
});
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Form submission handling (would be connected to backend in production)
document.querySelectorAll('form').forEach(form => {
form.addEventListener('submit', function(e) {
e.preventDefault();
alert('Thank you for your submission! We will contact you shortly.');
this.reset();
});
});
// Floating Button Functionality
const floatingButton = document.getElementById('floatingButton');
const floatingForm = document.getElementById('floatingForm');
const confidentialForm = document.getElementById('confidentialForm');
const defamationButton = document.getElementById('defamationButton');
const defamationForm = document.getElementById('defamationForm');
floatingButton.addEventListener('click', () => {
floatingForm.classList.toggle('active');
defamationForm.classList.remove('active');
});
defamationButton.addEventListener('click', () => {
defamationForm.classList.toggle('active');
floatingForm.classList.remove('active');
});
confidentialForm.addEventListener('submit', (e) => {
e.preventDefault();
alert('Your confidential information has been submitted securely. An attorney will review your potential claim and contact you if appropriate.');
floatingForm.classList.remove('active');
confidentialForm.reset();
});
// Defamation Metrics Functionality
const factorItems = document.querySelectorAll('.factor-item');
const defamationMeter = document.getElementById('defamationMeter');
const meterResult = document.getElementById('meterResult');
const analyzeButton = document.getElementById('analyzeCase');
let selectedFactors = [];
factorItems.forEach(item => {
const checkbox = item.querySelector('.factor-checkbox');
const checkIcon = item.querySelector('.fa-check');
const weight = parseInt(item.getAttribute('data-weight'));
item.addEventListener('click', () => {
checkbox.classList.toggle('checked');
checkIcon.style.display = checkbox.classList.contains('checked') ? 'block' : 'none';
if (checkbox.classList.contains('checked')) {
selectedFactors.push(weight);
} else {
selectedFactors = selectedFactors.filter(w => w !== weight);
}
});
});
analyzeButton.addEventListener('click', () => {
if (selectedFactors.length === 0) {
meterResult.textContent = "Please select at least one factor to analyze";
meterResult.style.color = "#e74c3c";
return;
}
const totalWeight = selectedFactors.reduce((sum, weight) => sum + weight, 0);
const percentage = Math.min(totalWeight, 100);
defamationMeter.style.width = `${percentage}%`;
if (percentage >= 70) {
meterResult.innerHTML = `<span style="color: #27ae60;">Strong case (${percentage}%) - Above threshold</span>`;
} else if (percentage >= 40) {
meterResult.innerHTML = `<span style="color: #f39c12;">Moderate case (${percentage}%) - Needs more evidence</span>`;
} else {
meterResult.innerHTML = `<span style="color: #e74c3c;">Weak case (${percentage}%) - Unlikely to succeed</span>`;
}
});
// Chatbot Functionality
const chatbotButton = document.getElementById('chatbotButton');
const chatbotWindow = document.getElementById('chatbotWindow');
const closeChatbot = document.getElementById('closeChatbot');
const chatbotMessages = document.getElementById('chatbotMessages');
const chatbotInput = document.getElementById('chatbotInput');
const sendChatbotMessage = document.getElementById('sendChatbotMessage');
let chatbotActive = false;
// Bot responses
const botResponses = {
"hello": "Hello! How can I assist you today?",
"hi": "Hi there! What would you like to know about our service?",
"how does this work": "Our service works in 3 simple steps:\n1. You submit information about your potential claim\n2. We match you with attorneys handling relevant cases\n3. The attorney contacts you to discuss joining the lawsuit\n\nAll at no cost to you!",
"account": "For account-related questions, please visit our contact page or email [email protected]",
"support": "For technical support, please describe your issue and we'll do our best to help. You can also email [email protected]",
"contact": "You can reach us by:\n- Phone: (800) 555-0199\n- Email: [email protected]\n- Contact form on our website",
"legal": "I'm sorry, but I cannot provide legal advice. For legal questions, please consult with an attorney.",
"default": "I'm not sure I understand. Could you rephrase your question? You can ask about how our service works, account questions, or technical support."
};
// Toggle chatbot window
chatbotButton.addEventListener('click', () => {
chatbotActive = !chatbotActive;
if (chatbotActive) {
chatbotWindow.classList.add('active');
} else {
chatbotWindow.classList.remove('active');
}
});
closeChatbot.addEventListener('click', () => {
chatbotActive = false;
chatbotWindow.classList.remove('active');
});
// Send message function
function sendMessage() {
const message = chatbotInput.value.trim();
if (message === '') return;
// Add user message
addMessage(message, 'user');
chatbotInput.value = '';
// Bot response (simulated)
setTimeout(() => {
// Show typing indicator
const typingIndicator = document.createElement('div');
typingIndicator.className = 'typing-indicator';
typingIndicator.innerHTML = '<span></span><span></span><span></span>';
chatbotMessages.appendChild(typingIndicator);
chatbotMessages.scrollTop = chatbotMessages.scrollHeight;
// After delay, remove typing and add response
setTimeout(() => {
chatbotMessages.removeChild(typingIndicator);
// Find appropriate response
let response = botResponses.default;
const lowerMessage = message.toLowerCase();
for (const key in botResponses) {
if (lowerMessage.includes(key)) {
response = botResponses[key];
break;
}
}
addMessage(response, 'bot');
}, 1500);
}, 500);
}
// Add message to chat
function addMessage(text, sender) {
const messageDiv = document.createElement('div');
messageDiv.className = `message ${sender}-message`;
messageDiv.textContent = text;
chatbotMessages.appendChild(messageDiv);
chatbotMessages.scrollTop = chatbotMessages.scrollHeight;
}
// Send message on button click or enter key
sendChatbotMessage.addEventListener('click', sendMessage);
chatbotInput.addEventListener('keypress', (e) => {
if (e.key === 'Enter') {
sendMessage();
}
});
// Sample questions for first-time users
setTimeout(() => {
if (!chatbotMessages.querySelector('.user-message')) {
addMessage("Try asking: 'How does your service work?' or 'How can I contact support?'", 'bot');
}
}, 5000);
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=privateuserh/cal-vbeta1-03" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>