'use client' import { motion } from 'framer-motion' import { Language } from '@/lib/types' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' import { Upload, ScanLine, Search, AlertTriangle, FileText, UserCheck, ShieldCheck } from 'lucide-react' interface AnnexAgentWorkflowSlideProps { lang: Language } export default function AnnexAgentWorkflowSlide({ lang }: AnnexAgentWorkflowSlideProps) { const workflowSteps = [ { icon: Upload, title: 'Upload', desc: lang === 'de' ? 'Dokument-Upload (Verträge, Richtlinien, Aufzeichnungen)' : 'Document upload (contracts, policies, records)', color: 'text-blue-400' }, { icon: ScanLine, title: 'OCR', desc: lang === 'de' ? 'Automatische Textextraktion (PaddleOCR)' : 'Automatic text extraction (PaddleOCR)', color: 'text-purple-400' }, { icon: Search, title: lang === 'de' ? 'Analyse' : 'Analysis', desc: lang === 'de' ? 'KI analysiert gegen DSGVO/AI Act/NIS2' : 'AI analyzes against DSGVO/AI Act/NIS2', color: 'text-indigo-400' }, { icon: AlertTriangle, title: lang === 'de' ? 'Risikobewertung' : 'Risk Assessment', desc: lang === 'de' ? 'Automatische Risikoklassifizierung (niedrig/mittel/hoch/kritisch)' : 'Automatic risk classification (low/medium/high/critical)', color: 'text-amber-400' }, { icon: FileText, title: lang === 'de' ? 'Report-Generierung' : 'Report Generation', desc: lang === 'de' ? 'DSFA, VVT, TOM Dokumente automatisch erstellt' : 'DSFA, VVT, TOM documents auto-generated', color: 'text-green-400' }, { icon: UserCheck, title: lang === 'de' ? 'Human Review' : 'Human Review', desc: lang === 'de' ? 'Experte prüft und genehmigt' : 'Expert reviews and approves', color: 'text-cyan-400' } ] const humanInLoopFeatures = [ lang === 'de' ? 'KI schlägt vor, Mensch entscheidet' : 'AI suggests, human decides', lang === 'de' ? 'Kritische Entscheidungen erfordern Genehmigung' : 'Critical decisions require approval', lang === 'de' ? 'Audit-Trail für alle Aktionen' : 'Audit trail for all actions', lang === 'de' ? 'Compliance Officer immer in Kontrolle' : 'Compliance officer always in control' ] return (

{lang === 'de' ? 'Autonomer Compliance-Workflow' : 'Autonomous Compliance Workflow'}

{lang === 'de' ? 'End-to-End: Vom Upload bis zum fertigen Report' : 'End-to-end: From upload to finished report'}

{/* Workflow Steps */}
{workflowSteps.map((step, idx) => (
{lang === 'de' ? 'SCHRITT' : 'STEP'} {idx + 1}

{step.title}

{step.desc}

{/* Connection line to next step */} {idx < workflowSteps.length - 1 && (
)} ))}
{/* Human-in-the-Loop */}

{lang === 'de' ? 'Human-in-the-Loop' : 'Human-in-the-Loop'}

    {humanInLoopFeatures.map((feature, idx) => (

    {feature}

    ))}

{lang === 'de' ? 'KI automatisiert Routine, Mensch behält Kontrolle über kritische Entscheidungen' : 'AI automates routine, human retains control over critical decisions'}

) }