mln / index.html
spwotton's picture
maybe do the reverse and have it pop up as you scroll - Follow Up Deployment
31dc418 verified
Raw
History Blame Contribute Delete
35.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MaxLife Naturals | Premium Anti-Aging & Wellness Supplements</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Proxima+Nova:wght@400;500;600;700&family=Proxima+Nova+Condensed:wght@700;800&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
secondary: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
},
accent: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
},
fontFamily: {
sans: ['Proxima Nova', 'sans-serif'],
display: ['Proxima Nova Condensed', 'sans-serif'],
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
},
keyframes: {
glow: {
'0%': { boxShadow: '0 0 0 0 rgba(59, 130, 246, 0.7)' },
'100%': { boxShadow: '0 0 0 8px rgba(59, 130, 246, 0)' },
}
}
}
}
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
<style>
@keyframes bottleFlip {
0% {
transform: rotateX(90deg) scale(0.8);
filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
20% {
transform: rotateX(30deg) scale(0.9);
}
40% {
transform: rotateX(-20deg) scale(1);
}
60% {
transform: rotateX(10deg) scale(1);
}
80% {
transform: rotateX(-5deg) scale(1);
}
100% {
transform: rotateX(0deg) scale(1);
filter: drop-shadow(0 20px 30px rgba(0, 123, 255, 0.2));
}
}
.bottle-animation {
transform-origin: bottom center;
will-change: transform;
}
.bottle-shadow {
position: absolute;
bottom: -20px;
left: 50%;
width: 100px;
height: 20px;
background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
border-radius: 50%;
transform: translateX(-50%) scale(0.8);
filter: blur(3px);
opacity: 0;
will-change: transform, opacity;
}
.sacred-geometry {
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM9 33c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%230ea5e9' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.hero-gradient {
background: linear-gradient(135deg, rgba(14,165,233,0.2) 0%, rgba(22,163,74,0.1) 100%);
}
.btn-glow {
animation: glow 1.5s ease-in-out infinite alternate;
}
.fade-in {
animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.delay-100 {
animation-delay: 100ms;
}
.delay-200 {
animation-delay: 200ms;
}
.delay-300 {
animation-delay: 300ms;
}
.floating {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
.sticky-nav {
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.scroll-snap-container {
scroll-snap-type: y mandatory;
height: 100vh;
overflow-y: scroll;
}
.scroll-snap-section {
scroll-snap-align: start;
min-height: 100vh;
}
</style>
</head>
<body class="bg-white font-sans text-gray-700">
<!-- Sticky Navigation -->
<nav x-data="{ open: false, cartOpen: false }" class="sticky-nav bg-white/80 backdrop-blur-lg py-4 px-6 shadow-sm border-b border-gray-100">
<div class="max-w-7xl mx-auto flex justify-between items-center">
<div class="flex items-center">
<a href="#" class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary-600 to-accent-600 flex items-center justify-center">
<i class="fas fa-leaf text-white text-xl"></i>
</div>
<span class="font-bold text-2xl text-primary-800" style="font-family: 'Proxima Nova Condensed', sans-serif;">MaxLife</span>
</a>
</div>
<!-- Desktop Menu -->
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="font-medium hover:text-primary-600 transition">Shop</a>
<a href="#" class="font-medium hover:text-primary-600 transition">Ingredients</a>
<a href="#" class="font-medium hover:text-primary-600 transition">Science</a>
<a href="#" class="font-medium hover:text-primary-600 transition">Resources</a>
<a href="#" class="font-medium hover:text-primary-600 transition">Our Mission</a>
</div>
<!-- Icons -->
<div class="flex items-center space-x-5">
<a href="#" class="relative">
<i class="fas fa-search text-gray-500 hover:text-primary-600"></i>
</a>
<a href="#" @click.prevent="cartOpen = true" class="relative">
<i class="fas fa-shopping-cart text-gray-500 hover:text-primary-600"></i>
<span class="absolute -top-2 -right-2 bg-primary-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
</a>
<a href="#" class="hidden md:block">
<i class="fas fa-user-circle text-gray-500 hover:text-primary-600"></i>
</a>
<button @click="open = !open" class="md:hidden text-gray-600 focus:outline-none">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div x-show="open" @click.away="open = false" class="md:hidden bg-white py-4 px-6 absolute top-full left-0 right-0 shadow-lg">
<div class="flex flex-col space-y-3">
<a href="#" class="font-medium hover:text-primary-600">Shop</a>
<a href="#" class="font-medium hover:text-primary-600">Ingredients</a>
<a href="#" class="font-medium hover:text-primary-600">Science</a>
<a href="#" class="font-medium hover:text-primary-600">Resources</a>
<a href="#" class="font-medium hover:text-primary-600">Our Mission</a>
<a href="#" class="font-medium hover:text-primary-600">Account</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative min-h-screen overflow-hidden bg-gradient-to-br from-white via-blue-50 to-green-50">
<div class="absolute inset-0 z-0 opacity-20" style="background-image: radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.4), transparent 70%), radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.3), transparent 50%);"></div>
<div class="relative z-10 max-w-7xl mx-auto px-6 h-full flex flex-col items-center justify-center text-center py-20">
<div class="fade-in w-full">
<div class="flex flex-col lg:flex-row items-center justify-center">
<div class="order-2 lg:order-1 lg:w-1/2">
<h1 class="text-6xl lg:text-8xl font-extrabold uppercase mb-2 text-black">
Science Meets
</h1>
<h1 class="text-6xl lg:text-8xl font-extrabold uppercase mb-6 text-green-600">
Nature's Wisdom
</h1>
<p class="text-lg lg:text-xl text-gray-700 mt-4 max-w-2xl mx-auto">
Clinically-backed formulas for graceful aging and focused calm. Pure ingredients, ethical science, measurable results.
</p>
<a href="#" class="mt-8 inline-block bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-6 rounded-lg transition-colors hover:scale-105 transition-transform duration-200">
Discover Our Science
</a>
</div>
<!-- Bottle Image -->
<div class="order-1 lg:order-2 mb-12 lg:mb-0 lg:w-1/2 relative">
<div class="w-48 h-72 sm:w-56 sm:h-80 md:w-64 md:h-96 mx-auto relative">
<div class="bottle-animation w-full h-full">
<img
src="https://cdn.shopify.com/s/files/1/2382/2759/files/DayChill_60_Front.webp"
class="w-full h-full object-contain"
style="transform-style: preserve-3d;" />
</div>
<div class="bottle-shadow"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Science & Nature Section -->
<section class="py-24 bg-gradient-to-b from-white to-gray-50">
<div class="max-w-7xl mx-auto px-6">
<div class="text-center mb-20">
<span class="inline-block px-3 py-1 bg-primary-100 text-primary-700 rounded-full text-sm font-medium mb-4">
SCIENTIFICALLY VALIDATED
</span>
<h2 class="text-3xl md:text-4xl font-serif font-bold text-gray-800 mb-6">
Where Rigorous Research Meets Natural Healing
</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">
Our formulas are developed by PhD biochemists and tested in clinical settings. We source sustainably and prioritize purity above all.
</p>
</div>
<!-- Science Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="bg-white rounded-xl shadow-sm p-8 border border-gray-100 hover:border-primary-200 transition-all hover:shadow-lg">
<div class="w-14 h-14 rounded-full bg-primary-500 flex items-center justify-center text-white text-xl mb-6">
<i class="fas fa-microscope"></i>
</div>
<h3 class="font-bold text-xl mb-3">Clinical Research</h3>
<p class="text-gray-600">120+ peer-reviewed studies inform every formula we create</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-8 border border-gray-100 hover:border-primary-200 transition-all hover:shadow-lg">
<div class="w-14 h-14 rounded-full bg-secondary-500 flex items-center justify-center text-white text-xl mb-6">
<i class="fas fa-flask"></i>
</div>
<h3 class="font-bold text-xl mb-3">Bioavailability</h3>
<p class="text-gray-600">Our nano-delivery systems ensure maximum absorption</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-8 border border-gray-100 hover:border-primary-200 transition-all hover:shadow-lg">
<div class="w-14 h-14 rounded-full bg-accent-500 flex items-center justify-center text-white text-xl mb-6">
<i class="fas fa-recycle"></i>
</div>
<h3 class="font-bold text-xl mb-3">Sustainable Sourcing</h3>
<p class="text-gray-600">Partnering with regenerative farms worldwide</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-8 border border-gray-100 hover:border-primary-200 transition-all hover:shadow-lg">
<div class="w-14 h-14 rounded-full bg-primary-600 flex items-center justify-center text-white text-xl mb-6">
<i class="fas fa-seedling"></i>
</div>
<h3 class="font-bold text-xl mb-3">Plant Intelligence</h3>
<p class="text-gray-600">Harnessing nature's wisdom through advanced phytochemistry</p>
</div>
</div>
</div>
</section>
<!-- Category Showcase -->
<section class="py-24 bg-gray-50">
<div class="max-w-7xl mx-auto px-6">
<div class="flex items-center justify-between mb-14">
<div>
<h2 class="text-3xl font-serif font-bold text-gray-800">Specialized Wellness</h2>
<p class="text-gray-600">Solutions for different wellness needs</p>
</div>
<a href="#" class="text-primary-600 font-medium flex items-center">
Explore All <i class="fas fa-arrow-right ml-2 text-sm"></i>
</a>
</div>
<!-- Categories -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Anti-Aging -->
<div class="group rounded-2xl overflow-hidden shadow-lg relative">
<div class="h-80 bg-gradient-to-br from-blue-50 to-indigo-100 flex flex-col justify-between p-8">
<div>
<h3 class="text-xl font-bold text-primary-800 mb-2">Anti-Aging Peptides</h3>
<p class="text-gray-700">Advanced cellular regeneration for vibrant longevity</p>
</div>
<div class="flex justify-center">
<div class="w-32 h-32 rounded-full bg-gradient-to-r from-primary-400 to-indigo-500 flex items-center justify-center transform group-hover:scale-110 transition duration-300">
<i class="fas fa-clock text-white text-5xl"></i>
</div>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 bg-white px-6 py-4 flex justify-between items-center">
<span class="font-medium">8 Formulas</span>
<a href="#" class="px-4 py-2 bg-primary-50 text-primary-600 rounded-full text-sm font-medium group-hover:bg-primary-600 group-hover:text-white transition">Shop Now</a>
</div>
</div>
<!-- Nutraceuticals -->
<div class="group rounded-2xl overflow-hidden shadow-lg relative">
<div class="h-80 bg-gradient-to-br from-green-50 to-emerald-100 flex flex-col justify-between p-8">
<div>
<h3 class="text-xl font-bold text-secondary-800 mb-2">Premium Nutraceuticals</h3>
<p class="text-gray-700">Targeted solutions for energy, immunity and vitality</p>
</div>
<div class="flex justify-center">
<div class="w-32 h-32 rounded-full bg-gradient-to-r from-secondary-400 to-emerald-500 flex items-center justify-center transform group-hover:scale-110 transition duration-300">
<i class="fas fa-capsules text-white text-5xl"></i>
</div>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 bg-white px-6 py-4 flex justify-between items-center">
<span class="font-medium">12 Formulas</span>
<a href="#" class="px-4 py-2 bg-secondary-50 text-secondary-600 rounded-full text-sm font-medium group-hover:bg-secondary-600 group-hover:text-white transition">Shop Now</a>
</div>
</div>
<!-- Calming for Kids -->
<div class="group rounded-2xl overflow-hidden shadow-lg relative">
<div class="h-80 bg-gradient-to-br from-purple-50 to-indigo-100 flex flex-col justify-between p-8">
<div>
<h3 class="text-xl font-bold text-accent-800 mb-2">Calming for Kids</h3>
<p class="text-gray-700">Gentle, non-sedative formulas for neurodivergent children</p>
</div>
<div class="flex justify-center">
<div class="w-32 h-32 rounded-full bg-gradient-to-r from-accent-400 to-purple-500 flex items-center justify-center transform group-hover:scale-110 transition duration-300">
<i class="fas fa-child text-white text-5xl"></i>
</div>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 bg-white px-6 py-4 flex justify-between items-center">
<span class="font-medium">4 Formulas</span>
<a href="#" class="px-4 py-2 bg-accent-50 text-accent-600 rounded-full text-sm font-medium group-hover:bg-accent-600 group-hover:text-white transition">Shop Now</a>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-24 bg-gradient-to-r from-primary-50 to-blue-50">
<div class="max-w-7xl mx-auto px-6">
<div class="text-center mb-20">
<h2 class="text-3xl md:text-4xl font-serif font-bold text-gray-800 mb-6">
Real Results, Real Lives Changed
</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">
Thousands have experienced measurable improvements in focus, calm and vitality
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-white rounded-2xl p-8 shadow-md">
<div class="flex items-center mb-6">
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-primary-500 to-indigo-500 flex items-center justify-center text-white mr-4">
<i class="fas fa-user"></i>
</div>
<div>
<h4 class="font-bold">Michael T.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic mb-6">
"After 3 months of using Telomere Repair, my skin elasticity tests show cellular age reduced by 7 years. At 58, I've never felt better."
</p>
<div class="text-sm text-gray-500 flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
Verified Purchase
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white rounded-2xl p-8 shadow-md">
<div class="flex items-center mb-6">
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-secondary-500 to-teal-500 flex items-center justify-center text-white mr-4">
<i class="fas fa-user"></i>
</div>
<div>
<h4 class="font-bold">Sarah J.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic mb-6">
"My 8-year-old with ASD has had 45% fewer meltdowns since starting NeuroFocus+. It doesn't sedate, just helps him feel balanced."
</p>
<div class="text-sm text-gray-500 flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
Verified Purchase
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-white rounded-2xl p-8 shadow-md">
<div class="flex items-center mb-6">
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-accent-500 to-purple-500 flex items-center justify-center text-white mr-4">
<i class="fas fa-user"></i>
</div>
<div>
<h4 class="font-bold">Dr. Priya K.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 italic mb-6">
"As a biochemist, I'm impressed with their ingredient purity. All formulas pass our lab's rigorous heavy metal screening."
</p>
<div class="text-sm text-gray-500 flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
Verified Professional
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gradient-to-b from-gray-900 to-black text-white pt-24 pb-12">
<div class="max-w-7xl mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-10 mb-16">
<div>
<a href="#" class="flex items-center space-x-2 mb-6">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary-600 to-accent-600 flex items-center justify-center">
<i class="fas fa-leaf text-white text-xl"></i>
</div>
<span class="font-bold text-2xl" style="font-family: 'Playfair Display', serif;">MaxLife</span>
</a>
<p class="text-gray-400 mb-6">
Advanced formulations for mindful longevity and neurological wellbeing.
</p>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary-600 transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary-600 transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary-600 transition">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div>
<h4 class="font-bold text-lg mb-6">Products</h4>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition">Anti-Aging Peptides</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Nutraceuticals</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Calming for Kids</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">New Releases</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Bundles & Kits</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-6">Resources</h4>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition">Clinical Research</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Autism Resources</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Aging Gracefully</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Ingredient Glossary</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">FAQ</a></li>
</ul>
</div>
<div>
<h4 class="font-bold text-lg mb-6">Stay Connected</h4>
<p class="text-gray-400 mb-6">
Join our community for the latest research and exclusive offers.
</p>
<form class="space-y-4">
<div>
<input type="email" placeholder="Your email address" class="w-full px-4 py-3 bg-gray-800 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
</div>
<button class="w-full py-3 bg-gradient-to-r from-primary-600 to-accent-600 rounded-lg font-medium hover:opacity-90 transition">
Subscribe
</button>
</form>
</div>
</div>
<div class="pt-8 border-t border-gray-800 text-center text-gray-500 text-sm">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
&copy; 2023 MaxLife Naturals. All rights reserved.
</div>
<div class="flex flex-wrap justify-center gap-6">
<a href="#" class="hover:text-white transition">Privacy Policy</a>
<a href="#" class="hover:text-white transition">Terms of Service</a>
<a href="#" class="hover:text-white transition">Accessibility</a>
<a href="#" class="hover:text-white transition">Compliance</a>
<a href="#" class="hover:text-white transition">Contact</a>
</div>
</div>
<div class="mt-8 flex flex-wrap justify-center items-center gap-8">
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>FDA Registered Facility</span>
</div>
<div class="flex items-center">
<i class="fas fa-flask text-indigo-500 mr-2"></i>
<span>GMP Certified</span>
</div>
<div class="flex items-center">
<i class="fas fa-leaf text-green-500 mr-2"></i>
<span>Certified Organic</span>
</div>
</div>
</div>
</div>
</footer>
<script>
gsap.registerPlugin(ScrollTrigger);
document.addEventListener('DOMContentLoaded', () => {
const bottle = document.querySelector('.bottle-animation');
const shadow = document.querySelector('.bottle-shadow');
// Set initial position - below viewport and slightly rotated
gsap.set(bottle, {
y: 150,
rotationZ: 15,
scale: 0.8,
opacity: 0,
filter: 'drop-shadow(0 10px 15px rgba(0,0,0,0.1))'
});
gsap.set(shadow, {
opacity: 0,
scale: 0.5
});
// Create the scroll animation
ScrollTrigger.create({
trigger: bottle,
start: "top 90%",
end: "center center",
onEnter: () => {
// Main bottle pop-up animation
const tl = gsap.timeline();
tl.to(bottle, {
duration: 1.2,
y: 0,
rotationZ: 0,
scale: 1,
opacity: 1,
ease: "back.out(1.2)",
filter: 'drop-shadow(0 20px 30px rgba(0, 123, 255, 0.2))'
})
.to(shadow, {
duration: 1,
opacity: 1,
scale: 0.8,
ease: "power2.out"
}, 0.2);
},
onLeaveBack: () => {
// Reset if scrolling back up
gsap.to(bottle, {
duration: 0.5,
y: 150,
rotationZ: 15,
scale: 0.8,
opacity: 0,
ease: "power1.in"
});
gsap.to(shadow, {
duration: 0.3,
opacity: 0,
scale: 0.5
});
}
});
// Add subtle floating animation after flip
ScrollTrigger.create({
trigger: bottle,
start: "center center",
onEnter: () => {
gsap.to(bottle, {
duration: 3,
y: "-=10",
repeat: -1,
yoyo: true,
ease: "sine.inOut"
});
gsap.to(shadow, {
duration: 3,
scale: "0.85",
repeat: -1,
yoyo: true,
ease: "sine.inOut"
});
}
});
});
</script>
<!-- Floating CTA for Mobile -->
<div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg p-4 z-50 flex justify-between items-center md:hidden">
<div>
<h4 class="font-bold">NeuroFocus+</h4>
<p class="text-primary-600 font-medium">$64.99</p>
</div>
<a href="#" class="px-6 py-3 bg-gradient-to-r from-primary-600 to-accent-600 text-white font-medium rounded-full shadow-lg">
Add to Cart
</a>
</div>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=spwotton/mln" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>