import React, { useEffect, useState } from 'react'; interface ServicesSectionProps { onClose: () => void; } export const ServicesSection: React.FC = ({ onClose }) => { const [isLoaded, setIsLoaded] = useState(false); const [hoveredIdx, setHoveredIdx] = useState(null); useEffect(() => { const t = setTimeout(() => setIsLoaded(true), 100); return () => clearTimeout(t); }, []); const services = [ { id: "SYS_WEB_01", title: "Web Engineering", desc: "We build digital cathedrals, not just websites. High-performance frontends that defy browser limitations.", technical: "Next.js / WebGL / WASM / Edge Rendering", humor: ">> LOG: We promise 100% Lighthouse scores until marketing asks for that third tracking pixel.", icon: "⚡" }, { id: "SYS_MOB_02", title: "Mobile Synthesis", desc: "Cross-platform architectures that feel native. Smooth 120hz scrolling or we delete the repository.", technical: "React Native / Swift / Kotlin / Bridgeless Architecture", humor: ">> LOG: Yes, it works on Android. No, we won't test it on a 2014 Samsung J5.", icon: "📱" }, { id: "SYS_RES_03", title: "R&D / Deep Tech", desc: "The core of our existence. Turning whitepapers into profitable, deployable code.", technical: "LLM Fine-tuning / Computer Vision / Predictive Models", humor: ">> LOG: We spend 90% of our time reading arXiv papers and 10% praying the code compiles.", icon: "🔬" }, { id: "SYS_MKT_04", title: "Social Warfare", desc: "Algorithmic marketing. We position your brand exactly where the attention economy is bleeding.", technical: "Growth Hacking / Viral Loops / Sentiment Analysis", humor: ">> LOG: We can make you famous, or at least get you a cease and desist order.", icon: "📢" } ]; return (
{/* Top Bar */}
Service Protocols
{/* Main Content */}
{/* Header */}

System
Capabilities.

{/* Left Column: Services Grid */}
{services.map((service, idx) => (
setHoveredIdx(idx)} onMouseLeave={() => setHoveredIdx(null)} className={`group p-8 border border-white/10 bg-white/5 hover:bg-emerald-900/10 hover:border-emerald-500/30 transition-all duration-500 cursor-none-ish ${isLoaded ? 'opacity-100 translate-y-0' : 'opacity-0 translate-y-12'} `} style={{ transitionDelay: `${200 + idx * 100}ms` }} >
{service.icon} {service.id}

{service.title}

{service.desc}

{service.technical.split('/').map((tag, i) => ( {tag.trim()} ))}
))}
{/* Right Column: Interactive Monitor */}
Monitor_Output
{hoveredIdx !== null ? ( <>
Target Identified: {services[hoveredIdx].title.toUpperCase()}
ID: {services[hoveredIdx].id}
Stack Allocation:
{services[hoveredIdx].technical}
{services[hoveredIdx].humor}
) : (

System Idle.

Hover over a module to inspect.

)}
Mem: 40TB Cpu: 12%
{/* Mobile Humor for Services (since sidebar is hidden on mobile) */}

{">>> SYSTEM MESSAGE"}

"We construct things with love and passion. And lots of caffeine. Mostly caffeine actually."

{/* Footer */}

"We break things so you don't have to."

); };