"use client" import Link from "next/link" import { Button } from "@/components/ui/button" import { ArrowRight, Sparkles, Zap, Rocket, MessageCircle, Star } from "lucide-react" import { useRef, useState, useEffect } from "react" // Pre-computed extreme particle data const CTA_PARTICLES = [ // Cosmic particles { left: 5, top: 10, delay: 0, duration: 20, size: 4, type: 'cosmic' }, { left: 15, top: 25, delay: 3, duration: 25, size: 3, type: 'cosmic' }, { left: 88, top: 15, delay: 5, duration: 22, size: 5, type: 'cosmic' }, { left: 95, top: 40, delay: 8, duration: 28, size: 4, type: 'cosmic' }, { left: 10, top: 70, delay: 12, duration: 24, size: 3, type: 'cosmic' }, { left: 85, top: 85, delay: 15, duration: 26, size: 5, type: 'cosmic' }, // Energy rings { left: 50, top: 50, delay: 0, duration: 12, size: 150, type: 'ring' }, { left: 50, top: 50, delay: 4, duration: 12, size: 150, type: 'ring' }, { left: 50, top: 50, delay: 8, duration: 12, size: 150, type: 'ring' }, // Quantum particles { left: 25, top: 80, delay: 2, duration: 10, size: 8, type: 'quantum' }, { left: 75, top: 20, delay: 6, duration: 12, size: 6, type: 'quantum' }, { left: 40, top: 60, delay: 10, duration: 8, size: 10, type: 'quantum' }, ] export function CTASection() { const sectionRef = useRef(null) const [isVisible, setIsVisible] = useState(false) const [mousePosition, setMousePosition] = useState({ x: 0.5, y: 0.5 }) useEffect(() => { const observer = new IntersectionObserver( ([entry]) => { if (entry.isIntersecting) { setIsVisible(true) } }, { threshold: 0.2 } ) if (sectionRef.current) { observer.observe(sectionRef.current) } return () => observer.disconnect() }, []) useEffect(() => { const handleMouseMove = (e: MouseEvent) => { if (sectionRef.current) { const rect = sectionRef.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 background effects */}
{/* Morphing gradient */}
{/* Cyber grid */}
{/* Plasma orbs with mouse tracking */}
{/* Extreme particles */}
{CTA_PARTICLES.map((particle, i) => { if (particle.type === 'cosmic') { return (
) } else if (particle.type === 'ring') { return (
) } else { return (
) } })}
{/* Scan line */}
{/* Noise overlay */}
{/* Main CTA card with extreme effects */}
{/* Extreme animated border */}
{/* Glow ring */}
{/* Inner glow */}
{/* Plasma effect overlay */}
{/* Floating extreme icons */}
{/* Badge */}
Let's Create Together
{/* Heading */}

Ready to Start Your{" "} Project ?

Let's build something{" "} extraordinary{" "} together. Get a free consultation and detailed project quote today.

{/* Extreme CTAs */}
{/* Trust badges with extreme styling */}
{[ { icon: Zap, text: "Fast Response", color: "text-amber-500" }, { icon: Rocket, text: "Free Consultation", color: "text-primary" }, { icon: Sparkles, text: "Custom Solutions", color: "text-cyan-500" }, ].map((badge, i) => (
{badge.text}
))}
{/* Shine effect */}
{/* Gradient overlays */}
) }