import React, { useRef } from 'react'; import { motion, useScroll, useTransform } from 'framer-motion'; import { ChevronRight, Zap, Activity, User } from 'lucide-react'; import { PhoneFrame } from './PhoneFrame'; export const Hero: React.FC = () => { const targetRef = useRef(null); const { scrollYProgress } = useScroll({ target: targetRef, offset: ["start start", "end start"] }); const y = useTransform(scrollYProgress, [0, 1], [0, 150]); const opacity = useTransform(scrollYProgress, [0, 0.5], [1, 0]); return (
{/* Ambient Background */}
Now Available on iOS & Android

Make Every Workout Count.

Stop using rearview mirrors. FitMate is your GPS. We turn training data into a shame-free game plan for your next meal. {/* App Store Button */} {/* Google Play Button */}
{/* Parallax Phone Mockup */} {/* Glow behind phone */}
{/* Header */}
Wednesday

Leg Day .

{/* Segmented Control Lookalike */}
Training Day
Rest Day
{/* Main Ring */}
{/* Static SVG for Hero to save perf */}
2,850
kcal Left
{/* Cards */}
Carbs
320g
Protein
200g
{/* Insight Card */}
Co-Pilot Insight

Squat volume is high. I've increased pre-workout carbs by 40g. Drink 500ml water now.

); };