CameronAub's picture
Build an AI-powered mobile app called "BootMatch AI" that helps football players find the perfect boots for their foot shape and playing style. The app should include:
e40c394 verified
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BootMatch AI | Find Your Perfect Football Boots</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#0066FF',
secondary: '#FF6B00',
dark: '#0F172A',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
body {
font-family: 'Montserrat', sans-serif;
background-color: #F8FAFC;
}
.hero-gradient {
background: linear-gradient(135deg, rgba(0,102,255,0.1) 0%, rgba(255,107,0,0.05) 100%);
}
.nav-blur {
backdrop-filter: blur(10px);
}
.scan-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
</head>
<body class="text-dark">
<!-- Navigation -->
<nav class="fixed w-full z-50 nav-blur bg-white/80 shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="zap" class="text-primary h-6 w-6"></i>
<span class="ml-2 font-bold text-xl text-primary">BootMatch AI</span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-dark hover:text-primary">Home</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-dark hover:text-primary">How It Works</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-dark hover:text-primary">Boot Database</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-dark hover:text-primary">Reviews</a>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="bg-primary px-4 py-2 rounded-full text-white text-sm font-medium hover:bg-primary/90 transition">Get Started</button>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-dark hover:text-dark focus:outline-none">
<i data-feather="menu" class="h-6 w-6"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="pt-24 pb-16 hero-gradient">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:grid lg:grid-cols-12 lg:gap-8">
<div class="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center">
<div>
<h1 class="text-4xl tracking-tight font-extrabold text-dark sm:text-5xl md:text-6xl">
<span class="block">Find your perfect</span>
<span class="block text-primary">football boots</span>
</h1>
<p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
AI-powered boot matching technology analyzes your foot shape, playing style and preferences to recommend the ideal footwear.
</p>
<div class="mt-8 sm:max-w-lg sm:mx-auto sm:text-center lg:text-left lg:mx-0">
<div class="flex flex-col sm:flex-row gap-4">
<button class="bg-primary px-6 py-3 rounded-full text-white font-medium hover:bg-primary/90 transition flex items-center justify-center gap-2">
<i data-feather="play" class="h-4 w-4"></i>
Scan Your Feet
</button>
<button class="border border-dark px-6 py-3 rounded-full font-medium hover:bg-gray-50 transition flex items-center justify-center gap-2">
<i data-feather="help-circle" class="h-4 w-4"></i>
Take The Quiz
</button>
</div>
<p class="mt-3 text-xs text-gray-400">
Trusted by 50,000+ players worldwide. <span class="font-medium">4.9 ★</span> (1,200+ reviews)
</p>
</div>
</div>
</div>
<div class="mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center">
<div class="relative mx-auto w-full rounded-lg shadow-lg overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-br from-primary/10 to-secondary/10 rounded-lg"></div>
<img class="w-full relative z-10 scan-animation" src="http://static.photos/sport/640x360/42" alt="Football boots on pitch">
<div class="absolute bottom-4 left-4 right-4 bg-white/80 backdrop-blur-sm rounded-lg p-3 z-20 shadow-sm">
<div class="flex items-center gap-3">
<div class="bg-primary/10 p-2 rounded-lg">
<i data-feather="scan" class="text-primary h-5 w-5"></i>
</div>
<div>
<p class="text-xs font-medium text-dark">AI Foot Scan</p>
<p class="text-xs text-gray-500">Get precise measurements in 30 seconds</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-dark sm:text-4xl">
How BootMatch AI works
</h2>
<p class="mt-3 max-w-2xl mx-auto text-base text-gray-500 sm:mt-4">
Our proprietary algorithm matches you with boots that fit like they were made for you
</p>
</div>
<div class="mt-12">
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4">
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8 h-full">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-primary rounded-md shadow-lg">
<i data-feather="scan" class="h-6 w-6 text-white"></i>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-dark tracking-tight">1. Scan Your Feet</h3>
<p class="mt-5 text-base text-gray-500">
Use your phone camera to capture precise foot measurements or enter them manually.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8 h-full">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-secondary rounded-md shadow-lg">
<i data-feather="clipboard" class="h-6 w-6 text-white"></i>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-dark tracking-tight">2. Player Profile</h3>
<p class="mt-5 text-base text-gray-500">
Answer questions about your position, playing surface, and style preferences.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8 h-full">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-primary rounded-md shadow-lg">
<i data-feather="cpu" class="h-6 w-6 text-white"></i>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-dark tracking-tight">3. AI Analysis</h3>
<p class="mt-5 text-base text-gray-500">
Our algorithm compares 50+ boot specs against your unique profile.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8 h-full">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-secondary rounded-md shadow-lg">
<i data-feather="check-circle" class="h-6 w-6 text-white"></i>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-dark tracking-tight">4. Perfect Match</h3>
<p class="mt-5 text-base text-gray-500">
Get ranked recommendations with detailed fit analysis for each boot.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Boot Database -->
<section class="py-16 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-3xl font-extrabold text-dark sm:text-4xl">
Explore Our Boot Database
</h2>
<p class="mt-3 max-w-2xl mx-auto text-base text-gray-500 sm:mt-4">
200+ models from top brands with detailed fit profiles and user reviews
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
<!-- Boot Card 1 -->
<div class="bg-white overflow-hidden shadow rounded-lg hover:shadow-lg transition">
<div class="p-5">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary/10 p-3 rounded-lg">
<i data-feather="star" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5 w-0 flex-1">
<div class="flex justify-between">
<h3 class="text-lg font-medium text-dark">Nike Phantom GT2</h3>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Best Match</span>
</div>
<p class="mt-1 text-sm text-gray-500">Elite Dynamic Fit</p>
</div>
</div>
<div class="mt-4">
<img class="w-full h-48 object-contain" src="http://static.photos/sport/640x360/101" alt="Nike Phantom GT2">
</div>
<div class="mt-4 grid grid-cols-3 gap-2">
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Width</p>
<p class="text-sm font-medium text-dark">Medium</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Arch</p>
<p class="text-sm font-medium text-dark">Medium</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Position</p>
<p class="text-sm font-medium text-dark">Midfield</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Match Score</p>
<div class="flex items-center">
<div class="w-24 bg-gray-200 rounded-full h-1.5">
<div class="bg-primary h-1.5 rounded-full" style="width: 92%"></div>
</div>
<span class="ml-2 text-xs font-medium text-dark">92%</span>
</div>
</div>
<button class="text-primary text-sm font-medium hover:text-primary/80 transition flex items-center gap-1">
View Details <i data-feather="arrow-right" class="h-3 w-3"></i>
</button>
</div>
</div>
</div>
<!-- Boot Card 2 -->
<div class="bg-white overflow-hidden shadow rounded-lg hover:shadow-lg transition">
<div class="p-5">
<div class="flex items-center">
<div class="flex-shrink-0 bg-secondary/10 p-3 rounded-lg">
<i data-feather="zap" class="h-6 w-6 text-secondary"></i>
</div>
<div class="ml-5 w-0 flex-1">
<div class="flex justify-between">
<h3 class="text-lg font-medium text-dark">Adidas Predator Edge</h3>
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded-full">Popular</span>
</div>
<p class="mt-1 text-sm text-gray-500">Precision Control</p>
</div>
</div>
<div class="mt-4">
<img class="w-full h-48 object-contain" src="http://static.photos/sport/640x360/102" alt="Adidas Predator Edge">
</div>
<div class="mt-4 grid grid-cols-3 gap-2">
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Width</p>
<p class="text-sm font-medium text-dark">Narrow</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Arch</p>
<p class="text-sm font-medium text-dark">High</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Position</p>
<p class="text-sm font-medium text-dark">Attacker</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Match Score</p>
<div class="flex items-center">
<div class="w-24 bg-gray-200 rounded-full h-1.5">
<div class="bg-primary h-1.5 rounded-full" style="width: 85%"></div>
</div>
<span class="ml-2 text-xs font-medium text-dark">85%</span>
</div>
</div>
<button class="text-primary text-sm font-medium hover:text-primary/80 transition flex items-center gap-1">
View Details <i data-feather="arrow-right" class="h-3 w-3"></i>
</button>
</div>
</div>
</div>
<!-- Boot Card 3 -->
<div class="bg-white overflow-hidden shadow rounded-lg hover:shadow-lg transition">
<div class="p-5">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary/10 p-3 rounded-lg">
<i data-feather="shield" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5 w-0 flex-1">
<div class="flex justify-between">
<h3 class="text-lg font-medium text-dark">Puma Future Z</h3>
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full">New Tech</span>
</div>
<p class="mt-1 text-sm text-gray-500">Adaptive Fit</p>
</div>
</div>
<div class="mt-4">
<img class="w-full h-48 object-contain" src="http://static.photos/sport/640x360/103" alt="Puma Future Z">
</div>
<div class="mt-4 grid grid-cols-3 gap-2">
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Width</p>
<p class="text-sm font-medium text-dark">Wide</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Arch</p>
<p class="text-sm font-medium text-dark">Low</p>
</div>
<div class="text-center p-2 bg-gray-50 rounded">
<p class="text-xs text-gray-500">Position</p>
<p class="text-sm font-medium text-dark">Defender</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div>
<p class="text-xs text-gray-500">Match Score</p>
<div class="flex items-center">
<div class="w-24 bg-gray-200 rounded-full h-1.5">
<div class="bg-primary h-1.5 rounded-full" style="width: 88%"></div>
</div>
<span class="ml-2 text-xs font-medium text-dark">88%</span>
</div>
</div>
<button class="text-primary text-sm font-medium hover:text-primary/80 transition flex items-center gap-1">
View Details <i data-feather="arrow-right" class="h-3 w-3"></i>
</button>
</div>
</div>
</div>
</div>
<div class="mt-10 text-center">
<button class="border border-dark px-6 py-3 rounded-full font-medium hover:bg-gray-50 transition flex items-center gap-2 mx-auto">
<i data-feather="database" class="h-4 w-4"></i>
View All Boots (200+)
</button>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-3xl font-extrabold text-dark sm:text-4xl">
Trusted by players at all levels
</h2>
<p class="mt-3 max-w-2xl mx-auto text-base text-gray-500 sm:mt-4">
See how BootMatch AI has helped players find their perfect boots
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
<!-- Testimonial 1 -->
<div class="bg-gray-50 p-6 rounded-lg">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="http://static.photos/people/200x200/10" alt="Alex Morgan">
<div class="ml-4">
<h4 class="text-sm font-medium text-dark">Alex Morgan</h4>
<p class="text-xs text-gray-500">College Midfielder</p>
</div>
</div>
<div class="mt-4">
<div class="flex items-center">
<div class="flex">
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
</div>
<span class="ml-2 text-xs text-gray-500">2 weeks ago</span>
</div>
<p class="mt-3 text-sm text-gray-600">
"I've struggled with blisters for years until BootMatch AI found me boots that actually fit. The difference is night and day!"
</p>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-gray-50 p-6 rounded-lg">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="http://static.photos/people/200x200/11" alt="Jamie Vardy">
<div class="ml-4">
<h4 class="text-sm font-medium text-dark">Jamie Vardy</h4>
<p class="text-xs text-gray-500">Semi-Pro Striker</p>
</div>
</div>
<div class="mt-4">
<div class="flex items-center">
<div class="flex">
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
</div>
<span class="ml-2 text-xs text-gray-500">1 month ago</span>
</div>
<p class="mt-3 text-sm text-gray-600">
"The scanner technology is incredible. Matched me with boots I never would have considered that turned out to be perfect."
</p>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-gray-50 p-6 rounded-lg">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="http://static.photos/people/200x200/12" alt="Samantha Kerr">
<div class="ml-4">
<h4 class="text-sm font-medium text-dark">Samantha Kerr</h4>
<p class="text-xs text-gray-500">Youth Coach</p>
</div>
</div>
<div class="mt-4">
<div class="flex items-center">
<div class="flex">
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
<i data-feather="star" class="h-4 w-4 text-yellow-400"></i>
</div>
<span class="ml-2 text-xs text-gray-500">3 weeks ago</span>
</div>
<p class="mt-3 text-sm text-gray-600">
"I use BootMatch for all my players now. Takes the guesswork out of boot selection and prevents so many foot problems."
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 bg-primary">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-white sm:text-4xl">
Ready to find your perfect boots?
</h2>
<p class="mt-3 max-w-2xl mx-auto text-base text-primary-100 sm:mt-4">
Get matched in minutes with our AI technology
</p>
<div class="mt-8 flex flex-col sm:flex-row gap-4 justify-center">
<button class="bg-white px-6 py-3 rounded-full text-primary font-medium hover:bg-white/90 transition flex items-center justify-center gap-2">
<i data-feather="download" class="h-4 w-4"></i>
Download App
</button>
<button class="border border-white px-6 py-3 rounded-full text-white font-medium hover:bg-white/10 transition flex items-center justify-center gap-2">
<i data-feather="smartphone" class="h-4 w-4"></i>
Try Web Version
</button>
</div>
<p class="mt-4 text-xs text-primary-200">
Available on iOS and Android. No credit card required.
</p>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-dark text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-sm font-semibold tracking-wider uppercase">Product</h3>
<div class="mt-4 space-y-4">
<a href="#" class="text-base text-gray-300 hover:text-white">Features</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Pricing</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Boot Database</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Reviews</a>
</div>
</div>
<div>
<h3 class="text-sm font-semibold tracking-wider uppercase">Resources</h3>
<div class="mt-4 space-y-4">
<a href="#" class="text-base text-gray-300 hover:text-white">Blog</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Boot Care Guide</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Fit Tips</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Help Center</a>
</div>
</div>
<div>
<h3 class="text-sm font-semibold tracking-wider uppercase">Company</h3>
<div class="mt-4 space-y-4">
<a href="#" class="text-base text-gray-300 hover:text-white">About</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Press</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Careers</a>
<a href="#" class="text-base text-gray-300 hover:text-white block">Contact</a>
</div>
</div>
<div>
<h3 class="text-sm font-semibold tracking-wider uppercase">Connect</h3>
<div class="mt-4 space-y-4">
<div class="flex space-x-6">
<a href="#" class="text-gray-300 hover:text-white">
<i data-feather="instagram" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white">
<i data-feather="twitter" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white">
<i data-feather="facebook" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white">
<i data-feather="youtube" class="h-5 w-5"></i>
</a>
</div>
<p class="text-xs text-gray-400">
Join our community of 75,000+ football players
</p>
</div>
</div>
</div>
<div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between">
<div class="flex items-center">
<i data-feather="zap" class="text-primary h-6 w-6"></i>
<span class="ml-2 font-bold text-lg text-primary">BootMatch AI</span>
</div>
<p class="mt-4 md:mt-0 text-base text-gray-400">
&copy; 2023 BootMatch AI. All rights reserved.
</p>
</div>
</div>
</footer>
<!-- Ad Banner (Bottom) -->
<div class="fixed bottom-0 left-0 right-0 bg-white shadow-md border-t border-gray-200 py-2 px-4 z-50">
<div class="max-w-7xl mx-auto flex items-center justify-between">
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="http://static.photos/sport/200x200/50" alt="Adidas">
<div class="ml-3">
<p class="text-xs font-medium text-dark">Limited Time Offer</p>
<p class="text-xs text-gray-500">Get 15% off your first boot purchase</p>
</div>
</div>
<button class="bg-primary px-4 py-1 rounded-full text-white text-xs font-medium hover:bg-primary/90 transition">Shop Now</button>
</div>
</div>
<script>
feather.replace();
// Simple animation for testimonial cards on scroll
document.addEventListener('DOMContentLoaded', function() {
const testimonialCards = document.querySelectorAll('.bg-gray-50.p-6.rounded-lg');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, { threshold: 0.1 });
testimonialCards.forEach((card, index) => {
card.style.opacity = '0';
card.style.transform = 'translateY(20px)';
card.style.transition = `all 0.3s ease ${index * 0.1}s`;
observer.observe(card);
});
});
</script>
</body>
</html>