"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import FooterBase from "@/components/sections/footer/FooterBase";
import { DollarSign, Zap, Star, Sparkles, Shield, ShoppingCart, CheckCircle } from "lucide-react";
import Link from "next/link";

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

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="CodeSniffs"
          navItems={navItems}
          button={{
            text: "Start Project",
            href: "/contact",
          }}
        />
      </div>

      {/* Pricing Section */}
      <div id="pricing" data-section="pricing" className="mx-auto px-4 md:px-6">
        <PricingCardEight
          title="Transparent Pricing"
          description="Flexible pricing packages for websites and services. Customizable solutions for every business size."
          tag="Pricing Plans"
          tagIcon={DollarSign}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={true}
          plans={[
            {
              id: "static",
              badge: "Starter",
              badgeIcon: Zap,
              price: "₹5,000",
              subtitle: "Perfect for simple web presence",
              buttons: [
                {
                  text: "Get Quote",
                  href: "/contact",
                },
              ],
              features: [
                "1 Page Website",
                "Responsive Design",
                "Basic SEO",
                "Contact Form",
                "Mobile Optimized",
              ],
            },
            {
              id: "business",
              badge: "Popular",
              badgeIcon: Star,
              price: "₹15,000",
              subtitle: "Ideal for small businesses",
              buttons: [
                {
                  text: "Get Quote",
                  href: "/contact",
                },
              ],
              features: [
                "2-4 Pages",
                "Contact Form",
                "Admin Panel",
                "Responsive Design",
                "SEO Optimization",
                "Analytics Setup",
              ],
            },
            {
              id: "dynamic",
              badge: "Professional",
              badgeIcon: Sparkles,
              price: "₹20,000",
              subtitle: "For dynamic content management",
              buttons: [
                {
                  text: "Get Quote",
                  href: "/contact",
                },
              ],
              features: [
                "CMS Platform",
                "Admin Dashboard",
                "Payment Gateway",
                "Multiple Pages",
                "Email Integration",
                "SEO Ready",
              ],
            },
            {
              id: "enterprise",
              badge: "Enterprise",
              badgeIcon: Shield,
              price: "₹50,000",
              subtitle: "Complete business solution",
              buttons: [
                {
                  text: "Get Quote",
                  href: "/contact",
                },
              ],
              features: [
                "5+ Pages",
                "Advanced Admin Panel",
                "Multi-user System",
                "API Integration",
                "Custom Features",
                "Premium Support",
              ],
            },
            {
              id: "ecommerce",
              badge: "E-Commerce",
              badgeIcon: ShoppingCart,
              price: "₹80,000",
              subtitle: "Full e-commerce platform",
              buttons: [
                {
                  text: "Get Quote",
                  href: "/contact",
                },
              ],
              features: [
                "Product Management",
                "Payment Gateway",
                "Inventory System",
                "Order Tracking",
                "Customer Portal",
                "Analytics Dashboard",
              ],
            },
          ]}
        />
      </div>

      {/* Why Choose Us Section */}
      <div id="why-choose" data-section="why-choose" className="mx-auto px-4 md:px-6">
        <FeatureCardThree
          title="Why Choose Our Pricing"
          description="Transparent, flexible, and scalable solutions that grow with your business needs."
          tag="Value Proposition"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          features={[
            {
              id: "01",
              title: "No Hidden Costs",
              description: "Everything is transparent and clearly outlined. No surprise charges or hidden fees.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/modern-software-development-dashboard-in-1772881146832-c38c4fb4.png?_wi=2",
              imageAlt: "No Hidden Costs",
            },
            {
              id: "02",
              title: "Flexible Customization",
              description: "Plans can be customized to match your specific requirements and budget constraints.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/professional-developer-workspace-showing-1772881145511-1086675a.png?_wi=2",
              imageAlt: "Flexible Customization",
            },
            {
              id: "03",
              title: "Scalable Solutions",
              description: "Start small and upgrade as your business grows without disruption or migration hassles.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/cloud-infrastructure-visualization-with--1772881145860-51526f1c.png?_wi=3",
              imageAlt: "Scalable Solutions",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground={false}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterBase
          logoText="CodeSniffs"
          copyrightText="© 2025 CodeSniffs. All rights reserved. Software Solutions Agency, Mumbai, India."
          columns={[
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "/about",
                },
                {
                  label: "Our Services",
                  href: "/services",
                },
                {
                  label: "Products",
                  href: "/products",
                },
                {
                  label: "Blog",
                  href: "#",
                },
              ],
            },
            {
              title: "Solutions",
              items: [
                {
                  label: "Web Development",
                  href: "/services",
                },
                {
                  label: "Mobile Apps",
                  href: "/services",
                },
                {
                  label: "Cloud Services",
                  href: "/services",
                },
                {
                  label: "E-commerce",
                  href: "/services",
                },
              ],
            },
            {
              title: "Contact",
              items: [
                {
                  label: "Email: connect@codesniffs.com",
                  href: "mailto:connect@codesniffs.com",
                },
                {
                  label: "Phone: +91 91676 20778",
                  href: "tel:+919167620778",
                },
                {
                  label: "Mumbai, India",
                  href: "#",
                },
                {
                  label: "Get in Touch",
                  href: "/contact",
                },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}