🐳 15/02 - 01:54 - oui tu as compris que je suis plus avancé que les autres je suis entrain de faire avancer la technologie et l'ia donc je te connais trés bien changer de niveau passe au plus haut ,
4c6ea95 verified | <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Spectre Analytics - Détection de Fraude Financière</title> | |
| <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🔍</text></svg>"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/d3@7"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0fdfa', | |
| 100: '#ccfbf1', | |
| 200: '#99f6e4', | |
| 300: '#5eead4', | |
| 400: '#2dd4bf', | |
| 500: '#14b8a6', | |
| 600: '#0d9488', | |
| 700: '#0f766e', | |
| 800: '#115e59', | |
| 900: '#134e4a', | |
| 950: '#042f2e', | |
| }, | |
| secondary: { | |
| 50: '#f8fafc', | |
| 100: '#f1f5f9', | |
| 200: '#e2e8f0', | |
| 300: '#cbd5e1', | |
| 400: '#94a3b8', | |
| 500: '#64748b', | |
| 600: '#475569', | |
| 700: '#334155', | |
| 800: '#1e293b', | |
| 900: '#0f172a', | |
| 950: '#020617', | |
| }, | |
| danger: { | |
| 50: '#fef2f2', | |
| 100: '#fee2e2', | |
| 200: '#fecaca', | |
| 300: '#fca5a5', | |
| 400: '#f87171', | |
| 500: '#ef4444', | |
| 600: '#dc2626', | |
| 700: '#b91c1c', | |
| 800: '#991b1b', | |
| 900: '#7f1d1d', | |
| }, | |
| warning: { | |
| 50: '#fffbeb', | |
| 100: '#fef3c7', | |
| 200: '#fde68a', | |
| 300: '#fcd34d', | |
| 400: '#fbbf24', | |
| 500: '#f59e0b', | |
| 600: '#d97706', | |
| 700: '#b45309', | |
| 800: '#92400e', | |
| 900: '#78350f', | |
| }, | |
| success: { | |
| 50: '#f0fdf4', | |
| 100: '#dcfce7', | |
| 200: '#bbf7d0', | |
| 300: '#86efac', | |
| 400: '#4ade80', | |
| 500: '#22c55e', | |
| 600: '#16a34a', | |
| 700: '#15803d', | |
| 800: '#166534', | |
| 900: '#14532d', | |
| } | |
| }, | |
| fontFamily: { | |
| sans: ['Inter', 'sans-serif'], | |
| mono: ['JetBrains Mono', 'monospace'], | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1e293b; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #475569; | |
| border-radius: 3px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #64748b; | |
| } | |
| /* Animations */ | |
| @keyframes pulse-ring { | |
| 0% { transform: scale(0.8); opacity: 1; } | |
| 100% { transform: scale(2); opacity: 0; } | |
| } | |
| @keyframes slideIn { | |
| from { transform: translateX(-10px); opacity: 0; } | |
| to { transform: translateX(0); opacity: 1; } | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(-5px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes scan { | |
| 0%, 100% { top: 0; } | |
| 50% { top: calc(100% - 2px); } | |
| } | |
| .animate-pulse-ring { | |
| animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| .animate-slide-in { | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.4s ease-out; | |
| } | |
| .scan-line { | |
| animation: scan 2s linear infinite; | |
| } | |
| /* Glass morphism */ | |
| .glass { | |
| background: rgba(15, 23, 42, 0.8); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid rgba(51, 65, 85, 0.5); | |
| } | |
| /* Graph styles */ | |
| .node-link { | |
| stroke: #2dd4bf; | |
| stroke-opacity: 0.4; | |
| fill: none; | |
| } | |
| .node-circle { | |
| fill: #0d9488; | |
| stroke: #14b8a6; | |
| stroke-width: 2; | |
| } | |
| .node-circle:hover { | |
| fill: #2dd4bf; | |
| } | |
| /* Pattern backgrounds */ | |
| .pattern-grid { | |
| background-image: | |
| linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px); | |
| background-size: 50px 50px; | |
| } | |
| /* Tooltip */ | |
| .tooltip { | |
| position: relative; | |
| } | |
| .tooltip::after { | |
| content: attr(data-tooltip); | |
| position: absolute; | |
| bottom: 100%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| padding: 6px 12px; | |
| background: #0f172a; | |
| border: 1px solid #334155; | |
| border-radius: 6px; | |
| font-size: 12px; | |
| white-space: nowrap; | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.2s; | |
| z-index: 1000; | |
| } | |
| .tooltip:hover::after { | |
| opacity: 1; | |
| } | |
| /* Status indicators */ | |
| .status-dot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| animation: pulse 2s infinite; | |
| } | |
| .status-dot.active { | |
| background: #22c55e; | |
| box-shadow: 0 0 8px #22c55e; | |
| } | |
| .status-dot.warning { | |
| background: #f59e0b; | |
| box-shadow: 0 0 8px #f59e0b; | |
| } | |
| .status-dot.danger { | |
| background: #ef4444; | |
| box-shadow: 0 0 8px #ef4444; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| } | |
| /* Scrollable containers */ | |
| .scrollable-y { | |
| overflow-y: auto; | |
| scrollbar-width: thin; | |
| } | |
| .scrollable-x { | |
| overflow-x: auto; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-secondary-950 text-gray-100 font-sans antialiased"> | |
| <!-- Background Pattern --> | |
| <div class="fixed inset-0 pattern-grid pointer-events-none z-0"></div> | |
| <div class="relative z-10 flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <aside class="w-64 glass flex flex-col border-r border-secondary-800"> | |
| <!-- Logo --> | |
| <div class="p-4 border-b border-secondary-800"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-10 h-10 bg-gradient-to-br from-primary-500 to-primary-700 rounded-lg flex items-center justify-center"> | |
| <i data-feather="hexagon" class="text-white w-6 h-6"></i> | |
| </div> | |
| <div> | |
| <h1 class="font-bold text-lg text-white">SPECTRE</h1> | |
| <p class="text-xs text-gray-500">Analytics Platform</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Navigation --> | |
| <nav class="flex-1 p-4 space-y-1"> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 bg-primary-500/10 text-primary-400 rounded-lg border border-primary-500/20"> | |
| <i data-feather="activity" class="w-5 h-5"></i> | |
| <span class="font-medium">Dashboard</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="search" class="w-5 h-5"></i> | |
| <span>Investigations</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="git-branch" class="w-5 h-5"></i> | |
| <span>Graph Analysis</span> | |
| <span class="ml-auto text-xs bg-warning-500/20 text-warning-400 px-2 py-0.5 rounded-full">New</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="alert-triangle" class="w-5 h-5"></i> | |
| <span>Alerts</span> | |
| <span class="ml-auto text-xs bg-danger-500/20 text-danger-400 px-2 py-0.5 rounded-full">12</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="clock" class="w-5 h-5"></i> | |
| <span>Time Series</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="shield" class="w-5 h-5"></i> | |
| <span>Entity Database</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="file-text" class="w-5 h-5"></i> | |
| <span>Reports</span> | |
| </a> | |
| <a href="#" class="flex items-center gap-3 px-3 py-2.5 text-gray-400 hover:bg-secondary-800 hover:text-white rounded-lg transition-colors"> | |
| <i data-feather="settings" class="w-5 h-5"></i> | |
| <span>Settings</span> | |
| </a> | |
| </nav> | |
| <!-- User Profile --> | |
| <div class="p-4 border-t border-secondary-800"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-10 h-10 bg-secondary-700 rounded-full flex items-center justify-center"> | |
| <span class="font-semibold text-sm">JD</span> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm truncate">Jean Dupont</p> | |
| <p class="text-xs text-gray-500">Senior Analyst</p> | |
| </div> | |
| <button class="text-gray-400 hover:text-white transition-colors"> | |
| <i data-feather="log-out" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Main Content --> | |
| <main class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Header --> | |
| <header class="h-16 glass border-b border-secondary-800 flex items-center justify-between px-6"> | |
| <div class="flex items-center gap-4"> | |
| <div class="relative"> | |
| <i data-feather="search" class="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"></i> | |
| <input type="text" placeholder="Search entities, transactions, alerts..." | |
| class="w-96 pl-10 pr-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-sm focus:outline-none focus:border-primary-500 transition-colors"> | |
| </div> | |
| <div class="flex items-center gap-2 text-sm text-gray-400"> | |
| <span>|</span> | |
| <span class="flex items-center gap-2"> | |
| <span class="status-dot active"></span> | |
| System Online | |
| </span> | |
| </div> | |
| </div> | |
| <div class="flex items-center gap-4"> | |
| <div class="flex items-center gap-2 px-3 py-1.5 bg-secondary-800 rounded-lg border border-secondary-700"> | |
| <span class="relative flex h-2 w-2"> | |
| <span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span> | |
| <span class="relative inline-flex rounded-full h-2 w-2 bg-green-500"></span> | |
| </span> | |
| <span class="text-xs text-gray-400 font-mono">API: ONLINE</span> | |
| </div> | |
| <button class="relative p-2 text-gray-400 hover:text-white transition-colors"> | |
| <i data-feather="bell" class="w-5 h-5"></i> | |
| <span class="absolute top-1 right-1 w-2 h-2 bg-danger-500 rounded-full"></span> | |
| </button> | |
| <button class="p-2 text-gray-400 hover:text-white transition-colors"> | |
| <i data-feather="maximize-2" class="w-5 h-5"></i> | |
| </button> | |
| <button class="px-4 py-2 bg-primary-500 hover:bg-primary-600 text-white text-sm font-medium rounded-lg transition-colors flex items-center gap-2"> | |
| <i data-feather="plus" class="w-4 h-4"></i> | |
| New Investigation | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <div class="flex-1 overflow-auto p-6 space-y-6"> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-4 gap-4"> | |
| <div class="glass rounded-xl p-4 border border-secondary-800"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="w-10 h-10 bg-primary-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="search" class="text-primary-400 w-5 h-5"></i> | |
| </div> | |
| <span class="text-xs text-success-400 flex items-center gap-1"> | |
| <i data-feather="arrow-up" class="w-3 h-3"></i> | |
| 23% | |
| </span> | |
| </div> | |
| <h3 class="text-2xl font-bold text-white">1,247</h3> | |
| <p class="text-sm text-gray-400">Active Investigations</p> | |
| </div> | |
| <div class="glass rounded-xl p-4 border border-secondary-800"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="w-10 h-10 bg-danger-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="alert-triangle" class="text-danger-400 w-5 h-5"></i> | |
| </div> | |
| <span class="text-xs text-danger-400 flex items-center gap-1"> | |
| <i data-feather="arrow-up" class="w-3 h-3"></i> | |
| 15% | |
| </span> | |
| </div> | |
| <h3 class="text-2xl font-bold text-white">89</h3> | |
| <p class="text-sm text-gray-400">High-Risk Alerts</p> | |
| </div> | |
| <div class="glass rounded-xl p-4 border border-secondary-800"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="w-10 h-10 bg-warning-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="users" class="text-warning-400 w-5 h-5"></i> | |
| </div> | |
| <span class="text-xs text-warning-400 flex items-center gap-1"> | |
| <i data-feather="arrow-down" class="w-3 h-3"></i> | |
| 5% | |
| </span> | |
| </div> | |
| <h3 class="text-2xl font-bold text-white">3,892</h3> | |
| <p class="text-sm text-gray-400">Tracked Entities</p> | |
| </div> | |
| <div class="glass rounded-xl p-4 border border-secondary-800"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="w-10 h-10 bg-success-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="check-circle" class="text-success-400 w-5 h-5"></i> | |
| </div> | |
| <span class="text-xs text-success-400 flex items-center gap-1"> | |
| <i data-feather="arrow-up" class="w-3 h-3"></i> | |
| 89% | |
| </span> | |
| </div> | |
| <h3 class="text-2xl font-bold text-white">96.2%</h3> | |
| <p class="text-sm text-gray-400">Detection Accuracy</p> | |
| </div> | |
| </div> | |
| <!-- Main Grid --> | |
| <div class="grid grid-cols-3 gap-6"> | |
| <!-- Graph Visualization --> | |
| <div class="col-span-2 glass rounded-xl border border-secondary-800 overflow-hidden"> | |
| <div class="p-4 border-b border-secondary-800 flex items-center justify-between"> | |
| <div class="flex items-center gap-3"> | |
| <h2 class="font-semibold text-white">Entity Relationship Graph</h2> | |
| <span class="text-xs text-gray-500">Real-time network analysis</span> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <button class="px-3 py-1 text-xs bg-secondary-700 hover:bg-secondary-600 rounded-lg transition-colors">Zoom In</button> | |
| <button class="px-3 py-1 text-xs bg-secondary-700 hover:bg-secondary-600 rounded-lg transition-colors">Zoom Out</button> | |
| <button class="px-3 py-1 text-xs bg-secondary-700 hover:bg-secondary-600 rounded-lg transition-colors">Reset</button> | |
| </div> | |
| </div> | |
| <div class="relative h-96 bg-secondary-900/50" id="graph-container"> | |
| <svg id="entity-graph" class="w-full h-full"></svg> | |
| <div class="absolute bottom-4 left-4 flex items-center gap-4 text-xs"> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-primary-500 rounded-full"></span> | |
| <span class="text-gray-400">Entity</span> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-warning-500 rounded-full"></span> | |
| <span class="text-gray-400">Transaction</span> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-danger-500 rounded-full"></span> | |
| <span class="text-gray-400">High Risk</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Alerts --> | |
| <div class="glass rounded-xl border border-secondary-800 overflow-hidden"> | |
| <div class="p-4 border-b border-secondary-800 flex items-center justify-between"> | |
| <h2 class="font-semibold text-white">Recent Alerts</h2> | |
| <button class="text-xs text-primary-400 hover:text-primary-300">View All</button> | |
| </div> | |
| <div class="divide-y divide-secondary-800 scrollable-y" style="max-height: 24rem;"> | |
| <!-- Alert Items --> | |
| <div class="p-4 hover:bg-secondary-800/50 transition-colors cursor-pointer"> | |
| <div class="flex items-start gap-3"> | |
| <div class="w-8 h-8 bg-danger-500/20 rounded-lg flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="alert-circle" class="text-danger-400 w-4 h-4"></i> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm text-white">Quantum Alpha LP Detected</p> | |
| <p class="text-xs text-gray-500 mt-1">Quantum entanglement with Sigma Beta Fund • 0.997 correlation</p> | |
| <div class="flex items-center gap-2 mt-2"> | |
| <span class="text-xs px-2 py-0.5 bg-danger-500/20 text-danger-400 rounded">High Risk</span> | |
| <span class="text-xs text-gray-500">2 min ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-secondary-800/50 transition-colors cursor-pointer"> | |
| <div class="flex items-start gap-3"> | |
| <div class="w-8 h-8 bg-warning-500/20 rounded-lg flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="layers" class="text-warning-400 w-4 h-4"></i> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm text-white">Matriochka Structure Found</p> | |
| <p class="text-xs text-gray-500 mt-1">5 nested layers detected • Cayman → BVI → Luxembourg</p> | |
| <div class="flex items-center gap-2 mt-2"> | |
| <span class="text-xs px-2 py-0.5 bg-warning-500/20 text-warning-400 rounded">Medium Risk</span> | |
| <span class="text-xs text-gray-500">15 min ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-secondary-800/50 transition-colors cursor-pointer"> | |
| <div class="flex items-start gap-3"> | |
| <div class="w-8 h-8 bg-primary-500/20 rounded-lg flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="repeat" class="text-primary-400 w-4 h-4"></i> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm text-white">Circular Transaction Pattern</p> | |
| <p class="text-xs text-gray-500 mt-1">847 transactions detected • A → B → C → A loop</p> | |
| <div class="flex items-center gap-2 mt-2"> | |
| <span class="text-xs px-2 py-0.5 bg-primary-500/20 text-primary-400 rounded">Info</span> | |
| <span class="text-xs text-gray-500">1 hour ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-secondary-800/50 transition-colors cursor-pointer"> | |
| <div class="flex items-start gap-3"> | |
| <div class="w-8 h-8 bg-danger-500/20 rounded-lg flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="eye-off" class="text-danger-400 w-4 h-4"></i> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm text-white">Ghost Entity Activity</p> | |
| <p class="text-xs text-gray-500 mt-1">Shell company with 1 employee • $100M+ volume</p> | |
| <div class="flex items-center gap-2 mt-2"> | |
| <span class="text-xs px-2 py-0.5 bg-danger-500/20 text-danger-400 rounded">High Risk</span> | |
| <span class="text-xs text-gray-500">3 hours ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-secondary-800/50 transition-colors cursor-pointer"> | |
| <div class="flex items-start gap-3"> | |
| <div class="w-8 h-8 bg-warning-500/20 rounded-lg flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="clock" class="text-warning-400 w-4 h-4"></i> | |
| </div> | |
| <div class="flex-1 min-w-0"> | |
| <p class="font-medium text-sm text-white">Suspicious Trading Hours</p> | |
| <p class="text-xs text-gray-500 mt-1">All transactions at 3-4 AM UTC • 847 occurrences</p> | |
| <div class="flex items-center gap-2 mt-2"> | |
| <span class="text-xs px-2 py-0.5 bg-warning-500/20 text-warning-400 rounded">Medium Risk</span> | |
| <span class="text-xs text-gray-500">5 hours ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bottom Row --> | |
| <div class="grid grid-cols-3 gap-6"> | |
| <!-- Detection Models --> | |
| <div class="glass rounded-xl border border-secondary-800 p-4"> | |
| <h2 class="font-semibold text-white mb-4">Detection Models</h2> | |
| <div class="space-y-3"> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm font-medium">Ghost Protocol</span> | |
| <span class="status-dot active"></span> | |
| </div> | |
| <div class="w-full bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-primary-500 h-2 rounded-full" style="width: 94%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">94% accuracy • 247 entities detected</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm font-medium">Quantum Entanglement</span> | |
| <span class="status-dot active"></span> | |
| </div> | |
| <div class="w-full bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-primary-500 h-2 rounded-full" style="width: 99.7%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">99.7% accuracy • 23 pairs identified</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm font-medium">Matryoshka Analyzer</span> | |
| <span class="status-dot warning"></span> | |
| </div> | |
| <div class="w-full bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-warning-500 h-2 rounded-full" style="width: 78%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">78% accuracy • 12 structures found</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm font-medium">Pattern Matcher v4</span> | |
| <span class="status-dot active"></span> | |
| </div> | |
| <div class="w-full bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-primary-500 h-2 rounded-full" style="width: 96%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">96% accuracy • 1.2M patterns checked</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Transaction Timeline --> | |
| <div class="glass rounded-xl border border-secondary-800 p-4"> | |
| <h2 class="font-semibold text-white mb-4">Transaction Flow</h2> | |
| <canvas id="timeline-chart" class="w-full h-48"></canvas> | |
| </div> | |
| <!-- Risk Distribution --> | |
| <div class="glass rounded-xl border border-secondary-800 p-4"> | |
| <h2 class="font-semibold text-white mb-4">Risk Distribution</h2> | |
| <div class="flex items-center justify-center"> | |
| <canvas id="risk-chart" class="w-48 h-48"></canvas> | |
| </div> | |
| <div class="flex justify-center gap-6 mt-4 text-xs"> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-danger-500 rounded"></span> | |
| <span class="text-gray-400">High Risk</span> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-warning-500 rounded"></span> | |
| <span class="text-gray-400">Medium Risk</span> | |
| </div> | |
| <div class="flex items-center gap-2"> | |
| <span class="w-3 h-3 bg-primary-500 rounded"></span> | |
| <span class="text-gray-400">Low Risk</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Entity Table --> | |
| <div class="glass rounded-xl border border-secondary-800 overflow-hidden"> | |
| <div class="p-4 border-b border-secondary-800 flex items-center justify-between"> | |
| <h2 class="font-semibold text-white">Tracked Entities</h2> | |
| <div class="flex items-center gap-3"> | |
| <select class="px-3 py-1.5 bg-secondary-800 border border-secondary-700 rounded-lg text-sm focus:outline-none focus:border-primary-500"> | |
| <option>All Jurisdictions</option> | |
| <option>Cayman Islands</option> | |
| <option>BVI</option> | |
| <option>Luxembourg</option> | |
| <option>Singapore</option> | |
| <option>Delaware</option> | |
| </select> | |
| <select class="px-3 py-1.5 bg-secondary-800 border border-secondary-700 rounded-lg text-sm focus:outline-none focus:border-primary-500"> | |
| <option>All Risk Levels</option> | |
| <option>High Risk</option> | |
| <option>Medium Risk</option> | |
| <option>Low Risk</option> | |
| </select> | |
| <button class="px-3 py-1.5 bg-secondary-700 hover:bg-secondary-600 text-sm rounded-lg transition-colors flex items-center gap-2"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| Export | |
| </button> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full"> | |
| <thead class="bg-secondary-800/50"> | |
| <tr> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Entity</th> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Jurisdiction</th> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Volume</th> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Risk Score</th> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Last Activity</th> | |
| <th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Status</th> | |
| <th class="px-4 py-3 text-right text-xs font-medium text-gray-400 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="divide-y divide-secondary-800"> | |
| <tr class="hover:bg-secondary-800/30 transition-colors"> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-8 h-8 bg-warning-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="briefcase" class="text-warning-400 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium text-sm text-white">Quantum Alpha LP</p> | |
| <p class="text-xs text-gray-500">Delaware, USA</p> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-300">Delaware</td> | |
| <td class="px-4 py-3 text-sm font-mono text-gray-300">$847.2M</td> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-16 bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-danger-500 h-2 rounded-full" style="width: 92%"></div> | |
| </div> | |
| <span class="text-sm font-medium text-danger-400">92</span> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-400">2 min ago</td> | |
| <td class="px-4 py-3"> | |
| <span class="px-2 py-1 text-xs bg-danger-500/20 text-danger-400 rounded-full">Investigating</span> | |
| </td> | |
| <td class="px-4 py-3 text-right"> | |
| <button class="p-1.5 text-gray-400 hover:text-white hover:bg-secondary-700 rounded transition-colors"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-secondary-800/30 transition-colors"> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-8 h-8 bg-warning-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="briefcase" class="text-warning-400 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium text-sm text-white">Sigma Beta Fund</p> | |
| <p class="text-xs text-gray-500">Luxembourg</p> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-300">Luxembourg</td> | |
| <td class="px-4 py-3 text-sm font-mono text-gray-300">$1.2B</td> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-16 bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-danger-500 h-2 rounded-full" style="width: 88%"></div> | |
| </div> | |
| <span class="text-sm font-medium text-danger-400">88</span> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-400">2 min ago</td> | |
| <td class="px-4 py-3"> | |
| <span class="px-2 py-1 text-xs bg-danger-500/20 text-danger-400 rounded-full">Investigating</span> | |
| </td> | |
| <td class="px-4 py-3 text-right"> | |
| <button class="p-1.5 text-gray-400 hover:text-white hover:bg-secondary-700 rounded transition-colors"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-secondary-800/30 transition-colors"> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-8 h-8 bg-primary-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="briefcase" class="text-primary-400 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium text-sm text-white">AI Alpha Technologies Ltd</p> | |
| <p class="text-xs text-gray-500">Cayman Islands</p> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-300">Cayman Islands</td> | |
| <td class="px-4 py-3 text-sm font-mono text-gray-300">$2.3B</td> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-16 bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-warning-500 h-2 rounded-full" style="width: 65%"></div> | |
| </div> | |
| <span class="text-sm font-medium text-warning-400">65</span> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-400">1 hour ago</td> | |
| <td class="px-4 py-3"> | |
| <span class="px-2 py-1 text-xs bg-warning-500/20 text-warning-400 rounded-full">Flagged</span> | |
| </td> | |
| <td class="px-4 py-3 text-right"> | |
| <button class="p-1.5 text-gray-400 hover:text-white hover:bg-secondary-700 rounded transition-colors"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-secondary-800/30 transition-colors"> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-8 h-8 bg-primary-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="briefcase" class="text-primary-400 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium text-sm text-white">Beta Sigma Management SA</p> | |
| <p class="text-xs text-gray-500">Switzerland</p> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-300">Switzerland</td> | |
| <td class="px-4 py-3 text-sm font-mono text-gray-300">$890M</td> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-16 bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-warning-500 h-2 rounded-full" style="width: 58%"></div> | |
| </div> | |
| <span class="text-sm font-medium text-warning-400">58</span> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-400">3 hours ago</td> | |
| <td class="px-4 py-3"> | |
| <span class="px-2 py-1 text-xs bg-warning-500/20 text-warning-400 rounded-full">Flagged</span> | |
| </td> | |
| <td class="px-4 py-3 text-right"> | |
| <button class="p-1.5 text-gray-400 hover:text-white hover:bg-secondary-700 rounded transition-colors"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-secondary-800/30 transition-colors"> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-8 h-8 bg-primary-500/20 rounded-lg flex items-center justify-center"> | |
| <i data-feather="briefcase" class="text-primary-400 w-4 h-4"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium text-sm text-white">Mirror Trading Corp</p> | |
| <p class="text-xs text-gray-500">Singapore</p> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-300">Singapore</td> | |
| <td class="px-4 py-3 text-sm font-mono text-gray-300">$567M</td> | |
| <td class="px-4 py-3"> | |
| <div class="flex items-center gap-2"> | |
| <div class="w-16 bg-secondary-700 rounded-full h-2"> | |
| <div class="bg-primary-500 h-2 rounded-full" style="width: 35%"></div> | |
| </div> | |
| <span class="text-sm font-medium text-primary-400">35</span> | |
| </div> | |
| </td> | |
| <td class="px-4 py-3 text-sm text-gray-400">1 day ago</td> | |
| <td class="px-4 py-3"> | |
| <span class="px-2 py-1 text-xs bg-primary-500/20 text-primary-400 rounded-full">Monitored</span> | |
| </td> | |
| <td class="px-4 py-3 text-right"> | |
| <button class="p-1.5 text-gray-400 hover:text-white hover:bg-secondary-700 rounded transition-colors"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Right Panel - Entity Details --> | |
| <aside class="w-96 glass border-l border-secondary-800 flex flex-col"> | |
| <div class="p-4 border-b border-secondary-800"> | |
| <h2 class="font-semibold text-white">Entity Details</h2> | |
| <p class="text-xs text-gray-500">Quantum Alpha LP</p> | |
| </div> | |
| <div class="flex-1 overflow-auto p-4 space-y-4"> | |
| <!-- Risk Score --> | |
| <div class="text-center p-4 bg-gradient-to-br from-danger-500/20 to-danger-600/10 rounded-xl border border-danger-500/30"> | |
| <div class="relative w-24 h-24 mx-auto"> | |
| <svg class="w-24 h-24 transform -rotate-90"> | |
| <circle cx="48" cy="48" r="40" stroke="#334155" stroke-width="8" fill="none"/> | |
| <circle cx="48" cy="48" r="40" stroke="#ef4444" stroke-width="8" fill="none" | |
| stroke-dasharray="251.2" stroke-dashoffset="20" stroke-linecap="round"/> | |
| </svg> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <span class="text-2xl font-bold text-white">92</span> | |
| </div> | |
| </div> | |
| <p class="text-sm text-danger-400 mt-2">High Risk Score</p> | |
| </div> | |
| <!-- Quick Stats --> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg text-center"> | |
| <p class="text-lg font-bold text-white">$847.2M</p> | |
| <p class="text-xs text-gray-500">Total Volume</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg text-center"> | |
| <p class="text-lg font-bold text-white">847</p> | |
| <p class="text-xs text-gray-500">Transactions</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg text-center"> | |
| <p class="text-lg font-bold text-white">5</p> | |
| <p class="text-xs text-gray-500">Linked Entities</p> | |
| </div> | |
| <div class="p-3 bg-secondary-800/50 rounded-lg text-center"> | |
| <p class="text-lg font-bold text-white">18mo</p> | |
| <p class="text-xs text-gray-500">Activity Period</p> | |
| </div> | |
| </div> | |
| <!-- Detection Flags --> | |
| <div class="p-4 bg-secondary-800/50 rounded-xl"> | |
| <h3 class="font-medium text-white mb-3 flex items-center gap-2"> | |
| <i data-feather="flag" class="w-4 h-4 text-danger-400"></i> | |
| Detection Flags | |
| </h3> | |
| <div class="space-y-2"> | |
| <div class="flex items-center gap-2 p-2 bg-danger-500/10 border border-danger-500/30 rounded-lg"> | |
| <i data-feather="link" class="w-4 h-4 text-danger-400"></i> | |
| <span class="text-sm text-gray-300">Quantum Entanglement</span> | |
| </div> | |
| <div class="flex items-center gap-2 p-2 bg-warning-500/10 border border-warning-500/30 rounded-lg"> | |
| <i data-feather="layers" class="w-4 h-4 text-warning-400"></i> | |
| <span class="text-sm text-gray-300">Matriochka Structure</span> | |
| </div> | |
| <div class="flex items-center gap-2 p-2 bg-warning-500/10 border border-warning-500/30 rounded-lg"> | |
| <i data-feather="repeat" class="w-4 h-4 text-warning-400"></i> | |
| <span class="text-sm text-gray-300">Circular Transactions</span> | |
| </div> | |
| <div class="flex items-center gap-2 p-2 bg-primary-500/10 border border-primary-500/30 rounded-lg"> | |
| <i data-feather="clock" class="w-4 h-4 text-primary-400"></i> | |
| <span class="text-sm text-gray-300">Unusual Trading Hours</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Correlation Chart --> | |
| <div class="p-4 bg-secondary-800/50 rounded-xl"> | |
| <h3 class="font-medium text-white mb-3 flex items-center gap-2"> | |
| <i data-feather="trending-up" class="w-4 h-4 text-primary-400"></i> | |
| Correlation with Sigma Beta | |
| </h3> | |
| <canvas id="correlation-chart" class="w-full h-32"></canvas> | |
| <p class="text-center text-xs text-danger-400 mt-2 font-mono">Correlation: 0.997</p> | |
| </div> | |
| <!-- Action Buttons --> | |
| <div class="space-y-2"> | |
| <button class="w-full py-2.5 bg-danger-500 hover:bg-danger-600 text-white rounded-lg font-medium transition-colors flex items-center justify-center gap-2"> | |
| <i data-feather="file-plus" class="w-4 h-4"></i> | |
| Create Case | |
| </button> | |
| <button class="w-full py-2.5 bg-secondary-700 hover:bg-secondary-600 text-white rounded-lg font-medium transition-colors flex items-center justify-center gap-2"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| Export Evidence | |
| </button> | |
| <button class="w-full py-2.5 bg-secondary-800 hover:bg-secondary-700 text-white rounded-lg font-medium transition-colors flex items-center justify-center gap-2"> | |
| <i data-feather="users" class="w-4 h-4"></i> | |
| Add to Watchlist | |
| </button> | |
| </div> | |
| </div> | |
| </aside> | |
| </div> | |
| <!-- AI & API Components --> | |
| <script src="js/federated-core.js"></script> | |
| <script src="js/ai-core.js"></script> | |
| <script src="js/api-service.js"></script> | |
| <script src="components/graph-visualization.js"></script> | |
| <script src="components/charts.js"></script> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| <!-- Federated Neural Interface --> | |
| <div id="ai-cortex-overlay" class="fixed inset-0 bg-black/90 backdrop-blur-xl z-50 hidden flex items-center justify-center"> | |
| <div class="glass p-8 rounded-2xl border border-primary-500/50 max-w-4xl w-full mx-4 relative overflow-hidden"> | |
| <button onclick="toggleAICortex()" class="absolute top-4 right-4 text-gray-400 hover:text-white"> | |
| <i data-feather="x" class="w-6 h-6"></i> | |
| </button> | |
| <div class="text-center mb-8"> | |
| <div class="w-20 h-20 mx-auto bg-gradient-to-br from-primary-500 via-purple-600 to-danger-500 rounded-full flex items-center justify-center mb-4 relative"> | |
| <i data-feather="cpu" class="w-10 h-10 text-white"></i> | |
| <div class="absolute inset-0 rounded-full border-2 border-primary-400 animate-ping opacity-25"></div> | |
| <div class="absolute -inset-2 rounded-full border border-primary-500/30 animate-pulse"></div> | |
| </div> | |
| <h2 class="text-2xl font-bold text-white">Federated Neural Cortex</h2> | |
| <p class="text-gray-400 mt-2">22-Nodes Byzantine Consensus • Post-Quantum Encryption</p> | |
| </div> | |
| <div class="grid grid-cols-3 gap-4 mb-6"> | |
| <div class="bg-secondary-800/50 rounded-xl p-4 border border-secondary-700"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <span class="status-dot active"></span> | |
| <span class="text-sm text-gray-400">Active Nodes</span> | |
| </div> | |
| <p class="text-3xl font-bold text-primary-400" id="fed-active-nodes">22/22</p> | |
| <p class="text-xs text-gray-500 mt-1">Consensus: 100%</p> | |
| </div> | |
| <div class="bg-secondary-800/50 rounded-xl p-4 border border-secondary-700"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <i data-feather="shield" class="w-4 h-4 text-success-400"></i> | |
| <span class="text-sm text-gray-400">Firewall Status</span> | |
| </div> | |
| <p class="text-3xl font-bold text-success-400" id="fed-firewall">ACTIVE</p> | |
| <p class="text-xs text-gray-500 mt-1">Blocked: <span id="fed-blocked">0</span></p> | |
| </div> | |
| <div class="bg-secondary-800/50 rounded-xl p-4 border border-secondary-700"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <i data-feather="lock" class="w-4 h-4 text-purple-400"></i> | |
| <span class="text-sm text-gray-400">Encryption</span> | |
| </div> | |
| <p class="text-lg font-bold text-purple-400" id="fed-encryption">CRYSTALS-Kyber</p> | |
| <p class="text-xs text-gray-500 mt-1">Post-Quantum Ready</p> | |
| </div> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="bg-secondary-800/50 rounded-xl p-4 border border-primary-500/30"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-400 font-mono">Federated Model Training</span> | |
| <span class="text-xs text-primary-400 font-mono">ROUND #<span id="fed-round">2847</span></span> | |
| </div> | |
| <div class="w-full bg-secondary-700 rounded-full h-2 mb-2 relative overflow-hidden"> | |
| <div class="bg-gradient-to-r from-primary-500 via-purple-500 to-primary-400 h-2 rounded-full animate-pulse" style="width: 92%" id="fed-progress"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 font-mono"> | |
| <span>Global Model Sync</span> | |
| <span id="fed-status">Byzantine Consensus Achieved</span> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div class="bg-gradient-to-br from-secondary-800/50 to-secondary-900/50 rounded-xl p-4 border border-secondary-700"> | |
| <p class="text-xs text-gray-500 mb-1">Threat Detection Confidence</p> | |
| <p class="text-4xl font-bold text-primary-400" id="fed-confidence">99.97%</p> | |
| <div class="mt-2 text-xs text-success-400 flex items-center gap-1"> | |
| <i data-feather="trending-up" class="w-3 h-3"></i> | |
| Distributed consensus verified | |
| </div> | |
| </div> | |
| <div class="bg-gradient-to-br from-secondary-800/50 to-secondary-900/50 rounded-xl p-4 border border-secondary-700"> | |
| <p class="text-xs text-gray-500 mb-1">Average Trust Score</p> | |
| <p class="text-4xl font-bold text-warning-400" id="fed-trust">98.4</p> | |
| <div class="mt-2 text-xs text-gray-400"> | |
| Across 22 federated nodes | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gradient-to-r from-danger-500/10 via-warning-500/10 to-primary-500/10 border border-danger-500/20 rounded-xl p-4"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <i data-feather="activity" class="w-4 h-4 text-danger-400 animate-pulse"></i> | |
| <span class="font-medium text-danger-400">Quantum-Resistant Analysis</span> | |
| </div> | |
| <p class="text-sm text-gray-300 font-mono" id="fed-insight"> | |
| Byzantine consensus achieved across 22 nodes. Zero-knowledge proof validated. | |
| Threat vector analysis complete. No adversarial nodes detected. | |
| </p> | |
| </div> | |
| <!-- Live Node Grid --> | |
| <div class="grid grid-cols-11 gap-1 mt-4" id="node-grid"> | |
| <!-- Generated by JS --> | |
| </div> | |
| </div> | |
| <div class="mt-6 flex gap-3"> | |
| <button onclick="runFederatedAnalysis()" class="flex-1 py-3 bg-gradient-to-r from-primary-600 to-purple-600 hover:from-primary-500 hover:to-purple-500 text-white rounded-lg font-medium transition-all flex items-center justify-center gap-2"> | |
| <i data-feather="play-circle" class="w-4 h-4"></i> | |
| Run Consensus Analysis | |
| </button> | |
| <button onclick="exportFederatedReport()" class="flex-1 py-3 bg-secondary-700 hover:bg-secondary-600 text-white rounded-lg font-medium transition-all flex items-center justify-center gap-2"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| Export Consensus Report | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Floating AI Assistant --> | |
| <button onclick="toggleAICortex()" class="fixed bottom-6 right-6 w-14 h-14 bg-gradient-to-br from-primary-500 to-purple-600 rounded-full shadow-lg shadow-primary-500/30 flex items-center justify-center hover:scale-110 transition-transform z-40"> | |
| <i data-feather="cpu" class="w-6 h-6 text-white"></i> | |
| <span class="absolute -top-1 -right-1 w-4 h-4 bg-green-500 rounded-full animate-pulse border-2 border-secondary-900"></span> | |
| </button> | |
| </body> | |
| </html> | |