'use client'; import { ChevronDown } from 'lucide-react'; import { useEffect, useState } from 'react'; /** * Scroll cue — a fixed pill anchored to the bottom of the viewport that * points the visitor down to the flow video below the hero. Fades out * once the user has scrolled past the loadscreen so it doesn't follow * them around the page. * * Lives at z-30 so it sits above the hero content but below modals. * The frosted pill (backdrop-blur + border) reads clearly against the * particle background without stealing focus from the H1. */ export function ScrollCue({ targetId }: { targetId: string }) { const [visible, setVisible] = useState(true); useEffect(() => { function onScroll() { setVisible(window.scrollY < 80); } onScroll(); window.addEventListener('scroll', onScroll, { passive: true }); return () => window.removeEventListener('scroll', onScroll); }, []); return ( see it run ); }