"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import PricingCardNine from "@/components/sections/pricing/PricingCardNine";
import FooterBase from "@/components/sections/footer/FooterBase";

export default function PricingPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Services", id: "services" },
    { name: "Portfolio", id: "portfolio" },
    { name: "Pricing", id: "pricing" },
    { name: "About", id: "about" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Content Strategy", href: "/services" },
        { label: "Community Management", href: "/services" },
        { label: "Paid Social", href: "/services" },
        { label: "Analytics & Reporting", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/" },
        { label: "Portfolio", href: "/" },
        { label: "Pricing", href: "/pricing" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "Instagram", href: "https://instagram.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "TikTok", href: "https://tiktok.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="large"
      background="noise"
      cardStyle="soft-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="SocialPeak" navItems={navItems} />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Premium Pricing Plans"
          description="Flexible packages designed for brands of every size. Choose the level of service that fits your goals."
          tag="Our Pricing"
          tagIcon="DollarSign"
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          plans={[
            {
              id: "starter",
              title: "Growth Plan",
              price: "$2,999",
              period: "per month",
              features: [
                "Content calendar & strategy",
                "2 content pieces per week",
                "Community management",
                "Monthly performance reports",
                "Social listening & analytics",
              ],
              button: {
                text: "Get Started",
                href: "/contact",
              },
            },
            {
              id: "professional",
              title: "Professional Plan",
              price: "$5,999",
              period: "per month",
              features: [
                "Complete content strategy",
                "Daily content posting",
                "Influencer partnerships",
                "Paid social management",
                "Advanced analytics & reporting",
                "Dedicated account manager",
              ],
              button: {
                text: "Get Started",
                href: "/contact",
              },
            },
            {
              id: "enterprise",
              title: "Enterprise Plan",
              price: "Custom",
              period: "per month",
              features: [
                "Fully customized strategy",
                "Multi-platform management",
                "Crisis management & PR",
                "Video content production",
                "Executive team support",
                "Dedicated team of specialists",
              ],
              button: {
                text: "Schedule Consultation",
                href: "/contact",
              },
            },
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="SocialPeak"
          copyrightText="© 2025 SocialPeak. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}