"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import PricingCardTwo from "@/components/sections/pricing/PricingCardTwo";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import {
  Zap,
  DollarSign,
  Search,
  Target,
  Crown,
  BookOpen,
} from "lucide-react";

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="grid"
      cardStyle="outline"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="BHEH"
          navItems={[
            { name: "Solutions", id: "pricing" },
            { name: "Training", id: "training" },
            { name: "Community", id: "community" },
            { name: "Resources", id: "resources" },
          ]}
          button={{
            text: "Explore Solutions",
            href: "/services",
          }}
          animateOnLoad={true}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBento
          title="Professional Offensive Security Services"
          description="BHEH delivers comprehensive security solutions tailored to enterprise needs, from vulnerability discovery to advanced red team operations and exploitation research."
          tag="Services & Solutions"
          tagIcon={Zap}
          features={[
            {
              title: "Penetration Testing Services",
              description:
                "Expert manual security assessments targeting real-world attack vectors and business-critical systems. Our certified professionals simulate sophisticated attacks to identify and exploit vulnerabilities.",
              bentoComponent: "globe",
            },
            {
              title: "Vulnerability Assessment & Management",
              description:
                "Comprehensive discovery and prioritization with actionable remediation. We identify, classify, and track vulnerabilities throughout their lifecycle.",
              bentoComponent: "animated-bar-chart",
            },
            {
              title: "Red Team Operations",
              description:
                "Advanced multi-phase adversary simulations including reconnaissance, weaponization, delivery, command & control, and exfiltration scenarios.",
              bentoComponent: "map",
            },
            {
              title: "Exploit Development & Research",
              description:
                "Zero-day research, advanced exploitation techniques, and custom tool development for your organization's unique security challenges.",
              bentoComponent: "line-chart",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardTwo
          title="Service Offerings & Engagement Models"
          description="Choose from our comprehensive service tiers designed for organizations of all sizes and security maturity levels."
          tag="Service Tiers"
          tagIcon={DollarSign}
          plans={[
            {
              id: "assessment",
              badge: "Vulnerability Assessment",
              badgeIcon: Search,
              price: "Custom Pricing",
              subtitle:
                "Comprehensive vulnerability discovery for organizations beginning their security journey",
              buttons: [
                { text: "Request Assessment", href: "/contact" },
                { text: "Learn More", href: "#" },
              ],
              features: [
                "Scope Definition & Requirements Gathering",
                "Active & Passive Vulnerability Scanning",
                "Manual Testing of High-Risk Areas",
                "Detailed Findings Documentation",
                "Risk-Ranked Remediation Roadmap",
                "90-Day Follow-Up Report",
              ],
            },
            {
              id: "pentest",
              badge: "Full Penetration Test",
              badgeIcon: Target,
              price: "Custom Pricing",
              subtitle:
                "Enterprise-grade comprehensive testing with detailed exploitation analysis and impact assessment",
              buttons: [
                { text: "Schedule Pentest", href: "/contact" },
                { text: "Learn More", href: "#" },
              ],
              features: [
                "Multi-Phase Attack Simulation",
                "Network & Application Penetration Testing",
                "Credential Compromise & Lateral Movement",
                "Post-Exploitation Impact Analysis",
                "Executive & Technical Reports",
                "Post-Engagement Consultation Call",
              ],
            },
            {
              id: "redteam",
              badge: "Red Team Engagement",
              badgeIcon: Target,
              price: "Custom Pricing",
              subtitle:
                "Advanced multi-week adversary simulation with full scope coverage and realistic attack scenarios",
              buttons: [
                { text: "Schedule Red Team", href: "/contact" },
                { text: "Learn More", href: "#" },
              ],
              features: [
                "Reconnaissance & Information Gathering",
                "Weaponization & Delivery",
                "Command & Control Infrastructure",
                "Lateral Movement & Persistence",
                "Data Exfiltration Scenarios",
                "Full Engagement Report with Strategic Recommendations",
              ],
            },
            {
              id: "retainer",
              badge: "Retainer Program",
              badgeIcon: Crown,
              price: "$5,000/mo",
              subtitle:
                "Ongoing security partnership with continuous testing and intelligence gathering",
              buttons: [
                { text: "Discuss Retainer", href: "/contact" },
                { text: "Learn More", href: "#" },
              ],
              features: [
                "Quarterly Penetration Tests",
                "Continuous Vulnerability Scanning",
                "Monthly Executive Briefings",
                "Priority Access to Security Team",
                "Custom Tool Development Support",
                "Incident Response Consultation",
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Solutions",
              items: [
                { label: "Penetration Testing", href: "/services" },
                { label: "Vulnerability Assessment", href: "/services" },
                { label: "Red Team Services", href: "/services" },
                { label: "Security Consulting", href: "/services" },
              ],
            },
            {
              title: "Training & Community",
              items: [
                { label: "Security Courses", href: "/training" },
                { label: "Elite Membership", href: "/" },
                { label: "Community Forum", href: "#" },
                { label: "Intelligence Briefings", href: "#" },
              ],
            },
            {
              title: "Company",
              items: [
                { label: "About BHEH", href: "#" },
                { label: "Blog & Research", href: "#" },
                { label: "Contact", href: "/contact" },
                { label: "Privacy Policy", href: "#" },
              ],
            },
          ]}
          copyrightText="© 2025 Black Hat Ethical Hacking. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}