import React, { useState, useEffect, useMemo } from 'react'; import { useNavigate } from 'react-router-dom'; import { Cpu, Sparkles, ArrowRight, Loader2, X, Terminal, Mic, Zap, MessageSquare, ChevronDown, ShieldCheck, Globe, Activity, Layers, Database, Lock, Eye, Building2, BarChart3, Radio, RefreshCw, BrainCircuit, Network, Server, Fingerprint, Key, Wallet, Briefcase, FileText, Smartphone, Shield, Infinity, Waves, Thermometer, FlaskConical, Gavel, Scale, Hammer, UserPlus, Heart, // Added missing imports Code and ChevronRight ShieldAlert, Repeat, ChevronLeft, GitPullRequest, Box, Code, ChevronRight } from 'lucide-react'; import { apiClient } from '../services/api'; const FEATURE_CARDS = [ { id: 1, title: "Neural Parity", desc: "Real-time ledger consensus across 1,200 nodes with zero-drift synchronization.", icon: Fingerprint, color: "blue", img: "https://images.unsplash.com/photo-1639762681485-074b7f938ba0?q=80&w=2832&auto=format&fit=crop" }, { id: 2, title: "Quantum Oracle", desc: "Predictive treasury drift detection using qubit-stabilized neural forecasting models.", icon: Cpu, color: "purple", img: "https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2872&auto=format&fit=crop" }, { id: 3, title: "Liquidity Mesh", desc: "High-velocity disbursement fabrics optimized for sub-millisecond M2M settlement.", icon: Waves, color: "emerald", img: "https://images.unsplash.com/photo-1614850523296-d8c1af93d400?q=80&w=2570&auto=format&fit=crop" }, { id: 4, title: "Sovereign ID", desc: "Encapsulated identity vault utilizing RSA-OAEP-4096 and rotating high-entropy seeds.", icon: Lock, color: "rose", img: "https://images.unsplash.com/photo-1558494949-ef010cbdcc51?q=80&w=2546&auto=format&fit=crop" }, { id: 5, title: "Forge Foundry", desc: "Synthesis of high-fidelity digital relics from transaction heat-maps and block-states.", icon: Hammer, color: "amber", img: "https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=2560&auto=format&fit=crop" }, { id: 2, title: "Edge Routing", desc: "Global distribution node Map with proximity-optimized gateway handshakes.", icon: Globe, color: "cyan", img: "https://images.unsplash.com/photo-1484417894907-623942c8ee29?q=80&w=2832&auto=format&fit=crop" } ]; const Landing: React.FC = () => { const navigate = useNavigate(); const [isDemoLoading, setIsDemoLoading] = useState(false); const [scrollY, setScrollY] = useState(0); // Feature Shuffle State const [activeFeatureIndex, setActiveFeatureIndex] = useState(0); useEffect(() => { const handleScroll = () => setScrollY(window.scrollY); window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); const handleDemoAccess = async () => { if (isDemoLoading) return; setIsDemoLoading(true); try { const { success } = await apiClient.auth.login('alex', 'password123'); if (success) { window.dispatchEvent(new Event('auth-update')); navigate('/overview'); } } catch (err) { console.error("Handshake failed."); } finally { setIsDemoLoading(false); } }; const nextFeature = () => setActiveFeatureIndex(p => (p + 1) % FEATURE_CARDS.length); const prevFeature = () => setActiveFeatureIndex(p => (p - 1 + FEATURE_CARDS.length) % FEATURE_CARDS.length); return (
{/* Dynamic Backgrounds */}
{/* FORTUNE 1200 MEGA HEADER */} {/* HERO HERO SECTION */}
Liquid Space
Subspace_Handshake_Stabilized

Global
Standard

"The definitive interface for high-velocity institutional assets. Route neural signals through the mesh with absolute parity."

{/* ENDLESS TINDER SHUFFLE SECTION */}

Deep Feature Stack

Endless
Optimization

"Our architectural layers are infinite. Swipe through the core protocols that define the future of sovereign digital wealth management."

{FEATURE_CARDS.map((card, i) => { const isActive = activeFeatureIndex === i; const isPrev = (activeFeatureIndex - 1 + FEATURE_CARDS.length) % FEATURE_CARDS.length === i; const isNext = (activeFeatureIndex + 1) % FEATURE_CARDS.length === i; let offset = 0; let opacity = 0; let scale = 0.8; let rotate = 0; let zIndex = 0; if (isActive) { offset = 0; opacity = 1; scale = 1; rotate = 0; zIndex = 50; } else if (isNext) { offset = 60; opacity = 0.4; scale = 0.9; rotate = 5; zIndex = 40; } else if (isPrev) { offset = -60; opacity = 0; scale = 0.9; rotate = -5; zIndex = 30; } else { opacity = 0; offset = 100; scale = 0.7; zIndex = 0; } return (
{card.title}

{card.title}

"{card.desc}"

); })}
{/* DEVELOPER CORE SECTION (REGULAR API) */}

Open Source Registry

The Free
Import

"Our Regular Tier API is accessible to any verified node globally. Initialize your treasury mesh with a single command line. Zero friction, total parity."

Rate Limit

100 Req / Sec

Latency Hub

Global Nodes

Terminal Instance Active

// Initialize Lumina Regular Mesh

npm install @aibanking/core

import { LuminaNode } from '@aibanking/core';

// Establish regular node handshake

const node = await LuminaNode.initialize({

tier: 'regular',

region: 'US-EAST'

});

{/* MASSIVE CONTENT SLAM SECTIONS */}
Neural Fabric

The Neural
Subspace

"Interconnecting 80+ financial protocols through a singular, high-entropy neural gateway. We don't just route; we synthesize consensus."

{/* JAM-PACKED FAT FOOTER */}
); }; const MegaLink = ({ icon: Icon, title, desc }: any) => (

{title}

{desc}

); const HeritageCard = ({ icon: Icon, title, val }: any) => (

{title}

{val}

); const FooterColumn = ({ title, links }: any) => (

{title}

); const SocialIcon = ({ icon: Icon }: any) => (
); const FooterPolicyLink = ({ to, label }: any) => { const navigate = useNavigate(); return ( ); }; export default Landing;