1import{j as e,r as u}from"./index-9ZedHETz.js";import{U as Q,l as S,a as A,b as q,c as F,d as C,e as B}from"./UdemyHoverCard-CdtuXB0Y.js";import{S as L}from"./sparkles-CYCN2OmU.js";import{m as E}from"./proxy-DDlDSSGm.js";import{A as k}from"./arrow-right-BmfSR0Yo.js";import{S as M}from"./shield-DH25-l1j.js";import{S as G}from"./server-GEOZ9GGN.js";import{F as ee}from"./flag-WMORxmuf.js";import{F as te}from"./filter-B8DJfiNo.js";import{C as ae}from"./chevron-right-DlP9MnCI.js";import{C as se}from"./circle-check-DMfOrbDl.js";import{B as de}from"./book-open-BuX8NcIh.js";import{T as _}from"./target-CM2JGneI.js";import{P as re}from"./play-Dy_C0AZM.js";import{L as xe}from"./layers-DFqrI3sf.js";import{B as I}from"./bug-DQLctrch.js";import{G as le}from"./globe-3Ff7mbNs.js";import{C as z}from"./cloud-Du-9WdnC.js";import{W as me,F as D,K as H}from"./wifi-BUj03WnV.js";import{C as W}from"./cpu-tO38wmhh.js";import{S as pe}from"./smartphone-BiOWWpDM.js";import{R as O}from"./radio-DBle6udM.js";import{E as P}from"./eye-D4rg-802.js";import{C as ne}from"./code-xml-CqXBcJPM.js";import{L as ie}from"./lock-CFeyUueK.js";import{C as he}from"./crown-Br2FN7Bm.js";import{Z as ge}from"./zap-CPgXLhU4.js";import"./createLucideIcon-C0gWSzD2.js";const ue="/assets/hacker-arena-gIvwZYSV.jpg",V="/assets/hacker-ops-room-BlKkii5X.jpg",be=1,fe="844e9232-339a-463f-ada1-d6e16d8b9382",ve="ab48cbc5-fc6a-499a-ac58-d61bef36bb0c",ye="/__l5e/assets-v1/844e9232-339a-463f-ada1-d6e16d8b9382/hacker-multisystem.jpg",je="a/v1/ab48cbc5-fc6a-499a-ac58-d61bef36bb0c/844e9232-339a-463f-ada1-d6e16d8b9382/hacker-multisystem.jpg",we="hacker-multisystem.jpg",ke=156131,Ne="image/jpeg",Ce="2026-06-22T11:50:43Z",Se={version:be,asset_id:fe,project_id:ve,url:ye,r2_key:je,original_filename:we,size:ke,content_type:Ne,created_at:Ce},Ae="/assets/hero-terminal-backdrop-BSnr3jRa.jpg",Fe=1,Ee="2debf31a-eb7d-4c37-b61e-600b0f664fa8",Ie="ab48cbc5-fc6a-499a-ac58-d61bef36bb0c",Te="/__l5e/assets-v1/2debf31a-eb7d-4c37-b61e-600b0f664fa8/codered-logo-standard.png",Le="a/v1/ab48cbc5-fc6a-499a-ac58-d61bef36bb0c/2debf31a-eb7d-4c37-b61e-600b0f664fa8/codered-logo-standard.png",Me="codered-logo-standard.png",Pe=28342,Re="image/png",Be="2026-06-22T12:09:44Z",oe={version:Fe,asset_id:Ee,project_id:Ie,url:Te,r2_key:Le,original_filename:Me,size:Pe,content_type:Re,created_at:Be},U={OSINT:["Trace digital footprints","Use Maltego & SpiderFoot","Investigate the dark web safely","Source open intelligence ethically"],Programming:["Write Python tooling","Automate recon & scanning","Parse logs and payloads","Build small offensive utilities"],Foundations:["Master the Linux shell","Permissions, processes, services","Bash scripting for hackers","Pivot through a Linux box"],Cloud:["Identify cloud misconfigs","Secure IAM and storage","Detect attacks in AWS/Azure","Apply CSPM best practices"],"Web App":["Exploit OWASP Top 10","Test for IDOR & SSRF","Bypass auth and access controls","Report findings like a pro"],default:["Hands-on labs, not just slides","Real attacker tradecraft","Defender perspective baked in","Bite-sized, job-ready skills"]},$=s=>U[s??""]??U.default,t={green:"#00C853",greenSoft:"#00E676",greenDeep:"#00A344",greenGhost:"rgba(0,200,83,0.08)",red:"#d22027",redSoft:"#e73d30",redDeep:"#9B1B20",redGhost:"rgba(210,32,39,0.08)",ink:"#0A0A0A",white:"#FFFFFF",off:"#FFFFFF",line:"#E6E8E6",muted:"#6B7280"},m={signup:"https://codered.eccouncil.org/?logged=false",labs:"/hackerverse/labs",ctf:"/hackerverse/ctf",free:"/hackerverse/free",paths:"/hackerverse/paths",careerPaths:"/hackerverse/paths",skillPaths:"/hackerverse/paths",courses:"/hackerverse/courses",pro:"https://coderedpro.com/pages/unlock-cybersecurity-all-access-with-codered-pro-plans",proPlus:"https://coderedpro.com/pages/unlock-cybersecurity-all-access-with-codered-pro-plans#subcription_plans"},ce=({opacity:s=.18,color:d=t.green})=>{const o=u.useRef(null);return u.useEffect(()=>{const i=o.current;if(!i)return;const l=i.getContext("2d");if(!l)return;let n=0;const c=Math.min(window.devicePixelRatio||1,2),p=()=>{const b=i.parentElement,j=b.clientWidth,w=b.clientHeight;i.width=j*c,i.height=w*c,i.style.width=j+"px",i.style.height=w+"px",l.scale(c,c)};p(),window.addEventListener("resize",p);const h="01ã¢ã¡ã«ãµã¿ãããã¤ã©ã¯ABCDEF#$%&*</>{}[]=+-_".split(""),a=14;let x=Math.floor(i.width/c/a),r=new Array(x).fill(1);const v=()=>{x=Math.floor(i.width/c/a),r=new Array(x).fill(0).map(()=>Math.random()*-50)};v(),window.addEventListener("resize",v);let f=0;const g=b=>{if(b-f>60){f=b,l.fillStyle="rgba(255,255,255,0.12)",l.fillRect(0,0,i.width/c,i.height/c),l.font=`${a}px ui-monospace, Menlo, monospace`;for(let j=0;j<r.length;j++){const w=h[Math.floor(Math.random()*h.length)];l.fillStyle=d,l.fillText(w,j*a,r[j]*a),r[j]*a>i.height/c&&Math.random()>.975&&(r[j]=0),r[j]++}
1}n=requestAnimationFrame(g)};return n=requestAnimationFrame(g),()=>{cancelAnimationFrame(n),window.removeEventListener("resize",p),window.removeEventListener("resize",v)}},[]),e.jsx("canvas",{ref:o,className:"absolute inset-0 w-full h-full pointer-events-none",style:{opacity:s}})},$e=({opacity:s=.18,color:d=t.red})=>e.jsx("div",{className:"absolute inset-0 pointer-events-none mix-blend-overlay",style:{opacity:s,backgroundImage:"repeating-linear-gradient(to bottom, "+d+"33 0px, "+d+"33 1px, transparent 1px, transparent 3px)"}}),_e=({opacity:s=.08,color:d=t.red})=>e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{opacity:s,backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15L30 0z' fill='none' stroke='${encodeURIComponent(d)}' stroke-width='1'/%3E%3C/svg%3E")`,backgroundSize:"44px 44px"}}),ze=()=>{const[s,d]=u.useState(0);u.useEffect(()=>{let c=0;const p=()=>{c||(c=requestAnimationFrame(()=>{const h=document.documentElement,a=h.scrollHeight-h.clientHeight,x=a>0?Math.min(1,h.scrollTop/a):0;d(x),c=0}))};return window.addEventListener("scroll",p,{passive:!0}),p(),()=>{window.removeEventListener("scroll",p),cancelAnimationFrame(c)}},[]);const o=Math.max(0,(s-.25)/.75),i=.15+o*.55,l=.04+o*.18,n=.1+o*.35;return e.jsxs("div",{className:"pointer-events-none fixed inset-0 z-[40]","aria-hidden":!0,children:[e.jsx("div",{className:"absolute inset-0 transition-opacity duration-500",style:{background:`radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,${i}) 100%)`}}),e.jsx("div",{className:"absolute inset-0 transition-opacity duration-500",style:{opacity:l,backgroundImage:"repeating-linear-gradient(to bottom, rgba(0,255,140,0.35) 0px, rgba(0,255,140,0.35) 1px, transparent 1px, transparent 3px)"}}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-[40vh] transition-opacity duration-500",style:{opacity:n,background:`radial-gradient(ellipse at 50% 120%, ${t.red}55 0%, transparent 70%)`}})]})},y=({children:s,className:d="",style:o={}})=>e.jsx("span",{className:`font-mono ${d}`,style:{fontFamily:"ui-monospace, 'JetBrains Mono', Menlo, monospace",...o},children:s}),R=({href:s,children:d,className:o=""})=>e.jsx("a",{href:s,target:"_blank",rel:"noreferrer",className:`hk-btn inline-flex items-center gap-2 px-5 py-3 rounded-md font-semibold text-white uppercase tracking-wider text-sm ${o}`,style:{background:t.red,boxShadow:`0 10px 28px -8px ${t.red}`},children:d}),De=({href:s,children:d})=>e.jsx("a",{href:s,target:"_blank",rel:"noreferrer",className:"hk-btn inline-flex items-center gap-2 px-5 py-3 rounded-md font-semibold border uppercase tracking-wider text-sm transition-all hover:bg-black hover:text-white",style:{borderColor:t.ink,color:t.ink},children:d}),N=()=>e.jsx("div",{className:"hk-divider","aria-hidden":!0}),He=()=>{const s=["ATTACK SURFACE","RED TEAM","BLUE TEAM","ZERO DAY","CTF ARENA","LIVE LABS","THREAT HUNT","EXPLOIT DEV","MALWARE LAB","INCIDENT RESPONSE","CLOUD BREACH","AI SECURITY"];return e.jsxs("div",{"aria-hidden":!0,className:"relative overflow-hidden",style:{background:"linear-gradient(180deg, #0a0a0a 0%, #120303 35%, #0a0a06 65%, #020806 100%)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(900px 200px at 18% 0%, rgba(210,32,39,0.28) 0%, transparent 70%), radial-gradient(900px 220px at 82% 100%, rgba(34,197,94,0.22) 0%, transparent 70%)"}}),e.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.18]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px)",backgroundSize:"44px 44px",maskImage:"linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%)",WebkitMaskImage:"linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%)"}}),e.jsx("div",{className:"h-px w-full",style:{background:"linear-gradient(90deg, transparent, rgba(210,32,39,0.7), transparent)"}}),e.jsxs("div",{className:"relative py-5 border-y",style:{borderColor:"rgba(255,255,255,0.06)"},children:[e.jsx("div",{className:"flex whitespace-nowrap animate-[hkMarquee_38s_linear_infinite]",children:[...s,...s,...s].map((d,o)=>e.jsxs("span",{className:"inline-flex items-center gap-4 px-6 text-[12px] uppercase tracking-[0.35em] text-white/55",style:{fontFamily:"'Archivo Black', 'Inter', sans-serif"},children:[e.jsx("span",{className:"inline-block w-1.5 h-1.5 rotate-45",style:{background:o%4===0?"#22c55e":"#d22027"}}),d]},o))}),e.jsx("style",{children:"@keyframes hkMarquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }"})]}),e.jsx("div",{className:"h-px w-full",style:{background:"linear-gradient(90deg, rgba(210,32,39,0.8) 0%, rgba(255,255,255,0.1) 50%, rgba(34,197,94,0.8) 100%)"}}),e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 py-8 relative flex flex-col md:flex-row items-start md:items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"inline-block w-2 h-2 rounded-full animate-pulse",style:{background:"#d22027",boxShadow:"0 0 12px #d22027"}}),e.jsx("span",{className:"text-[11px] uppercase tracking-[0.35em] text-white/60",style:{fontFamily:"'Archivo Black', sans-serif"},children:"Signal handoff â entering live range"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"text-[11px] uppercase tracking-[0.35em] text-white/40",children:"Labs & CTF Arena"}),e.jsx("span",{className:"inline-block w-2 h-2 rounded-full animate-pulse",style:{background:"#22c55e",boxShadow:"0 0 12px #22c55e"}})]})]})]})},We=()=>{u.useEffect(()=>{const s=Array.from(document.querySelectorAll(".hk-reveal"));
1if(!("IntersectionObserver"in window)){s.forEach(o=>o.classList.add("is-in"));return}const d=new IntersectionObserver(o=>{o.forEach(i=>{i.isIntersecting&&(i.target.classList.add("is-in"),d.unobserve(i.target))})},{threshold:.15,rootMargin:"0px 0px -80px 0px"});return s.forEach(o=>d.observe(o)),()=>d.disconnect()},[])},Oe=()=>e.jsx("header",{className:"sticky top-0 z-50 bg-white border-b",style:{borderColor:t.line},children:e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 h-16 flex items-center justify-between gap-3",children:[e.jsx("a",{href:"/",className:"flex items-center",children:e.jsx("img",{src:oe.url,alt:"CodeRed â Continuous Learning",className:"h-9 w-auto"})}),e.jsxs("nav",{className:"hidden md:flex items-center gap-7 text-sm font-medium",children:[e.jsx("a",{href:"#ctf-labs",className:"hover:text-[color:var(--g)]",style:{"--g":t.green},children:"CTF & Labs"}),e.jsx("a",{href:"#free",className:"hover:opacity-70",children:"Free Courses"}),e.jsx("a",{href:"#paths",className:"hover:opacity-70",children:"Learning Paths"}),e.jsx("a",{href:"#courses",className:"hover:opacity-70",children:"Courses"}),e.jsx("a",{href:"#pricing",className:"hover:opacity-70",children:"Pricing"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:m.signup,target:"_blank",rel:"noreferrer",className:"hidden sm:inline-flex items-center text-sm font-semibold text-slate-700 hover:text-black px-2",children:"Sign in"}),e.jsxs("a",{href:"#pricing",className:"hk-surface hk-sweep relative inline-flex items-center gap-2 px-4 py-2.5 rounded-md font-bold text-sm text-white overflow-hidden",style:{background:`linear-gradient(135deg, ${t.red} 0%, #B91C1C 100%)`,boxShadow:`0 8px 24px ${t.red}55, inset 0 0 0 1px rgba(255,255,255,0.15)`},children:[e.jsx(L,{className:"w-4 h-4"})," Upgrade to Pro"]})]})]})}),qe=()=>{const[s,d]=u.useState(""),[o,i]=u.useState(""),[l,n]=u.useState(""),[c,p]=u.useState(""),[h,a]=u.useState(!1),[x,r]=u.useState("labs"),v={labs:{label:"Labs",cta:"Start with Labs â Free",url:m.labs},ctf:{label:"CTF",cta:"Start with CTF â Free",url:m.ctf},courses:{label:"Courses",cta:"Start with Courses â Free",url:m.courses}},f=v[x];return e.jsxs("section",{className:"relative overflow-hidden",style:{background:t.ink},children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:Se.url,alt:"CodeRed Hackerverse â multi-system hacking environment",className:"w-full h-full object-cover",style:{objectPosition:"35% center"},width:1920,height:1080,loading:"eager"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.35) 75%, rgba(0,0,0,0.75) 100%)"}}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.55) 100%)"}}),e.jsx("div",{className:"absolute -top-32 -left-32 w-[55vw] h-[55vw] rounded-full blur-[160px] opacity-15",style:{background:`radial-gradient(circle, ${t.red} 0%, transparent 70%)`}}),e.jsx("div",{className:"absolute -bottom-32 -right-32 w-[55vw] h-[55vw] rounded-full blur-[180px] opacity-20",style:{background:`radial-gradient(circle, ${t.green} 0%, transparent 70%)`}}),e.jsx("div",{className:"absolute inset-0 z-[1] pointer-events-none opacity-30",children:e.jsx(ce,{opacity:.08,color:t.green})})]}),e.jsx("div",{className:"container mx-auto px-5 lg:px-10 relative z-10 pt-16 lg:pt-20 pb-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.15fr_1fr] gap-8 lg:gap-10 items-center",children:[e.jsxs(E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.05,duration:.6},className:"relative z-[45] text-center lg:text-left p-5 sm:p-6 lg:p-8",children:[e.jsxs("h1",{className:"font-extrabold leading-[0.95] tracking-tight text-4xl sm:text-5xl lg:text-[68px] text-white",children:["Don't just learn it.",e.jsx("br",{}),e.jsx("span",{className:"italic",style:{color:t.green,textShadow:`0 0 40px ${t.green}66`},children:"Break it."})]}),e.jsxs("p",{className:"mt-6 text-base lg:text-lg leading-relaxed max-w-xl mx-auto lg:mx-0",style:{color:"rgba(255,255,255,0.78)"},children:["A hands-on ",e.jsx("span",{className:"font-semibold text-white",children:"labs & CTF arena"})," where you hack real targets, earn certifications, and build the muscle memory employers actually pay for."]}),e.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row gap-3 justify-center lg:justify-start",children:[e.jsxs("a",{href:m.signup,target:"_blank",rel:"noreferrer",className:"group inline-flex items-center justify-center gap-2 font-bold text-sm px-7 py-4 rounded-xl transition-all duration-300 hover:-translate-y-0.5 uppercase tracking-wide",style:{background:t.red,color:t.white,boxShadow:`0 14px 40px ${t.red}66`},children:["Start Hacking â Free ",e.jsx(k,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]}),e.jsx("a",{href:m.ctf,target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center gap-2 font-bold text-sm px-7 py-4 rounded-xl border uppercase tracking-wide text-white hover:bg-white/5 transition-colors",style:{borderColor:"rgba(255,255,255,0.25)",backdropFilter:"blur(8px)"},children:"Explore CTF Arena"})]}),e.jsx("div",{className:"mt-7 flex flex-wrap gap-x-8 gap-y-4 justify-center lg:justify-start",children:[{v:"1.2M+",l:"Learners"},{v:"4.8â
",l:"Rating"}].map((g,b)=>e.jsxs("div",{className:`flex flex-col ${b>0?"pl-8 border-l":""}`,style:{borderColor:"rgba(255,255,255,0.12)"},children:[e.jsx("span",{className:"font-bold text-2xl text-white",children:e.jsx(y,{children:g.v})}),e.jsx(y,{className:"text-[10px] uppercase tracking-wider font-semibold mt-0.5",style:{color:t.red},children:g.l})]},g.l))})]}),e.jsxs(E.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"relative z-[45] rounded-2xl border overflow-hidden bg-white",style:{borderColor:"rgba(255,255,255,0.15)",boxShadow:`0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px ${t.red}22, 0 24px 60px ${t.red}33`},children:[e.jsxs("div",{className:"px-6 pt-5 pb-4 border-b",style:{borderColor:t.line},children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(M,{className:"w-4 h-4",style:{color:t.redDeep}}),e.jsx(y,{className:"text-[10px] uppercase tracking-wider font-bold",style:{color:t.redDeep},children:"Create your hacker account"})]}),e.jsxs("h3",{className:"mt-2 font-bold text-2xl md:text-[26px] leading-tight text-black",children:["Get instant access to ",e.jsx("span",{style:{color:t.redDeep},children:"25+ free courses"})," with labs."]}),e.jsx("p",{className:"text-sm mt-1.5 text-slate-500",children:"Labs · CTFs · Full course library â no credit card."})]}),e.jsxs("div",{className:"px-6 py-5",children:[e.jsx("div",{className:"mb-2 text-xs font-bold uppercase tracking-wider text-slate-500",children:"I am here for"}),e.jsx("div",{className:"mb-5 p-1 rounded-lg border flex gap-1",style:{background:"rgba(0,0,0,0.03)",borderColor:t.line},children:["labs","ctf","courses"].map(g=>{const b=x===g;return e.jsx("button",{type:"button",onClick:()=>r(g),className:`flex-1 relative py-2 rounded-md text-xs font-bold uppercase tracking-wider transition-all ${b?"text-white shadow-md":"text-slate-500 hover:text-slate-700"}`,style:b?{background:t.red,boxShadow:`0 4px 14px -4px ${t.red}`}:{},children:v[g].label},g)})}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsx("a",{href:m.signup,target:"_blank",rel:"noreferrer",className:"flex items-center justify-center py-3 rounded-md border hover:bg-slate-50 transition-colors",style:{borderColor:t.line},"aria-label":"Continue with Google",children:e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 48 48",children:[e.jsx("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3 0 5.8 1.1 7.9 3l5.7-5.7C34 6 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.2-.1-2.3-.4-3.5z"}),e.jsx("path",{fill:"#FF3D00",d:"M6.3 14.7l6.6 4.8C14.6 16.1 19 13 24 13c3 0 5.8 1.1 7.9 3l5.7-5.7C34 6 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z"}),e.jsx("path",{fill:"#4CAF50",d:"M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.3 35 26.8 36 24 36c-5.3 0-9.7-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z"}),e.jsx("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.1-4.1 5.6l6.2 5.2C40.9 35.2 44 30 44 24c0-1.2-.1-2.3-.4-3.5z"})]})}),e.jsx("a",{href:m.signup,target:"_blank",rel:"noreferrer",className:"flex items-center justify-center py-3 rounded-md border hover:bg-slate-50 transition-colors",style:{borderColor:t.line},"aria-label":"Continue with X",children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"black",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})]}),e.jsxs("div",{className:"my-4 flex items-center gap-3 text-xs text-slate-400",children:[e.jsx("div",{className:"h-px flex-1",style:{background:t.line}})," OR ",e.jsx("div",{className:"h-px flex-1",style:{background:t.line}})]}),e.jsxs("form",{onSubmit:g=>{g.preventDefault();const b=new URLSearchParams;o&&b.set("first_name",o),l&&b.set("last_name",l),s&&b.set("email",s),window.open(`${f.url}${f.url.includes("?")?"&":"?"}${b.toString()}`,"_blank")},className:"space-y-3",children:[e.jsx("input",{type:"text",required:!0,value:o,onChange:g=>i(g.target.value),placeholder:"First name",className:"w-full px-4 py-3 rounded-md border outline-none focus:ring-2 placeholder:text-slate-400",style:{borderColor:t.line}}),e.jsx("input",{type:"text",required:!0,value:l,onChange:g=>n(g.target.value),placeholder:"Last name",className:"w-full px-4 py-3 rounded-md border outline-none focus:ring-2 placeholder:text-slate-400",style:{borderColor:t.line}}),e.jsx("input",{type:"email",required:!0,value:s,onChange:g=>d(g.target.value),placeholder:"Email address",className:"w-full px-4 py-3 rounded-md border outline-none focus:ring-2 placeholder:text-slate-400",style:{borderColor:t.line}}),e.jsx("input",{type:"password",required:!0,value:c,onChange:g=>p(g.target.value),placeholder:"Password",minLength:8,className:"w-full px-4 py-3 rounded-md border outline-none focus:ring-2 placeholder:text-slate-400",style:{borderColor:t.line}}),e.jsxs("label",{className:"flex items-start gap-2.5 pt-1 text-xs text-slate-600 cursor-pointer select-none",children:[e.jsx("input",{type:"checkbox",required:!0,checked:h,onChange:g=>
1a(g.target.checked),className:"mt-0.5 h-4 w-4 rounded border-slate-300 accent-[#d22027]"}),e.jsxs("span",{children:["I agree to the ",e.jsx("a",{href:"https://www.eccouncil.org/terms/",target:"_blank",rel:"noreferrer",className:"underline hover:text-black",children:"Terms & Conditions"})," and ",e.jsx("a",{href:"https://www.eccouncil.org/privacy-policy/",target:"_blank",rel:"noreferrer",className:"underline hover:text-black",children:"Privacy Policy"})]})]}),e.jsxs("button",{type:"submit",disabled:!h,className:"w-full inline-flex items-center justify-center gap-2 py-3.5 rounded-md font-bold uppercase tracking-wide text-sm text-white mt-2 disabled:opacity-50 disabled:cursor-not-allowed",style:{background:t.red,boxShadow:`0 8px 24px -8px ${t.red}`},children:[f.cta," ",e.jsx(k,{className:"w-4 h-4"})]})]})]})]})]})})]})},K=[{k:"All",icon:xe},{k:"Pentesting",icon:I},{k:"Web App",icon:le},{k:"Cloud",icon:z},{k:"Network",icon:me},{k:"Malware",icon:W},{k:"Forensics",icon:D},{k:"Cryptography",icon:H},{k:"Mobile",icon:pe},{k:"IoT/OT",icon:O},{k:"Blue Team",icon:M},{k:"OSINT",icon:P}],T=[{t:"Active Directory Privilege Escalation",d:"Pentesting",lvl:"Advanced",time:"2h",x:12,img:S,desc:"Move from a standard domain user to Domain Admin using real AD abuse paths including ACL misconfigurations and token impersonation."},{t:"Exploiting OWASP Top 10 â Live Targets",d:"Web App",lvl:"Intermediate",time:"1h 30m",x:18,img:A,desc:"Exploit the most common web vulnerabilities on intentionally vulnerable applications running in isolated live ranges."},{t:"AWS Misconfiguration Hunting",d:"Cloud",lvl:"Intermediate",time:"1h",x:9,img:q,desc:"Hunt for overly permissive S3 buckets, IAM policy flaws, and exposed compute instances across a realistic AWS-style cloud lab."},{t:"Reverse Engineering a Ransomware Sample",d:"Malware",lvl:"Advanced",time:"2h 15m",x:14,img:F,desc:"Statically analyze a real ransomware binary, extract indicators of compromise, and understand its encryption routine."},{t:"Wireshark Deep-Packet Forensics",d:"Forensics",lvl:"Beginner",time:"45m",x:7,img:C,desc:"Capture and dissect suspicious traffic to identify exfiltration, C2 beacons, and protocol anomalies."},{t:"Wi-Fi WPA2 Cracking Range",d:"Network",lvl:"Intermediate",time:"1h",x:11,img:B,desc:"Capture WPA2 handshakes and run dictionary and rule-based attacks in a controlled wireless lab."},{t:"Custom Caesar & AES Breaker",d:"Cryptography",lvl:"Beginner",time:"50m",x:8,img:C,desc:"Build and break classical and modern ciphers using Python and common cryptanalysis techniques."},{t:"Android App Static Analysis",d:"Mobile",lvl:"Intermediate",time:"1h 20m",x:10,img:A,desc:"Decompile Android APKs, find hardcoded secrets, and identify insecure storage and transport issues."},{t:"PLC Recon and OT Exposure Mapping",d:"IoT/OT",lvl:"Advanced",time:"1h 40m",x:9,img:B,desc:"Map an industrial
1control network, identify exposed PLC services, and practice safe OT reconnaissance."},{t:"SOC Alert Triage and Containment",d:"Blue Team",lvl:"Beginner",time:"55m",x:6,img:F,desc:"Work real SOC alerts from detection through containment, using SIEM and EDR-style workflows."},{t:"Dark Web Handle Attribution",d:"OSINT",lvl:"Intermediate",time:"1h 10m",x:8,img:S,desc:"Trace aliases, correlate handles, and investigate the dark web without breaking operational security."},{t:"Kerberoasting in a Windows Domain",d:"Pentesting",lvl:"Advanced",time:"1h 45m",x:13,img:S,desc:"Request and crack weak Kerberos service tickets to escalate privileges in a real Windows domain."},{t:"Server-Side Template Injection Hunt",d:"Web App",lvl:"Advanced",time:"1h 25m",x:11,img:A,desc:"Find and exploit SSTI vulnerabilities to achieve remote code execution on modern web stacks."},{t:"Azure Tenant Misconfiguration Review",d:"Cloud",lvl:"Beginner",time:"50m",x:7,img:q,desc:"Audit Azure AD, storage accounts, and RBAC for common cloud security mistakes."},{t:"Beacon Analysis and Memory Artifacts",d:"Forensics",lvl:"Intermediate",time:"1h 5m",x:9,img:C,desc:"Perform memory forensics on an infected system to find persistence, beacons, and attacker tools."},{t:"Lateral Movement over Segmented Networks",d:"Network",lvl:"Advanced",time:"1h 35m",x:12,img:B,desc:"Pivot across network segments using SSH tunnels, pass-the-hash, and relay techniques."},{t:"YARA Rules for Malware Detection",d:"Malware",lvl:"Intermediate",time:"1h",x:8,img:F,desc:"Author and tune YARA rules to hunt malware families and classify suspicious files at scale."},{t:"OSINT Geolocation from Public Media",d:"OSINT",lvl:"Beginner",time:"40m",x:5,img:S,desc:"Use images, metadata, and public posts to pinpoint locations and verify digital identities."}],Y=[{k:"Web Exploitation",icon:le,n:84},{k:"Pwn / Binary",icon:I,n:56},{k:"Reverse Eng.",icon:ne,n:48},{k:"Cryptography",icon:H,n:42},{k:"Forensics",icon:D,n:61},{k:"OSINT",icon:P,n:33},{k:"Cloud",icon:z,n:28},{k:"Steganography",icon:ie,n:22}],Z=[{t:"Injection 1",cat:"Web Exploitation",diff:"Advanced",flags:4,tags:["SQLMap","SQL Injection","Credential Access"],img:A,desc:"Identify and exploit a SQL injection vulnerability in a web application using SQLMap. Automate database enumeration and discover hidden credentials."},{t:"BacktraceWP",cat:"Forensics",diff:"Intermediate",flags:8,tags:["WordPress Enumeration","PCAP Analysis","Wireshark"],img:C,desc:"Network forensics meets web app security. Analyze PCAP files with Wireshark and investigate a compromised WordPress site via a WP plugin chain."},{t:"Revsing",cat:"Reverse Eng.",diff:"Intermediate",flags:7,tags:["Reverse Engineering","Binary Analysis"],img:F,desc:"Network scanning, web app enumeration and exploiting Local File Inclusion (LFI) to achieve remote code execution via log poisoning."},{t:"Plhack",cat:"Pwn / Binary",diff:"Intermediate",flags:5,tags:["Reverse Shell","Linux PrivEsc","SSH Access"],img:S,desc:"Compromise a Linux system b
1y first gaining initial access through SSH, then enumerate the system to identify a Python script that can be abused."},{t:"Shadow Broker",cat:"Web Exploitation",diff:"Advanced",flags:3,tags:["SSRF","JWT","Server Compromise"],img:A,desc:"Chain server-side request forgery with weak JWT validation to pivot through a multi-tier cloud-hosted web stack."},{t:"Crypto Hydra",cat:"Cryptography",diff:"Intermediate",flags:2,tags:["AES","RSA","Key Recovery"],img:C,desc:"Recover a leaked private key and break a custom-rolled crypto scheme to decrypt the protected flag bundle."},{t:"Phantom Packet",cat:"Forensics",diff:"Beginner",flags:1,tags:["PCAP","Exfiltration","Wireshark"],img:C,desc:"Inspect a suspicious capture file and reconstruct the data the attacker silently exfiltrated from the target."},{t:"Reverse Vault",cat:"Reverse Eng.",diff:"Advanced",flags:3,tags:["x86","Anti-Debug","Crackme"],img:F,desc:"Defeat anti-debug tricks and reverse a hardened binary to extract the embedded authentication routine and unlock the vault."}],Ge=()=>{const[s,d]=u.useState("labs"),[o,i]=u.useState("guided"),[l,n]=u.useState("All"),[c,p]=u.useState("All"),[h,a]=u.useState("All"),x=u.useMemo(()=>T.filter(r=>{const v=h==="All"||h==="Entry Level"&&r.lvl==="Beginner"||h==="Mid Level"&&r.lvl==="Intermediate"||h==="Senior Level"&&r.lvl==="Advanced";return(l==="All"||r.d===l)&&(c==="All"||r.lvl===c)&&v}),[l,c,h]);return e.jsxs("section",{id:"ctf-labs",className:"relative py-24 lg:py-32 overflow-hidden text-white",style:{background:"#020806"},children:[e.jsx("style",{children:` 2 .purple-animated-border { 3 position: relative; 4 overflow: hidden; 5 z-index: 0; 6 } 7 .purple-animated-border::before { 8 content: ""; 9 position: absolute; 10 top: 50%; 11 left: 50%; 12 width: 200%; 13 height: 200%; 14 background: conic-gradient(from 0deg, rgba(168,85,247,0.9), rgba(255,255,255,0.12), rgba(168,85,247,0.35), rgba(255,255,255,0.12), rgba(168,85,247,0.9)); 15 transform: translate(-50%, -50%) rotate(0deg); 16 animation: rotate-purple-border 3s linear infinite; 17 z-index: -2; 18 } 19 .purple-animated-border::after { 20 content: ""; 21 position: absolute; 22 inset: 1px; 23 background: #0a0a0a; 24 border-radius: inherit; 25 z-index: -1; 26 } 27 @keyframes rotate-purple-border { 28 to { transform: translate(-50%, -50%) rotate(360deg); } 29 } 30 `}),e.jsx("img",{src:Ae,alt:"Live terminal session â root@codered exploit target prod",className:"absolute inset-0 w-full h-full object-cover opacity-40 pointer-events-none",width:1920,height:1088,loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, rgba(2,8,6,0.92) 0%, rgba(2,20,10,0.80) 25%, rgba(2,20,10,0.72) 75%, rgba(2,8,6,0.98) 100%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(0,200,83,0.12) 0%, transparent 55%)"}}),e.jsx("div",{className:"absolute inset-0 opacity-60",children:e.jsx(ce,{opacity:.12,color:t.green})}),e.jsx(_e,{opacity:.08,color:t.green}),e.jsx($e,{opacity:.1,color:t.green}),e.jsx("div",{className:"absolute -top-40 -left-40 w-[55vw] h-[55vw] rounded-full blur-[180px] opacity-30",style:{background:`radial-gradient(circle, ${t.green} 0%, transparent 70%)`}}),e.jsx("div",{className:"absolute -bottom-40 -right-40 w-[50vw] h-[50vw] rounded-full blur-[180px] opacity-25",style:{background:`radial-gradient(circle, ${t.greenSoft} 0%, transparent 70%)`}}),e.jsx("div",{className:"absolute inset-0 opacity-[0.05]",style:{backgroundImage:"linear-gradient(#ffffff 1px, transparent 1px), linear-gradient(90deg, #ffffff 1px, transparent 1px)",backgroundSize:"44px 44px"}}),e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 relative",children:[e.jsxs("div",{className:"max-w-3xl",children:[e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold tracking-tight text-white hk-reveal",children:["The ",e.jsx("span",{className:"hk-glitch hk-flicker","data-text":"Labs & CTF",style:{color:"#ffffff"},children:"Labs & CTF"})," Arena"]}),e.jsxs("p",{className:"mt-4 text-lg text-white/70",children:["Real environments. Real adversaries. ",e.jsx(y,{children:"500+"})," labs powering ",e.jsx(y,{children:"1700+"})," hands-on exercises and"," ",e.jsx(y,{children:"400+"})," CTF challenges across every cyber domain."]})]}),e.jsx("div",{className:"mt-10 inline-flex p-1 rounded-lg border",style:{borderColor:"rgba(255,255,255,0.20)",background:"rgba(255,255,255,0.04)"},children:["labs","ctf"].map(r=>e.jsxs("button",{onClick:()=>d(r),className:"px-6 py-2.5 rounded-md text-sm font-bold inline-flex items-center gap-2 transition-all",style:s===r?{background:"#ffffff",color:t.ink}:{color:"rgba(255,255,255,0.75)"},children:[r==="labs"?e.jsx(G,{className:"w-4 h-4"}):e.jsx(ee,{className:"w-4 h-4"}),r==="labs"?"Practice Labs":"CTF Challenges"]},r))}),s==="labs"&&e.jsxs("div",{className:"mt-10 space-y-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-end justify-between flex-wrap gap-3 mb-5",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-white",children:"Practice Labs"}),e.jsxs("div",{className:"text-sm text-white/60",children:[e.jsx(y,{className:"text-white",children:x.length})," of ",e.jsx(y,{children:T.length})," labs"]})]}),e.jsxs("div",{className:"rounded-xl border p-4 flex flex-wrap items-center gap-3 mb-5",style:{borderColor:"rgba(255,255,255,0.10)",background:"#0a0a0a"},children:[e.jsx(te,{className:"w-4 h-4 text-white/60"}),e.jsx("select",{value:c,onChange:r=>p(r.target.value),className:"rounded-md text-sm px-3 py-2 border bg-black text-white",style:{borderColor:"rgba(255,255,255,0.15)"},children:["All","Beginner","Intermediate","Advanced"].map(r=>e.jsx("option",{value:r,children:r==="All"?"Skill Level":r},r))}),e.jsx("select",{value:h,onChange:r=>a(r.target.value),className:"rounded-md text-sm px-3 py-2 border bg-black text-white",style:{borderColor:"rgba(255,255,255,0.15)"},children:["All","Entry Level","Mid Level","Senior Level"].map(r=>e.jsx("option",{value:r,children:r==="All"?"Job Level":r},r))}
30),e.jsxs("select",{value:l,onChange:r=>n(r.target.value),className:"rounded-md text-sm px-3 py-2 border bg-black text-white",style:{borderColor:"rgba(255,255,255,0.15)"},children:[e.jsx("option",{value:"All",children:"Topics"}),K.filter(r=>r.k!=="All").map(r=>e.jsx("option",{value:r.k,children:r.k},r.k))]}),e.jsx("button",{onClick:()=>{n("All"),p("All"),a("All")},className:"text-xs uppercase tracking-wider text-white/60 hover:text-white px-2 py-2",children:"Reset"})]}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:K.map(r=>{const v=l===r.k,f=r.icon,g=r.k==="All"?T.length:T.filter(b=>b.d===r.k).length;return e.jsxs("button",{onClick:()=>n(r.k),className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-md text-xs font-medium border transition-all",style:v?{background:t.green,color:"#021008",borderColor:t.green}:{background:"#111",color:"rgba(255,255,255,0.9)",borderColor:"rgba(255,255,255,0.12)"},children:[e.jsx(f,{className:"w-3.5 h-3.5"})," ",r.k," ",e.jsx("span",{className:"opacity-60",children:g})]},r.k)})})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:[x.length===0&&e.jsx("div",{className:"col-span-2 lg:col-span-3 rounded-xl border p-10 text-center text-white/80",style:{borderColor:"rgba(255,255,255,0.12)",background:"#0a0a0a"},children:"No labs match. Adjust filters."}),x.map(r=>e.jsx(E.a,{href:m.labs,target:"_blank",rel:"noreferrer",whileHover:{y:-4},className:"group relative block rounded-2xl purple-animated-border transition-all hover:shadow-[0_0_30px_rgba(168,85,247,0.25)]",children:e.jsxs("div",{className:"relative rounded-2xl overflow-hidden h-full m-[1px]",children:[e.jsxs("div",{className:"relative aspect-[16/9] overflow-hidden",children:[e.jsx("img",{src:r.img,alt:r.t,width:800,height:500,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent"}),e.jsxs("div",{className:"absolute inset-0 bg-black/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-end p-5",children:[e.jsx("p",{className:"text-sm text-white/90 leading-relaxed line-clamp-4",children:r.desc}),e.jsxs("div",{className:"mt-3 flex items-center gap-2 text-xs font-semibold",style:{color:t.green},children:[e.jsx(L,{className:"w-3.5 h-3.5"})," What you'll practice"]}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5",children:$(r.d).slice(0,3).map((v,f)=>e.jsx("span",{className:"px-2 py-1 rounded text-[10px] font-medium border",style:{borderColor:"rgba(255,255,255,0.18)",background:"rgba(255,255,255,0.07)",color:"rgba(255,255,255,0.9)"},children:v},f))})]}),e.jsxs("span",{className:"absolute top-3 left-3 inline-flex items-center gap-1 px-2 py-1 rounded text-xs font-bold backdrop-blur z-10",style:{background:"rgba(0,0,0,0.6)",color:t.green,border:`1px solid ${t.green}55`},children:[e.jsx(G,{className:"w-3 h-3"})," Live Range"]}),e.jsxs("span",{className:"absolute top-3 right-3 px-2 py-1 rounded text-xs font-bold",style:{background:t.green,color:"#021008"},children:[r.x," Tasks"]})]}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs mb-2",children:[e.jsx(y,{className:"text-white/50",children:r.d}),e.jsx(y,{className:"text-white/50",children:r.time})]}),e.jsx("h4",{className:"text-lg font-bold text-white",children:r.t}),e.jsx("div",{className:"mt-3 flex flex-wrap gap-1.5",children:$(r.d).slice(0,3).map((v,f)=>e.jsx("span",{className:"px-2 py-1 rounded text-[10px] font-medium border",style:{borderColor:"rgba(255,255,255,0.15)",background:"rgba(255,255,255,0.05)",color:"rgba(255,255,255,0.85)"},children:v},f))}),e.jsxs("div",{className:"mt-4 flex items-center justify-between",children:[e.jsx("span",{className:"inline-flex items-center gap-1 text-xs px-2 py-1 rounded font-bold",style:{background:r.lvl==="Advanced"?"#ef444433":r.lvl==="Intermediate"?"#f59e0b33":"#10b98133",color:r.lvl==="Advanced"?"#f87171":r.lvl==="Intermediate"?"#fbbf24":"#34d399"},children:r.lvl}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-semibold",style:{color:"#ffffff"},children:["Launch lab ",e.jsx(ae,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]})]})},r.t))]})]}),s==="ctf"&&e.jsx(Ke,{ctfMode:o,setCtfMode:i})]})]})},Ve=[{t:"Enhance Problem-Solving Skills",d:"Solve engaging, real-world cybersecurity puzzles to sharpen your analytical thinking."},{t:"Learn by Doing",d:"Practice hands-on techniques to reinforce theoretical knowledge and gain practical experience."},{t:"Build Real-World Expertise",d:"Tackle challenges that simulate real cybersecurity scenarios to prepare for industry demands."},{t:"Boost Confidence",d:"Develop confidence in identifying and mitigating security vulnerabilities through guided or competitive exercises."},{t:"Showcase Your Skills",d:"Compete, earn recognition, and build your cybersecurity portfolio to
30stand out in the field."}],Ue=[{n:"01",t:"Start a Challenge",d:"Choose a challenge from our directory. Use the filters to find challenges that suit your skill level and interest."},{n:"02",t:"Engage and Solve",d:"Work through the challenges using the available tools. In guided mode, instructions are available to help you progress."},{n:"03",t:"Feedback and Learning",d:"After completing a challenge, receive immediate feedback on your performance. Use this insight to refine your approach and enhance your skills."}],Ke=({ctfMode:s,setCtfMode:d})=>{const[o,i]=u.useState("All"),[l,n]=u.useState("All"),[c,p]=u.useState(!1),h=u.useMemo(()=>Z.filter(a=>(o==="All"||a.cat===o)&&(l==="All"||a.diff===l)),[o,l]);return e.jsxs("div",{className:"mt-10 space-y-20",children:[e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-14 items-start",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"text-2xl md:text-3xl font-bold text-white leading-tight",children:["What is a challenges",e.jsx("br",{}),"(Capture The Flag) event?"]}),e.jsx("p",{className:"mt-4 text-white/90 leading-relaxed",children:"Capture The Flag (CTF) challenges are interactive, problem-solving cybersecurity puzzles that simulate real-world scenarios. Choose between guided or unguided modes to match your learning style and expertise."}),e.jsx("h4",{className:"mt-10 text-xl md:text-2xl font-bold text-white",children:"Elevate Your Skills with CTF Challenges"}),e.jsx("ul",{className:"mt-5 space-y-4",children:Ve.map(a=>e.jsxs("li",{className:"flex gap-3",children:[e.jsx(se,{className:"w-5 h-5 mt-0.5 shrink-0",style:{color:t.green}}),e.jsxs("p",{className:"text-sm text-white/95 leading-relaxed",children:[e.jsxs("span",{className:"font-semibold text-white",children:[a.t,":"]})," ",e.jsx("span",{className:"text-white/85",children:a.d})]})]},a.t))})]}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden border self-start",style:{borderColor:"rgba(255,255,255,0.12)"},children:[e.jsx("img",{src:V,alt:"Hackers collaborating on a CTF challenge",className:"w-full h-full object-cover",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/60 via-trans
30parent to-transparent"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-white",children:"Choose your preferred mode"}),e.jsx("p",{className:"mt-3 text-white/70",children:"Tailor your learning experience by selecting the mode that suits your goals. Whether you prefer guided assistance or the thrill of solving complex problems on your own, we've got you covered."})]}),e.jsx("div",{className:"mt-10 grid sm:grid-cols-2 gap-6 max-w-3xl mx-auto",children:[{k:"guided",t:"Guided Mode",img:ue,Icon:de,d:"Ideal for beginners or those who prefer structured learning, our guided challenges provide hints and step-by-step guidance."},{k:"unguided",t:"Unguided Mode",img:V,Icon:_,d:"For those who seek a rigorous test of their skills, our unguided challenges offer minimal assistance, simulating real-life cybersecurity tasks."}].map(a=>{const x=s===a.k,r=typeof a.img=="string"?a.img:a.img.url;return e.jsxs("button",{type:"button",onClick:()=>d(a.k),className:"relative text-left rounded-2xl overflow-hidden border transition-all group",style:{borderColor:x?t.green:"rgba(255,255,255,0.14)",boxShadow:x?`0 0 0 1px ${t.green}, 0 20px 50px -20px ${t.green}`:"none",background:"#0a0a0a"},children:[e.jsxs("div",{className:"relative aspect-[4/3] overflow-hidden",children:[e.jsx("img",{src:r,alt:a.t,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/40 to-transparent"}),e.jsx("div",{className:"absolute top-3 right-3 inline-flex items-center gap-1 px-2 py-1 rounded text-[10px] font-bold uppercase tracking-wider",style:{background:x?t.green:"rgba(0,0,0,0.55)",color:x?"#021008":"#fff",border:x?"none":"1px solid rgba(255,255,255,0.25)"},children:x?"Selected":"Select"}),e.jsxs("div",{className:"absolute bottom-4 left-5 right-5 flex items-center gap-2",children:[e.jsx(a.Icon,{className:"w-5 h-5",style:{color:t.green}}),e.jsx("div",{className:"text-xl font-bold text-white",children:a.t})]})]}),e.jsx("p",{className:"p-5 text-sm text-white/75 leading-relaxed",children:a.d})]},a.k)})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-center text-2xl md:text-3xl font-bold text-white",children:"How It Works?"}),e.jsx("div",{className:"mt-10 grid md:grid-cols-3 gap-6",children:Ue.map(a=>e.jsxs("div",{className:"relative rounded-xl border p-6 overflow-hidden",style:{borderColor:"rgba(255,255,255,0.10)",background:"rgba(255,255,255,0.02)"},children:[e.jsx("div",{className:"absolute -top-2 -right-2 text-7xl font-black opacity-10 select-none",style:{color:t.green},children:a.n}),e.jsxs("div",{className:"relative",children:[e.jsxs(y,{className:"text-xs",style:{color:t.green},children:["STEP ",a.n]}),e.jsx("h4",{className:"mt-2 text-lg font-bold text-white",children:a.t}),e.jsx("p",{className:"mt-2 text-sm text-white/70 leading-relaxed",children:a.d})]})]},a.n))})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-end justify-between flex-wrap gap-3 mb-5",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-white",children:"CTF Challenges"}),e.jsxs("div",{className:"text-sm text-white/60",children:[e.jsx(y,{className:"text-white",children:h.length})," of ",e.jsx(y,{children:"413"})," challenges"]})]}),e.jsxs("div",{className:"rounded-xl border p-4 flex flex-wrap items-center gap-3 mb-5",style:{borderColor:"rgba(255,255,255,0.10)",background:"#0a0a0a"},children:[e.jsx(te,{className:"w-4 h-4 text-white/60"}),e.jsx("select",{value:l,onChange:a=>n(a.target.value),className:"rounded-md text-sm px-3 py-2 border bg-black text-white",style:{borderColor:"rgba(255,255,255,0.15)"},children:["All","Beginner","Intermediate","Advanced"].map(a=>e.jsx("option",{value:a,children:a==="All"?"Skill Level":a},a))}),e.jsxs("select",{value:o,onChange:a=>i(a.target.value),className:"rounded-md text-sm px-3 py-2 border bg-black text-white",style:{borderColor:"rgba(255,255,255,0.15)"},children:[e.jsx("option",{value:"All",children:"Topics"}),Y.map(a=>e.jsx("option",{value:a.k,children:a.k},a.k))]}),e.jsx("button",{onClick:()=>{i("All"),n("All"),p(!1)},className:"text-xs uppercase tracking-wider text-white/60 hover:text-white px-2 py-2",children:"Reset"}),e.jsxs("label",{className:"ml-auto inline-flex items-center gap-2 text-sm text-white/80 curs
30or-pointer",children:[e.jsx("input",{type:"checkbox",checked:c,onChange:a=>p(a.target.checked),style:{accentColor:t.green}}),"Supports Guided Mode"]})]}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:[{k:"All",n:Z.length},...Y.map(a=>({k:a.k,n:a.n}))].map(a=>{const x=o===a.k;return e.jsxs("button",{onClick:()=>i(a.k),className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-md text-xs font-medium border transition-all",style:x?{background:t.green,color:"#021008",borderColor:t.green}:{background:"#111",color:"rgba(255,255,255,0.9)",borderColor:"rgba(255,255,255,0.12)"},children:[a.k," ",e.jsx("span",{className:"opacity-60",children:a.n})]},a.k)})}),e.jsxs("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:[h.length===0&&e.jsx("div",{className:"col-span-2 lg:col-span-3 rounded-xl border p-10 text-center text-white/80",style:{borderColor:"rgba(255,255,255,0.12)",background:"#0a0a0a"},children:"No challenges match. Adjust filters."}),h.map(a=>e.jsx("a",{href:m.ctf,target:"_blank",rel:"noreferrer",className:"group relative block rounded-2xl purple-animated-border transition-all hover:-translate-y-1 hover:shadow-[0_0_30px_rgba(168,85,247,0.25)]",children:e.jsxs("div",{className:"relative rounded-2xl overflow-hidden h-full m-[1px]",children:[e.jsxs("div",{className:"relative aspect-[16/9] overflow-hidden",children:[e.jsx("img",{src:a.img,alt:a.t,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent"}),e.jsxs("span",{className:"absolute top-3 left-3 inline-flex items-center gap-1 px-2 py-1 rounded text-xs font-bold backdrop-blur",style:{background:"rgba(0,0,0,0.6)",color:t.green,border:`1px solid ${t.green}55`},children:[e.jsx(ee,{className:"w-3 h-3"})," CTF Challenge"]}),e.jsxs("span",{className:"absolute top-3 right-3 px-2 py-1 rounded text-xs font-bold",style:{background:t.green,color:"#021008"},children:[a.flags," Flags"]})]}),e.jsxs("div",{className:"p-5",children:[e.jsx("h4",{className:"text-lg font-bold text-white",children:a.t}),e.jsx("p",{className:"mt-2 text-sm text-white/70 line-clamp-2 leading-relaxed",children:a.desc}),e.jsx("div",{className:"mt-3 flex flex-wrap gap-1.5",children:a.tags.slice(0,3).map(x=>e.jsx("span",{className:"px-2 py-1 rounded text-[10px] font-medium border",style:{borderColor:"rgba(255,255,255,0.15)",background:"rgba(255,255,255,0.05)",color:"rgba(255,255,255,0.85)"},children:x},x))}),e.jsxs("div",{className:"mt-4 flex items-center justify-between",children:[e.jsx("span",{className:"inline-flex items-center gap-1 text-xs px-2 py-1 rounded font-bold",style:{background:a.diff==="Advanced"?"#ef444433":a.diff==="Intermediate"?"#f59e0b33":"#10b98133",color:a.diff==="Advanced"?"#fca5a5":a.diff==="Intermediate"?"#fcd34d":"#86efac"},children:a.diff}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-semibold",style:{color:t.green},children:["Launch ",e.jsx(ae,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]})]})},a.t))]}),e.jsxs("div",{className:"mt-8 flex flex-wrap gap-3",children:[e.jsxs(R,{href:m.ctf,children:["Enter CTF Arena ",e.jsx(k,{className:"w-4 h-4"})]}),e.jsx(De,{href:m.ctf,children:"How CTFs work"})]})]})]})},Ye=[{t:"Ethical Hacking Essentials",cat:"Pentesting",dur:"8h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/97344d36-5258-4f58-bf6d-469e0dd0975f.webp"},{t:"Network Defense Essentials",cat:"Blue Team",dur:"6h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/58ed1eb9-39b6-4c83-94f3-f8cf5a6a6311.webp"},{t:"Digital Forensics Essentials",cat:"Forensics",dur:"7h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/4a4e396c-9e52-4e84-80e0-2dabc76c5c4e.webp"},{t:"Intro to Dark Web & Anonymity",cat:"OSINT",dur:"1h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/02325183-bc10-4c9f-9357-6765e648fe3b.webp"},{t:"Python for Cybersecurity",cat:"Programming",dur:"2h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/d2326bd1-c2ad-46e0-aed8-f6fe833b7d7d.webp"},{t:"Linux Fundamentals for Hackers",cat:"Foundations",dur:"3h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/d557e2d9-7978-43fc-89ae-7d6b46189413.webp"},{t:"Cloud Security 101",cat:"Cloud",dur:"2h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/ae7f5b43-0d05-4d2f-9f69-298c258ea531.webp"},{t:"OWASP Top 10 Hands-On",cat:"Web App",dur:"3h",img:"https://eccommonstorage.blob.core.windows.net/codered/uploads/cb11933a-4ce9-4e1d-b09a-234c3f5fe08c.webp"}],Ze=()=>e.jsx("section",{id:"free",className:"py-24 relative z-[45] overflow-hidden",style:{background:t.white},children:e.jsxs("div",{className:"container mx-auto px-5 lg:px-10",children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-6 mb-12",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:[e.jsx("span",{style:{color:t.redDeep},children:"25+ Free Courses"})," â every one with hands-on labs."]}),e.jsx("p",{className:"mt-3 text-slate-600 text-lg",children:"No credit card. Pure skill-building, end-to-e
30nd."})]}),e.jsxs(R,{href:m.free,children:["See all free courses ",e.jsx(k,{className:"w-4 h-4"})]})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:Ye.map((s,d)=>e.jsx(Q,{href:m.free,title:s.t,subtitle:`${s.cat} course with hands-on labs`,meta:`${s.dur} ⢠${s.cat} ⢠Free`,bullets:$(s.cat),badge:"FREE",ctaLabel:"Start free",children:e.jsxs("a",{href:m.free,target:"_blank",rel:"noreferrer",className:"group block overflow-hidden rounded-2xl border bg-white transition-all duration-300 hover:-translate-y-1",style:{borderColor:"rgba(0,0,0,0.08)"},onMouseEnter:o=>{o.currentTarget.style.borderColor=`${t.red}55`},onMouseLeave:o=>{o.currentTarget.style.borderColor="rgba(0,0,0,0.08)"},children:[e.jsxs("div",{className:"relative aspect-[16/10] overflow-hidden",children:[e.jsx("img",{src:s.img,alt:s.t,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent"}),e.jsx("div",{className:"absolute top-3 left-3 flex items-center gap-2",children:e.jsx("span",{className:"px-2.5 py-1 rounded-md text-[10px] font-bold uppercase tracking-wider text-white",style:{background:t.red},children:"Free"})}),e.jsxs("div",{className:"absolute bottom-3 left-3 flex items-center gap-1.5 px-2.5 py-1.5 rounded-full text-[10px] font-semibold text-white bg-black/60 backdrop-blur-sm",children:[e.jsx(re,{className:"w-3 h-3"})," Hands-on Lab"]})]}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[11px] font-semibold uppercase tracking-wider text-slate-500",children:[e.jsx("span",{children:s.cat}),e.jsx("span",{className:"w-1 h-1 rounded-full bg-slate-300"}),e.jsx("span",{children:s.dur})]}),e.jsx("h3",{className:"mt-2 text-lg font-bold leading-snug text-slate-900 group-hover:text-[color:var(--red)] transition-colors",style:{"--red":t.redDeep},children:s.t})]})]})},s.t))})]})}),J=[{t:"Penetration Tester",d:"Ethical hacker who breaks in (legally). Master offensive tradecraft used by real red teams across networks, web, and cloud.",c:14,h:86,icon:_,tier:"OFFENSIVE",img:"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=900"},{t:"SOC Analyst",d:"Defend the blue team frontline. Triage alerts, hunt adversaries, and run incident response across enterprise SIEM stacks.",c:11,h:64,icon:P,tier:"DEFENSIVE",img:"https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?auto=format&fit=crop&q=80&w=900"},{t:"Cloud Security Engineer",d:"Lock down AWS, Azure, and GCP. Build hardened landing zones, IAM guardrails, and detection across multi-cloud workloads.",c:12,h:72,icon:z,tier:"DEFENSIVE",img:"https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=900"},{t:"Incident Responder",d:"Fight live breaches in real time. Contain, eradicate, and recover from ransomware, APT intrusions, and insider threats.",c:9,h:54,icon:O,tier:"DEFENSIVE",img:"https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=900"},{t:"Malware Analyst",d:"Reverse-engineer the threat. Pull apart real-world malware in isolated labs and write detections that scale.",c:10,h:60,icon:I,tier:"ANALYSIS",img:"https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=900"},{t:"AppSec Engineer",d:"Ship secure code from day one. Build secure SDLC, threat models, and break apps before attackers do.",c:13,h:78,icon:ne,tier:"OFFENSIVE",img:"https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=900"}],X=[{t:"Bug Bounty Hunter",c:8,h:48,d:"Find paydirt vulns in the wild. Learn recon, exploitation, and report-writing for HackerOne and Bugcrowd payouts.",icon:I,tier:"OFFENSIVE",img:"https://images.unsplash.com/photo-1558494949-ef010cbdcc51?auto=format&fit=crop&q=80&w=900"},{t:"Red Team Operator",c:10,h:70,d:"Full-spectrum adversary emulation. C2 frameworks, evasion, and assumed-breach engagements end to end.",icon:he,tier:"OFFENSIVE",img:"https://images.unsplash.com/photo-1614064548237-096d7f5e0bce?auto=format&fit=crop&q=80&w=900"},{t:"Network Defender",c:7,h:42,d:"Harden the perimeter and hunt intrusions. Master Zero Trust, segmentation, and active defense playbooks.",icon:M,tier:"DEFENSIVE",img:"https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&q=80&w=900"},{t:"DFIR Specialist",c:9,h:58,d:"Forensics, evidence, root cause. Disk, memory, and cloud artifact analysis with chain-of-custody discipline.",icon:D,tier:"ANALYSIS",img:"https://images.unsplash.com/photo-1633265486064-086b219458ec?auto=format&fit=crop&q=80&w=900"},{t:"AI Security",c:6,h:36,d:"Defend and attack LLMs and ML pipelines. Prompt injection, model theft, and AI red-teaming for production stacks.",icon:W,tier:"OFFENSIVE",img:"https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&q=80&w=900"},{t:"GRC Specialist",c:8,h:44,d:"Policy, audit, compliance â done right. Map ISO 27001, SOC 2, and NIST CSF to controls that actually ship.",icon:H,tier:"STRATEGY",img:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&q=80&w=900"}],Je=()=>{const[s,d]=u.useState("career"),o=s==="career"?J:X,i=o.reduce((l,n)=>l+n.c,0);return e.jsxs("section",{id:"paths",className:"py-24 relative z-[45] overflow-hidden",style:{background:"#0a0a0f",color:t.white,fontFamily:"'Hind', sans-serif"},children:[e.jsx("link",{href:"https://fonts.googleapis.com/css2?family=Archivo+Black&family=Hind:wght@300;400;500;600;700&display=swap",rel:"stylesheet"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #0a0a0f 0%, #14121c 50%, #0a0a0f 100%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(700px 400px at 15% 15%, rgba(239,68,68,0.16) 0%, transparent 60%), radial-gradient(800px 500px at 85% 60%, rgba(168,85,247,0.14) 0%, transparent 60%), radial-gradient(700px 400px at 50% 100%, rgba(96,165,250,0.10) 0%, transparent 60%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-[0.05]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px)",backgroundSize:"60px 60px",maskImage:"radial-gradient(ellipse at center, black 40%, transparent 75%)",WebkitMaskImage:"radial-gradient(ellipse at center, black 40%, transparent 75%)"}}),e.jsx("div",{className:"absolute top-0 inset-x-0 h-24 pointer-events-none",style:{background:"linear-gradient(180deg, #000 0%, transparent 100%)"}}),e.jsx("div",{className:"absolute bottom-0 inset-x-0 h-24 pointer-events-none",style:{background:"linear-gradient(0deg, #000 0%, transparent 100%)"}}),e.jsx("div",{className:"container mx-auto px-5 lg:px-10 relative",children:e.jsxs("div",{className:"border-l-8 pl-6 lg:pl-10 py-2",style:{borderColor:t.red},children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-8 mb-12",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[11px] font-bold tracking-[0.3em] uppercase mb-3",style:{color:t.red},children:"The Directory"}),e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl leading-[1] uppercase",style:{fontFamily:"'Archivo Black', sans-serif"},children:["Mission ",e.jsx("span",{style:{color:t.red},children:"Directory"})]}),e.jsx("p",{className:"mt-5 text-lg text-white/60 max-w-xl",children:"70+ specialized paths. Curated stacks of courses and labs, mapped to real cybersecurity job roles and skills."})]}),e.jsx("div",{className:"hidden lg:flex items-end gap-8",children:[{l:"PATHS",v:"70+"},{l:"COURSES",v:"850+"},{l:"LABS",v:"1.2K"}].map(l=>e.jsxs("div",{children:[e.jsx("div",{className:"w-10 h-[3px] mb-2",style:{background:t.red}}),e.jsx("div",{className:"text-3xl",style:{fontFamily:"'Archivo Black', sans-serif"},children:l.v}),e.jsx("div",{className:"text-[10px] tracking-[0.25em] text-white/40 mt-1 uppercase",children:l.l})]},l.l))})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-10",children:[e.jsx("div",{className:"inline-flex border w-fit",style:{borderColor:"rgba(255,255,255,0.15)"},children:[{k:"career",label:"Career Paths",n:J.length},{k:"skill",label:"Skill Paths",n:X.length}
30].map(l=>{const n=s===l.k;return e.jsxs("button",{onClick:()=>d(l.k),className:"px-6 py-3 text-xs uppercase tracking-[0.25em] transition-colors",style:{fontFamily:"'Archivo Black', sans-serif",background:n?t.red:"transparent",color:n?t.white:"rgba(255,255,255,0.6)"},children:[l.label," ",e.jsxs("span",{className:"opacity-60 ml-1",children:["[",String(l.n).padStart(2,"0"),"]"]})]},l.k)})}),e.jsx("a",{href:m.paths,className:"text-xs uppercase tracking-[0.25em] border-b pb-1 hover:text-white transition-colors w-fit",style:{fontFamily:"'Archivo Black', sans-serif",color:t.white,borderColor:t.red},children:"Browse all paths â"})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:o.map((l,n)=>{const c=l.icon??_,p=s==="career"?"Career Path":"Skill Path",a={OFFENSIVE:"#f87171",DEFENSIVE:"#60a5fa",ANALYSIS:"#fbbf24",STRATEGY:"#a78bfa"}[l.tier??""]??"#e2e8f0";return e.jsxs("a",{href:m.paths,className:"hk-reveal group relative flex flex-col overflow-hidden rounded-2xl transition-all duration-300 hover:-translate-y-1",style:{background:"linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%)",border:"1px solid rgba(255,255,255,0.10)",boxShadow:"0 25px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08)",backdropFilter:"blur(18px) saturate(140%)",WebkitBackdropFilter:"blur(18px) saturate(140%)"},onMouseEnter:x=>{x.currentTarget.style.borderColor=`${a}66`,x.currentTarget.style.boxShadow=`0 30px 70px rgba(0,0,0,0.5), 0 0 40px ${a}33, inset 0 1px 0 rgba(255,255,255,0.12)`},onMouseLeave:x=>{x.currentTarget.style.borderColor="rgba(255,255,255,0.10)",x.currentTarget.style.boxShadow="0 25px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08)"},children:[e.jsxs("div",{className:"relative h-52 overflow-hidden bg-black",children:[e.jsx("img",{src:l.img,alt:l.t,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(10,10,12,0.10) 0%, rgba(10,10,12,0.45) 55%, rgba(20,20,24,0.85) 100%)"}}),e.jsxs("span",{className:"absolute top-4 left-4 inline-flex items-center gap-2 px-3 py-1 rounded-full text-[10px] uppercase tracking-[0.2em] backdrop-blur-md",style:{fontFamily:"'Hind', sans-serif",fontWeight:700,background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.14)",color:"rgba(255,255,255,0.85)"},children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:a}}),p]}),e.jsx("div",{className:"absolute top-4 right-4 w-10 h-10 rounded-lg flex items-center justify-center backdrop-blur-md",style:{background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.14)"},children:e.jsx(c,{className:"w-4 h-4 text-white"})}),e.jsxs("div",{className:"absolute bottom-4 left-4 flex items-center gap-2 text-[10px] tracking-[0.25em] uppercase",style:{fontFamily:"'Archivo Black', sans-serif"},children:[e.jsx("span",{style:{color:"rgba(255,255,255,0.55)"},children:String(n+1).padStart(2,"0")}),e.jsx("span",{className:"w-3 h-px",style:{background:"rgba(255,255,255,0.25)"}}),e.jsx("span",{style:{color:a},children:l.tier??s.toUpperCase()})]})]}),e.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[e.jsx("h3",{className:"text-xl md:text-2xl font-bold leading-tight mb-3 transition-colors tracking-tight",style:{color:t.white},children:l.t}),e.jsx("p",{className:"text-sm text-white/55 leading-relaxed line-clamp-3 mb-5",children:l.d}),e.jsxs("div",{className:"mt-auto pt-4 flex items-center justify-between border-t",style:{borderColor:"rgba(255,255,255,0.06)"},children:[e.jsxs("span",{className:"flex items-center gap-2 text-[11px] tracking-[0.18em] uppercase text-white/45",children:[e.jsx(c,{className:"w-3.5 h-3.5",style:{color:"rgba(255,255,255,0.5)"}}),l.c," courses",l.h?` · ${l.h}h`:""]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-[11px] uppercase tracking-[0.2em] text-white/80 transition-all group-hover:translate-x-1",style:{fontFamily:"'Archivo Black', sans-serif"},onMouseEnter:void 0,children:["Launch",e.jsx(k,{className:"w-3.5 h-3.5 transition-colors",style:{color:a}})]})]})]})]},l.t)})}),e.jsxs("div",{className:"mt-12 flex flex-col md:flex-row justify-between items-start md:items-center gap-6",children:[e.jsxs("div",{className:"flex gap-1",children:[e.jsx("div",{className:"w-16 h-1",style:{background:t.red}}),e.jsx("div",{className:"w-6 h-1 bg-white/10"}),e.jsx("div",{className:"w-6 h-1 bg-white/10"})]}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("span",{className:"text-[10px] tracking-[0.25em] uppercase text-white/40",children:["Showing / ",o.length," of 70+ · ",i," courses"]}),e.jsx("a",{href:m.paths,className:"text-xs uppercase tracking-[0.25em] border-b pb-1 hover:text-white transition-colors",style:{fontFamily:"'Archivo Black', sans-serif",color:t.white,borderColor:t.red},children:"View full list [70+] â"})]})]})]})})]})},Xe=[{t:"AI Red Team Operator",dur:"8h",lvl:"Advanced",icon:L,n:"12K learners",cat:"Offensive AI",img:"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=800",desc:"Master attacker tradecraft against modern LLMs, agents and AI pipelines with hands-on labs."},{t:"Prompt Injection & LLM Exploits",dur:"6h",lvl:"Advanced",icon:ge,n:"9.4K learners",cat:"LLM Security",img:"https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=800",desc:"Exploit jailbreaks, indirect prompt injection and tool-use abuse across real chat applications."},{t:"AI Security Governance",dur:"4h",lvl:"Intermediate",icon:M,n:"7.1K learners",cat:"AI Governance",img:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&q=80&w=800",desc:"Build NIST AI RMF, ISO 42001 and EU AI Act aligned controls for production AI systems."},{t:"LLM App Pentesting",dur:"5h",lvl:"Intermediate",icon:I,n:"6.8K learners",cat:"AI Pentesting",img:"https://images.unsplash.com/photo-1558494949-ef010cbdcc51?auto=format&fit=crop&q=80&w=800",desc:"End-to-end pentesting methodology for LLM-powered a
30pps, RAG stacks and agentic workflows."},{t:"Adversarial Machine Learning",dur:"7h",lvl:"Advanced",icon:W,n:"5.2K learners",cat:"ML Attacks",img:"https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&q=80&w=800",desc:"Evasion, poisoning, model inversion and membership inference attacks against real ML models."},{t:"AI-Powered Threat Detection",dur:"5h",lvl:"Intermediate",icon:P,n:"8.3K learners",cat:"Blue Team AI",img:"https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?auto=format&fit=crop&q=80&w=800",desc:"Use LLMs and ML pipelines to triage alerts, hunt threats and accelerate SOC investigations."},{t:"Generative AI for Defenders",dur:"4h",lvl:"Beginner",icon:ie,n:"11K learners",cat:"Defensive AI",img:"https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&q=80&w=800",desc:"Hands-on with GenAI tooling for detection engineering, IR playbooks and security automation."},{t:"Automating SOC with AI Agents",dur:"6h",lvl:"Advanced",icon:O,n:"4.9K learners",cat:"SOC Automation",img:"https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=800",desc:"Build autonomous agents that triage, enrich and respond to alerts across your security stack."}],Qe=s=>s==="Beginner"?{bg:"#FFF4E5",fg:"#B45309"}:s==="Intermediate"?{bg:"#F3F4F6",fg:"#374151"}:{bg:"#FEE7E9",fg:t.redDeep},et=()=>e.jsxs("section",{id:"courses",className:"py-24 relative z-[45] overflow-hidden",style:{background:t.white},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(900px 500px at 85% -10%, #FFF1F2 0%, transparent 60%), radial-gradient(700px 400px at -5% 110%, #FFF8F1 0%, transparent 60%)"}}),e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 relative",children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-6 mb-12",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsxs("h2",{className:"text-4xl md:text-5xl font-bold tracking-tight text-slate-900",children:["Trending in ",e.jsx("span",{style:{color:t.red},children:"CodeRed"})]}),e.jsxs("p",{className:"mt-3 text-slate-500 text-lg",children:["Start with the most in-demand AI security courses â then explore the full library of ",e.jsx("span",{className:"font-bold text-slate-900",children:"900+ micro-learning courses"}),"."]})]}),e.jsxs(R,{href:m.courses,children:["Browse all courses ",e.jsx(k,{className:"w-4 h-4"})]})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:Xe.map((s,d)=>{const o=s.icon,i=d===0,n=`/hackerverse/courses/${s.t.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}`,c=Qe(s.lvl);return e.jsx(Q,{href:n,title:s.t,subtitle:`${s.dur} · ${s.lvl} · ${s.cat}`,meta:`${s.n} · Hands-on labs included`,bullets:["Learn attacker tradecraft against AI systems","Hands-on labs with real LLMs and agents","Beginner to advanced learning tracks","New AI security courses added every month"],ctaLabel:"Go to course",badge:"TRENDING",children:e.jsxs("a",{href:n,className:"udemy-trigger hk-reveal group relative flex flex-col rounded-2xl overflow-hidden bg-white transition-all duration-300 hover:-translate-y-1",style:{border:i?`1px solid ${t.red}33`:"1px solid #F1E9EA",boxShadow:i?`0 16px 44px -18px ${t.red}66, 0 2px 6px rgba(15,23,42,0.04)`:"0 1px 2px rgba(15,23,42,0.04)"},children:[e.jsxs("div",{className:"relative h-44 overflow-hidden bg-slate-100",children:[e.jsx("img",{src:s.img,alt:s.t,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0",style:{background:i?`linear-gradient(135deg, ${t.red}cc 0%, ${t.redDeep}aa 100%)`:"linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%)"}}),i?e.jsx("span",{className:"absolute top-3 left-3 px-2.5 py-1 rounded text-[10px] font-bold uppercase tracking-wider",style:{background:"rgba(255,255,255,0.95)",color:t.red},children:"â
Trending"}):e.jsx("span",{className:"absolute top-3 left-3 px-2.5 py-1 rounded text-[10px] font-bold uppercase tracking-wider",style:{background:"rgba(255,255,255,0.92)",color:t.redDeep,backdropFilter:"blur(6px)"},children:s.cat}),e.jsx("div",{className:"absolute top-3 right-3 w-9 h-9 rounded-lg flex items-center justify-center",style:{background:"rgba(255,255,255,0.95)",boxShadow:"0 4px 12px rgba(0,0,0,0.08)"},children:e.jsx(o,{className:"w-4 h-4",style:{color:i?t.red:t.redDeep}})})]}),e.jsxs("div",{className:"p-5 flex flex-col flex-grow",children:[i&&e.jsx("span",{className:"text-[11px] font-bold uppercase tracking-widest mb-2",style:{color:t.red},children:s.cat}),e.jsx("h3",{className:"text-lg font-bold text-slate-900 leading-snug mb-2 transition-colors group-hover:text-[color:var(--rd)]",style:{"--rd":t.red},children:s.t}),e.jsx("p",{className:"text-sm text-slate-500 leading-relaxed line-clamp-2 mb-5",children:s.desc}),e.jsxs("div",{className:"mt-auto flex items-center justify-between text-xs",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-slate-500 font-medium",children:[e.jsx("svg",{className:"w-3.5 h-3.5 text-amber-500",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),e.jsxs(y,{className:"text-[11px]",children:[s.n," · ",s.dur]})]}),e.jsx("span",{className:"px-2 py-0.5 rounded font-bold text-[10px] uppercase tracking-wider",style:{background:c.bg,color:c.fg},children:s.lvl})]})]})]})},s.t)}
30)}),e.jsx("div",{className:"mt-12 flex justify-center",children:e.jsxs("div",{className:"group relative inline-flex items-center gap-3 px-5 py-2.5 rounded-full transition-all hover:scale-[1.02]",style:{background:"#FFFFFF",border:"1px solid #F1E0E2",boxShadow:"0 6px 24px -8px rgba(210,32,39,0.18), 0 1px 2px rgba(15,23,42,0.04)"},children:[e.jsxs("span",{className:"relative flex h-1.5 w-1.5",children:[e.jsx("span",{className:"absolute inset-0 rounded-full animate-ping",style:{background:`${t.red}80`}}),e.jsx("span",{className:"relative rounded-full h-1.5 w-1.5",style:{background:t.red}})]}),e.jsx(y,{className:"text-[11px] tracking-[0.18em] font-semibold uppercase",style:{color:t.redDeep},children:"900+ Courses"}),e.jsx("span",{className:"h-3 w-px bg-slate-200"}),e.jsx("span",{className:"text-[12px] text-slate-600 tracking-wide",children:"Cloud · AI · GRC · Pentest · Forensics · Blue Team"})]})})]})]}),tt=()=>{const s=[{name:"Marcus Chen",role:"Sr. Pentester · Deloitte",quote:"Went from SOC analyst to red team in 9 months. The labs are unreal.",poster:"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=800&q=80",duration:"1:24",video:"https://cdn.coverr.co/videos/coverr-typing-on-a-laptop-keyboard-2633/1080p.mp4"},{name:"Priya Sharma",role:"Cloud Security Lead · Infosys",quote:"Cleared CCSE and landed a 2x raise. Labs felt like real engagements.",poster:"https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?auto=format&fit=crop&w=800&q=80",duration:"0:58",video:"https://cdn.coverr.co/videos/coverr-a-woman-working-on-a-laptop-in-a-coffee-shop-7106/1080p.mp4"},{name:"Jordan Reyes",role:"Incident Responder · Mandiant",quote:"The CTFs taught me more than 3 years of corporate training.",poster:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=800&q=80",duration:"2:11",video:"https://cdn.coverr.co/videos/coverr-a-young-man-working-on-his-computer-2630/1080p.mp4"},{name:"Aïsha Bennani",role:"AppSec Engineer · Stripe",quote:"Bite-sized courses fit between meetings. I shipped 4 certs this year.",poster:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&w=800&q=80",duration:"1:42",video:"https://cdn.coverr.co/videos/coverr-a-woman-with-glasses-looks-at-the-camera-7474/1080p.mp4"},{name:"Diego Ramos",role:"CTF Captain · TeamRocketSec",quote:"150+ CTFs and counting. My team uses CodeRed as our daily gym.",poster:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&w=800&q=80",duration:"1:09",video:"https://cdn.coverr.co/videos/coverr-a-young-man-on-a-skateboard-2633/1080p.mp4"},{name:"Hana Yoshida",role:"Threat Hunter · NTT",quote:"EC-Council certs opened doors I didn't even know existed.",poster:"https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=800&q=80",duration:"1:33",video:"https://cdn.coverr.co/videos/coverr-a-woman-working-from-home-2633/1080p.mp4"}],d=[{name:"Tomás Linhares",handle:"@tomas_l",role:"Red Team Lead",text:"I've used every platform out there. CodeRed's labs are the only ones that feel like real engagements â not capture-the-checkbox.",source:"linkedin"},{name:"Rebecca Park",handle:"@beccap",role:"SOC Manager · Lloyds",text:"We onboarded our whole L1 team on CodeRed. Time-to-productive dropped from 4 months to 6 weeks. That's it. That's the testimonial.",source:"twitter"},{name:"Vikram Adusumilli",handle:"@vik_adu",role:"Security Engineer · Zomato",text:"The OSINT path is criminally underrated. Used what I learned in week 2 to solve a real ATO investigation.",source:"linkedin"},{name:"Mei-Lin Zhao",handle:"@meilinzhao",role:"Cloud Architect",text:"Three EC-Council certs in 14 months. Annual subscription paid for itself in the first promotion cycle.",source:"twitter"},{name:"Olu Akinwande",handle:"@oluak",role:"Pentester · KPMG",text:"Honestly the CTF challenges are addictive. I keep one open during lunch every day. My partner thinks I have a problem.",source:"linkedin"},{name:"Sasha Volkov",handle:"@svolkov",role:"Bug Bounty Hunter",text:"Found my first critical on HackerOne the same week I finished the web-app track. Coincidence? Probably not.",source:"twitter"},{name:"Nadia Haddad",handle:"@nadia_h",role:"GRC Consultant",text:"The GRC path is the only one that doesn't read like a compliance textbook. Actually enjoyable. Wild.",source:"linkedin"},{name:"Kenji Watanabe",handle:"@kenji_w",role:"Malware Analyst",text:"1,600 labs is not a marketing number â I counted. Spent a weekend just exploring the malware sandbox. 10/10.",source:"twitter"},{name:"Grace Mwangi",handle:"@gracecyb",role:"Junior SOC Analyst",text:"Got the job two weeks after listing my CodeRed certifications on my CV. Recruiters actually recognize them.",source:"linkedin"}],o=[...s,...s],[i,l]=u.useState(null);return u.useEffect(()=>{if(!i)return;const n=document.body.style.overflow;document.body.style.overflow="hidden";const c=p=>{p.key==="Escape"&&l(null)};return window.addEventListener("keydown",c),()=>{document.body.style.overflow=n,window.removeEventListener("keydown",c)}},[i]),e.jsxs("section",{className:"relative py-24 lg:py-28 overflow-hidden",style:{background:t.white,color:t.ink},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",children:e.jsx("div",{className:"absolute top-[20%] left-1/2 -translate-x-1/2 w-[900px] h-[400px] rounded-full blur-[160px] opacity-[0.08]",style:{background:`radial-gradient(ellipse, ${t.red}, transparent 70%)`}})}),e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 relative",children:[e.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-14",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full border mb-6",style:{borderColor:`${t.red}40`,background:`${t.red}10`},children:[e.jsx("span",{className:"text-lg leading-none",style:{color:t.red},children:"â¥"}),e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.18em]",style:{color:t.red},children:"Wall of Love"})]}),e.jsxs("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-5",style:{color:t.ink},children:["Loved by hackers, ",e.jsx("span",{style:{color:t.red},children:"defenders"}
30),", and teams worldwide."]}),e.jsx("p",{className:"text-slate-600 max-w-2xl mx-auto",children:"1M+ professionals train on CodeRed. Hear it straight from the people in the trenches."})]}),e.jsxs("div",{className:"relative -mx-5 lg:-mx-10 mb-16",children:[e.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-24 z-10 pointer-events-none",style:{background:`linear-gradient(90deg, ${t.white}, transparent)`}}),e.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-24 z-10 pointer-events-none",style:{background:`linear-gradient(270deg, ${t.white}, transparent)`}}),e.jsx("div",{className:"overflow-hidden",children:e.jsx("div",{className:"flex gap-5 animate-[wol-marquee_55s_linear_infinite] hover:[animation-play-state:paused] py-2",children:o.map((n,c)=>e.jsxs("article",{onClick:()=>l(n),className:"group relative shrink-0 w-[300px] md:w-[340px] aspect-[4/5] rounded-2xl overflow-hidden cursor-pointer",style:{boxShadow:"0 14px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05)"},children:[e.jsx("video",{src:n.video,poster:n.poster,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.85) 100%)"}}),e.jsxs("div",{className:"absolute top-4 left-4 right-4 flex items-center justify-between",children:[e.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center backdrop-blur-md",style:{background:"rgba(255,255,255,0.92)",boxShadow:`0 4px 16px ${t.red}55`},children:e.jsx(re,{className:"w-4 h-4 ml-0.5",style:{color:t.red,fill:t.red}})}),e.jsx("div",{className:"px-2.5 py-1 rounded-md text-[10px] font-mono font-semibold tracking-wider text-white",style:{background:"rgba(0,0,0,0.55)",backdropFilter:"blur(8px)"},children:n.duration})]}),e.jsxs("div",{className:"absolute top-4 left-1/2 -translate-x-1/2 flex items-center gap-1.5 px-2 py-1 rounded-full",style:{background:"rgba(0,0,0,0.55)",backdropFilter:"blur(8px)"},children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full animate-pulse",style:{background:t.red}}),e.jsx("span",{className:"text-[9px] font-bold uppercase tracking-[0.2em] text-white",children:"Story"})]}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-5 text-white",children:[e.jsxs("p",{className:"text-[13px] leading-snug font-medium mb-3 line-clamp-3",children:['"',n.quote,'"']}),e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("div",{className:"w-8 h-8 rounded-full overflow-hidden ring-2 ring-white/40 shrink-0",children:e.jsx("img",{src:n.poster,alt:n.name,className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"text-[13px] font-bold truncate",children:n.name}),e.jsx("div",{className:"text-[11px] text-white/70 truncate",children:n.role})]})]})]})]},`${n.name}-${c}`))})})]}),e.jsx("div",{className:"columns-1 md:columns-2 lg:columns-3 gap-5 space-y-5",children:d.map(n=>{const c=n.source==="linkedin";return e.jsxs("div",{className:"break-inside-avoid rounded-2xl p-6 transition-all duration-300 hover:-translate-y-1 mb-5",style:{background:t.white,border:"1px solid rgba(0,0,0,0.08)",boxShadow:"0 4px 20px rgba(0,0,0,0.04)"},children:[e.jsxs("div",{className:"flex items-start justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-11 h-11 rounded-full flex items-center justify-center text-white font-bold text-sm",style:{background:`linear-gradient(135deg, ${t.red}, ${t.redDeep})`},children:n.name.split(" ").map(p=>p[0]).join("").slice(0,2)}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold",style:{color:t.ink},children:n.name}),e.jsx("div",{className:"text-xs text-slate-500",children:n.role})]})]}),e.jsx("div",{className:"w-7 h-7 rounded-md flex items-center justify-center",style:{background:c?"#0A66C214":"#00000010",color:c?"#0A66C2":t.ink},children:c?e.jsx("svg",{viewBox:"0 0 24 24",className:"w-3.5 h-3.5",fill:"currentColor",children:e.jsx("path",{d:"M20.45 20.45h-3.55v-5.57c0-1.33-.02-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.95v5.66H9.36V9h3.41v1.56h.05c.47-.89 1.63-1.85 3.36-1.85 3.59 0 4.26 2.36 4.26 5.43v6.31zM5.34 7.43a2.06 2.06 0 11.01-4.12 2.06 2.06 0 01-.01 4.12zM7.12 20.45H3.56V9h3.56v11.45z"})}):e.jsx("svg",{viewBox:"0 0 24 24",className:"w-3.5 h-3.5",fill:"currentColor",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})]}),e.jsx("p",{className:"text-[15px] leading-relaxed text-slate-700",children:n.text}),e.jsxs("div",{className:"mt-4 pt-4 flex items-center justify-between border-t border-black/5",children:[e.jsx("span",{className:"text-xs text-slate-400 font-mono",children:n.handle}),e.jsx("span",{className:"text-base",style:{color:t.red},children:"â¥"})]})]},n.name)})}),e.jsx("div",{className:"mt-14 text-center",children:e.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-slate-400 font-semibold",children:"â â â â â  4.8 / 5  ·  12,000+ reviews  ·  G2, Trustpilot & Coursera"})})]}),e.jsx("style",{children:` 31 @keyframes wol-marquee { 32 0% { transform: translateX(0); } 33 100% { transform: translateX(-50%); } 34 } 35 `}),i&&e.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-8 animate-[wol-fade_0.2s_ease-out]",style:{background:"rgba(0,0,0,0.88)",backdropFilter:"blur(8px)"},onClick:()=>l(null),children:[e.jsx("button",{onClick:n=>{n.stopPropagation(),l(null)},"aria-label":"Close video",className:"absolute top-5 right-5 w-11 h-11 rounded-full flex items-center justify-center text-white transition-all hover:scale-110",style:{background:"rgba(255,255,255,0.12)",border:"1px solid rgba(255,255,255,0.2)"},children:e.jsx("svg",{viewBox:"0 0 24 24",className:"w-5 h-5",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),e.jsxs("div",{className:"relative w-full max-w-[420px] md:max-w-[480px] aspect-[9/16] rounded-2xl overflow-hidden animate-[wol-pop_0.25s_ease-out]",style:{boxShadow:"0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08)"},onClick:n=>n.stopPropagation(),children:[e.jsx("video",{src:i.video,poster:i.poster,autoPlay:!0,controls:!0,playsInl
35ine:!0,className:"absolute inset-0 w-full h-full object-cover bg-black"}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-5 pointer-events-none",style:{background:"linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%)"},children:e.jsxs("div",{className:"flex items-center gap-3 text-white",children:[e.jsx("div",{className:"w-10 h-10 rounded-full overflow-hidden ring-2 ring-white/40 shrink-0",children:e.jsx("img",{src:i.poster,alt:i.name,className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"text-sm font-bold truncate",children:i.name}),e.jsx("div",{className:"text-xs text-white/70 truncate",children:i.role})]})]})})]})]}),e.jsx("style",{children:` 36 @keyframes wol-fade { from { opacity: 0; } to { opacity: 1; } } 37 @keyframes wol-pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } } 38 `})]})},at=()=>{const[s,d]=u.useState(!0),[o,i]=u.useState(0);u.useEffect(()=>{const n=setInterval(()=>i(c=>(c+1)%3),3e3);return()=>clearInterval(n)},[]);const l=[{name:"Pro",tagline:"Ideal for continuous learning with extensive resources",monthly:69,annualTotal:599,url:m.pro,cta:"Get Started",features:["900+ Premium Short Courses","70+ Structured Learning Paths","Certificates of Completion","New Courses Added Monthly"],highlight:!1,badge:null,trial:!1},{name:"Pro+",tagline:"Immersive learning with Labs, CTFs & Certifications",monthly:79,annualTotal:699,url:m.proPlus,cta:"Get Started",features:["Everything in Pro","1,600+ Practice Lab Exercises","150+ CTF Challenges","3 EC-Council Certifications"],highlight:!0,badge:"Most Popular",trial:!0},{name:"Enterprise",tagline:"Tailored training solutions for your entire team",monthly:0,annualTotal:0,url:m.signup,cta:"Request Demo",features:["Everything in Pro+","Detailed User Reporting","Custom Learning Paths","Dedicated Success Manager"],highlight:!1,badge:"For Teams",trial:!1,custom:!0}];return e.jsxs("section",{id:"pricing",className:"relative py-24 lg:py-28 overflow-hidden",style:{background:"#0a0a0f",color:t.white},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #0a0a0f 0%, #14121c 50%, #0a0a0f 100%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(700px 400px at 20% 20%, rgba(239,68,68,0.18) 0%, transparent 60%), radial-gradient(800px 500px at 50% 50%, rgba(34,197,94,0.16) 0%, transparent 60%), radial-gradient(700px 400px at 80% 80%, rgba(168,85,247,0.18) 0%, transparent 60%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-[0.06]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px)",backgroundSize:"60px 60px",maskImage:"radial-gradient(ellipse at center, black 40%, transparent 75%)",WebkitMaskImage:"radial-gradient(ellipse at center, black 40%, transparent 75%)"}}),e.jsx("div",{className:"absolute top-0 inset-x-0 h-32 pointer-events-none",style:{background:"linear-gradient(180deg, #000 0%, transparent 100%)"}}),e.jsx("div",{className:"absolute bottom-0 inset-x-0 h-32 pointer-events-none",style:{background:"linear-gradient(0deg, #000 0%, transparent 100%)"}}),e.jsx("div",{className:"container mx-auto px-5 lg:px-10 relative",children:e.jsxs("div",{className:"max-w-6xl mx-auto relative",children:[e.jsxs("div",{className:"relative z-10 text-center mb-14",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full border mb-6",style:{borderColor:`${t.red}40`,background:`${t.red}14`},children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full",style:{background:t.red}}),e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.18em]",style:{color:t.red},children:"Flexible Plans"})]}),e.jsxs("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-5",style:{color:t.white},children:["Unlock Your ",e.jsx("span",{style:{color:t.red},children:"Full Potential"})]}),e.jsx("p",{className:"text-white/65 max-w-2xl mx-auto mb-10",children:"Invest in your future with plans tailored to your learning goals. Access courses, labs, CTFs, and certifications."}),e.jsxs("div",{className:"inline-flex items-center p-1 rounded-full border",style:{background:"rgba(255,255,255,0.06)",borderColor:"rgba(255,255,255,0.12)"},children:[e.jsx("button",{onClick:()=>d(!1),className:`px-5 py-2 text-sm font-semibold rounded-full transition-all ${s?"text-white/60 hover:text-white":"text-white"}`,style:s?void 0:{background:t.red},children:"Monthly"}),e.jsxs("button",{onClick:()=>d(!0),className:`px-5 py-2 text-sm font-semibold rounded-full inline-flex items-center gap-2 transition-all ${s?"text-white":"text-white/60 hover:text-white"}`,style:s?{background:t.red}:void 0,children:["Annual",e.jsx("span",{className:"text-[10px] font-bold px-2 py-0.5 rounded-full",style:{background:s?t.green:`${t.green}26`,color:s?"#000":"#065f46"},children:"SAVE 30%"})]})]})]}),e.jsx("div",{className:"flex flex-col md:flex-row gap-6 lg:gap-8 relative z-10 items-stretch",style:{perspective:"1600px"},children:l.map((n,c)=>{const p=(c-o+l.length*1e3)%l.length,h=p===1,a={...n,highlight:h},x=a.custom,r=s?Math.round(a.annualTotal/12):a.monthly,v=a.annualTotal?a.monthly*12-a.annualTotal:0,f=h?{rgb:"34,197,94",solid:"#22c55e"}:p===0?{rgb:"239,68,68",solid:"#ef4444"}:{rgb:"168,85,247",solid:"#a855f7"},g=f.solid,b=h?0:p===0?-6:6,j=h?30:0;return e.jsx(E.div,{layout:!0,style:{order:p,flex:"1 1 0",minHeight:560},transition:{layout:{duration:.9,ease:[.65,0,.35,1]}},className:"relative py-4 px-1",children:e.jsxs(E.div,{animate:{rotateY:b,scale:h?1.08:.96},transition:{duration:.8,ease:[.65,0,.35,1]},className:`group relative rounded-2xl p-8 flex flex-col h-full ${a.highlight?"md:scale-[1.10]":"md:scale-[0.96]"}`,style:{background:`linear-gradient(165deg, rgba(${f.rgb},0.18) 0%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.03) 100%)`,border:`1.5px solid rgba(${f.rgb},${a.highlight?.55:.4})`,boxShadow:`0 0 50px rgba(${f.rgb},${a.highlight?.3:.18}), 0 25px 60px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.10)`,backdropFilter:"blur(18px) saturate(140%)",WebkitBackdropFilter:"blur(18px) saturate(140%)",transformStyle:"preserve-3d",transformPerspective:1600,translateZ:j},children:[e.jsx("div",{className:"absolute top-0 left-6 right-6 h-px",style:{background:`linear-gradient(90deg, transparent, ${g}, transparent)`}}),e.jsx("div",{className:"absolute -top-20 -right-20 w-56 h-56 rounded-full blur-3xl pointer-events-none opacity-50 group-hover:opacity-80 transition-opacity",style:{background:`radial-gradient(circle, rgba(${f.rgb},0.45), transparent 70%)`}}),a.badge&&e.jsx("div",{className:"absolute -top-3 right-6 px-3 py-1 text-[10px] font-bold tracking-wider rounded-full uppercase z-10",style:{background:a.highlight?`linear-gradient(90deg, ${t.green}, #16a34a)`:"rgba(255,255,255,0.95)",color:a.highlight?"#000":t.red,border:"none",boxShadow:a.highlight?`0 4px 20px ${t.green}66`:"0 4px 12px rgba(0,0,0,0.4)"},children:a.badge}),e.jsxs("div",{className:"mb-6 relative",children:[e.jsx("h3",{className:"text-2xl font-bold mb-2",style:{color:"#ffffff"},children:a.name}),e.jsx("p",{className:"text-sm min-h-[40px]",style:{color:"rgba(255,255,255,0.65)"},children:a.tagline})]}),e.jsx("div",{className:"mb-8 relative",children:x?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"text-5xl font-black leading-none",style:{background:`linear-gradient(135deg, #ffffff 0%, ${t.red}
38 100%)`,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Custom"}),e.jsx("div",{className:"text-xs mt-3",style:{color:"rgba(255,255,255,0.55)"},children:"5+ users · volume discounts"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-baseline gap-1",children:[e.jsxs("span",{className:"text-5xl font-black leading-none",style:a.highlight?{background:"linear-gradient(135deg, #ffffff 0%, #4ade80 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:{color:"#ffffff"},children:["$",s?a.annualTotal:a.monthly]}),e.jsxs("span",{className:"text-sm",style:{color:"rgba(255,255,255,0.55)"},children:["/",s?"year":"mo"]})]}),e.jsx("div",{className:"text-xs mt-3",style:{color:"rgba(255,255,255,0.55)"},children:s?e.jsxs(e.Fragment,{children:["Just $",r,"/mo ",v>0&&e.jsxs("span",{style:{color:a.highlight?"#4ade80":t.red,fontWeight:700},children:["â save $",v]})]}):e.jsxs(e.Fragment,{children:["or $",a.annualTotal,"/yr"]})})]})}),e.jsx("a",{href:a.url,target:"_blank",rel:"noreferrer",className:"relative w-full py-3.5 font-semibold text-sm text-center rounded-lg transition-all active:scale-[0.98] hover:-translate-y-0.5 inline-flex items-center justify-center mb-8 overflow-hidden",style:a.highlight?{background:`linear-gradient(90deg, ${t.green}, #16a34a)`,color:"#03130a",boxShadow:`0 8px 24px ${t.green}66`}:p===0?{background:"linear-gradient(90deg, #ef4444, #b8060f)",color:"#ffffff",boxShadow:"0 8px 24px rgba(239,68,68,0.45)"}:{background:"linear-gradient(90deg, #a855f7, #7c3aed)",color:"#ffffff",boxShadow:"0 8px 24px rgba(168,85,247,0.45)"},children:a.cta}),e.jsx("div",{className:"text-xs font-semibold mb-4 uppercase tracking-wider",style:{color:"rgba(255,255,255,0.45)"},children:"What's included:"}),e.jsx("div",{className:"space-y-3 flex-grow",children:a.features.map(w=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"mt-0.5 shrink-0 w-5 h-5 rounded-full inline-flex items-center justify-center",style:{background:a.highlight?"rgba(34,197,94,0.20)":"rgba(255,255,255,0.08)",color:a.highlight?"#4ade80":"#ffffff",border:a.highlight?"1px solid rgba(34,197,94,0.45)":"1px solid rgba(255,255,255,0.15)"},children:e.jsx("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M5 13l4 4L19 7"})})}),e.jsx("span",{className:"text-sm",style:{color:"rgba(255,255,255,0.85)"},children:w})]},w))}),a.trial&&e.jsxs("div",{className:"mt-6 pt-5 border-t text-center text-xs",style:{borderColor:"rgba(255,255,255,0.10)",color:"rgba(255,255,255,0.55)"},children:["Start your 7-day trial for ",e.jsx("span",{className:"font-bold",style:{color:"#4ade80"},children:"$1"})]})]})},n.name)})}),e.jsx("div",{className:"mt-10 text-center relative z-10",children:e.jsx("p",{className:"text-white/55 text-xs tracking-tight",children:"risk-free · cancel anytime · instant access to the full library"})})]})})]})},st=()=>{const s=["880+ Expert-led courses","70+ Structured learning paths","Hands-on labs & challenges","Industry certifications"];return e.jsx("section",{className:"relative z-[45] py-20 lg:py-28 overflow-hidden",style:{background:"#ffffff"},children:e.jsx("div",{className:"container mx-auto px-5 lg:px-10 relative",children:e.jsxs("div",{className:"relative rounded-3xl overflow-hidden",style:{background:"linear-gradient(115deg, #22c55e 0%, #14b8a6 45%, #7c3aed 100%)",boxShadow:"0 30px 80px -30px rgba(34,197,94,0.4), 0 30px 80px -30px rgba(124,58,237,0.4)"},children:[e.jsx("div",{className:"absolute inset-0 opacity-30 mix-blend-overlay pointer-events-none",style:{backgroundImage:"url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=1600')",backgroundSize:"cover",backgroundPosition:"center"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(700px 400px at 0% 50%, rgba(34,197,94,0.45) 0%, transparent 60%), radial-gradient(700px 400px at 100% 50%, rgba(124,58,237,0.5) 0%, transparent 60%)"}}),e.jsxs("div",{className:"relative grid lg:grid-cols-2 gap-10 lg:gap-12 items-center p-8 md:p-12 lg:p-16",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full mb-6",style:{background:"rgba(0,0,0,0.35)",border:"1px solid rgba(255,255,255,0.15)",backdropFilter:"blur(6px)"},children:[e.jsx(L,{className:"w-3.5 h-3.5 text-white"}),e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-white",children:"Limited Time Offer"})]}),e.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight leading-[1.05] text-white",children:"Start Your Cybersecurity Journey Today"}),e.jsx("p",{className:"mt-5 text-lg max-w-xl",style:{color:"rgba(255,255,255,0.85)"},children:"Get unlimited access to the world's most comprehensive cybersecurity training library. No experience required."}),e.jsxs("div",{className:"mt-8 flex flex-wrap gap-3",children:[e.jsxs("a",{href:m.signup,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-lg font-bold text-sm transition-all hover:-translate-y-0.5",style:{background:"#0a0a0a",color:"#ffffff",boxShadow:"0 10px 30px rgba(0,0,0,0.35)"},children:["Get Started Free ",e.jsx(k,{className:"w-4 h-4"})]}),e.jsx("a",{href:m.labs,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-lg font-bold text-sm transition-all hover:-translate-y-0.5",style:{background:"rgba(255,255,255,0.12)",color:"#ffffff",border:"1px solid rgba(255,255,255,0.25)",backdropFilter:"blur(6px)"},children:"Tour the Labs"})]})]}),e.jsxs("div",{className:"relative rounded-2xl p-7 md:p-8",style:{background:"rgba(10,10,10,0.35)",border:"1px solid rgba(255,255,255,0.18)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",boxShadow:"0 20px 50px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12)"},children:[e.jsx("h3",{className:"text-xl md:text-2xl font-bold text-white mb-5",children:"What you'll get:"}),e.jsx("ul",{className:"space-y-3.5",children:s.map(d=>e.jsxs("li",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-6 h-6 rounded-full inline-flex items-center justify-center shrink-0",style:{background:"rgba(0,0,0,0.45)",border:"1px solid rgba(255,255,255,0.2)"},children:e.jsx(se,{className:"w-3.5 h-3.5 text-white"})}),e.jsx("span",{className:"text-white text-[15px]",children:d})]},d))}),e.jsx("div",{className:"mt-6 pt-5 text-xs",style:{color:"rgba(255,255,255,0.7)",borderTop:"1px solid rgba(255,255,255,0.12)"},children:"Join 2M+ learners · No credit card required"})]})]})]})})})},rt=()=>e.jsxs("footer",{className:"py-12 border-t text-white",style:{background:"#050505",borderColor:"rgba(255,255,255,0.10)"},children:[e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 grid md:grid-cols-4 gap-8",children:[e.jsxs("div",{children:[e.jsx("img",{src:oe.url,alt:"CodeRed â Continuous Learning",className:"h-9 w-auto"}),e.jsx("p",{className:"mt-3 text-sm text-white/50",children:"By the creators of the Certified Ethical Hacker (CEH)."})]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold mb-3",children:"Arena"}),e.jsxs("ul",{className:"space-y-2 text-sm text-white/60",children:[e.jsx("li",{children:e.jsx("a",{href:m.labs,target:"_blank",rel:"noreferrer",className:"hover:text-white",children:"Practice Labs"})}),e.jsx("li",{children:e.jsx("a",{href:m.ctf,target:"_blank",rel:"noreferrer",className:"hover:text-white",children:"CTF Challenges"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold mb-3",children:"Learn"}),e.jsxs("ul",{className:"space-y-2 text-sm text-white/60",children:[e.jsx("li",{children:e.jsx("a",{href:m.free,target:"_blank",rel:"noreferrer",className:"hover:text-white",children:"Free Courses"})}),e.jsx("li",{children:e.jsx("a",{href:m.paths,target:"_blank",rel:"noreferrer",className:"hover:text-white",children:"Learning Paths"})}),e.jsx("li",{children:e.jsx("a",{href:m.courses,target:"_blank",rel:"noreferrer",className:"hover:text-white",children:"All Courses"})})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold mb-3",children:"Join"}),e.jsx(R,{href:m.signup,children:"Start Free"})]})]}),e.jsxs("div",{className:"container mx-auto px-5 lg:px-10 mt-10 text-xs text-white/40 flex flex-wrap justify-between gap-2",children:[e.jsxs("span",{children:["© ",new Date().getFullYear()," EC-Council Learning · CodeRed"]}),e.jsx("span",{children:e.jsx(y,{children:"uptime 99.99%"})})]})]}),Mt=()=>(We(),e.jsxs("main",{className:"min-h-screen bg-white text-black relative",style:{fontFamily:"Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif"},children:[e.jsx(Oe,{}),e.jsx(qe,{}),e.jsx(He,{}),e.jsx(Ge,{}),e.jsx(N,{}),e.jsx(Ze,{}),e.jsx(N,{}),e.jsx(Je,{}),e.jsx(N,{}),e.jsx(et,{}),e.jsx(N,{}),e.jsx(tt,{}),e.jsx(N,{}),e.jsx(at,{}),e.jsx(N,{}),e.jsx(st,{}),e.jsx(rt,{}),e.jsx(ze,{})]}));export{Mt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.