/** * Landing Section: Features Grid * * Bento-style 2-column grid with 4 feature cards. */ import { type ReactNode } from 'react' import { motion } from 'framer-motion' import { Zap, Shield, BarChart3, Sparkles, Check } from 'lucide-react' import { StaggerContainer, staggerChild, GlassCard, PlaceholderImage, SectionHeading, cn, } from '../primitives' // ============================================================================ // Configuration // ============================================================================ const FEATURES: Array<{ icon: typeof Zap title: string description: string gradient: string iconColor: string borderGlow: string image: string Visual: (() => ReactNode) | null }> = [ { icon: Zap, title: 'Lightning Fast', description: 'Real-time sync and instant updates across all devices.', gradient: 'from-amber-500/20 to-orange-500/20', iconColor: 'text-amber-400', borderGlow: 'group-hover:shadow-[0_0_30px_rgba(245,158,11,0.15)]', image: '', Visual: null, }, { icon: Shield, title: 'Secure by Default', description: 'Enterprise-grade security with role-based access and encryption.', gradient: 'from-emerald-500/20 to-teal-500/20', iconColor: 'text-emerald-400', borderGlow: 'group-hover:shadow-[0_0_30px_rgba(16,185,129,0.15)]', image: '', Visual: ShieldVisual, }, { icon: BarChart3, title: 'Powerful Analytics', description: 'Built-in dashboards and real-time insights for better decisions.', gradient: 'from-blue-500/20 to-cyan-500/20', iconColor: 'text-blue-400', borderGlow: 'group-hover:shadow-[0_0_30px_rgba(59,130,246,0.15)]', image: '', Visual: BarChartVisual, }, { icon: Sparkles, title: 'AI-Powered', description: 'Smart automation that learns from your workflow.', gradient: 'from-violet-500/20 to-purple-500/20', iconColor: 'text-violet-400', borderGlow: 'group-hover:shadow-[0_0_30px_rgba(139,92,246,0.15)]', image: '', Visual: null, }, ] // ============================================================================ // Decorative Visuals // ============================================================================ function ShieldVisual() { const checkItems = ['Encryption', 'RBAC', 'Audit Log'] return (
{feature.description}