"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import PricingCardTwo from "@/components/sections/pricing/PricingCardTwo";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { CreditCard, Zap, Star, Crown } from "lucide-react";

export default function PricingPage() {
  const navItems = [
    { name: "Features", id: "features" },
    { name: "Pricing", id: "pricing" },
    { name: "About", id: "about" },
    { name: "FAQ", id: "faq" },
    { name: "Contact", id: "contact" }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Guesto"
          navItems={navItems}
          button={{
            text: "Get Started",            href: "https://app.guesto.com/login"
          }}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardTwo
          tag="Pricing"
          tagIcon={CreditCard}
          title="Simple, Transparent Pricing"
          description="Choose the plan that fits your agency. All plans include core features with flexible scaling options."
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "starter",              badge: "Starter",              badgeIcon: Zap,
              price: "₹999/month",              subtitle: "Perfect for solo agents",              buttons: [
                { text: "Get Started", href: "https://app.guesto.com/signup" }
              ],
              features: [
                "Up to 50 customers",                "Unlimited itineraries",                "PDF export",                "Basic reporting",                "Email support"
              ]
            },
            {
              id: "professional",              badge: "Professional",              badgeIcon: Star,
              price: "₹2,499/month",              subtitle: "For growing agencies",              buttons: [
                { text: "Start Free Trial", href: "https://app.guesto.com/signup" }
              ],
              features: [
                "Unlimited customers",                "Unlimited itineraries",                "Advanced analytics",                "Multi-user access",                "Priority support",                "AI-powered suggestions",                "Custom branding"
              ]
            },
            {
              id: "enterprise",              badge: "Enterprise",              badgeIcon: Crown,
              price: "Custom",              subtitle: "For large teams",              buttons: [
                { text: "Contact Sales", href: "#contact" }
              ],
              features: [
                "Everything in Professional",                "Dedicated account manager",                "Custom integrations",                "White-label solution",                "Advanced security",                "SLA guarantee",                "Training & onboarding"
              ]
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/multi-ethnic-business-team-sitting-table-office-center-speaking-about-project-meeting-broadroom_482257-5077.jpg"
          imageAlt="Guesto Platform"
          logoText="Guesto"
          copyrightText="© 2025 Guesto. All rights reserved."
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "#features" },
                { label: "Pricing", href: "#pricing" },
                { label: "Security", href: "#" },
                { label: "Roadmap", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}