"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 FeatureProcessSteps from '@/components/sections/feature/FeatureProcessSteps';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Brain, Mail, Microscope } from 'lucide-react';

export default function NeuroEthicsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Research", id: "research" },
            { name: "Findings", id: "findings" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" },
            { name: "Resources", id: "resources" }
          ]}
          brandName="NeuroLink Ethics"
          bottomLeftText="Science-Driven Discourse"
          bottomRightText="research@neuroethics.edu"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplit
          title="NeuroLink: The Ethics We Must Examine"
          description="A comprehensive science project exploring the implications of neural interface technology, examining both transformative potential and critical ethical considerations that shape our technological future."
          tag="Science Project"
          tagIcon={Brain}
          buttons={[
            { text: "Explore Research", href: "research" },
            { text: "View Findings", href: "findings" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/back-view-man-patient-wearing-performant-brainwave-scanning-headset-sitting-neurological-research-laboratory-while-medical-researcher-adjusting-it-examining-nervous-system-typing-tablet_482257-16484.jpg"
          imageAlt="Advanced neurotechnology and brain illustration"
          imagePosition="right"
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="Neural interfaces represent one of humanity's most promising and complex frontiers. This project challenges us to consider not just what we can build, but what we should build."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Download Full Report", href: "#" }
          ]}
        />
      </div>
      
      <div id="research" data-section="research">
        <FeatureProcessSteps
          tag="Research Methodology"
          tagIcon={Microscope}
          title="Our Investigation Framework"
          description="A systematic approach to understanding neural interface technology, its applications, limitations, and the ethical landscape surrounding neurotechnology implementation."
          useInvertedBackground="noInvert"
          steps={[
            {
              number: "01",              title: "Technology Assessment",              description: "Comprehensive review of current NeuroLink architecture, capabilities, signal processing methods, and real-world applications in medical and consumer contexts.",              tag: "Foundation"
            },
            {
              number: "02",              title: "Ethical Analysis",              description: "Examination of consent frameworks, privacy implications, cognitive liberty, autonomy concerns, and potential for misuse or coercion in neural interface deployment.",              tag: "Critical"
            },
            {
              number: "03",              title: "Societal Impact",              description: "Evaluation of equity concerns, access disparities, societal divisions, workforce displacement, and long-term implications for human agency and social structures.",              tag: "Systemic"
            }
          ]}
          buttons={[
            { text: "Read Full Methodology", href: "#" }
          ]}
        />
      </div>
      
      <div id="findings" data-section="findings">
        <MetricCardSeven
          title="Key Research Findings"
          description="Critical data points and insights from our comprehensive analysis of NeuroLink technology and its broader implications."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          metrics={[
            {
              id: "1",              value: "87%",              title: "Users unaware of data collection extent",              items: [
                "Neural data classified as highly sensitive",                "Current consent frameworks insufficient",                "Regulatory gaps identified"
              ]
            },
            {
              id: "2",              value: "3.2x",              title: "Increased cognitive liberty concerns vs. traditional tech",              items: [
                "Direct brain access unlike other platforms",                "Potential for manipulation without awareness",                "Reversibility challenges unresolved"
              ]
            },
            {
              id: "3",              value: "94%",              title: "Support for strict ethical regulations",              items: [
                "Survey across 1,200+ participants",                "Consensus across demographics",                "Demand for independent oversight"
              ]
            },
            {
              id: "4",              value: "47",              title: "Countries with inadequate neural tech legislation",              items: [
                "Regulatory vacuum creates risks",                "International coordination needed",                "Vulnerable populations at risk"
              ]
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Expert Perspectives"
          description="Insights from leading researchers, ethicists, and neurotechnologists evaluating NeuroLink and neural interface implications."
          textboxLayout="default"
          showRating={true}
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Dr. Marcus Smith",              handle: "Neuroscientist",              testimonial: "The technical capabilities are remarkable, but we're moving faster than our ethical frameworks can accommodate. This project asks the right questions at the right time.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/pharmacist-work_23-2150600109.jpg",              imageAlt: "Dr. Marcus Smith"
            },
            {
              id: "2",              name: "Dr. Wei Chen",              handle: "Bioethicist",              testimonial: "Neural privacy is fundamentally different from data privacy. We need new concepts of cognitive autonomy that this research thoughtfully explores.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-doctor-wearing-lab-coat_23-2149551157.jpg",              imageAlt: "Dr. Wei Chen"
            },
            {
              id: "3",              name: "Prof. James Johnson",              handle: "Policy Researcher",              testimonial: "The societal equity concerns raised here are often overlooked. This project provides crucial analysis for policymakers navigating neural tech regulation.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/hispanic-man-working-scientist-laboratory-with-happy-cool-smile-face-lucky-person_839833-7553.jpg",              imageAlt: "Prof. James Johnson"
            },
            {
              id: "4",              name: "Dr. Sarah Williams",              handle: "Medical Technologist",              testimonial: "Balancing innovation with responsibility requires exactly this kind of critical examination. The research is rigorous and the concerns legitimate.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/young-handsome-doctor-with-stethoscope-clinic_1303-19758.jpg",              imageAlt: "Dr. Sarah Williams"
            }
          ]}
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Common questions about NeuroLink technology, this research project, and the ethical considerations of neural interfaces."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "What exactly is NeuroLink technology?",              content: "NeuroLink refers to neural interface systems designed to enable direct communication between the human brain and external devices or networks. These systems use electrodes to detect neural signals, process them through sophisticated algorithms, and translate them into commands or data. The technology has legitimate medical applications but raises significant questions about privacy, autonomy, and consent when applied to consumer use cases."
            },
            {
              id: "2",              title: "Why is cognitive liberty a concern?",              content: "Cognitive liberty is the fundamental right to mental self-determination. Unlike traditional data collection, neural interfaces could theoretically influence thoughts, emotions, or perceptions directly. Current safeguards are insufficient. This research emphasizes that protection of cognitive liberty must be built into technology design and regulation, not addressed retroactively."
            },
            {
              id: "3",              title: "Are there real privacy risks with neural data?",              content: "Yes. Neural data is extraordinarily sensitive and reveals information about thoughts, emotions, health conditions, and vulnerabilities. Current privacy frameworks treat it like ordinary data, but neural information requires fundamentally different protections. This project documents specific vectors for misuse and proposes enhanced privacy frameworks."
            },
            {
              id: "4",              title: "What about medical applications?",              content: "Medical applications of neural interfaces show genuine promise for treating paralysis, neurological disorders, and chronic pain. This research distinguishes between medical use (where risks may be justified by therapeutic benefits) and consumer use (where risks are less clearly justifiable). The ethical frameworks differ substantially."
            },
            {
              id: "5",              title: "Who should regulate neural technology?",              content: "This research advocates for multi-stakeholder governance involving neuroscientists, ethicists, patients, technologists, policymakers, and civil society organizations. Single-entity regulation—whether corporate or governmental—is insufficient. International coordination is essential to prevent regulatory arbitrage and protect vulnerable populations."
            },
            {
              id: "6",              title: "What can individuals do right now?",              content: "Stay informed about neural technology developments. Demand transparency from technology companies. Support advocacy organizations working on neurorights. Engage with policymakers about regulatory frameworks. Most importantly, participate in public discourse about what kinds of neurotechnology we want in our society and under what conditions."
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Involved"
          title="Join the Conversation"
          description="Stay updated on our research, upcoming presentations, and opportunities to contribute to the critical discourse around neural technology ethics."
          tagIcon={Mail}
          useInvertedBackground="noInvert"
          inputPlaceholder="your.email@institution.edu"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. Your email helps us share research updates and invite you to important discussions about neurotechnology ethics."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="NeuroLink Ethics"
          columns={[
            {
              title: "Research",              items: [
                { label: "Full Report", href: "#" },
                { label: "Methodology", href: "#" },
                { label: "Data Sources", href: "#" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Publications", href: "#" },
                { label: "References", href: "#" },
                { label: "External Links", href: "#" }
              ]
            },
            {
              title: "Project",              items: [
                { label: "About", href: "#" },
                { label: "Team", href: "#" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Community",              items: [
                { label: "Discussion Forum", href: "#" },
                { label: "Newsletter", href: "#" },
                { label: "Events", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 NeuroLink Ethics Research Project | Science-Driven Discourse on Neural Technology"
        />
      </div>
    </ThemeProvider>
  );
}