"use client";

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

export default function PricingPage() {
  const updatedNavItems = [
    { name: "Work", id: "#work" },
    { name: "Services", id: "#services" },
    { name: "About", id: "#about" },
    { name: "Pricing", id: "/pricing" },
    { name: "Contact", id: "/contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="metallic"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Webild"
          navItems={updatedNavItems}
          button={{ text: "Get Started", href: "/contact" }}
        />
        <PricingCardOne
          title="Simple, Transparent Pricing"
          description="Choose the plan that's right for your business. No hidden fees, just powerful web solutions."
          tag="Affordable Plans"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "basic",              badge: "Starter",              price: "$499",              subtitle: "Perfect for new businesses",              features: [
                "1-page website",                "Responsive design",                "Basic SEO optimization",                "Contact form",                "Standard support"],
            },
            {
              id: "pro",              badge: "Pro",              price: "$999",              subtitle: "Grow your online presence",              features: [
                "Up to 5 pages",                "Advanced SEO",                "Content management system",                "Social media integration",                "Priority support"],
            },
            {
              id: "enterprise",              badge: "Enterprise",              price: "Custom",              subtitle: "Tailored for large organizations",              features: [
                "Unlimited pages",                "E-commerce functionality",                "Custom integrations",                "Dedicated account manager",                "24/7 Premium support"],
            },
          ]}
        />
        <FooterSimple
          bottomLeftText="© 2026 | Webild"
          bottomRightText="All rights reserved."
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Services", href: "#services" },
                { label: "Work", href: "#work" },
                { label: "Pricing", href: "/pricing" },
                { label: "Contact", href: "/contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Web Development", href: "#" },
                { label: "SEO", href: "#" },
                { label: "Branding", href: "#" },
                { label: "UI/UX Design", href: "#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Twitter", href: "#" },
                { label: "LinkedIn", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Dribbble", href: "#" },
              ],
            },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}
