"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import SplitAboutCards from '@/components/sections/about/SplitAboutCards';
import FeatureCardFourteen from '@/components/sections/feature/FeatureCardFourteen';
import MetricCardFive from '@/components/sections/metrics/MetricCardFive';
import TeamCardFour from '@/components/sections/team/TeamCardFour';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Rocket, Twitter, Linkedin, Github, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="mediumLarge"
      sizing="largeSmall"
      background="noise"
      cardStyle="solid-accent"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="PitchDrive"
          button={{
            text: "Start Pitching",            href: "#contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="PitchDrive"
          description="The platform connecting visionary founders with the capital and guidance they need to scale. Pitch with confidence. Raise with clarity."
          imageSrc="https://img.b2bpic.net/free-photo/lifestyle-people-office_23-2149173732.jpg"
          imageAlt="PitchDrive platform showcase"
          frameStyle="browser"
          logoLineHeight={1.1}
        />
      </div>
      
      <div id="about" data-section="about">
        <SplitAboutCards
          title="Why Founders Choose PitchDrive"
          description="We've built the most comprehensive pitch platform designed to help founders close rounds faster and investors discover exceptional opportunities."
          tag="Platform"
          features={[
            {
              id: "smart-portfolio",              title: "Smart Portfolio Management",              description: "Organize pitch decks, financials, and documents in one secure place. Track investor responses in real-time and never miss a follow-up.",              label: "All-in-one workspace"
            },
            {
              id: "investor-network",              title: "Direct Investor Access",              description: "Connect with thousands of vetted investors actively seeking new opportunities. Get introductions that matter and pitches that convert.",              label: "7,500+ investors"
            }
          ]}
          buttons={[
            {
              text: "Explore Features",              href: "#features"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardFourteen
          title="Everything You Need to Raise"
          description="From pitch preparation to investor relations, PitchDrive streamlines every step of the fundraising journey."
          tag="Features"
          features={[
            {
              id: "portfolio-mgmt",              title: "Portfolio Management",              description: "Centralize all fundraising assets with secure cloud storage and version control.",              imageSrc: "https://img.b2bpic.net/free-photo/multi-ethnic-business-team-sitting-table-office-center-speaking-about-project-meeting-broadroom_482257-5077.jpg",              imageAlt: "Portfolio management interface"
            },
            {
              id: "investor-network",              title: "Investor Network",              description: "Access to curated investor database with personalized match recommendations.",              imageSrc: "https://img.b2bpic.net/free-photo/business-leader-trader-searching-new-investment-solution_482257-116895.jpg",              imageAlt: "Investor network dashboard"
            },
            {
              id: "pitch-coaching",              title: "Pitch Coaching",              description: "Get AI-powered feedback and expert guidance to perfect your pitch narrative.",              imageSrc: "https://img.b2bpic.net/free-photo/mid-adult-ceo-giving-presentation-his-team-office-asks-one-his-colleagues-opinion_637285-985.jpg",              imageAlt: "Pitch coaching tools"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "View All Features",              href: "#contact"
            }
          ]}
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <MetricCardFive
          title="Our Impact"
          description="PitchDrive founders and investors are building the future, together."
          tag="Metrics"
          metrics={[
            {
              id: "capital-raised",              value: "$2.8B+",              description: "Capital raised by PitchDrive founders since 2020"
            },
            {
              id: "deals-closed",              value: "850+",              description: "Successfully funded companies on our platform"
            },
            {
              id: "investor-success",              value: "94%",              description: "Of investors report discovering exceptional deals"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertCard"
        />
      </div>
      
      <div id="team" data-section="team">
        <TeamCardFour
          title="Meet the Team"
          description="Built by founders and investors who understand the fundraising journey."
          tag="Leadership"
          team={[
            {
              id: "1",              name: "Sarah Chen",              role: "CEO & Co-founder",              imageSrc: "https://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg",              imageAlt: "Sarah Chen"
            },
            {
              id: "2",              name: "Marcus Johnson",              role: "Founder & CTO",              imageSrc: "https://img.b2bpic.net/free-photo/inspiring-new-boss_1098-93.jpg",              imageAlt: "Marcus Johnson"
            },
            {
              id: "3",              name: "Victoria Zhang",              role: "VP Investor Relations",              imageSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "Victoria Zhang"
            },
            {
              id: "4",              name: "David Park",              role: "VP Product",              imageSrc: "https://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5365.jpg",              imageAlt: "David Park"
            },
            {
              id: "5",              name: "Emma Rodriguez",              role: "Head of Operations",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-man-therapy_23-2148928793.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "6",              name: "James Wilson",              role: "Community Manager",              imageSrc: "https://img.b2bpic.net/free-photo/middle-aged-hispanic-business-person_23-2151098592.jpg",              imageAlt: "James Wilson"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          speed={35}
          topMarqueeDirection="left"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEight
          title="What Investors & Founders Say"
          description="Join thousands who've successfully raised capital through PitchDrive."
          tag="Success Stories"
          testimonials={[
            {
              id: "1",              name: "Alex Patel",              role: "Founder & CEO",              company: "TechFlow Inc.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-successful-young-businessman-with-his-arms-crossed-looking-camera_23-2148176207.jpg",              imageAlt: "Alex Patel"
            },
            {
              id: "2",              name: "Jennifer Lee",              role: "Managing Partner",              company: "Horizon Ventures",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-businessman_23-2148746289.jpg",              imageAlt: "Jennifer Lee"
            },
            {
              id: "3",              name: "Michael O'Connor",              role: "Founder & CEO",              company: "CloudScale AI",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Michael O'Connor"
            },
            {
              id: "4",              name: "Priya Sharma",              role: "Investment Director",              company: "Catalyst Fund",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",              imageAlt: "Priya Sharma"
            },
            {
              id: "5",              name: "Thomas Mueller",              role: "Co-founder & CTO",              company: "DataVault Systems",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg",              imageAlt: "Thomas Mueller"
            },
            {
              id: "6",              name: "Lisa Anderson",              role: "Founder",              company: "GreenEnergy Labs",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-senior-businessman-with-arms-crossed_1262-1751.jpg",              imageAlt: "Lisa Anderson"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Raise?"
          ctaDescription="Book a 15-minute intro call with our team to see how PitchDrive can accelerate your fundraising journey."
          ctaButton={{
            text: "Schedule a Demo",            href: "https://calendly.com/pitchdrive"
          }}
          ctaIcon={Rocket}
          faqs={[
            {
              id: "1",              title: "How much does PitchDrive cost?",              content: "We offer flexible pricing plans starting at $99/month for founders. Investors get access to our platform at no cost. Custom enterprise plans available."
            },
            {
              id: "2",              title: "How do I get connected with investors?",              content: "Upload your pitch deck and company information to your profile. Our AI matching system will recommend relevant investors based on your stage and sector. You can request warm introductions through our platform."
            },
            {
              id: "3",              title: "Is my data secure?",              content: "Absolutely. PitchDrive uses enterprise-grade encryption, SOC 2 compliance, and regular security audits. All sensitive data is protected with industry-leading security standards."
            },
            {
              id: "4",              title: "Can I use PitchDrive for multiple fundraising rounds?",              content: "Yes! PitchDrive supports founders throughout their journey—from seed stage through Series C and beyond. Your investor relationships and documents persist across all rounds."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="PitchDrive"
          columns={[
            {
              title: "Product",              items: [
                {
                  label: "For Founders",                  href: "#founders"
                },
                {
                  label: "For Investors",                  href: "#investors"
                },
                {
                  label: "Pricing",                  href: "#pricing"
                },
                {
                  label: "Features",                  href: "#features"
                }
              ]
            },
            {
              title: "Company",              items: [
                {
                  label: "About Us",                  href: "#about"
                },
                {
                  label: "Blog",                  href: "#blog"
                },
                {
                  label: "Careers",                  href: "#careers"
                },
                {
                  label: "Contact",                  href: "#contact"
                }
              ]
            },
            {
              title: "Legal",              items: [
                {
                  label: "Privacy Policy",                  href: "#privacy"
                },
                {
                  label: "Terms of Service",                  href: "#terms"
                },
                {
                  label: "Security",                  href: "#security"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Twitter,
              href: "https://twitter.com/pitchdrive",              ariaLabel: "Twitter"
            },
            {
              icon: Linkedin,
              href: "https://linkedin.com/company/pitchdrive",              ariaLabel: "LinkedIn"
            },
            {
              icon: Github,
              href: "https://github.com/pitchdrive",              ariaLabel: "GitHub"
            },
            {
              icon: Mail,
              href: "mailto:hello@pitchdrive.com",              ariaLabel: "Email"
            }
          ]}
          copyrightText="© PitchDrive, Inc. 2025. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}