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="vibn-cta-surface mx-auto flex max-w-[980px] flex-col items-center gap-6 rounded-2xl border border-border p-12 md:p-16">
        <h2 className="font-serif text-2xl font-semibold 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?new=1">
            <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>
  );
}

