import React, { useState, useEffect } from 'react'; import { useNavigate, Link } from 'react-router-dom'; import { Cpu, Sparkles, ArrowRight, Loader2, ChevronDown, ShieldCheck, Globe, Activity, Layers, Database, Lock, Eye, Building2, BarChart3, Radio, RefreshCw, BrainCircuit, Network, Server, Fingerprint, Key, Wallet, FileText, Zap, ChevronLeft, GitPullRequest, Box, Code, ChevronRight, Shield, MessageSquare, Plus, Info, ArrowUpRight, FileCode, Terminal, ArrowRightLeft, Bitcoin } from 'lucide-react'; import { apiClient } from '../services/api'; // Landing Page Components import NexusNode from './landing/NexusNode'; import IntelligenceAlpha from './landing/IntelligenceAlpha'; import SystemFabric from './landing/SystemFabric'; import RegistryVault from './landing/RegistryVault'; import PrivacyManifesto from './landing/PrivacyManifesto'; import AssetFoundry from './landing/AssetFoundry'; import QuantumCompute from './landing/QuantumCompute'; import LiquidityMesh from './landing/LiquidityMesh'; import EncryptionProtocol from './landing/EncryptionProtocol'; import OracleAuthority from './landing/OracleAuthority'; 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: Network, 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: "Foundry Sync", 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); 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 SECTION */}
Liquid Space
Subspace_Mesh_Stabilized

Sovereign
Assets

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

{/* FEATURE SHUFFLE */}

Endless Feature Stack

Infinite
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 = isActive ? 0 : isNext ? 80 : isPrev ? -80 : 160; let opacity = isActive ? 1 : isNext || isPrev ? 0.4 : 0; let scale = isActive ? 1 : 0.8; let zIndex = isActive ? 50 : 30; return (
{card.title}

{card.title}

"{card.desc}"

); })}
{/* FULL SUB-SECTIONS INTEGRATED */} {/* FAT INSTITUTIONAL FOOTER (THE 50+ LINKS) */}
); }; const MegaNavItem = ({ label, items }: { label: string, items: any[] }) => (
{items.map((item, i) => (

{item.title}

{item.desc}

))}
); const FooterColumn = ({ title, links }: { title: string, links: {l: string, to: string}[] }) => (

{title}

); const SocialIcon = ({ icon: Icon }: any) => (
); export default Landing;