"use client" import Link from "next/link" import { Button } from "@/components/ui/button" import { ArrowRight, Sparkles, Code2, Rocket, Zap, Star, Layers, Globe } from "lucide-react" import { useEffect, useRef, useState } from "react" // Pre-computed extreme particle data const EXTREME_PARTICLES = [ // Cosmic dust particles { left: 10, top: 15, delay: 0, duration: 25, size: 4, type: 'cosmic' }, { left: 25, top: 8, delay: 3, duration: 22, size: 3, type: 'cosmic' }, { left: 40, top: 22, delay: 6, duration: 28, size: 5, type: 'cosmic' }, { left: 55, top: 5, delay: 9, duration: 24, size: 4, type: 'cosmic' }, { left: 70, top: 18, delay: 12, duration: 26, size: 3, type: 'cosmic' }, { left: 85, top: 10, delay: 15, duration: 23, size: 4, type: 'cosmic' }, { left: 15, top: 45, delay: 2, duration: 27, size: 3, type: 'cosmic' }, { left: 88, top: 35, delay: 8, duration: 25, size: 5, type: 'cosmic' }, // Floating orbs { left: 5, top: 25, delay: 4, duration: 30, size: 80, type: 'orb' }, { left: 92, top: 55, delay: 10, duration: 35, size: 60, type: 'orb' }, { left: 20, top: 70, delay: 7, duration: 28, size: 50, type: 'orb' }, { left: 75, top: 80, delay: 14, duration: 32, size: 70, type: 'orb' }, // Energy rings { left: 50, top: 50, delay: 0, duration: 15, size: 200, type: 'ring' }, { left: 50, top: 50, delay: 5, duration: 15, size: 200, type: 'ring' }, { left: 50, top: 50, delay: 10, duration: 15, size: 200, type: 'ring' }, // Quantum particles { left: 30, top: 30, delay: 1, duration: 8, size: 6, type: 'quantum' }, { left: 60, top: 20, delay: 3, duration: 10, size: 8, type: 'quantum' }, { left: 80, top: 40, delay: 5, duration: 9, size: 5, type: 'quantum' }, { left: 20, top: 60, delay: 7, duration: 11, size: 7, type: 'quantum' }, { left: 70, top: 70, delay: 9, duration: 8, size: 6, type: 'quantum' }, ] export function HeroSection() { const heroRef = useRef(null) const [mousePosition, setMousePosition] = useState({ x: 0.5, y: 0.5 }) useEffect(() => { const handleMouseMove = (e: MouseEvent) => { if (heroRef.current) { const rect = heroRef.current.getBoundingClientRect() setMousePosition({ x: (e.clientX - rect.left) / rect.width, y: (e.clientY - rect.top) / rect.height, }) } } window.addEventListener('mousemove', handleMouseMove) return () => window.removeEventListener('mousemove', handleMouseMove) }, []) return (
{/* Extreme animated background layers */}
{/* Morphing gradient mesh */}
{/* Cyber grid */}
{/* Plasma orbs */}
{/* Extreme particles */}
{EXTREME_PARTICLES.map((particle, i) => { if (particle.type === 'cosmic') { return (
) } else if (particle.type === 'orb') { return (
) } else if (particle.type === 'ring') { return (
) } else { return (
) } })}
{/* Scan line effect */}
{/* Noise overlay */}
{/* Floating tech icons */}
{/* Extreme badge */}
{/* Animated border */}
Your Vision, Our Craft
{/* Extreme H1 */}

We Create Digital Masterpieces

{/* Subheadline */}

Transforming bold ideas into{" "} extraordinary{" "} digital experiences that captivate, engage, and{" "} inspire.

{/* Extreme CTAs */}
{/* Extreme Statistics */}
{[ { value: "50+", label: "Projects Delivered", icon: Rocket, color: "from-blue-500 to-cyan-400" }, { value: "98%", label: "Client Satisfaction", icon: Sparkles, color: "from-purple-500 to-pink-400" }, { value: "5+", label: "Years of Excellence", icon: Zap, color: "from-amber-500 to-orange-400" }, ].map((stat, i) => (
{/* Glow ring on hover */}
{/* Icon */}
{/* Value */}
{stat.value}
{/* Label */}

{stat.label}

))}
{/* Scroll indicator */}
{ window.scrollTo({ top: window.innerHeight, behavior: 'smooth' }) }} />
{/* Gradient overlays */}
) }