import { homepage } from "@/marketing/content/homepage";

export function HowItWorks() {
  return (
    <section id="how-it-works" 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.howItWorks.title}
          </h2>
          <p className="text-lg text-muted-foreground md:text-xl">
            {homepage.howItWorks.description}
          </p>
        </div>
        
        <div className="space-y-8 pt-8">
          {homepage.howItWorks.steps.map((step) => (
            <div key={step.number} className="flex gap-6">
              <div className="flex-shrink-0">
                <div className="flex h-12 w-12 items-center justify-center rounded-full bg-primary text-primary-foreground font-bold text-xl">
                  {step.number}
                </div>
              </div>
              <div className="space-y-2 pt-1">
                <h3 className="text-2xl font-bold">{step.title}</h3>
                <p className="text-lg text-muted-foreground leading-relaxed">
                  {step.description}
                </p>
              </div>
            </div>
          ))}
        </div>
      </div>
      </div>
    </section>
  );
}

