"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { BarChart3, Brain, Code, Crown, Headphones, Lock, Mail, Rocket, Shield, Sparkles, Star, Users, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="TechVenture AI"
          navItems={[
            { name: "Features", id: "features" },
            { name: "Solutions", id: "solutions" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Get Started",            href: "https://techventure-ai.com/signup"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="Intelligent AI Solutions for Modern Enterprises"
          description="Empowering California's leading companies with cutting-edge AI technology. Transform your business with advanced automation, predictive analytics, and intelligent decision-making."
          background={{ variant: "downward-rays-static" }}
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/dark-blonde-bearded-man-crosses-his-hands-chest-posing-black-shirt_8353-1116.jpg", alt: "Team member 1" },
            { src: "https://img.b2bpic.net/free-photo/portrait-handsome-young-man-with-arms-crossed-holding-white-headphone-around-his-neck_23-2148096439.jpg", alt: "Team member 2" },
            { src: "https://img.b2bpic.net/free-photo/closeup-portrait-caucasian-happy-teacher-glasses_74855-9736.jpg", alt: "Team member 3" }
          ]}
          avatarText="Trusted by 150+ companies in California"
          buttons={[
            { text: "Start Free Trial", href: "https://techventure-ai.com/trial" },
            { text: "View Demo", href: "#features" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBento
          title="Powerful AI Capabilities"
          description="Explore our comprehensive suite of AI-powered tools designed to accelerate innovation and drive measurable business results for your organization."
          tag="Features"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          features={[
            {
              title: "Advanced Analytics",              description: "Real-time insights powered by machine learning algorithms",              bentoComponent: "animated-bar-chart"
            },
            {
              title: "Global Integration",              description: "Connect seamlessly with enterprise systems worldwide",              bentoComponent: "globe"
            },
            {
              title: "Smart Automation",              description: "Streamline workflows and eliminate repetitive tasks",              bentoComponent: "icon-info-cards",              items: [
                { icon: Zap, label: "Speed", value: "10x faster" },
                { icon: Shield, label: "Security", value: "Enterprise-grade" },
                { icon: Brain, label: "Intelligence", value: "AI-powered" }
              ]
            },
            {
              title: "Predictive Insights",              description: "Anticipate market trends and customer behavior",              bentoComponent: "line-chart"
            }
          ]}
        />
      </div>

      <div id="capabilities" data-section="capabilities">
        <FeatureBorderGlow
          title="Enterprise-Grade Features"
          description="Every feature is built with enterprise security, scalability, and performance in mind to support your growing business needs."
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          features={[
            {
              icon: Lock,
              title: "Bank-Level Security",              description: "Military-grade encryption and compliance with GDPR, CCPA, and SOC 2 standards"
            },
            {
              icon: BarChart3,
              title: "Real-Time Dashboards",              description: "Monitor key metrics and performance indicators with interactive visualizations"
            },
            {
              icon: Zap,
              title: "Lightning-Fast Processing",              description: "Process millions of data points per second with distributed computing architecture"
            },
            {
              icon: Users,
              title: "Team Collaboration",              description: "Seamless integration for cross-functional teams with role-based access controls"
            },
            {
              icon: Code,
              title: "Developer-Friendly APIs",              description: "RESTful APIs with comprehensive documentation and SDKs for major programming languages"
            },
            {
              icon: Headphones,
              title: "24/7 Expert Support",              description: "Dedicated support team with average response time under 15 minutes"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="TechVenture AI has completely transformed how we analyze customer data. The insights we gained led to a 45% increase in conversion rates within three months. Their team's expertise and support made the implementation seamless."
          rating={5}
          author="Sarah Chen, CEO of InnovateTech"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/portrait-young-handsome-business-man_1303-19609.jpg", alt: "Sarah Chen" },
            { src: "https://img.b2bpic.net/free-photo/pov-businessman-attending-videocall-meeting-office-using-online-videoconference-talk-consultant-about-financial-strategy-company-employee-chatting-remote-teleconference-close-up_482257-40929.jpg", alt: "Customer 2" },
            { src: "https://img.b2bpic.net/free-photo/portrait-hacker_23-2148165939.jpg", alt: "Customer 3" },
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-caucasian-unshaved-man-eyeglasses-looking-camera-with-sincere-smile-isolated-gray_171337-630.jpg", alt: "Customer 4" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Transparent Pricing for Every Stage"
          description="Choose the perfect plan for your organization. Scale up as you grow with flexible billing and no hidden fees."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          plans={[
            {
              id: "startup",              badge: "For Startups",              badgeIcon: Rocket,
              price: "$499/month",              subtitle: "Perfect for early-stage companies",              buttons: [
                { text: "Get Started", href: "https://techventure-ai.com/signup?plan=startup" }
              ],
              features: [
                "Up to 50,000 API calls/month",                "Basic analytics dashboard",                "Email support",                "2 team members",                "Data retention up to 30 days"
              ]
            },
            {
              id: "professional",              badge: "Most Popular",              badgeIcon: Star,
              price: "$1,999/month",              subtitle: "Ideal for growing businesses",              buttons: [
                { text: "Start Free Trial", href: "https://techventure-ai.com/trial?plan=pro" }
              ],
              features: [
                "Up to 500,000 API calls/month",                "Advanced analytics & reporting",                "Priority email & chat support",                "10 team members",                "Data retention up to 1 year",                "Custom integrations"
              ]
            },
            {
              id: "enterprise",              badge: "Enterprise",              badgeIcon: Crown,
              price: "Custom",              subtitle: "For large-scale operations",              buttons: [
                { text: "Contact Sales", href: "https://techventure-ai.com/contact-sales" }
              ],
              features: [
                "Unlimited API calls",                "Custom machine learning models",                "Dedicated account manager",                "Unlimited team members",                "Unlimited data retention",                "99.99% uptime SLA",                "On-premise deployment options"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get In Touch"
          tagIcon={Mail}
          title="Ready to Transform Your Business?"
          description="Join hundreds of California companies leveraging AI for competitive advantage. Start your free trial today or schedule a personalized demo with our experts."
          background={{ variant: "rotated-rays-static" }}
          useInvertedBackground="noInvert"
          inputPlaceholder="your@company.com"
          buttonText="Start Trial"
          termsText="We respect your privacy. Your data is secure and encrypted. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "features" },
                { label: "Pricing", href: "pricing" },
                { label: "Security", href: "https://techventure-ai.com/security" },
                { label: "API Docs", href: "https://docs.techventure-ai.com" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "https://techventure-ai.com/about" },
                { label: "Blog", href: "https://techventure-ai.com/blog" },
                { label: "Careers", href: "https://techventure-ai.com/careers" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "https://techventure-ai.com/privacy" },
                { label: "Terms of Service", href: "https://techventure-ai.com/terms" },
                { label: "Cookie Policy", href: "https://techventure-ai.com/cookies" }
              ]
            }
          ]}
          copyrightText="© 2025 TechVenture AI. All rights reserved. Based in San Francisco, California."
        />
      </div>
    </ThemeProvider>
  );
}