'use client'; import { useState, useEffect, useRef } from 'react'; import Image from 'next/image'; export default function SecuritySection() { const [mounted, setMounted] = useState(false); const [visible, setVisible] = useState(false); const sectionRef = useRef(null); useEffect(() => { setMounted(true); const observer = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting && !visible) { setVisible(true); } }); }, { threshold: 0.1, } ); if (sectionRef.current) { observer.observe(sectionRef.current); } return () => { if (sectionRef.current) { observer.unobserve(sectionRef.current); } }; }, [visible]); const features = [ { icon: '/interface-search-magnifying-glass0.svg', title: 'Audited', description: 'Smart contracts audited by top-tier firms. Underlying assets undergo strict due diligence and financial auditing.', position: 'top-left' }, { icon: '/navigation-building-010.svg', title: 'Segregated', description: 'SPV Setup. User assets are held in segregated Special Purpose Vehicles, isolated from platform risks.', position: 'top-right' }, { icon: '/interface-chart-bar-vertical-010.svg', title: 'Transparency', description: 'Real-Time NAV. Fund performance data and asset valuations are publicly available and updated on-chain.', position: 'bottom-left' }, { icon: '/component-11.svg', title: 'Powered By NASDAQ & HKEX Listed Partners', description: null, position: 'bottom-right', special: true } ]; return (
{/* Main Container */}
{/* Left Side - Title */}

Security First Architecture

Real-time data transparency with segregated asset management.

{/* Right Side - Grid */}
{features.map((feature, index) => (
{feature.special ? ( // Special card (bottom-right)

{feature.title}

Icon
) : ( // Regular cards
{feature.title}

{feature.title}

{feature.description}

)}
))}
{/* Logo */}
Logo
); }