import Link from "next/link"; import { ShieldCheck, ShieldAlert, Scale, Gavel, ScanText, FileCheck, TriangleAlert, ArrowRight, Zap, Eye, Download, ChevronRight, Sparkles, Lock, Globe, Ban, FileX, Stamp, Layers, Tag, AlertTriangle, ClipboardList, Landmark, Building, BookOpen, CheckCircle, Cpu, MessageSquare, PenTool, ScanLine } from "lucide-react"; const CLAUSES = [ { icon: Scale, name: "Arbitration", desc: "Waives your right to sue in court", severity: "critical" }, { icon: ShieldAlert, name: "Liability limits", desc: "Company avoids responsibility for damages", severity: "critical" }, { icon: Ban, name: "Unilateral termination", desc: "They can close your account without reason", severity: "critical" }, { icon: FileX, name: "Unilateral change", desc: "Terms can change without your consent", severity: "high" }, { icon: Eye, name: "Content removal", desc: "Your content deleted without notice", severity: "high" }, { icon: Globe, name: "Jurisdiction", desc: "Disputes handled in their preferred court", severity: "medium" }, { icon: Gavel, name: "Choice of law", desc: "Foreign law overrides your local protections", severity: "medium" }, { icon: Lock, name: "IP Ownership", desc: "Intellectual property transferred entirely", severity: "critical" }, { icon: Layers, name: "41 CUAD Categories", desc: "Full taxonomy: NDA, MSA, SLA, and more", severity: "low" }, { icon: Tag, name: "ML Legal NER", desc: "Extract parties, dates, money, jurisdictions via Legal-BERT", severity: "low" }, { icon: AlertTriangle, name: "NLI Contradictions", desc: "Detect conflicting clauses with DeBERTa-v3 NLI model", severity: "high" }, { icon: ClipboardList, name: "Obligations", desc: "Track monetary, compliance, reporting tasks with priority", severity: "medium" }, { icon: Landmark, name: "Compliance", desc: "GDPR, CCPA, SOX, HIPAA, FINRA with negation detection", severity: "high" }, { icon: BookOpen, name: "Compare Contracts", desc: "Semantic similarity with sentence embeddings", severity: "low" }, { icon: PenTool, name: "Clause Redlining", desc: "AI suggests safer alternatives with legal citations", severity: "critical" }, { icon: MessageSquare, name: "Q&A Chatbot", desc: "Ask questions about your contract — RAG-powered answers", severity: "medium" }, { icon: ScanLine, name: "OCR for Scanned PDFs", desc: "docTR engine auto-detects and OCRs scanned contracts", severity: "low" }, { icon: Cpu, name: "6 AI Models", desc: "Legal-BERT, NER, NLI, Embeddings, OCR, Qwen2.5-7B LLM", severity: "low" }, ]; const STEPS = [ { icon: Download, title: "Upload or paste", desc: "Drop a PDF (even scanned!), DOCX, or paste contract text directly." }, { icon: ScanText, title: "6 AI models analyze", desc: "Legal-BERT + NER + NLI + OCR + Embeddings + LLM scan your contract." }, { icon: TriangleAlert, title: "Get precise insights", desc: "Risk score, redlining, Q&A chatbot, contradictions, obligations, and compliance." }, ]; const PRICING = [ { name: "Free", price: "0", period: "", highlight: false, cta: "Get started", features: ["10 scans per month", "41 clause categories", "Risk scoring", "ML Legal NER", "NLI contradiction detection", "Compliance with negation detection", "Clause redlining suggestions", "OCR for scanned PDFs"], }, { name: "Pro", price: "999", period: "/mo", highlight: true, cta: "Start free trial", features: ["Unlimited scans", "Upload PDF/DOCX files", "Contract comparison", "Q&A Chatbot (RAG)", "AI clause explanations", "LLM-refined redlining", "Scan history", "PDF report export", "Obligation tracker with priority", "Priority support"], }, { name: "Team", price: "3,999", period: "/mo", highlight: false, cta: "Talk to us", features: ["Everything in Pro", "5 team seats", "10,000 API calls", "Shared dashboard", "Slack support", "Custom clause rules", "Enterprise compliance"], }, ]; const sevColor: Record = { critical: "text-red-500 bg-red-50 border-red-200", high: "text-amber-500 bg-amber-50 border-amber-200", medium: "text-blue-500 bg-blue-50 border-blue-200", low: "text-emerald-500 bg-emerald-50 border-emerald-200", }; export default function Home() { return (
{/* Hero */}
6 AI models · 41 clause categories · RAG chatbot · clause redlining · OCR

Know what you are
agreeing to

ClauseGuard scans contracts using 6 AI models. Get clause detection, risk scoring, safer alternatives, Q&A chatbot, OCR for scanned PDFs, and compliance checks.

Try the scanner Compare contracts

No account needed for free tier. 10 scans/month.

{/* Features */}

Detection

18 powerful analysis features

Based on the CUAD taxonomy + CLAUDETTE framework. Now with RAG chatbot, clause redlining, and OCR.

{CLAUSES.map((c) => (

{c.name}

{c.desc}

))}
{/* How it works */}

How it works

Three steps, under 30 seconds

{STEPS.map((s, i) => (

{s.title}

{s.desc}

{i < 2 && }
))}
{/* Technology */}

Technology

Built on 6 production AI models

{[ { name: "Legal-BERT Classifier", icon: Cpu, desc: "LoRA fine-tuned on 41 CUAD categories with sigmoid multi-label classification", source: "Mokshith31/legalbert-contract-clause-classification" }, { name: "Legal-BERT NER", icon: Tag, desc: "Named entity recognition for parties, dates, money, jurisdictions", source: "matterstack/legal-bert-ner" }, { name: "DeBERTa-v3 NLI", icon: AlertTriangle, desc: "Semantic contradiction detection between clause pairs", source: "cross-encoder/nli-deberta-v3-base" }, { name: "RAG Chatbot", icon: MessageSquare, desc: "Embedding retrieval + Qwen2.5-7B LLM for contract Q&A", source: "all-MiniLM-L6-v2 + Qwen/Qwen2.5-7B-Instruct" }, { name: "Clause Redlining", icon: PenTool, desc: "18+ legal templates + LLM refinement for safer clause alternatives", source: "FTC/EU/CFPB standards + Qwen2.5-7B" }, { name: "docTR OCR", icon: ScanLine, desc: "Smart PDF router: auto-detects scanned PDFs and extracts text", source: "docTR fast_base + crnn_vgg16_bn" }, ].map((m) => (

{m.name}

{m.desc}

{m.source}

))}
{/* Pricing */}

Pricing

Free forever. Upgrade when you need more.

{PRICING.map((plan) => (

{plan.name}

INR {plan.price} {plan.period}

    {plan.features.map((f) => (
  • {f}
  • ))}
{plan.cta}
))}
{/* CTA */}

Read the fine print without reading it

Join thousands protecting themselves before clicking accept.

Get started free Compare contracts
{/* Footer */}
); }