"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="medium"
        sizing="medium"
        background="blurBottom"
        cardStyle="glass-elevated"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Program",
          id: "#program",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Results",
          id: "#results",
        },
        {
          name: "Team",
          id: "#team",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
      ]}
      button={{
        text: "Take Assessment",
        href: "#contact",
      }}
      logoSrc="http://img.b2bpic.net/free-vector/motivation-office-work-sport-icons-flat-set_1284-14028.jpg"
      brandName="Alpha Edge Fitness"
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboard
      background={{
        variant: "animated-grid",
      }}
      title="Elite Performance for Futures Traders"
      description="Most traders optimize charts. Champions optimize their body and mind. The difference between breakeven and consistent profitability often isn't strategy—its execution clarity, energy management, and discipline under pressure. We specialize in the physiological and nutritional edge that separates profitable traders from the rest."
      buttons={[
        {
          text: "Take the Trader Readiness Assessment",
          href: "#contact",
        },
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/economy-expert-reviewing-financial-data-kpi-dashboards_482257-127132.jpg",
          alt: "Trader John Doe",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-confident-young-woman-smiling_23-2148452672.jpg",
          alt: "Trader Jane Smith",
        },
        {
          src: "http://img.b2bpic.net/free-photo/sitting-businesswoman_23-2147626507.jpg",
          alt: "Trader Alex Lee",
        },
        {
          src: "http://img.b2bpic.net/free-photo/fashion-girl-casual-summer-clothes_158538-4496.jpg",
          alt: "Trader Sarah Chen",
        },
        {
          src: "http://img.b2bpic.net/free-photo/serious-afroamerican-businessman-front-view_23-2148508922.jpg",
          alt: "Trader Mark Davis",
        },
      ]}
      avatarText="Trusted by 200+ futures traders across CME, CBOT, and crypto exchanges"
      imageSrc="http://img.b2bpic.net/free-photo/modern-trading-setup-with-monitor-running-forex-trends-going-up_482257-126331.jpg"
      imageAlt="Futures trader focused on multiple screens with fitness elements"
      mediaAnimation="slide-up"
      marqueeItems={[
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/high-tech-office-ready-stock-trading_482257-121465.jpg",
          alt: "High tech office ready for stock trading",
        },
        {
          type: "text",
          text: "Unlock Your Peak Potential",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/candlestick-chart-pc-monitor-home-office-desk_482257-122988.jpg",
          alt: "Candlestick chart on PC monitor on home office desk",
        },
        {
          type: "text",
          text: "Optimize Body & Mind",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/stock-market-statistics-empty-office_482257-123700.jpg",
          alt: "Stock market statistics in empty office",
        },
        {
          type: "text",
          text: "Trade with Unwavering Focus",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/empty-interior-forex-market-exchange-company-office-with-financial-data-growth-charts-multiple-displays-workspace-equipped-with-workstation-having-finance-statistics-real-time-graph_482257-44513.jpg",
          alt: "Empty interior of forex market exchange company office with financial data and growth charts on multiple displays.",
        },
        {
          type: "text",
          text: "Gain Your Alpha Edge",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-vector/illustration-financial-concept_53876-5544.jpg",
          alt: "Illustration of financial concept",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={true}
      title="Unlock Your Trading Edge: Beyond the Charts"
      description={[
        "In the high-stakes world of futures trading, every fraction of an edge counts. While strategy and market analysis are crucial, your ultimate performance is dictated by your physical and mental state.",
        "Alpha Edge Fitness is engineered for traders. We go beyond conventional coaching to optimize your physiology, nutrition, and mindset, translating directly into sharper focus, sustained energy, and unmatched resilience under pressure. Stop leaving profits on the table due to fatigue or stress. Start trading like a champion.",
      ]}
    />
  </div>

  <div id="program" data-section="program">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      features={[
        {
          title: "Personalized Nutrition Roadmaps",
          description: "Fuel your brain and body for optimal market performance with bespoke meal plans designed for energy, focus, and recovery.",
          imageSrc: "http://img.b2bpic.net/free-photo/clipboard-icon-front-side_187299-39412.jpg",
          titleImageSrc: "http://img.b2bpic.net/free-photo/healthy-food-composition-with-alarm-clock_23-2147802935.jpg",
          buttonText: "Learn More",
        },
        {
          title: "Dynamic Fitness Protocols",
          description: "Tailored workout regimes that enhance endurance, reduce fatigue, and boost cognitive function without excessive time commitment.",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-dumbbells-with-notebook_23-2148531446.jpg",
          titleImageSrc: "http://img.b2bpic.net/free-vector/flat-design-fitness-infographic_23-2149243324.jpg",
          buttonText: "Explore Plans",
        },
        {
          title: "Advanced Stress Resilience Training",
          description: "Master psychological techniques to maintain composure, manage risk, and make clear decisions even in volatile market conditions.",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-render-helping-center-design_460848-9855.jpg",
          titleImageSrc: "http://img.b2bpic.net/free-photo/high-angle-man-with-plasma-ball_23-2150572272.jpg",
          buttonText: "Discover Methods",
        },
        {
          title: "Sleep Optimization & Recovery",
          description: "Unlock deeper restorative sleep and accelerate recovery, ensuring you wake up sharp, energized, and ready to dominate the markets.",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-morph-man-with-house-gavel-with-half-sketch-mode_1048-18908.jpg",
          titleImageSrc: "http://img.b2bpic.net/free-photo/dreamy-moon-with-stars_23-2150959631.jpg",
          buttonText: "Improve Sleep",
        },
      ]}
      title="Our Science-Backed Optimization Program"
      description="We blend cutting-edge science with practical, trader-specific strategies to transform your performance."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",
          name: "Alex 'The Algo' Chen",
          date: "March 2024",
          title: "Achieved Consistent Profitability",
          quote: "Before Alpha Edge, I was stuck at breakeven. Their tailored nutrition and stress management program gave me the sustained focus I needed. Now, my execution is sharper, and I'm consistently profitable.",
          tag: "Performance",
          avatarSrc: "http://img.b2bpic.net/free-photo/scientist-factory-using-tablet-check-photovoltaics-materials-parameters_482257-120526.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-stretching-work_23-2150509994.jpg",
          avatarAlt: "Alex Chen avatar",
          imageAlt: "Trader's desk with profit graph and healthy meal",
        },
        {
          id: "2",
          name: "Samantha 'Momentum' Lee",
          date: "February 2024",
          title: "Boosted Energy & Decision Clarity",
          quote: "Fatigue was my biggest enemy. The personalized fitness and sleep optimization from Alpha Edge literally changed my market hours. I have more energy, and my decisions are clearer than ever.",
          tag: "Clarity",
          avatarSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-business-jacket-looking-confident-camera-smiling-with-crossed-arms-hand-raised-chin-thinking-positive_839833-8974.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/international-students-meditating-desks-library-relaxing-before-exams-university-friends-doing-yoga-table-with-eyes-closed_197531-3856.jpg",
          avatarAlt: "Samantha Lee avatar",
          imageAlt: "Hands typing on keyboard with fitness tracker",
        },
        {
          id: "3",
          name: "David 'The Disciplinarian' Kim",
          date: "January 2024",
          title: "Mastered Stress Under Pressure",
          quote: "Volatile markets used to rattle me. Alpha Edge's resilience training taught me to maintain composure, turning high-pressure situations into opportunities. My discipline has never been stronger.",
          tag: "Resilience",
          avatarSrc: "http://img.b2bpic.net/free-photo/smiling-african-businessman-wearing-suit-headshot-vertical-portrait-with-team_1163-3924.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/customer-service-handsome-man-grey-suit-with-computer-headset-talking-computer_140725-164823.jpg",
          avatarAlt: "David Kim avatar",
          imageAlt: "Person meditating in modern home office",
        },
        {
          id: "4",
          name: "Emily 'Chart Queen' Rodriguez",
          date: "December 2023",
          title: "Unlocked Sustainable Peak Performance",
          quote: "As a high-income trader, burnout was a real concern. Alpha Edge helped me find balance, optimize my health, and sustain my edge without sacrificing well-being. It's truly life-changing.",
          tag: "Longevity",
          avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-16049.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5276.jpg",
          avatarAlt: "Emily Rodriguez avatar",
          imageAlt: "Hands preparing healthy smoothie with market news",
        },
        {
          id: "5",
          name: "Marcus 'The Strategist' Green",
          date: "November 2023",
          title: "Enhanced Focus & Reduced Fatigue",
          quote: "The program delivered exactly what I needed: a data-driven approach to physical and mental optimization. My focus during extended trading sessions has dramatically improved, and afternoon fatigue is a thing of the past. Highly recommend!",
          tag: "Focus",
          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-cheerful-teenage-girl-sitting-cafe_1262-3048.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-standing-up-working-with-laptop_23-2147648029.jpg",
          avatarAlt: "Marcus Green avatar",
          imageAlt: "Person stretching near window with laptop showing trading",
        },
      ]}
      title="Hear From Our Champion Traders"
      description="Real results from real futures traders who transformed their performance and lives with Alpha Edge Fitness."
    />
  </div>

  <div id="results" data-section="results">
      <MetricCardTwo
      animationType="depth-3d"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        {
          id: "1",
          value: "25%",
          description: "Average increase in sustained focus during market hours.",
        },
        {
          id: "2",
          value: "30%",
          description: "Reduction in stress-induced decision errors for our traders.",
        },
        {
          id: "3",
          value: "40%",
          description: "Boost in self-reported energy levels and reduced afternoon slump.",
        },
        {
          id: "4",
          value: "15%",
          description: "Improvement in sleep quality and faster recovery times.",
        },
      ]}
      title="Quantifiable Results for Peak Performance"
      description="Our clients experience measurable improvements that directly impact their trading success and overall well-being."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      members={[
        {
          id: "1",
          name: "Dr. Elias Vance",
          role: "Lead Performance Strategist",
          description: "A former professional futures trader with a Ph.D. in Exercise Physiology, Dr. Vance integrates cutting-edge neuroscience with peak athletic principles to sharpen cognitive function for traders.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-latin-people-training-outdoors_23-2151039414.jpg",
          imageAlt: "Dr. Elias Vance",
        },
        {
          id: "2",
          name: "Ava Sterling, R.D.",
          role: "Head of Nutrition & Mindset",
          description: "Ava is a registered dietitian and certified sports psychologist, specializing in metabolic optimization and mental resilience techniques crucial for endurance in high-stakes trading environments.",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-using-sign-language-converse-with-someone-outdoors_23-2148681029.jpg",
          imageAlt: "Ava Sterling",
        },
        {
          id: "3",
          name: "Coach Marcus 'Blade' Thorne",
          role: "Discipline & Execution Coach",
          description: "With over two decades in the markets and elite military training, Coach Thorne instills the iron-clad discipline and focused execution patterns that turn consistent effort into consistent profits.",
          imageSrc: "http://img.b2bpic.net/free-photo/elderly-businessman-entrepreneur-sitting-workspace-looking-camera_482257-8143.jpg",
          imageAlt: "Coach Marcus Thorne",
        },
      ]}
      title="Meet Your Performance Coaches"
      description="Our team comprises experts in fitness, nutrition, and trading psychology, dedicated to your success."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "Who is this program for?",
          content: "Our program is specifically designed for futures traders—from ambitious newcomers to seasoned professionals—who understand that mental and physical optimization is the next frontier in gaining a competitive edge. If you're serious about maximizing performance and achieving consistent profitability, this is for you.",
        },
        {
          id: "2",
          title: "What makes Alpha Edge different from other fitness programs?",
          content: "Unlike generic fitness programs, Alpha Edge is built from the ground up with the unique demands of futures trading in mind. Our strategies are focused on enhancing cognitive function, stress resilience, and sustained energy, directly impacting your trading execution, not just aesthetics.",
        },
        {
          id: "3",
          title: "How much time commitment is required?",
          content: "We understand traders have demanding schedules. Our programs are optimized for efficiency, delivering maximum impact with minimal time. We integrate seamlessly into your routine, focusing on high-leverage activities that yield significant returns for your performance.",
        },
        {
          id: "4",
          title: "What kind of results can I expect?",
          content: "Clients typically report significant improvements in focus, energy levels, emotional regulation, and decision-making clarity. These physiological and psychological improvements directly translate into more consistent trading performance, reduced drawdown periods, and an overall sharper edge in the markets.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-vector/five-strategy-charts-templates-set_1262-4177.jpg"
      imageAlt="Digital illustration of problem-solving and thought process"
      mediaAnimation="slide-up"
      mediaPosition="left"
      title="Questions Traders Often Ask Us"
      description="Find answers to common inquiries about our program, approach, and how we deliver results for futures traders."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Ready to Dominate the Markets?"
      title="Take the Trader Readiness Assessment"
      description="Unlock your personalized path to peak trading performance. Our comprehensive assessment identifies your unique strengths and areas for physiological and psychological optimization."
      inputPlaceholder="Enter your email"
      buttonText="Start Assessment Now"
      termsText="By clicking 'Start Assessment Now', you agree to our Terms and Conditions and Privacy Policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-vector/motivation-office-work-sport-icons-flat-set_1284-14028.jpg"
      logoAlt="Alpha Edge Fitness logo"
      columns={[
        {
          items: [
            {
              label: "Home",
              href: "#home",
            },
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Program",
              href: "#program",
            },
            {
              label: "Testimonials",
              href: "#testimonials",
            },
          ],
        },
        {
          items: [
            {
              label: "Results",
              href: "#results",
            },
            {
              label: "Our Team",
              href: "#team",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
            {
              label: "Disclaimer",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Alpha Edge Fitness"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
