// Simple animation for feature cards on scroll document.addEventListener('DOMContentLoaded', function() { const featureCards = document.querySelectorAll('.features-grid > div'); featureCards.forEach((card, index) => { // Add staggered delay for animation card.style.transitionDelay = `${index * 0.1}s`; }); // Simple form submission for early access const earlyAccessForm = document.querySelector('section.py-20.bg-gradient-to-r form'); if (earlyAccessForm) { earlyAccessForm.addEventListener('submit', function(e) { e.preventDefault(); const emailInput = this.querySelector('input[type="email"]'); if (emailInput.value && emailInput.checkValidity()) { // In a real app, you would send this to your backend alert('Thank you! You\'ve been added to our early access list.'); emailInput.value = ''; } else { alert('Please enter a valid email address.'); } }); } });