1import{r as n,j as e}from"./index-9ZedHETz.js";import{c as b}from"./codered-logo-standard-Bz36WMZB.js";import{b as m,a as f,c as w}from"./badge-govern-6C1ZYYbo.js";import{A as y}from"./arrow-right-BmfSR0Yo.js";import{C as v}from"./chevron-down-C8Jo6NX2.js";import{C as j}from"./check-yDgIDSAR.js";import"./createLucideIcon-C0gWSzD2.js";const d=[{key:"adopt",name:"Adopt",color:"#3b82f6",bg:"rgba(59,130,246,.10)",border:"rgba(59,130,246,.32)",desc:"Lead and scale AI adoption, from pilots to production, aligned to value.",cert:"C|AIPM · + PM",url:"https://aigovernance.eccouncil.org/adgframework/pathway.html?pillar=adopt&utm_source=codered&utm_medium=thank-you-page&utm_campaign=adg-framework#pillar=adopt"},{key:"defend",name:"Defend",color:"#ef4444",bg:"rgba(239,68,68,.10)",border:"rgba(239,68,68,.32)",desc:"Red-team and secure AI systems against prompt injection, poisoning & more.",cert:"C|OASP · + C|EH",url:"https://aigovernance.eccouncil.org/adgframework/pathway.html?pillar=defend&utm_source=codered&utm_medium=thank-you-page&utm_campaign=adg-framework#pillar=defend"},{key:"govern",name:"Govern",color:"#10b981",bg:"rgba(16,185,129,.10)",border:"rgba(16,185,129,.30)",desc:"Govern, audit and comply with NIST AI RMF, ISO 42001, EU AI Act.",cert:"C|RAGE · + A·C|CISO",url:"https://aigovernance.eccouncil.org/adgframework/pathway.html?pillar=govern&utm_source=codered&utm_medium=thank-you-page&utm_campaign=adg-framework#pillar=govern"}],i="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600;700&family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700&display=swap",k={ADOPT:m,DEFEND:f,GOVERN:w},N=({name:s})=>e.jsx("img",{src:k[s]||m,alt:`${s} badge`,className:"w-36 h-auto drop-shadow-lg",loading:"lazy",width:512,height:560}),G=()=>{var c;const[s,x]=n.useState(""),h=((c=d.find(r=>r.key===s))==null?void 0:c.url)||d[0].url,p="https://offers.coderedpro.com/thank-you-page/",a=typeof window<"u"&&window.location.hostname==="campaigns.coderedpro.com";n.useEffect(()=>{a&&window.location.replace(p)},[a]),n.useEffect(()=>{if(document.title="Thank You | CodeRed",!document.querySelector(`link[href="${i}"]`)){const r=document.createElement("link");r.rel="preconnect",r.href="https://fonts.googleapis.com",document.head.appendChild(r);const t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="",document.head.appendChild(t);const o=document.createElement("link");o.rel="stylesheet",o.href=i,document.head.appendChild(o)}},[]);const l={fontFamily:"'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif"},g={fontFamily:"'Geist Mono',ui-monospace,'SF Mono',Menlo,monospace"},u={fontFamily:"'Fraunces',serif"};return a?null:e.jsxs("div",{className:"min-h-screen bg-white text-neutral-900 relative overflow-hidden",style:l,children:[e.jsx("div",{className:"absolute top-[20%] left-1/2 -translate-x-1/2 w-[600px] h-[600px] bg-red-600/5 rounded-full blur-[120px] pointer-events-none"}),e.jsx("section",{className:"relative z-10 flex flex-col items-center justify-center px-6 pt-16 pb-8 sm:pt-24 sm:pb-10",children:e.jsxs("div",{className:"max-w-3xl w-full text-center space-y-8",children:[e.jsx("div",{className:"flex justify-center",children:e.jsx("img",{src:b,alt:"CodeRed",className:"h-8 opacity-90"})}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h1",{className:"text-3xl sm:text-5xl lg:text-6xl font-bold tracking-tight text-neutral-900 leading-[1.1] whitespace-nowrap",children:"Welcome to CodeRed"}),e.jsx("p",{className:"text-neutral-500 text-base sm:text-lg lg:text-xl leading-relaxed max-w-lg mx-auto",children:"Your purchase is confirmed and your course access is live. Check your inbox for your login credentials and receipt."})]}),e.jsx("div",{className:"flex justify-center pt-2",children:e.jsxs("a",{href:"https://learn.eccouncil.org/your-portal/library/certifications?logged=true",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-red-600 hover:bg-red-700 text-white font-semibold text-base px-8 py-4 rounded-xl shadow-[0_0_24px_rgba(220,38,38,0.2)
1] hover:shadow-[0_0_36px_rgba(220,38,38,0.32)] transition-all group",children:["Start Learning Now",e.jsx(y,{className:"w-5 h-5 group-hover:translate-x-0.5 transition-transform"})]})}),e.jsxs("div",{className:"flex flex-col items-center pt-8 animate-bounce",children:[e.jsx("span",{className:"text-xs font-semibold uppercase tracking-[0.15em] text-neutral-400 mb-1",children:"Scroll"}),e.jsx(v,{className:"w-6 h-6 text-neutral-400",strokeWidth:1.5})]})]})}),e.jsx("section",{className:"relative z-10 border-t border-neutral-200 px-6 py-10 sm:py-14 bg-slate-50/60",style:l,children:e.jsx("div",{className:"max-w-6xl mx-auto",children:e.jsxs("div",{className:"bg-white rounded-xl shadow-xl shadow-slate-200/60 overflow-hidden border border-slate-100 flex",children:[e.jsx("div",{className:"w-1.5 bg-[#dc2626] shrink-0"}),e.jsxs("div",{className:"p-6 sm:p-12 md:p-16 flex-1",children:[e.jsxs("div",{className:"text-center max-w-2xl lg:max-w-5xl mx-auto mb-8 sm:mb-12",children:[e.jsx("span",{className:"inline-block mb-3 sm:mb-4 px-3 py-1 rounded-full bg-red-50 text-[#dc2626] border border-red-100",style:{fontSize:"10px",fontWeight:700,letterSpacing:"0.16em"},children:"EC-Council's ADG Skill Check For AI"}),e.jsx("h2",{className:"text-[1.6rem] leading-[1.15] sm:text-3xl font-semibold text-slate-900 tracking-tight mb-3 sm:mb-4",style:l,children:"Test and Compare Your AI Readiness"}),e.jsx("p",{className:"text-[15px] sm:text-lg text-slate-600 leading-relaxed",style:u,children:"As AI reshapes the workplace, organizations need people who can adopt, secure, and govern AI responsibly."}),e.jsxs("p",{className:"mt-4 sm:mt-6 text-[13px] sm:text-base text-slate-500 leading-relaxed",children:["Based on ",e.jsx("span",{className:"text-slate-800 font-semibold",children:"EC-Council's Adopt. Defend. Govern. (ADG) AI Framework,"})," choose a pillar and take a 10-minute assessment to measure your AI readiness, earn a badge, and compare your results with colleagues."]}),e.jsx("p",{className:"mt-4 sm:mt-5 text-sm sm:text-base text-slate-800 font-semibold",children:"Test your readiness. Benchmark your results. Prove you're ready for AI."})]}),e.jsx("div",{id:"adg-pillars",className:"grid grid-cols-1 md:grid-cols-3 gap-5 sm:gap-6 mb-10 sm:mb-12 scroll-mt-24",children:d.map(r=>{const t={adopt:{border:"border-blue-100",bg:"bg-blue-50/30",hoverBorder:"hover:border-blue-200",hoverShadow:"hover:shadow-blue-50",ring:"border-blue-200",ringHover:"group-hover:border-[#3b82f6]",certText:"text-blue-400"},defend:{border:"border-red-100",bg:"bg-red-50/30",hoverBorder:"hover:border-red-200",hoverShadow:"hover:shadow-red-50",ring:"border-red-200",ringHover:"group-hover:border-[#ef4444]",certText:"text-red-400"},govern:{border:"border-emerald-100",bg:"bg-emerald-50/30",hoverBorder:"hover:border-emerald-200",hoverShadow:"hover:shadow-emerald-50",ring:"border-emerald-200",ringHover:"group-hover:border-[#10b981]",certText:"text-emerald-400"}}[r.key],o=s===r.key;return e.jsxs("button",{type:"button",onClick:()=>x(r.key),"aria-pressed":o,style:o?{borderColor:r.color,boxShadow:`0 0 0 2px ${r.color}33`}:void 0,className:`group relative flex flex-col p-6 rounded-xl border ${t.border} ${o?"bg-white":t.bg} hover:bg-white ${t.hoverBorder} hover:shadow-lg ${t.hoverShadow} transition-all text-center cursor-pointer`,children:[e.jsxs("div",{className:"flex justify-between items-start mb-4",children:[e.jsx("h3",{className:"text-lg font-bold",style:{color:r.color},children:r.name}),e.jsx("div",{className:`w-5 h-5 rounded-full border-2 ${t.ring} ${t.ringHover} flex items-center justify-center transition-colors`,style:o?{background:r.color,borderColor:r.color}:void 0,children:o?e.jsx(j,{className:"w-3 h-3 text-white",strokeWidth:3}):e.jsx("div",{className:"w-2 h-2 rounded-full opacity-0 group-hover:opacity-100 transition-opacity",style:{background:r.color}})})]}),e.jsxs("div",{className:"flex flex-col items-center mb-5",children:[e.jsx(N,{name:r.name.toUpperCase()}),e.jsx("span",{className:"mt-2 text-[10px] font-bold uppercase tracking-widest",style:{color:r.color},children:"Earn the badge"})]}),e.jsx("p",{className:"text-sm text-slate-600 leading-snug mb-6 flex-1",children:r.desc}),e.jsx("span",{className:`uppercase ${t.certText}`,style:{...g,fontSize:"10px",fontWeight:700,letterSpacing:"0.08em"},children:r.cert})]},r.key)})}),e.jsx("div",{className:"flex justify-center mb-10 sm:mb-12",children:e.jsxs("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 rounded-full bg-[#dc2626] hover:bg-[#b91c1c] text-white font-semibold text-sm sm:text-base transition-colors shadow-lg shadow-red-500/20",children:["Start the Skill Check",e.jsx("span",{"aria-hidden":"true",children:"â"})]})}),e.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-2 sm:gap-x-4 gap-y-1.5 uppercase text-slate-400 text-center",style:{fontSize:"9px",fontWeight:500,letterSpacing:"0.1em"},children:e.jsxs("span",{className:"whitespace-nowrap",children:["Powered by"," ",e.jsx("span",{className:"text-slate-500 font-semibold",children:"EC-Council's ADG Framework"})]})})]})]})})})]})};export{G 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.