import { observeReveals } from './animations/reveal-observer.js'; import { initLiquidGlass } from './animations/glass-surface.js'; import { initHeroSection } from './sections/hero.js'; import { initTestimonialsSection } from './sections/testimonials.js'; import { initPartnersSection } from './sections/partners.js'; import { initFaqSection } from './sections/faq.js'; import { initStatsSection } from './sections/stats.js'; import { getDeviceCapability, getAnimationConfig } from './utils/device-capability.js'; function initApp() { const deviceCapability = getDeviceCapability(); const animationConfig = getAnimationConfig(); observeReveals(); if (animationConfig.glassSurface.enabled) { initLiquidGlass(animationConfig.glassSurface); } initHeroSection(animationConfig); initStatsSection(); initTestimonialsSection(animationConfig); initPartnersSection(); initFaqSection(); } document.addEventListener('DOMContentLoaded', initApp);