import { Check } from "lucide-react";
import { homepage } from "@/marketing/content/homepage";

export function WhoItsFor() {
  return (
    <section id="who-its-for" className="w-full py-16 md:py-24">
      <div className="container mx-auto px-6">
        <div className="mx-auto max-w-[900px] space-y-12">
        <div className="text-center space-y-4">
          <h2 className="font-serif text-3xl font-semibold tracking-tight md:text-5xl">
            {homepage.whoItsFor.title}
          </h2>
          <p className="text-2xl font-semibold text-muted-foreground md:text-3xl">
            {homepage.whoItsFor.subtitle}
          </p>
          <p className="text-lg text-muted-foreground md:text-xl pt-4 leading-relaxed">
            {homepage.whoItsFor.description}
          </p>
        </div>
        
        <div className="grid gap-4 pt-8">
          {homepage.whoItsFor.traits.map((trait, index) => (
            <div
              key={index}
              className="flex items-start gap-4 rounded-lg border bg-card p-6 transition-all hover:border-primary/50"
            >
              <div className="rounded-full bg-primary/10 p-2 mt-1">
                <Check className="h-5 w-5 text-primary" />
              </div>
              <p className="text-lg leading-relaxed">{trait}</p>
            </div>
          ))}
        </div>
      </div>
      </div>
    </section>
  );
}

