"use client";

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import { Sparkles, Star, Award, HelpCircle, Heart } from 'lucide-react';

export default function PricingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="PitchDrive"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Pricing", id: "/pricing" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Get Started", href: "/contact" }}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Simple, Transparent Pricing"
          description="Choose the perfect plan for your sales team's success"
          tag="Pricing Plans"
          tagIcon={Sparkles}
          plans={[
            {
              id: "starter",
              badge: "For Individuals",
              badgeIcon: Sparkles,
              price: "$49",
              subtitle: "per month",
              buttons: [{ text: "Get Started", href: "/signup?plan=starter" }],
              features: [
                "Pitch Coach AI feedback",
                "Up to 10 pitch analyses per month",
                "Personal dashboard",
                "Email support",
                "Basic templates library"
              ]
            },
            {
              id: "professional",
              badge: "Most Popular",
              badgeIcon: Star,
              price: "$149",
              subtitle: "per month",
              buttons: [{ text: "Get Started", href: "/signup?plan=professional" }],
              features: [
                "Unlimited pitch analyses",
                "Team collaboration tools",
                "Advanced deal intelligence",
                "Priority support",
                "Custom pitch templates",
                "Performance analytics",
                "CRM integrations"
              ]
            },
            {
              id: "enterprise",
              badge: "For Large Teams",
              badgeIcon: Award,
              price: "Custom",
              subtitle: "contact us",
              buttons: [{ text: "Schedule Demo", href: "/contact" }],
              features: [
                "Everything in Professional",
                "Dedicated account manager",
                "Custom integrations",
                "API access",
                "Advanced security",
                "On-premise options",
                "Training & onboarding",
                "24/7 phone support"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing-faq" data-section="pricing-faq">
        <FaqDouble
          title="Pricing Questions"
          description="Everything you need to know about our plans and pricing"
          tag="FAQ"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "Can I switch between plans anytime?",
              content: "Yes, you can upgrade or downgrade your plan at any time. Changes take effect immediately, and we'll prorate any billing adjustments. There are no penalties for changing plans."
            },
            {
              id: "2",
              title: "Do you offer annual billing discounts?",
              content: "Yes! Save 20% when you pay annually. Annual subscribers also get priority customer support and early access to new features. Contact our sales team for enterprise annual pricing."
            },
            {
              id: "3",
              title: "What payment methods do you accept?",
              content: "We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for enterprise accounts. All payments are processed securely through industry-standard encryption."
            },
            {
              id: "4",
              title: "Is there a free trial available?",
              content: "Yes, we offer a 14-day free trial on all plans with full feature access. No credit card required to start. You can experience the full power of PitchDrive before making any commitment."
            },
            {
              id: "5",
              title: "What happens if I exceed my plan limits?",
              content: "For the Starter plan, you'll receive notifications when approaching limits. You can upgrade anytime or purchase additional analyses. Professional and Enterprise plans include unlimited core features."
            },
            {
              id: "6",
              title: "Do you offer refunds?",
              content: "We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with PitchDrive for any reason, contact support for a full refund within the first 30 days."
            }
          ]}
        />
      </div>

      <div id="pricing-testimonials" data-section="pricing-testimonials">
        <TestimonialCardTen
          title="What Our Customers Say"
          description="See why teams choose PitchDrive for their sales success"
          tag="Success Stories"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              title: "Outstanding ROI on Professional Plan",
              quote: "The Professional plan paid for itself within the first month. Our close rate improved by 40% and our sales cycle shortened by weeks. The collaboration features alone are worth the investment.",
              name: "Jennifer Martinez",
              role: "Sales Operations Manager",
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",
              imageAlt: "Jennifer Martinez"
            },
            {
              id: "2",
              title: "Enterprise Features Transformed Our Process",
              quote: "The Enterprise plan's custom integrations and dedicated support have been game-changing. Our team of 50+ sales reps now operates with unprecedented efficiency and consistency.",
              name: "Robert Chen",
              role: "VP of Sales",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",
              imageAlt: "Robert Chen"
            }
          ]}
        />
      </div>

      <FooterLogoReveal logoText="PitchDrive" />
    </ThemeProvider>
  );
}