"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll";
import FeatureCardOne from "@/components/sections/feature/FeatureCardOne";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Zap, Sparkles, Star, CheckCircle, HelpCircle } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="largeSmallSizeLargeTitles"
      background="blurBottom"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Vocon"
          navItems={[
            { name: "Features", id: "features" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" },
          ]}
          button={{
            text: "Get Started",            href: "#contact"}}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Experience the Future of Voice Communication"
          description="Vocon transforms how businesses and individuals connect through innovative voice technology. Crystal-clear audio, seamless integration, and powerful features at your fingertips."
          tag="Next-Generation Voice"
          tagIcon={Zap}
          tagAnimation="slide-up"
          background={{ variant: "blurBottom" }}
          imageSrc="http://img.b2bpic.net/free-vector/professional-dashboard-user-panel_23-2148365533.jpg"
          imageAlt="Vocon voice communication platform dashboard"
          buttons={[
            { text: "Start Free Trial", href: "#contact" },
            { text: "Learn More", href: "#features" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardOne
          title="Powerful Features for Every Need"
          description="Discover the tools that make Vocon the leading voice communication platform. From HD audio to advanced analytics, we've got everything you need."
          tag="Capabilities"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          features={[
            {
              title: "Crystal Clear Audio",              description: "Experience pristine sound quality with our advanced noise-cancellation technology and HD audio codec support.",              imageSrc: "http://img.b2bpic.net/free-photo/empty-space-used-recording-music-electronic-tools-home-studio_482257-100234.jpg",              imageAlt: "Crystal clear audio visualization"},
            {
              title: "Global Connectivity",              description: "Connect with anyone, anywhere in the world with our distributed network infrastructure and low-latency technology.",              imageSrc: "http://img.b2bpic.net/free-photo/global-network-digital-world-connection_23-2152020916.jpg",              imageAlt: "Global network connectivity map"},
            {
              title: "Advanced Analytics",              description: "Gain deep insights into call patterns, quality metrics, and user behavior with comprehensive reporting dashboards.",              imageSrc: "http://img.b2bpic.net/free-photo/data-analytics-dashboard_23-2152001529.jpg",              imageAlt: "Advanced analytics and reporting interface"},
            {
              title: "Enterprise Security",              description: "Your conversations are protected with military-grade encryption and compliance certifications for complete peace of mind.",              imageSrc: "http://img.b2bpic.net/free-photo/padlock-computer-circuit-board_93675-129557.jpg",              imageAlt: "Enterprise security and encryption"},
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          useInvertedBackground={false}
          buttons={[
            { text: "Explore All Features", href: "#" },
          ]}
          buttonAnimation="blur-reveal"
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Trusted by Industry Leaders"
          description={[
            "Vocon has revolutionized voice communication for over 500,000 users across 180 countries. Our mission is to make professional-grade voice technology accessible to everyone.",            "Founded by industry veterans with decades of experience in telecommunications and audio engineering, Vocon combines cutting-edge innovation with proven reliability. We're committed to continuous improvement and putting our users first.",            "Join a community of businesses and individuals who have transformed their communication workflows with Vocon's intelligent voice platform."]}
          showBorder={true}
          useInvertedBackground={false}
          buttons={[
            { text: "Our Story", href: "#" },
          ]}
          buttonAnimation="blur-reveal"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Users Say"
          description="Hear from professionals and businesses who have transformed their communication with Vocon"
          tag="Success Stories"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell, VP of Operations at TechFlow",              date: "Date: 15 November 2024",              title: "Vocon transformed our team communication!",              quote: "We integrated Vocon across our entire organization of 200+ employees. The audio quality is exceptional, and our team collaboration has improved dramatically. Customer support is outstanding.",              tag: "Enterprise Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-seminar-office-concept_53876-94.jpg",              imageAlt: "TechFlow team collaboration"},
            {
              id: "2",              name: "Marcus Johnson, Founder of StartupXYZ",              date: "Date: 8 October 2024",              title: "The perfect solution for remote teams",              quote: "As a distributed startup, finding reliable voice communication was critical. Vocon has been flawless. The analytics help us understand user engagement, and the pricing scales perfectly with our growth.",              tag: "Growth Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3796.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/diverse-team-people-meeting-with-woman-videocall-communication-talking-about-startup-business-female-employee-with-disability-using-online-videoconference-remote-conversation_482257-43306.jpg",              imageAlt: "StartupXYZ remote team meeting"},
            {
              id: "3",              name: "Elena Rodriguez, Customer Success Manager at CloudSync",              date: "Date: 22 September 2024",              title: "Crystal clear audio, zero downtime",              quote: "We handle thousands of concurrent calls daily, and Vocon hasn't let us down once. The infrastructure is bulletproof, and the customer support team is incredibly responsive.",              tag: "Enterprise Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/empty-military-base-operations-with-radar-systems_482257-124881.jpg",              imageAlt: "CloudSync operations center"},
            {
              id: "4",              name: "David Chen, Independent Consultant",              date: "Date: 3 August 2024",              title: "Professional features at a reasonable price",              quote: "I was skeptical at first, but Vocon's feature set rivals platforms that cost 3x more. The interface is intuitive, setup was simple, and my clients love the call quality.",              tag: "Professional Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3796.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/couple-focused-business-colleagues-watching-content-computer-monitor-holding-pen-mouse-business-communication-teamwork-concept_74855-11648.jpg",              imageAlt: "Professional consultant workspace"},
            {
              id: "5",              name: "Jessica Wang, Head of Communications at MediaHub",              date: "Date: 19 July 2024",              title: "Reliability you can count on",              quote: "For a media company where live conversations are everything, reliability is non-negotiable. Vocon delivers that and more. Their uptime SLA and support have impressed our entire team.",              tag: "Enterprise Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/man-recording-studio-music-production_1303-20398.jpg",              imageAlt: "MediaHub broadcasting studio"},
            {
              id: "6",              name: "Robert Thompson, IT Director at FinanceCore",              date: "Date: 5 June 2024",              title: "Enterprise security without the complexity",              quote: "As a financial services company, security is paramount. Vocon's encryption and compliance certifications checked all our boxes, and integration was seamless.",              tag: "Enterprise Plan",              avatarSrc: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3796.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-wheelchair-modern-concept_23-2148497283.jpg",              imageAlt: "FinanceCore secure facilities"},
          ]}
        />
      </div>

      <div id="socialproof" data-section="socialproof">
        <SocialProofOne
          title="Trusted by Leading Companies"
          description="Join thousands of organizations that rely on Vocon for their mission-critical voice communication"
          tag="Partners"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          logos={[
            "http://img.b2bpic.net/free-vector/gradient-technology-logo_52683-8563.jpg",            "http://img.b2bpic.net/free-vector/computing-cloud-logo-template_1071-5.jpg",            "http://img.b2bpic.net/free-vector/logo-template-design_1289-216.jpg",            "http://img.b2bpic.net/free-vector/creative-money-logo-design_23-2147884459.jpg",            "http://img.b2bpic.net/free-vector/abstract-logo-gradient-style_23-2148135214.jpg",            "http://img.b2bpic.net/free-vector/flat-design-data-logo-template_23-2149184097.jpg",            "http://img.b2bpic.net/free-vector/communication-logo-design-template_23-2149856800.jpg",            "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg"]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="By the numbers, Vocon leads the industry in reliability and user satisfaction."
          tag="Impact"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "99.99%",              description: "Guaranteed uptime with our industry-leading infrastructure and redundancy systems"},
            {
              id: "2",              value: "500K+",              description: "Active users across 180 countries trusting Vocon for their communication needs"},
            {
              id: "3",              value: "<50ms",              description: "Average latency with our distributed global network optimized for speed"},
            {
              id: "4",              value: "4.9/5",              description: "Customer satisfaction rating based on 50,000+ verified user reviews"},
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Questions"
          description="Find answers to frequently asked questions about Vocon features, pricing, and support"
          tag="Help Center"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-vector/flat-customer-service-week-horizontal-banner-template_23-2149645764.jpg"
          imageAlt="Customer support team illustration"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          faqs={[
            {
              id: "1",              title: "What audio quality can I expect?",              content: "Vocon delivers HD audio with frequencies up to 20kHz and utilizes advanced noise-cancellation algorithms. Our HD codec support ensures crystal-clear conversations at 128 kbps bitrate, significantly outperforming standard telephone quality."},
            {
              id: "2",              title: "How secure is Vocon?",              content: "All conversations are protected with AES-256 encryption in transit and at rest. We're SOC 2 Type II certified, GDPR compliant, and comply with HIPAA requirements. Your data never leaves our secure data centers."},
            {
              id: "3",              title: "Can I integrate Vocon with my existing tools?",              content: "Yes! Vocon offers REST APIs and SDKs for seamless integration with Slack, Microsoft Teams, Salesforce, Zendesk, and 100+ other platforms. Our developer documentation makes integration straightforward."},
            {
              id: "4",              title: "What support options are available?",              content: "All plans include email support. Professional and Enterprise plans include phone support with guaranteed response times. Enterprise customers receive a dedicated account manager and 24/7 priority support."},
            {
              id: "5",              title: "Is there a free trial?",              content: "Absolutely! We offer a 14-day free trial with full access to all Professional plan features. No credit card required, and you can cancel anytime during the trial period."},
            {
              id: "6",              title: "How does billing work?",              content: "We offer flexible billing: monthly or annual subscriptions. Annual plans include a 20% discount. All plans include unlimited call minutes. Enterprise customers can negotiate custom terms based on their needs."},
          ]}
          faqsAnimation="blur-reveal"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Vocon"
          columns={[
            {
              items: [
                { label: "Product", href: "#features" },
                { label: "Features", href: "#features" },
                { label: "Pricing", href: "#" },
                { label: "Security", href: "#" },
              ],
            },
            {
              items: [
                { label: "Company", href: "#about" },
                { label: "About Us", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" },
              ],
            },
            {
              items: [
                { label: "Resources", href: "#" },
                { label: "Documentation", href: "#" },
                { label: "API Reference", href: "#" },
                { label: "Support", href: "#faq" },
              ],
            },
            {
              items: [
                { label: "Legal", href: "#" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" },
              ],
            },
            {
              items: [
                { label: "Connect", href: "#" },
                { label: "Twitter", href: "https://twitter.com" },
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "GitHub", href: "https://github.com" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
