import { Bot, Download, Heart, Library, Smartphone, Video } from 'lucide-react';

const Features = () => {
    const features = [
        {
            icon: Heart,
            title: 'Make video memes for free',
            description: 'Access 200+ meme and background libraries without paying a cent!',
        },
        {
            icon: Video,
            title: 'Web-powered Video Editor',
            description: 'Easy video editor with editable text, background, memes, built into the web. No additional software required.',
        },

        {
            icon: Download,
            title: 'Export in minutes',
            description: 'Download high-quality 720p MP4 videos optimized for TikTok, Youtube Shorts, Instagram Reels, and more.',
        },
        {
            icon: Smartphone,
            title: 'Works Everywhere',
            description: 'Create on desktop, tablet, or mobile! Potato devices not recommended though.',
        },
        {
            icon: Library,
            title: 'Meme Library Updates',
            description: 'Soon we will be adding more memes and backgrounds to the library!',
            comingSoon: true,
        },
        {
            icon: Bot,
            title: 'AI Caption & Backgrounds',
            description: 'Smart caption and background generation coming soon.',
            comingSoon: true,
        },
    ];

    return (
        <section className="">
            <div className="mx-auto max-w-6xl space-y-10 px-4 sm:px-6 lg:px-8">
                <div className="grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3 lg:gap-4">
                    {features.map((feature, index) => (
                        <div
                            key={index}
                            className="group bg-card hover:bg-muted/50 relative rounded-2xl border p-6 transition-all duration-300 lg:p-8"
                        >
                            {feature.comingSoon && (
                                <div className="bg-foreground text-background absolute -top-2 -right-2 rounded-full px-2 py-1 text-xs font-medium uppercase">
                                    Coming Soon
                                </div>
                            )}

                            <div className="mb-4">
                                <feature.icon className="text-foreground h-8 w-8" />
                            </div>

                            <h3 className="text-foreground mb-2 text-xl font-semibold">{feature.title}</h3>

                            <p className="text-muted-foreground leading-relaxed">{feature.description}</p>
                        </div>
                    ))}
                </div>
            </div>
        </section>
    );
};

export default Features;
