/* global React, ReactDOM, Nav, Hero, Manifesto, TrustMarquee, LiveMetrics, SpecSheet, CoreFeatures, ConnectedOps, MobileSection, Analytics, FieldIntelligence, Testimonials, Pricing, FinalCTA, Footer */ const { useEffect, useRef, useState } = React; function App() { const glowRef = useRef(null); const progressRef = useRef(null); useEffect(() => { // Cursor glow follower const onMove = (e) => { if (glowRef.current) { glowRef.current.style.left = e.clientX + "px"; glowRef.current.style.top = e.clientY + "px"; } }; window.addEventListener("mousemove", onMove); // Scroll progress const onScroll = () => { if (progressRef.current) { const h = document.documentElement.scrollHeight - window.innerHeight; const pct = h > 0 ? (window.scrollY / h) * 100 : 0; progressRef.current.style.width = pct + "%"; } }; window.addEventListener("scroll", onScroll, { passive: true }); return () => { window.removeEventListener("mousemove", onMove); window.removeEventListener("scroll", onScroll); }; }, []); // Build particle set once const particles = React.useMemo(() => { return Array.from({ length: 26 }, (_, i) => ({ id: i, left: Math.random() * 100, delay: Math.random() * 18, dur: 18 + Math.random() * 22, size: 1 + Math.random() * 2.5, opacity: 0.3 + Math.random() * 0.6, })); }, []); return (
{particles.map(p => ( ))}
); } ReactDOM.createRoot(document.getElementById("root")).render();