import { Button } from "@/components/ui/button";
import { Sparkles, Calendar } from "lucide-react";
import Link from "next/link";
import { homepage } from "@/marketing/content/homepage";

export function CTA() {
  return (
    <section className="w-full py-16 md:py-24">
      <div className="container mx-auto px-6">
        <div className="mx-auto flex max-w-[980px] flex-col items-center gap-6 rounded-2xl border bg-gradient-to-br from-blue-50 to-purple-50 dark:from-blue-950/20 dark:to-purple-950/20 p-12 md:p-16">
        <h2 className="text-2xl font-bold leading-tight tracking-tight md:text-4xl lg:text-5xl text-center max-w-[800px]">
          {homepage.finalCTA.title}
        </h2>
        <div className="flex flex-col sm:flex-row gap-4 pt-4">
          <Link href="/auth">
            <Button size="lg" className="h-12 px-8 text-base">
              <Sparkles className="mr-2 h-5 w-5" />
              {homepage.finalCTA.cta.primary}
            </Button>
          </Link>
          <Link href="https://calendly.com/your-link" target="_blank" rel="noopener noreferrer">
            <Button variant="outline" size="lg" className="h-12 px-8 text-base">
              <Calendar className="mr-2 h-5 w-5" />
              {homepage.finalCTA.cta.secondary}
            </Button>
          </Link>
        </div>
      </div>
      </div>
    </section>
  );
}

