'use client'; import { useEffect, useRef, useState } from 'react'; import { Anchor, Waves, Shield, Award, ArrowRight } from 'lucide-react'; import { motion, useScroll, useTransform } from 'framer-motion'; import { useRouter } from 'next/navigation'; export default function Home() { const router = useRouter(); const [, setMousePosition] = useState({ x: 0, y: 0 }); const heroRef = useRef(null); const { scrollYProgress } = useScroll({ target: heroRef, offset: ["start start", "end start"] }); const y = useTransform(scrollYProgress, [0, 1], ["0%", "30%"]); const opacity = useTransform(scrollYProgress, [0, 0.8], [1, 0]); useEffect(() => { const handleMouseMove = (e: MouseEvent) => { setMousePosition({ x: e.clientX, y: e.clientY }); }; window.addEventListener('mousemove', handleMouseMove); return () => window.removeEventListener('mousemove', handleMouseMove); }, []); const handleCalculateClick = () => { router.push('/calculator'); }; const handleLearnMoreClick = () => { router.push('/about'); }; // Animation variants const fadeInUp = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease: [0.22, 1, 0.36, 1] } } }; const staggerContainer = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, delayChildren: 0.3 } } }; const scaleOnHover = { rest: { scale: 1 }, hover: { scale: 1.05, transition: { type: "spring", stiffness: 400, damping: 17 } } }; return (
{/* Hero Section */} {/* Hero Content */}
{/* Puffin Logo */} Luxury Meets
Sustainability
The world's most exclusive carbon offsetting platform for superyacht owners and operators
Calculate Your Impact Discover More
{/* Features Section with Luxury Styling */}

Exclusive Maritime Solutions

Experience the pinnacle of sustainable luxury with our premium carbon offsetting services

Flexible Solutions

Tailor your offsetting to match your yachting lifestyle - from single trips to full annual emissions coverage.

Verified Impact

Science-based projects with transparent reporting ensure your investment creates real environmental change.

Premium Service

White-glove service designed for discerning yacht owners who demand excellence in sustainability.

Empower Your Yacht Business with In-House Offsetting
Our offsetting tool is not only perfect for charter guests and yacht owners, it can also be used by yacht management companies and brokerage firms seeking to integrate sustainability into the entirety of their operations. Use Puffin to offer clients carbon-neutral charter options or manage the environmental footprint of your fleet. Showcase your commitment to eco-conscious luxury while adding value to your services and elevating your brand.
Ready to Make a Difference? Join the growing community of environmentally conscious yacht owners and operators who are leading the way in maritime sustainability. Calculate Your Impact Learn More
); }