"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { TrendingUp, Sprout, Zap } from 'lucide-react';

export default function PricingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="inset"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="InProduce"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Features", id: "/features" },
            { name: "Pricing", id: "/pricing" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Get Started", href: "/contact" }}
        />
      </div>

      <div id="investment-plans" data-section="investment-plans">
        <PricingCardOne
          title="Investment Plans"
          description="Choose the perfect plan to start or grow your produce investment portfolio. All plans include professional management, transparent reporting, and access to our exclusive network of premium London produce suppliers."
          tag="Pricing Options"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          plans={[
            {
              id: "starter",
              badge: "For New Investors",
              badgeIcon: Sprout,
              price: "£10,000",
              subtitle: "Perfect for getting started in produce investment",
              features: [
                "Access to 5-10 curated produce opportunities per quarter",
                "Quarterly performance reports with detailed analytics",
                "Basic market analytics dashboard access",
                "Email support during UK business hours",
                "Minimum investment commitment of £10,000",
                "Educational resources and market insights"
              ]
            },
            {
              id: "professional",
              badge: "Most Popular",
              badgeIcon: TrendingUp,
              price: "£50,000",
              subtitle: "Ideal for serious investors building wealth",
              features: [
                "Access to 15-20 premium opportunities per quarter",
                "Real-time analytics and market insights dashboard",
                "Monthly comprehensive performance reporting",
                "Dedicated relationship manager and phone support",
                "Priority allocation on high-demand investments",
                "Portfolio rebalancing and optimization services",
                "Exclusive access to institutional-grade opportunities"
              ]
            },
            {
              id: "institutional",
              badge: "For Institutions",
              badgeIcon: Zap,
              price: "£500,000+",
              subtitle: "Premium access for institutional investors",
              features: [
                "Full market access and custom allocation strategies",
                "Real-time institutional dashboard with advanced analytics",
                "Weekly performance reports and market intelligence",
                "Dedicated investment team and account management",
                "Custom strategy development and implementation",
                "Quarterly strategy reviews and portfolio optimization",
                "Direct access to senior management team"
              ]
            }
          ]}
        />
      </div>

      <div id="pricing-faq" data-section="pricing-faq">
        <FaqDouble
          title="Investment Plan FAQs"
          description="Common questions about our investment plans, fees, and what's included in each tier of service."
          tag="Pricing Questions"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What fees are included in each plan?",
              content: "All plans include transparent management fees (1.5-2% annually) and performance fees (15-20% above benchmark). No hidden costs, setup fees, or transaction charges. Full fee breakdown provided in your investment agreement."
            },
            {
              id: "2", 
              title: "Can I upgrade my plan later?",
              content: "Yes, you can upgrade your investment plan at any time. Additional capital can be deployed immediately, and you'll gain access to higher-tier benefits from your next quarterly cycle."
            },
            {
              id: "3",
              title: "What is the minimum holding period?",
              content: "Most investments have a 2-3 year minimum holding period to optimize returns through full seasonal cycles. Some opportunities offer quarterly liquidity with 60-day notice periods."
            },
            {
              id: "4",
              title: "How do I track my investment performance?",
              content: "All investors receive dashboard access with real-time performance tracking, detailed quarterly reports, and monthly updates. Higher tiers include enhanced analytics and custom reporting options."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="InProduce"
          copyrightText="© 2025 InProduce Investment Platform. All rights reserved."
          columns={[
            {
              title: "Platform",
              items: [
                { label: "Dashboard", href: "/dashboard" },
                { label: "Opportunities", href: "/opportunities" },
                { label: "Pricing", href: "/pricing" },
                { label: "Performance", href: "/performance" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Team", href: "/team" },
                { label: "Blog", href: "/blog" },
                { label: "Careers", href: "/careers" }
              ]
            },
            {
              title: "Investors",
              items: [
                { label: "Get Started", href: "/start" },
                { label: "Resources", href: "/resources" },
                { label: "FAQ", href: "/faq" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "/privacy" },
                { label: "Terms & Conditions", href: "/terms" },
                { label: "Cookie Policy", href: "/cookies" },
                { label: "Regulatory Info", href: "/regulatory" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}