"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import TextAbout from "@/components/sections/about/TextAbout";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import PricingCardOne from "@/components/sections/pricing/PricingCardOne";
import BlogCardThree from "@/components/sections/blog/BlogCardThree";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { BookOpen, Zap, Lightbulb, CheckCircle, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Clinical Concepts", id: "features" },
            { name: "AO1-AO3 Breakdown", id: "about" },
            { name: "Exemplar Answers", id: "blog" },
            { name: "FAQ", id: "faq" },
            { name: "Start Free", id: "contact" },
          ]}
          brandName="Psychology 9990"
          bottomLeftText="Syllabus-Aligned Revision"
          bottomRightText="Full Marks Guaranteed"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Master Clinical Psychology Full Marks Guaranteed"
          description="Every concept mapped to Cambridge marking schemes. Study what examiners reward—nothing less."
          tag="AO1 | AO2 | AO3 Aligned"
          tagIcon={BookOpen}
          tagAnimation="slide-up"
          background={{ variant: "plain" }}
          mediaAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/female-applicant-looking-cv-files-waiting-attend-hiring-meeting-preparing-job-interview-career-opportunity-woman-queue-feeling-nervous-about-candidate-selection_482257-40780.jpg"
          imageAlt="Clinical Psychology Revision"
          imagePosition="right"
          buttons={[
            { text: "Start Revising Free", href: "contact" },
            { text: "View Marking Scheme", href: "#about" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="Why This Works"
          title="Structured by Cambridge Assessment Objectives. AO1 Knowledge. AO2 Application. AO3 Evaluation. Each concept explains what examiners test, how marks are awarded, and what distinguishes 9–10 mark responses from lower bands."
          useInvertedBackground={false}
          buttons={[
            { text: "Explore Assessment Objectives", href: "#features" },
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardMedia
          title="Clinical Psychology Topics"
          description="Comprehensive coverage of Cambridge 9990 clinical speciality with syllabi-aligned breakdown"
          tag="Core Content"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: "1",              title: "Abnormality Definitions",              description: "Statistical, social norm, and maladaptive definitions mapped to evaluation frameworks and marking band criteria",              tag: "AO1 + AO3",              imageSrc: "http://img.b2bpic.net/free-photo/work-group_1098-15411.jpg",              imageAlt: "Abnormality definitions"},
            {
              id: "2",              title: "Schizophrenia Classification",              description: "Positive and negative symptoms, DSM-5 vs ICD-11, with exemplar explanations meeting full-mark standards",              tag: "AO1 + AO2",              imageSrc: "http://img.b2bpic.net/free-photo/work-group_1098-15411.jpg",              imageAlt: "Schizophrenia classification"},
            {
              id: "3",              title: "Depression Models",              description: "Biological, cognitive, and socio-cultural theories with application scenarios for AO2 marks",              tag: "AO2 + AO3",              imageSrc: "http://img.b2bpic.net/free-photo/work-group_1098-15411.jpg",              imageAlt: "Depression models"},
            {
              id: "4",              title: "Therapies & Treatments",              description: "CBT, biological interventions, and evaluation points structured by marking scheme depth requirements",              tag: "AO1 + AO2 + AO3",              imageSrc: "http://img.b2bpic.net/free-photo/work-group_1098-15411.jpg",              imageAlt: "Therapies and treatments"},
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Assessment Objectives Breakdown"
          description="Learn what each AO requires and how marks are allocated"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          metrics={[
            {
              id: "1",              value: "AO1",              title: "Knowledge & Understanding",              description: "30% of marks: Recall, describe, explain clinical concepts with precision",              imageSrc: "http://img.b2bpic.net/free-vector/business-background-design_1200-17.jpg",              imageAlt: "AO1 Knowledge objectives"},
            {
              id: "2",              value: "AO2",              title: "Application & Analysis",              description: "40% of marks: Link theory to scenarios, interpret evidence, solve problems",              imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-browsing-pages-tablet-office-lounge_74855-1113.jpg",              imageAlt: "AO2 Application skills"},
            {
              id: "3",              value: "AO3",              title: "Evaluation & Justification",              description: "30% of marks: Assess strengths/weaknesses, debate alternative views, defend positions",              imageSrc: "http://img.b2bpic.net/free-photo/analytics-comparison-information-networking-concept_53876-15846.jpg",              imageAlt: "AO3 Evaluation criteria"},
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardOne
          title="Mark-Band Exemplar Answers"
          description="Study real Cambridge-style answers at each grade band"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          plans={[
            {
              id: "1",              badge: "Foundational",              badgeIcon: Lightbulb,
              price: "5–6 Marks",              subtitle: "Basic knowledge with limited depth",              features: [
                "States correct definitions",                "Names key studies or theorists",                "Limited evaluation attempts",                "Generic conclusions"],
            },
            {
              id: "2",              badge: "Competent",              badgeIcon: CheckCircle,
              price: "7–8 Marks",              subtitle: "Clear understanding with good application",              features: [
                "Explains concepts thoroughly",                "Applies theory to scenarios",                "Identifies strengths and limitations",                "Contextualised evaluation"],
            },
            {
              id: "3",              badge: "Excellence",              badgeIcon: Sparkles,
              price: "9–10 Marks",              subtitle: "Sophisticated analysis and synthesis",              features: [
                "Detailed, precise explanations",                "Nuanced application with depth",                "Sustained, balanced evaluation",                "Evidence-backed, justified conclusions"],
            },
          ]}
        />
      </div>

      <div id="blog" data-section="blog">
        <BlogCardThree
          title="Exemplar Answers by Topic"
          description="9–10 mark model answers demonstrating examiner-rewarded language and depth"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          blogs={[
            {
              id: "1",              category: "Abnormality",              title: "Defining Abnormality: Evaluating Three Approaches",              excerpt: "A 10-mark exemplar integrating statistical, social norm, and maladaptive definitions with balanced AO3 critique on each.",              imageSrc: "http://img.b2bpic.net/free-photo/girl-is-sitting-cafe_1157-17023.jpg",              imageAlt: "Abnormality exemplar answer",              authorName: "Dr. Sarah Mills",              authorAvatar: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              date: "Updated Jan 2025"},
            {
              id: "2",              category: "Schizophrenia",              title: "Schizophrenia Classification & Biological Basis",              excerpt: "9-mark response explaining positive/negative symptoms, DSM-5 criteria, and neural evidence with examiner-aligned evaluation.",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-online-psychologist-concept_23-2149407915.jpg",              imageAlt: "Schizophrenia exemplar answer",              authorName: "Prof. James Chen",              authorAvatar: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              date: "Updated Jan 2025"},
            {
              id: "3",              category: "Depression",              title: "Comparing Cognitive & Biological Models of Depression",              excerpt: "Full-mark answer showing synoptic links, evidence evaluation, and justified conclusions bridging theory to practice.",              imageSrc: "http://img.b2bpic.net/free-photo/girl-is-sitting-cafe_1157-17023.jpg",              imageAlt: "Depression exemplar answer",              authorName: "Dr. Rachel White",              authorAvatar: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              date: "Updated Jan 2025"},
            {
              id: "4",              category: "Therapies",              title: "CBT & Biological Interventions: Evidence & Critique",              excerpt: "10-mark response synthesising efficacy data, treatment adherence, and ethical considerations with nuanced evaluation.",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-online-psychologist-concept_23-2149407915.jpg",              imageAlt: "Therapies exemplar answer",              authorName: "Dr. Michael Taylor",              authorAvatar: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              date: "Updated Jan 2025"},
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Students & Teachers Say"
          description="Real voices on how marking-scheme alignment transforms exam performance"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Emma Roberts, Student",              date: "Date: 15 January 2025",              title: "Finally understand what examiners want",              quote: "The AO breakdown saved me. I knew exactly what 9-mark answers looked like before my exam. Went from 6s to 9s in practice tests.",              tag: "Grade 9 Achieved",              avatarSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13226.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13226.jpg"},
            {
              id: "2",              name: "Mr. David Kennedy, Psychology Teacher",              date: "Date: 12 January 2025",              title: "Saves prep time dramatically",              quote: "Instead of creating my own marking-scheme guides, I use this with my class. Students are more confident and I see measurable improvement in mock results.",              tag: "Classroom Resource",              avatarSrc: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg"},
            {
              id: "3",              name: "Sophie Anderson, Student",              date: "Date: 10 January 2025",              title: "Revision became strategic",              quote: "Instead of just re-reading notes, I studied model answers and learned WHY they scored full marks. The exemplars show real examiner expectations.",              tag: "Cambridge Candidate",              avatarSrc: "http://img.b2bpic.net/free-photo/teenage-student-smiling-with-book-head_23-2148208755.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/teenage-student-smiling-with-book-head_23-2148208755.jpg"},
            {
              id: "4",              name: "Helen Davies, Parent",              date: "Date: 8 January 2025",              title: "Peace of mind for exam season",              quote: "My daughter was anxious about what to study. This resource gave her a clear roadmap. She knows she's not wasting time on topics that won't be examined or aren't aligned to what Cambridge rewards.",              tag: "Supporting Success",              avatarSrc: "http://img.b2bpic.net/free-vector/flat-modern-families_23-2147528221.jpg",              imageSrc: "http://img.b2bpic.net/free-vector/flat-modern-families_23-2147528221.jpg"},
            {
              id: "5",              name: "Josh Chen, Student",              date: "Date: 5 January 2025",              title: "Practical and comprehensive",              quote: "The exemplar answers aren't just nice—they show how to use terminology, structure responses, and balance evaluation. I'm now marking my own practice papers accurately.",              tag: "Mock Exam Success",              avatarSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13226.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13226.jpg"},
            {
              id: "6",              name: "Dr. Lisa Patel, School Coordinator",              date: "Date: 2 January 2025",              title: "Whole-school revision standard",              quote: "We use this across our psychology cohort. Consistency in what students learn + how they're assessed = better A Level outcomes across the board.",              tag: "Institutional Support",              avatarSrc: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg"},
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Answers on how this revision resource maps to Cambridge 9990 marking criteria"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqs={[
            {
              id: "1",              title: "How does this resource align to Cambridge 9990?",              content: "Every section is structured by the official Cambridge Assessment Objectives (AO1, AO2, AO3). Each topic explains what examiners test, provides exemplar 9–10 mark answers, and identifies common mark-band distinctions. Content is cross-referenced to the published marking scheme."},
            {
              id: "2",              title: "What are Assessment Objectives (AO)?",              content: "<strong>AO1 (Knowledge & Understanding)</strong>: Recall, describe, and explain clinical psychology concepts precisely (30% of marks). <strong>AO2 (Application & Analysis)</strong>: Apply theory to scenarios, interpret evidence, and solve problems (40% of marks). <strong>AO3 (Evaluation & Justification)</strong>: Assess strengths/weaknesses, debate alternatives, and defend positions (30% of marks)."},
            {
              id: "3",              title: "How do I use exemplar answers effectively?",              content: "Study exemplar 9–10 mark answers to identify: terminology used, how concepts are explained with precision, how AO2 application is structured, and how AO3 evaluation balances strengths and limitations. Compare your practice answers to these models to identify gaps and refine your technique."},
            {
              id: "4",              title: "What's the difference between 7–8 mark and 9–10 mark responses?",              content: "7–8 mark responses show clear understanding and good application but lack the depth, nuance, or sustained evaluation of full marks. 9–10 mark responses integrate detailed explanations, sophisticated application, balanced critique, and evidence-backed conclusions that demonstrate independent critical thinking."},
            {
              id: "5",              title: "Is this resource updated for the latest Cambridge syllabus?",              content: "Yes. Content reflects the current Cambridge A Level Psychology 9990 specification, including recent DSM-5 classifications and current research. Resources are reviewed and updated as Cambridge guidance evolves or new exemplars become available."},
            {
              id: "6",              title: "Can teachers use this in the classroom?",              content: "Absolutely. The marking-scheme alignment, exemplar answers, and AO breakdown are designed to supplement classroom teaching. Many teachers use exemplars to demonstrate full-mark standards and use the AO structure to guide lesson planning and assessment feedback."},
            {
              id: "7",              title: "Does this cover only clinical psychology or the full 9990 course?",              content: "This resource specialises in the Clinical Psychology speciality option of Cambridge 9990. It provides in-depth coverage of abnormality, schizophrenia, depression, and therapeutic interventions mapped to the clinical specification."},
            {
              id: "8",              title: "How often are new exemplar answers added?",              content: "Exemplar answers are added quarterly, drawing from recent exam analysis, common student misconceptions, and emerging clinical research. Subscribers receive updates automatically."},
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Started"
          tagIcon={Zap}
          title="Begin Your Free Revision Today"
          description="Join students and teachers mastering Cambridge Psychology 9990 through marking-scheme-aligned content. Sign up free to access core clinical topics, exemplar answers, and AO breakdowns."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/female-applicant-looking-cv-files-waiting-attend-hiring-meeting-preparing-job-interview-career-opportunity-woman-queue-feeling-nervous-about-candidate-selection_482257-40780.jpg"
          imageAlt="Start your revision journey"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Unlock Free Access"
          termsText="By signing up, you confirm agreement with our Terms. We respect your privacy and send only essential updates."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Resources",              items: [
                { label: "Clinical Topics", href: "#features" },
                { label: "Exemplar Answers", href: "#blog" },
                { label: "Assessment Objectives", href: "#metrics" },
                { label: "Mark Bands", href: "#pricing" },
              ],
            },
            {
              title: "Support",              items: [
                { label: "FAQ", href: "#faq" },
                { label: "Contact Us", href: "#contact" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
              ],
            },
            {
              title: "Community",              items: [
                { label: "Student Forum", href: "#" },
                { label: "Teacher Hub", href: "#" },
                { label: "Blog", href: "#" },
                { label: "Contact Support", href: "#contact" },
              ],
            },
          ]}
          copyrightText="© 2025 Psychology 9990 Revision Hub | Cambridge A Level Clinical Psychology Speciality"
        />
      </div>
    </ThemeProvider>
  );
}
