import { Container } from "@/components/container";
import { Heading } from "@/components/heading";
import { Subheading } from "@/components/subheading";
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { CheckCircle, ShieldCheck, ShoppingBag, Users } from "lucide-react";

const features = [
  {
    title: "Verified Sellers",
    description: "Every seller is manually verified by our admin team to ensure quality and authenticity.",
    icon: <ShieldCheck className="w-8 h-8 text-pink-600" />,
  },
  {
    title: "Support Local",
    description: "Directly support housewives and independent women artists in your community.",
    icon: <Users className="w-8 h-8 text-pink-600" />,
  },
  {
    title: "Unique Products",
    description: "Discover one-of-a-kind handmade items that you won't find in big-box stores.",
    icon: <ShoppingBag className="w-8 h-8 text-pink-600" />,
  },
  {
    title: "Secure Platform",
    description: "Safe and secure transactions for both buyers and sellers with dedicated support.",
    icon: <CheckCircle className="w-8 h-8 text-pink-600" />,
  },
];

export function Features() {
  return (
    <section id="about" className="py-20 bg-neutral-50">
      <Container>
        <div className="text-center max-w-3xl mx-auto mb-16">
          <Heading>Why Choose HerCraft?</Heading>
          <Subheading className="mt-4">
            We bridge the gap between talented women creators and conscious consumers who want to make a difference.
          </Subheading>
        </div>
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
          {features.map((feature, index) => (
            <Card key={index} className="border-none shadow-sm hover:shadow-md transition-shadow bg-white">
              <CardHeader>
                <div className="mb-4">{feature.icon}</div>
                <CardTitle className="text-xl font-bold">{feature.title}</CardTitle>
                <CardDescription className="text-neutral-600 mt-2">
                  {feature.description}
                </CardDescription>
              </CardHeader>
            </Card>
          ))}
        </div>
      </Container>
    </section>
  );
}
