"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { TrendingUp, Briefcase, ShoppingCart, Award, Star, HelpCircle } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="medium"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="SmartMoney"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Start Investing",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo 
          logoText="SmartMoney"
          description="Transform your financial future with strategic investment solutions tailored to your goals"
          buttons={[
            { text: "Start Your Journey", href: "/contact" },
            { text: "Learn More", href: "/services" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/coin-wooden-table-blurred-nature_1150-17703.jpg"
          imageAlt="Investment growth and financial planning"
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard 
          tag="About SmartMoney"
          title="Trusted by thousands of investors worldwide. Building wealth through intelligent, strategic investing."
          description="Sarah Chen"
          subdescription="Chief Investment Officer"
          icon={TrendingUp}
          imageSrc="https://img.b2bpic.net/free-photo/business-meeting-office_1268-21517.jpg"
          imageAlt="Investment advisor consultation"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSix 
          title="Our Investment Solutions"
          description="Comprehensive strategies designed to maximize returns and minimize risk for every investor"
          tag="Services"
          tagIcon={Briefcase}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Portfolio Management",
              description: "Expert-managed investment portfolios diversified across stocks, bonds, and alternative assets to achieve optimal growth",
              imageSrc: "https://img.b2bpic.net/free-photo/seedling-plant-are-growing-money-coin-tower-with-blurred-bokeh-background-business-finance-concept_640221-85.jpg"
            },
            {
              id: 2,
              title: "Wealth Planning",
              description: "Personalized wealth strategies aligned with your life goals, including tax optimization and estate planning",
              imageSrc: "https://img.b2bpic.net/free-photo/coin-wooden-table_1150-17725.jpg"
            },
            {
              id: 3,
              title: "Retirement Planning",
              description: "Secure your future with comprehensive retirement strategies and pension planning from industry experts",
              imageSrc: "https://img.b2bpic.net/free-photo/hand-holding-coin-stack-money-wood-table-pension-fund-concept_335224-1410.jpg"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree 
          title="Investment Products"
          description="Choose from our curated selection of investment vehicles to build your perfect portfolio"
          tag="Products"
          tagIcon={ShoppingCart}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",
              name: "Mutual Funds",
              price: "Starting at $500",
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-two-stacks-coins-grass-with-jar-plants_23-2148803920.jpg",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Individual Stocks",
              price: "Starting at $100",
              imageSrc: "https://img.b2bpic.net/free-photo/plants-with-coins-stacked-dirt-banknote_23-2148803946.jpg",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Bond Portfolio",
              price: "Starting at $1,000",
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-two-stacks-coins-with-plants-copy-space_23-2148803918.jpg",
              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTen 
          title="Why Choose SmartMoney"
          description="Our track record speaks for itself with consistent performance and client satisfaction"
          tag="Metrics"
          tagIcon={Award}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              title: "Assets Under Management",
              subtitle: "Global portfolio coverage across 45+ countries",
              category: "AUM",
              value: "$2.5B+"
            },
            {
              id: "2",
              title: "Active Investors",
              subtitle: "Trusted by professionals and individuals worldwide",
              category: "Clients",
              value: "15,000+"
            },
            {
              id: "3",
              title: "Average Annual Returns",
              subtitle: "Consistent performance over 10-year period",
              category: "Performance",
              value: "12.8%"
            },
            {
              id: "4",
              title: "Years of Experience",
              subtitle: "Established expertise in investment management",
              category: "History",
              value: "25+"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive 
          title="Client Success Stories"
          description="Hear from investors who have transformed their financial futures"
          tag="Testimonials"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          testimonials={[
            {
              id: "1",
              name: "David Morrison, CEO of TechVentures",
              date: "Date: 15 March 2024",
              title: "Exceptional investment guidance that changed our portfolio",
              quote: "SmartMoney's personalized approach helped us grow our investments by 35% in just two years. Their team genuinely understands our goals and provides transparent, actionable advice. Highly recommend!",
              tag: "Corporate Client",
              avatarSrc: "https://img.b2bpic.net/free-photo/successful-expert_1098-14503.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/successful-expert_1098-14503.jpg"
            },
            {
              id: "2",
              name: "Jennifer Liu, Entrepreneur",
              date: "Date: 22 February 2024",
              title: "Professional guidance for life-changing wealth building",
              quote: "After selling my startup, I needed expert advice. SmartMoney created a comprehensive investment strategy that's already returning excellent results. Their team is responsive and deeply knowledgeable.",
              tag: "High Net Worth",
              avatarSrc: "https://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg"
            },
            {
              id: "3",
              name: "Robert Sterling, Retiree",
              date: "Date: 10 January 2024",
              title: "Confident about my financial future",
              quote: "SmartMoney helped me transition my portfolio for retirement with ease and confidence. The regular reviews and clear communication keep me informed and stress-free about my investments.",
              tag: "Retirement Plan",
              avatarSrc: "https://img.b2bpic.net/free-photo/smiling-middle-aged-business-leader-holding-tablet_1262-5672.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-middle-aged-business-leader-holding-tablet_1262-5672.jpg"
            },
            {
              id: "4",
              name: "Michelle Anderson, Business Owner",
              date: "Date: 28 December 2023",
              title: "Trusted partners in financial growth",
              quote: "Working with SmartMoney has been transformative for our family office. Their expertise in tax optimization and strategic asset allocation has saved us considerable amounts while maximizing returns.",
              tag: "Family Office",
              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-business-leader-sitting-table_1262-4841.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-business-leader-sitting-table_1262-4841.jpg"
            },
            {
              id: "5",
              name: "Thomas Wright, Financial Professional",
              date: "Date: 05 December 2023",
              title: "Unmatched expertise and dedication",
              quote: "As a financial professional myself, I was impressed by SmartMoney's rigorous approach and innovative strategies. They treat clients with genuine care and consistently deliver above expectations.",
              tag: "Professional",
              avatarSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-glasses-standing-with-arms-folded-smiling_74855-10329.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-glasses-standing-with-arms-folded-smiling_74855-10329.jpg"
            },
            {
              id: "6",
              name: "Sophia Martinez, Freelancer",
              date: "Date: 12 November 2023",
              title: "Making investment accessible and simple",
              quote: "Despite having an irregular income, SmartMoney made investing simple and manageable. Their flexible solutions and patient guidance have helped me build a solid financial foundation for the future.",
              tag: "Independent",
              avatarSrc: "https://img.b2bpic.net/free-photo/cheerful-young-businesswoman-wearing-eyeglasses_1262-4761.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/cheerful-young-businesswoman-wearing-eyeglasses_1262-4761.jpg"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase 
          title="Frequently Asked Questions"
          description="Get answers to common questions about our investment services and processes"
          tag="FAQ"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What is the minimum investment required?",
              content: "SmartMoney welcomes investors of all levels. Our minimum investment is $500 for most mutual funds and $100 for individual stocks. We also offer tailored solutions for high net worth individuals and institutions. Contact us to discuss options that fit your specific situation."
            },
            {
              id: "2",
              title: "How are fees structured?",
              content: "Our fees are transparent and competitive. We offer tiered pricing based on assets under management, typically ranging from 0.5% to 1.5% annually. There are no hidden fees, and we clearly disclose all costs upfront. Some products may have transaction fees which are minimal and clearly stated."
            },
            {
              id: "3",
              title: "How often do you review my portfolio?",
              content: "We conduct quarterly portfolio reviews as part of our standard service. These reviews assess performance, realign with your goals, and identify optimization opportunities. Premium clients receive monthly reviews. You can request additional reviews as needed at any time."
            },
            {
              id: "4",
              title: "What is your investment philosophy?",
              content: "We believe in long-term, diversified investing aligned with individual goals. Our philosophy emphasizes risk management, tax efficiency, and consistent execution. We focus on fundamentals rather than market timing, building portfolios resilient to economic cycles."
            },
            {
              id: "5",
              title: "How do you ensure security of my investments?",
              content: "SmartMoney uses institutional-grade security protocols and partners with established custodians. All client assets are held separately and insured. We comply with SEC regulations and maintain strict cybersecurity standards to protect your personal and financial information."
            },
            {
              id: "6",
              title: "Can I withdraw my investments anytime?",
              content: "Yes, withdrawals are generally available with minimal notice. Most investments can be liquidated within 2-3 business days. Some alternative investments may have specific terms. We recommend reviewing your specific investment agreements or contacting our team for detailed liquidity information."
            }
          ]}
        />
      </div>

      <FooterLogoReveal 
        logoText="SmartMoney"
        logoLineHeight={1.2}
      />
    </ThemeProvider>
  );
}