'use client' import { Language } from '@/lib/types' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' import { FileCheck, Code, Zap, Shield, GitPullRequest, ArrowLeftRight, } from 'lucide-react' interface USPSlideProps { lang: Language } export default function USPSlide({ lang }: USPSlideProps) { const de = lang === 'de' const title = 'USP' const subtitle = de ? 'Die erste Plattform, die Compliance-Dokumente und tatsächliche Code-Umsetzung verbindet' : 'The first platform that connects compliance documents with actual code implementation' const complianceItems = de ? ['DSGVO-Dokumente (VVT, DSFA, TOMs)', 'Audit-Management & Nachweise', 'Kunden-Anforderungen (RFQ)', 'CE-Risikobeurteilungen'] : ['GDPR documents (RoPA, DPIA, TOMs)', 'Audit management & evidence', 'Customer requirements (RFQ)', 'CE risk assessments'] const codeItems = de ? ['SAST / DAST / SBOM-Analyse', 'Kontinuierliches Pentesting', 'Issue-Tracker-Integration', 'Automatische Code-Änderungen'] : ['SAST / DAST / SBOM analysis', 'Continuous pentesting', 'Issue tracker integration', 'Automatic code changes'] const outerCapabilities = [ { icon: GitPullRequest, color: 'text-indigo-400', border: 'border-indigo-500/30', bg: 'bg-indigo-500/10', label: de ? 'RFQ-Prüfung' : 'RFQ Verification', desc: de ? 'Kunden-Dokumente gegen Code prüfen' : 'Verify customer docs against code', position: 'top-left', }, { icon: ArrowLeftRight, color: 'text-purple-400', border: 'border-purple-500/30', bg: 'bg-purple-500/10', label: de ? 'Bidirektional' : 'Bidirectional', desc: de ? 'Code ↔ Docs synchronisiert' : 'Code ↔ Docs synchronized', position: 'top-right', }, { icon: Zap, color: 'text-amber-400', border: 'border-amber-500/30', bg: 'bg-amber-500/10', label: de ? 'Prozess-Compliance' : 'Process Compliance', desc: de ? 'Finding → Ticket → Fix automatisch' : 'Finding → Ticket → Fix automatic', position: 'bottom-left', }, { icon: Shield, color: 'text-emerald-400', border: 'border-emerald-500/30', bg: 'bg-emerald-500/10', label: de ? 'Kontinuierlich' : 'Continuous', desc: de ? 'Bei jeder Code-Änderung' : 'On every code change', position: 'bottom-right', }, ] return (

{title}

{subtitle}

{/* Outer rotating ring */}
{/* Inner solid ring */}
{/* Center: BreakPilot Hub */}
Break Pilot
{/* Left half: Compliance & Audits */}
Compliance
    {complianceItems.map((item, idx) => (
  • {item}
  • ))}
{/* Right half: Code & Security */}
Code & Security
    {codeItems.map((item, idx) => (
  • {item}
  • ))}
{/* Connecting arrows inside circle */}
{/* Outer capability cards — 4 corners */} {/* Top Left */}
{outerCapabilities[0].label}

{outerCapabilities[0].desc}

{/* Connector line */}
{/* Top Right */}
{outerCapabilities[1].label}

{outerCapabilities[1].desc}

{/* Bottom Left */}
{outerCapabilities[2].label}

{outerCapabilities[2].desc}

{/* Bottom Right */}
{outerCapabilities[3].label}

{outerCapabilities[3].desc}

{/* Dashed connection lines from corners to circle */}
) }