import { siteConfig } from '@/lib/site'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'

export function Features() {
  return (
    <section className="py-24 px-4 bg-gray-50 dark:bg-gray-900">
      <div className="max-w-7xl mx-auto">
        <h2 className="text-3xl md:text-4xl font-bold text-center mb-12">
          Key Features
        </h2>
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
          {siteConfig.features.map((feature, index) => (
            <Card key={index}>
              <CardHeader>
                <div className="w-12 h-12 rounded-lg mb-4 bg-black dark:bg-white" />
                <CardTitle>{feature}</CardTitle>
              </CardHeader>
              <CardContent>
                <CardDescription>
                  Powerful tools and features to enhance your workflow.
                </CardDescription>
              </CardContent>
            </Card>
          ))}
        </div>
      </div>
    </section>
  )
}
