"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import FooterBase from "@/components/sections/footer/FooterBase";
import PricingCardThree from "@/components/sections/pricing/PricingCardThree";

export default function PricingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Switzerweb"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Réalisations", id: "work" },
            { name: "Services", id: "services" },
            { name: "À Propos", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Pricing", id: "pricing" }
          ]}
          button={{ text: "Démarrer", href: "#contact" }}
        />
        <div id="pricing" className="pt-32 pb-20">
          <PricingCardThree
            title="Nos Plans Tarifaires"
            description="Choisissez l'offre qui propulsera votre projet vers le succès."
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            plans={[
              { id: "starter", price: "$49", name: "Starter", features: ["SEO de base", "Design Réactif", "Maintenance Mensuelle"], buttons: [{ text: "Démarrer", href: "#" }] },
              { id: "growth", price: "$99", name: "Growth", features: ["SEO Avancé", "Stratégie Digitale", "Support 24/7", "Analytique"], buttons: [{ text: "Choisir", href: "#" }] },
              { id: "pro", price: "$199", name: "Pro", features: ["Tout le pack Growth", "UI/UX Personnalisé", "Gestionnaire Dédié", "Performance Optimisée"], buttons: [{ text: "Passer au niveau supérieur", href: "#" }] }
            ]}
          />
        </div>
        <FooterBase
          logoText="Switzerweb"
          copyrightText="© 2026 | Switzerweb"
          columns={[
            { title: "Entreprise", items: [{ label: "À Propos", href: "#about" }, { label: "Services", href: "#services" }, { label: "Contact", href: "#contact" }] },
            { title: "Services", items: [{ label: "Dév Web", href: "#" }, { label: "SEO", href: "#" }] },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}