PageSourceSearch

https://www.guhatek.com/assets/MaturityContent-D6BJl4jU.js

js guhatek.com collected 2026-10-05 08:55:36 UTC 69,275 bytes, 35 lines download raw bytes

1import{r as k,j as e,b as U,B as X,m as o,A as je}from"./vendor-BBfQmSwJ.js";import{g as V,B as D,X as Ne,c as $,u as ke,m as Se,v as q,e as B,L as Q,I as G,i as R,d as H,T as ee,Z,S as te,r as Ae,w as Ce,A as Ie,C as pe,s as $e}from"./index-Bg-EAobF.js";import{u as Ee}from"./use-toast-D-MYIwFc.js";import{A as ce}from"./arrow-left-40IckzSx.js";import{B as _e}from"./brain-Cmuqo0oT.js";import{L as se}from"./layers-DIY1g7Aa.js";import{U as Le}from"./users-CqPIDarH.js";import{T as re}from"./target-DzbXrCcP.js";import{S as Te}from"./search-BqRM22Rj.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const he=V("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const J=V("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const Oe=V("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
17 * @license lucide-react v0.462.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const me=V("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
22 * @license lucide-react v0.462.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const Pe=V("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
27 * @license lucide-react v0.462.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const ze=V("ZapOff",[["path",{d:"M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317",key:"193nxd"}],["path",{d:"M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773",key:"27a7lr"}],["path",{d:"M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643",key:"1e0qe9"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);function Me(n,c){const[t,w]=k.useState(()=>{try{const m=window.localStorage.getItem(n);return m?JSON.parse(m):c}catch(m){return console.error("Error reading from localStorage:",m),c}});return[t,m=>{try{const x=m instanceof Function?m(t):m;w(x),window.localStorage.setItem(n,JSON.stringify(x))}catch(x){console.error("Error writing to localStorage:",x)}},()=>{try{window.localStorage.removeItem(n),w(c)}catch(m){console.error("Error removing from localStorage:",m)}}]}const ge=k.createContext(void 0),W=()=>({answers:[],completed:!1,reportId:null,result:null}),xe={sections:{"SRE Fundamentals":W(),Observability:W(),"Chaos Engineering":W()},contactInfo:null,completedAt:null};function Ve({children:n}){const[c,t]=Me("sre-assessment-data-v3",xe),w=(a,l)=>{t(y=>{const N=y.sections[a],f=N.answers.findIndex(L=>L.questionId===l.questionId);let I;return f>=0?(I=[...N.answers],I[f]=l):I=[...N.answers,l],{...y,sections:{...y.sections,[a]:{...N,answers:I}}}})},s=a=>{t(l=>({...l,contactInfo:a}))},r=(a,l,y)=>{t(N=>({...N,sections:{...N.sections,[a]:{...N.sections[a],result:l,reportId:y||N.sections[a].reportId,completed:!0}}}))},m=a=>{t(l=>({...l,sections:{...l.sections,[a]:{...l.sections[a],completed:!0}}}))},x=a=>{t(l=>({...l,sections:{...l.sections,[a]:W()}}))},h=()=>{t(xe)},g=(a,l)=>{if(l===0)return 0;const y=c.sections[a].answers.length;return Math.round(y/l*100)},i=a=>c.sections[a].answers;return e.jsx(ge.Provider,{value:{assessmentData:c,updateSectionAnswer:w,updateContactInfo:s,setSectionResult:r,completeSection:m,resetSection:x,resetAssessment:h,getSectionProgress:g,getSectionAnswers:i},children:n})}function He(){const n=k.useContext(ge);if(!n)throw new Error("useAssessment must be used within AssessmentProvider");return n}const ye="https://api.guhatek.com/maturityassessment",be={"SRE Fundamentals":"sre",Observability:"observability","Chaos Engineering":"chaos",sre:"sre",observability:"observability",chaos:"chaos"};
31function P(n){return typeof n!="string"?"":n.replace(/\?\?\?50%/g,"≤50%").replace(/\?\?\?60 minutes/g,"≥60 minutes").replace(/\?\?\?1%/g,"≤1%").replace(/\?\?\?s\b/g,"'s").replace(/\?\?\?/g,"")}async function Re(n,c="en"){const t=be[n];if(!t)return console.warn(`Unknown assessment category: ${n}`),[];try{const w=await fetch(`${ye}/fetchDataByCategory/${t}?lang=${c}`);if(w.ok)return(await w.json()).map((r,m)=>{let x;return Array.isArray(r.options)?x=r.options.map((h,g)=>({label:P(h),description:"",points:g===0?0:g===1?3:g===2?7:10})):x=[{label:P(r.option1||(c==="ar"?"الخيار 1":"Option 1")),description:"",points:0},{label:P(r.option2||(c==="ar"?"الخيار 2":"Option 2")),description:"",points:3},{label:P(r.option3||(c==="ar"?"الخيار 3":"Option 3")),description:"",points:7},{label:P(r.option4||(c==="ar"?"الخيار 4":"Option 4")),description:"",points:10}],{id:r.id?`${t}-q${m}-${r.id}`:`${t}-${m}`,category:n,question:P(r.question),why:P(r.why||""),type:"Both",weight:1,levels:x}});console.warn("API returned an error, falling back to local mock data.",w.status)}catch(w){console.warn("Failed to reach API, falling back to local mock data.",w)}return c==="ar"?[{id:`${t}-mock-1`,category:n,question:`كيف تقيس الموثوقية في ${n}؟`,why:"فهم كيفية قياس الموثوقية.",type:"Both",weight:1,levels:[{label:"نحن لا نقيسها",description:"لا توجد مقاييس موثوقة.",points:0},{label:"قياسات مخصصة",description:"يتم القياس عند حدوث المشكلات.",points:3},{label:"مراقبة أساسية",description:"استخدام مقاييس المنصة القياسية.",points:7},{label:"أهداف مستوى الخدمة الشاملة",description:"تتبع صارم لاتفاقيات وأهداف مستوى الخدمة.",points:10}]},{id:`${t}-mock-2`,category:n,question:`كيف تتم الاستجابة للحوادث في ${n}؟`,why:"تعد الاستجابة للحوادث أمراً بالغ الأهمية.",type:"Both",weight:1,levels:[{label:"استجابة تفاعلية",description:"فحوصات يدوية فقط.",points:0},{label:"تنبيهات أساسية",description:"تنبيهات عبر البريد الإلكتروني.",points:3},{label:"إشعارات آلية",description:"إعداد PagerDuty.",points:7},{label:"أنظمة ذاتية الإصلاح",description:"المعالجة التلقائية.",points:10}]}]:[{id:`${t}-mock-1`,category:n,question:`How do you measure reliability for ${n}?`,why:"Understanding reliability measurement.",type:"Both",weight:1,levels:[{label:"We do not measure it",description:"No reliable metrics in place.",points:0},{label:"Ad-hoc measurements",description:"When issues occur.",points:3},{label:"Basic monitoring",description:"Standard platform metrics.",points:7},{label:"Comprehensive SLOs",description:"Strict SLA/SLO tracking.",points:10}]},{id:`${t}-mock-2`,category:n,question:`What is your incident response like for ${n}?`,why:"Incident response is crucial.",type:"Both",weight:1,levels:[{label:"Reactive",description:"Manual checks only",points:0},{label:"Basic alerting",description:"Email alerts",points:3},{label:"Automated paging",description:"PagerDuty config",points:7},{label:"Self-healing systems",description:"Auto-remediation",points:10}]}]}async function De(n,c,t,w,s="en"){var h,g;const r=new Map(w.map(i=>[i.id,i])),m={name:c.name,email:c.email,company:c.company||"",role:c.role||"",category:be[n],questions:t.map(i=>{var a;return((a=r.get(i.questionId))==null?void 0:a.question)||""}),selected_answers:t.map(i=>{const a=r.get(i.questionId);if(!a)return"";const l=a.levels.find(y=>y.points===i.points);return l?l.label:""})},x=Math.round(t.reduce((i,a)=>i+a.points,0)/(t.length*10)*100);try{const i=await fetch(`${ye}/submitAndCalculate?lang=${s}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(m)});if(!i.ok)throw new Error(`Submission failed with status ${i.status}`);const a=await i.json(),l=(g=(h=a.improvement_areas)==null?void 0:h[0])==null?void 0:g.data;if(!l)throw new Error("Invalid response from API: missing improvement area data");const[y,N]=l.overall_score.split("/").map(I=>I.trim()),f=Math.round(parseInt(y,10)/parseInt(N,10)*100);return{success:!0,reportId:a.id,result:{score:isNaN(f)?x:f,level:l.operational_maturity_level||(s==="ar"?"غير معروف":"Unknown"),description:Array.isArray(l.summary)?l.summary.join(" "):s==="ar"?"تم حساب التقييم بنجاح.":"Assessment calculated successfully.",recommendations:Array.isArray(l.business_priorities)?l.business_priorities:[],categoryScores:{[n]:isNaN(f)?x:f}},message:a.message||""}}catch(i){console.warn("API Submission failed, returning mock result",i);const a=Math.round(t.reduce((l,y)=>l+y.points,0)/(t.length*10)*100)||50;return s==="ar"?{success:!0,reportId:"mock-report-uuid-1234",result:{score:a,level:a>75?"متقدم (المستوى 4)":a>50?"مستقر (المستوى 3)":"قيد التطوير (المستوى 2)",description:"تم حساب نتيجة تجريبية لأن واجهة برمجة التطبيقات غير متاحة حالياً.",recommendations:["تنفيذ اختبارات مستمرة للمرونة.","تحسين تكامل المراقبة وإمكانية الرصد.","اعتماد المعالجة التلقائية."],categoryScores:{[n]:a}},message:"تم إرسال التقييم التجريبي بنجاح"}:{success:!0,reportId:"mock-report-uuid-1234",result:{score:a,level:a>75?"Advanced (Level 4)":a>
3150?"Established (Level 3)":"Developing (Level 2)",description:"Mocked assessment calculation because API is currently unavailable.",recommendations:["Implement continuous resilience testing.","Improve observability integration.","Adopt automated remediation."],categoryScores:{[n]:a}},message:"Mock submission successful"}}}function Be({questions:n,answers:c,onAnswer:t,onPrevGroup:w,onFinish:s,initialFocusedIndex:r=0,allAnswered:m=!1,sectionTitle:x="Maturity Assessment"}){const{t:h}=U(),g=k.useRef([]),[i,a]=X.useState(r),[l,y]=X.useState(!1),[N,f]=X.useState(!1);k.useEffect(()=>{if(N){const b=setTimeout(()=>f(!1),3e3);return()=>clearTimeout(b)}},[N]),k.useEffect(()=>{const b=setTimeout(()=>{y(!0),a(r)},100);return()=>clearTimeout(b)},[r]),k.useEffect(()=>{const b=new IntersectionObserver(u=>{u.forEach(A=>{if(A.isIntersecting&&!l){const C=Number(A.target.getAttribute("data-index"));isNaN(C)||a(v=>{var T;if(C===v)return v;if(C<v)return f(!1),C;const E=(T=n[v])==null?void 0:T.id;return c.some(Y=>Y.questionId===E)?(f(!1),C):(f(!0),v)})}})},{threshold:.05,rootMargin:"-96px 0px -85% 0px"});return g.current.forEach(u=>{u&&b.observe(u)}),()=>b.disconnect()},[l,n,c]),k.useEffect(()=>{var b;if(l&&g.current[i]){(b=g.current[i])==null||b.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"});const u=setTimeout(()=>{y(!1)},1e3);return()=>clearTimeout(u)}},[i,l]);const I=b=>c.find(u=>u.questionId===b),L=()=>{i>0&&(f(!1),y(!0),a(i-1))},d=()=>{const b=n[i];if(!c.some(A=>A.questionId===b.id)){f(!0);return}i<n.length-1&&(f(!1),y(!0),a(i+1))},z=(b,u,A,C)=>{t(b,u,A),f(!1),setTimeout(()=>{C<n.length-1?(y(!0),a(C+1)):s()},100)},S=(i+1)/n.length*100;return e.jsxs("div",{className:"w-full container z-10 mx-auto flex flex-col h-full min-h-[70vh] relative px-4",children:[e.jsxs("div",{className:"fixed top-0 left-0 right-0 z-[150] bg-background/40 backdrop-blur-xl border-b border-border/40 transition-colors",children:[e.jsx("div",{className:"h-[2.5px] w-full bg-secondary/50 relative overflow-hidden",children:e.jsx(o.div,{className:"h-full bg-primary shadow-[0_0_15px_rgba(59,130,246,0.5)]",initial:{width:0},animate:{width:`${S}%`},transition:{duration:.5}})}),e.jsxs("div",{className:"max-w-5xl mx-auto px-6 py-3.5 flex items-center justify-between relative",children:[e.jsx("div",{className:"flex-1 flex items-center",children:m&&e.jsx(D,{variant:"ghost",size:"sm",onClick:s,className:"text-primary hover:text-white hover:bg-primary font-black uppercase tracking-widest text-[9px] rounded-full px-4 h-7 transition-all duration-300 border border-primary/20",children:"Back to Review"})}),e.jsxs("div",{className:"absolute left-1/2 -translate-x-1/2 flex flex-col items-center",children:[e.jsx("h2",{className:"text-[10px] font-black uppercase tracking-[0.3em] text-muted-foreground mb-0.5",children:h("assessment.ui.assessment")}),e.jsx("span",{className:"text-[11px] font-bold text-foreground tracking-widest uppercase",children:x})]}),e.jsx("div",{className:"flex-1 flex justify-end",children:e.jsx("button",{onClick:w,className:"p-2.5 text-muted-foreground/60 hover:text-foreground hover:bg-secondary/80 rounded-full transition-all duration-300 flex items-center justify-center transform hover:scale-110 active:scale-95",title:h("assessment.ui.exitAssessment"),children:e.jsx(Ne,{className:"w-5 h-5"})})})]}),e.jsx(je,{children:N&&e.jsxs(o.div,{initial:{opacity:0,scale:.9,y:-10,x:"-50%"},animate:{opacity:1,scale:1,y:0,x:"-50%"},exit:{opacity:0,scale:.9,y:-10,x:"-50%"},className:"absolute left-1/2 -bottom-20 bg-primary px-8 py-4 rounded-2xl shadow-[0_25px_50px_-12px_rgba(0,0,0,0.5)] flex items-center gap-4 text-sm font-bold z-[200] border border-white/10",children:[e.jsx(he,{className:"w-5 h-5 text-white animate-pulse"}),e.jsx("span",{className:"text-white tracking-tight",children:"Please select an option before continuing."})]})})]}),e.jsxs("div",{className:"flex-grow pb-40 md:pb-80",children:[e.jsx("div",{className:"h-16 md:h-24 w-full","aria-hidden":"true"})," ",e.jsx("div",{className:"grid grid-cols-1 gap-y-12 sm:gap-y-24 md:gap-y-32 max-w-5xl mx-auto",children:n.map((b,u)=>
31{const A=i===u,C=I(b.id);return e.jsxs(o.div,{"data-index":u,ref:v=>g.current[u]=v,initial:!1,animate:{scale:A?1.02:1,opacity:A?1:.7,zIndex:A?10:1},transition:{duration:.4,ease:[.23,1,.32,1]},onClick:()=>{var v;if(u!==i)if(u<i)f(!1),y(!0),a(u);else{const E=(v=n[i])==null?void 0:v.id;c.some(T=>T.questionId===E)?(f(!1),y(!0),a(u)):f(!0)}},className:$("relative p-6 md:p-12 pt-8 md:pt-4 rounded-3xl md:rounded-[2.5rem] bg-card/60 border-2 flex flex-col transition-all cursor-pointer overflow-visible scroll-mt-24 backdrop-blur-sm",A?"border-primary bg-primary/[0.04] shadow-[0_30px_70px_rgba(0,0,0,0.1)] dark:shadow-[0_30px_70px_rgba(0,0,0,0.4)] ring-1 ring-primary/20":"border-border/40 hover:border-border/80 opacity-70 hover:opacity-100 transition-opacity"),children:[A&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute -left-12 lg:-left-24 top-10 hidden md:block",children:e.jsxs(o.button,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},whileHover:{scale:1.1,x:-5},whileTap:{scale:.9},onClick:v=>{v.stopPropagation(),L()},disabled:i===0,className:$("flex flex-col items-center gap-2 group transition-all duration-300",i===0?"opacity-0 pointer-events-none":"opacity-100"),children:[e.jsx("div",{className:"w-12 h-12 lg:w-14 lg:h-14 rounded-full border border-border/50 dark:border-white/10 bg-white/50 dark:bg-white/5 backdrop-blur-md flex items-center justify-center text-muted-foreground group-hover:text-primary group-hover:border-primary/50 group-hover:bg-primary/5 transition-all shadow-xl",children:e.jsx(ke,{className:"w-6 h-6"})}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-muted-foreground group-hover:text-primary transition-colors",children:h("assessment.ui.prev")})]})}),e.jsx("div",{className:"absolute -right-12 lg:-right-24 top-10 hidden md:block",children:e.jsxs(o.button,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},whileHover:{scale:1.1,x:5},whileTap:{scale:.9},onClick:v=>{v.stopPropagation(),d()},disabled:i===n.length-1,className:$("flex flex-col items-center gap-2 group transition-all duration-300",i===n.length-1?"opacity-0 pointer-events-none":"opacity-100"),children:[e.jsx("div",{className:"w-12 h-12 lg:w-14 lg:h-14 rounded-full border border-border/50 dark:border-white/10 bg-white/50 dark:bg-white/5 backdrop-blur-md flex items-center justify-center text-muted-foreground group-hover:text-primary group-hover:border-primary/50 group-hover:bg-primary/5 transition-all shadow-xl",children:e.jsx(Se,{className:"w-6 h-6"})}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-muted-foreground group-hover:text-primary transition-colors",children:h("assessment.ui.next")})]})})]}),e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("span",{className:$("px-4 py-1.5 rounded-full text-[10px] font-black tracking-widest uppercase transition-colors",A?"bg-primary text-primary-foreground":"bg-secondary text-muted-foreground"),children:h("assessment.ui.questionOf",{current:u+1,total:n.length})}),C&&e.jsxs("span",{className:"text-[10px] font-bold text-primary flex items-center gap-1",children:[e.jsx(q,{className:"w-3 h-3"})," Completed"]})]}),e.jsxs("div",{className:"space-y-6 flex flex-col",children:[e.jsx("h3",{className:$("text-xl sm:text-2xl md:text-4xl font-display font-medium leading-[1.15] tracking-tight transition-colors mb-4 text-center",A?"text-foreground":"text-muted-foreground"),children:b.question}),e.jsx("div",{className:"grid grid-cols-1 gap-2.5 mt-4",children:b.levels.map((v,E)=>{const O=(C==null?void 0:C.selectedLevel)===E;return e.jsxs("button",{onClick:T=>{T.stopPropagation(),z(b.id,E,v.points,u)},className:$("group relative flex items-center justify-between w-full px-5 py-4 sm:px-8 sm:py-5 rounded-xl border transition-all duration-300 overflow-hidden",O?"border-primary bg-primary/20 text-foreground dark:text-white shadow-[0_10px_30px_rgba(59,130,246,0.3)]":"border-border/50 dark:border-white/10 bg-white/50 dark:bg-white/5 text-muted-foreground hover:border-primary/40 hover:text-foreground hover:shadow-[0_4px_24px_rgba(59,130,246,0.1)]"),children:[e.jsx("div",{className:$("absolute inset-0 transition-opacity duration-300",O?"bg-primary/5 opacity-100":"bg-primary/[0.03] opacity-0 group-hover:opacity-100")}),e.jsxs("div",{className:"relative z-10 flex items-center justify-between w-full",children:[e.jsx("div",{className:"flex items-center gap-3",children:e.jsx("span",{className:"text-left leading-normal text-sm md:text-base font-medium",children:v.label})}),O&&e.jsx(q,{className:"w-5 h-5 text-primary shrink-0"})]})]},E)})})]})]},b.id)})})]})]})}function Fe({questions:n,answers:c,onEditQuestion:t,onConfirm:w,onBack:s}){var g;const{t:r,i18n:m}=U(),x=(g=m.language)==null?void 0:g.startsWith("ar"),h=i=>c.find(a=>a.questionId===i);return e.jsxs("div",{dir:x?"rtl":"ltr",className:$("w-full max-w-6xl mx-auto px-4 py-12 animate-in fade-in slide-in-from-bottom-4 duration-500",x&&"font-arabic"),children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest mb-6",children:[e.jsx(he,{className:"w-4 h-4"}),r("reviewStep.reviewYourAnswers")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-display font-bold mb-4 uppercase tracking-tight",children:[r("reviewStep.checkAnd")," ",e.jsx("span",{className:"text-primary",children:r("reviewStep.confirm")})]}),e.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:r("reviewStep.description")})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-16",children:n.map((i,a)=>
31{const l=h(i.id),y=l?i.levels[l.selectedLevel]:null;return e.jsxs(o.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:a*.05},whileHover:{y:-8,scale:1.02},onClick:()=>t(a),className:$("group relative p-8 rounded-3xl bg-white/50 dark:bg-white/5","border border-border/50 dark:border-white/10","hover:border-primary/50","hover:shadow-[0_20px_60px_rgba(59,130,246,0.15)]","cursor-pointer transition-all flex flex-col justify-between","backdrop-blur-sm overflow-hidden"),children:[e.jsx("div",{className:"absolute inset-0 bg-primary/[0.02] opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),e.jsxs("div",{className:"relative z-10 flex-grow flex flex-col items-center text-center",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsxs("span",{className:"text-[10px] font-black tracking-widest uppercase text-muted-foreground opacity-60",children:[r("reviewStep.question")," ",a+1]}),l&&e.jsxs("span",{className:"flex items-center gap-1 text-[10px] font-bold text-primary",children:[e.jsx(q,{className:"w-3 h-3"}),r("reviewStep.answered")]})]}),e.jsx("h3",{className:"text-xl font-bold text-foreground mb-6 group-hover:text-primary transition-colors leading-snug",children:i.question}),y&&e.jsxs("div",{className:"w-full px-5 py-4 rounded-2xl bg-white/40 dark:bg-white/5 border border-border/40 text-sm font-medium text-muted-foreground mb-4",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest font-black text-muted-foreground/30 mb-1",children:r("reviewStep.yourSelection")}),e.jsx("span",{className:"text-foreground font-bold",children:y.label})]})]}),e.jsx("div",{className:"flex items-center justify-center pt-4 border-t border-border/40 group-hover:border-primary/20 transition-colors",children:e.jsxs(D,{variant:"ghost",size:"sm",className:"rounded-full px-5 py-2 hover:bg-primary/20 hover:text-primary flex items-center gap-2 text-xs font-bold uppercase tracking-widest transition-colors h-auto",children:[e.jsx(Pe,{className:"w-3 h-3"}),r("reviewStep.edit")]})})]},i.id)})}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6 pt-12 border-t border-border/40",children:[e.jsxs(o.button,{whileHover:{y:-4,scale:1.02},whileTap:{scale:.98},onClick:s,className:"btn btn-secondary btn-md w-full sm:w-auto uppercase tracking-wider",children:[x?"→":"←"," ",r("reviewStep.backToAssessment")]}),e.jsxs(o.button,{whileHover:{y:-4,scale:1.02},whileTap:{scale:.98},onClick:w,className:"btn btn-primary btn-md w-full sm:w-auto uppercase tracking-wider group text-[11px] xs:text-sm px-6",children:[r("reviewStep.confirmAndGetReport"),e.jsx(B,{className:$("w-5 h-5 ml-2 transition-transform shrink-0",x?"rotate-180 mr-2 ml-0 group-hover:-translate-x-1":"group-hover:translate-x-1")})]})]})]})}const Qe={sre:{icon:H,gradient:"from-blue-500 to-cyan-400",glowColor:"#3b82f6"},observability:{icon:J,gradient:"from-purple-500 to-indigo-500",glowColor:"#a855f7"},chaos:{icon:Z,gradient:"from-orange-500 to-amber-400",glowColor:"#f97316"}};function Ge({onBack:n}){var ae,ie,oe,ne,le,de;const{toast:c}=Ee(),{assessmentData:t,updateSectionAnswer:w,updateContactInfo:s,setSectionResult:r,getSectionAnswers:m,resetSection:x}=He(),[h,g]=k.useState("select"),[i,a]=k.useState(null),[l,y]=k.useState([]),[N,f]=k.useState(0),[I,L]=k.useState(!1),{t:d,i18n:z}=U(),[S,b]=k.useState({name:((ae=t.contactInfo)==null?void 0:ae.name)||"",email:((ie=t.contactInfo)==null?void 0:ie.email)||"",company:((oe=t.contactInfo)==null?void 0:oe.company)||"",role:((ne=t.contactInfo)==null?void 0:ne.role)||""}),[u,A]=k.useState(null),C=["gmail.com","yahoo.com","yahoo.co.in","outlook.com","hotmail.com","live.com","msn.com","icloud.com","me.com","aol.com","protonmail.com","proton.me","zoho.com","mail.com","gmx.com","yandex.com","rediffmail.com"];k.useEffect(()=>{window.scrollTo({top:0,behavior:"auto"})},[h]);const v=async p=>{var j;a(p),x(p),L(!0);try{const _=(j=z.language)!=null&&j.startsWith("ar")?"ar":"en",F=await Re(p,_);y(F),f(0),g("assessment")}catch{c({title:"Error",description:"Failed to load questions. Please try again.",variant:"destructive"}),a(null)}finally{L(!1)}},E=(p,j,_)=>{i&&w(i,{questionId:p,selectedLevel:j,points:_})},O=()=>{g("select"),a(null)},T=()=>{g("review")},Y=()=>{g("contact")},fe=p=>{f(p),g("assessment")},we=async()=>{var F;if(!S.name||!S.email||!S.company){c({title:d("assessment.validation.title"),description:d("assessment.validation.required"),variant:"destructive"});return}const p=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,j=S.email.trim().toLowerCase();if(!p.test(j)){c({title:d("assessment.validation.title"),description:d("assessment.validation.invalidEmail"),variant:"destructive"});return}const _=j.split("@")[1];if(C.includes(_)){c({title:d("assessment.validation.title"),description:d("assessment.validation.businessEmailOnly"),variant:"destructive"});return}s({...S,email:j}),L(!0);try{if(!i)throw new Error("No section selected");const K=m(i),ve=(F=z.language)!=null&&F.startsWith("ar")?"ar":"en",M=await De(i,{...S,email:j},K,l,ve);if(M.success&&M.result)A(M.result),r(i,M.result,M.reportId),g("result");else throw new Error(M.message||"Failed to calculate results")}catch(K){c({title:d("assessment.validation.title"),description:K.message||d("assessment.validation.submissionError"),variant:"destructive"})}finally{L(!1)}};if(I&&h==="select")return e.jsxs("div",{className:"flex flex-col items-center justify-center py-24 min-h-[400px]",children:[e.jsx(me,{className:"w-10 h-10 animate-spin text-primary mb-4"}),e.jsx("p",{className:"text-muted-foreground animate-pulse",children:d("assessment.loadingQuestions")})]});if(h==="select")return e.jsxs("div",{className:"max-w-4xl mx-auto py-12 px-4 animate-in fade-in slide-in-from-bottom-4 duration-500",children:[e.jsxs(D,{variant:"ghost",onClick:n,className:"mb-8",children:[e.jsx(ce,{className:"w-4 h-4 mr-2"}),d("assessment.backToMaturity")]}),e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:d("assessment.selectTitle")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:d("assessment.selectDescription")})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Object.entries(Qe).map(([p,j])=>e.jsxs("div",{onClick:()=>v(p),className:"p-8 rounded-[32px] bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 cursor-pointer transition-all flex flex-col items-center text-center group backdrop-blur-sm",children:[e.jsxs("div",{className:`w-14 h-14 roun
31ded-2xl bg-gradient-to-br ${j.gradient} flex items-center justify-center mb-6 shadow-lg relative group-hover:scale-110 transition-transform duration-300`,style:{boxShadow:`0 8px 20px -6px ${j.glowColor}50`},children:[e.jsx(j.icon,{className:"w-7 h-7 text-white relative z-10"}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${j.glowColor}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsxs("h3",{className:"font-display text-base md:text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors tracking-tight",children:[" ",d(`assessment.sections.${p}.title`)]}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:d(`assessment.sections.${p}.description`)})]},p))})]});if(h==="assessment"&&i&&l.length>0){const p=m(i),j=p.length===l.length;return e.jsx("div",{className:"w-full max-w-6xl mx-auto px-4 relative min-h-[calc(100vh-160px)]",children:e.jsx("div",{children:e.jsx(Be,{questions:l,answers:p,onAnswer:E,onPrevGroup:O,onFinish:T,initialFocusedIndex:N,allAnswered:j,sectionTitle:i})})})}if(h==="review"&&i&&l.length>0)return e.jsx(Fe,{questions:l,answers:m(i),onEditQuestion:fe,onConfirm:Y,onBack:()=>g("assessment")});if(h==="contact")return e.jsx("div",{className:"w-full max-w-3xl mx-auto px-4 py-20 relative min-h-[calc(100vh-160px)] flex flex-col justify-center animate-in fade-in slide-in-from-bottom-4 duration-500",children:e.jsxs("div",{className:"relative p-8 md:p-12 rounded-[2.5rem] bg-white/50 dark:bg-white/5 border-2 border-primary/30 shadow-[0_30px_70px_rgba(0,0,0,0.1)] dark:shadow-[0_30px_70px_rgba(0,0,0,0.4)] backdrop-blur-xl transition-all overflow-hidden group",children:[e.jsx("div",{className:"absolute inset-0 bg-primary/[0.02] pointer-events-none"}),e.jsxs("div",{className:"relative z-10",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsxs("h2",{className:"text-3xl md:text-5xl font-display font-medium leading-[1.15] tracking-tight text-foreground mb-4 uppercase",children:[d("assessment.contact.title")," ",e.jsx("span",{className:"text-primary",children:d("assessment.contact.highlight")})]}),e.jsx("p",{className:"text-muted-foreground text-lg",children:d("assessment.contact.description")})]}),e.jsxs("div",{className:"w-full space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(Q,{className:"ml-4 text-[10px] font-black uppercase tracking-widest text-muted-foreground/60",children:[d("assessment.contact.name")," *"]}),e.jsx(G,{className:"rounded-2xl py-6 px-6 bg-white/40 dark:bg-white/5 border-border/40 text-foreground focus-visible:ring-primary shadow-sm backdrop-blur-md hover:bg-white/60 dark:hover:bg-white/10 transition-colors",value:S.name,onChange:p=>b({...S,name:p.target.value}),placeholder:d("assessment.contact.namePlaceholder")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(Q,{className:"ml-4 text-[10px] font-black uppercase tracking-widest text-muted-foreground/60",children:[d("assessment.contact.email")," *"]}),e.jsx(G,{className:"rounded-2xl py-6 px-6 bg-white/40 dark:bg-white/5 border-border/40 text-foreground focus-visible:ring-primary shadow-sm backdrop-blur-md hover:bg-white/60 dark:hover:bg-white/10 transition-colors",type:"email",value:S.email,onChange:p=>b({...S,email:p.target.value}),placeholder:d("assessment.contact.emailPlaceholder")})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(Q,{className:"ml-4 text-[10px] font-black uppercase tracking-widest text-muted-foreground/60",children:[d("assessment.contact.company")," *"]}),e.jsx(G,{className:"rounded-2xl py-6 px-6 bg-white/40 dark:bg-white/5 border-border/40 text-foreground focus-visible:ring-primary shadow-sm backdrop-blur-md hover:bg-white/60 dark:hover:bg-white/10 transition-colors",value:S.company,onChange:p=>
31b({...S,company:p.target.value}),placeholder:d("assessment.contact.companyPlaceholder")})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(Q,{className:"ml-4 text-[10px] font-black uppercase tracking-widest text-muted-foreground/60",children:d("assessment.contact.role")}),e.jsx(G,{className:"rounded-2xl py-6 px-6 bg-white/40 dark:bg-white/5 border-border/40 text-foreground focus-visible:ring-primary shadow-sm backdrop-blur-md hover:bg-white/60 dark:hover:bg-white/10 transition-colors",value:S.role,onChange:p=>b({...S,role:p.target.value}),placeholder:d("assessment.contact.rolePlaceholder")})]})]})]})]}),e.jsxs("div",{className:"mt-12 w-full flex flex-col items-center",children:[e.jsx(o.button,{whileHover:{y:-4,scale:1.02},whileTap:{scale:.98},className:"btn btn-primary btn-md w-full sm:w-auto uppercase tracking-wider group text-xs sm:text-sm px-6",onClick:we,disabled:I,children:I?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(me,{className:"w-4 h-4 animate-spin"}),d("assessment.contact.analyzing")]}):e.jsxs(e.Fragment,{children:[d("assessment.contact.generate"),e.jsx(B,{className:"w-4 h-4 sm:w-5 sm:h-5 ml-2 group-hover:translate-x-1 transition-transform shrink-0"})]})}),e.jsxs("button",{onClick:()=>g("review"),disabled:I,className:"mt-8 text-[11px] font-black uppercase tracking-widest text-muted-foreground hover:text-white transition-colors disabled:opacity-20 flex items-center gap-2 group",children:[e.jsx(ce,{className:"w-3 h-3 group-hover:-translate-x-1 transition-transform"})," ",d("assessment.contact.backToReview")]})]})]})});if(h==="result"&&u){const p=u.score;return e.jsxs("div",{dir:(le=z.language)!=null&&le.startsWith("ar")?"rtl":"ltr",className:"max-w-5xl mx-auto py-12 px-4 animate-in zoom-in-95 duration-500",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 border border-primary/20 text-primary text-xs font-bold uppercase tracking-widest mb-6",children:[e.jsx(R,{className:"w-4 h-4"}),d("assessment.result.complete")]}),e.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-display font-bold text-foreground mb-4 uppercase tracking-tight",children:[i," ",e.jsx("span",{className:"text-primary",children:d("assessment.result.maturity")})]})]}),e.jsxs("div",{className:"max-w-3xl mx-auto space-y-8",children:[e.jsxs("div",{className:"p-8 md:p-12 rounded-[2.5rem] bg-card/60 border border-border/60 backdrop-blur-xl shadow-2xl relative overflow-hidden group text-center",children:[e.jsxs("div",{className:"relative z-10",children:[e.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-primary mb-4",children:d("assessment.result.overallScore")}),e.jsxs("div",{className:"text-7xl md:text-9xl font-display font-bold text-foreground leading-none mb-6",children:[p,e.jsx("span",{className:"text-3xl md:text-5xl text-muted-foreground",children:"%"})]}),e.jsx("div",{className:"inline-block px-6 py-2 bg-primary/20 rounded-full text-primary font-bold text-sm md:text-base backdrop-blur-sm border border-primary/30 mb-10",children:u.level}),e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsxs("div",{className:"flex justify-between mb-4 text-[10px] font-bold uppercase tracking-widest text-muted-foreground/60",children:[e.jsx("span",{children:d("assessment.result.spectrum")}),e.jsxs("span",{children:[p,"% ",d("assessment.result.completePercent")]})]}),e.jsx("div",{className:"h-3 w-full bg-secondary/60 rounded-full overflow-hidden p-0.5 border border-border/60",children:e.jsx(o.div,{initial:{width:0},animate:{width:`${p}%`},transition:{duration:1.5,ease:"easeOut"},className:"h-full bg-primary rounded-full shadow-[0_0_20px_rgba(59,130,246,0.5)]"})}),e.jsxs("div",{className:"flex justify-between mt-3 text-[9px] font-bold uppercase tracking-widest text-muted-foreground/40",children:[e.jsx("span",{children:d("assessment.levels.initial")}),e.jsx("span",{children:d("assessment.levels.developing")}),e.jsx("span",{children:d("assessment.levels.established")}),e.jsx("span",{children:d("assessment.levels.advanced")}),e.jsx("span",{children:d("assessment.levels.elite")})]})]})]}),e.jsx("div",{className:"absolute -bottom-20 -right-20 w-64 h-64 bg-primary/10 rounded-full blur-[100px] group-hover:bg-primary/20 transition-colors"}),e.jsx("div",{className:"absolute -top-20 -left-20 w-64 h-64 bg-primary/5 rounded-full blur-[100px]"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"p-8 md:p-12 rounded-[2.5rem] bg-card/60 border border-border/60 backdrop-blur-xl shadow-lg",children:[e.jsxs("h3",{className:"text-xl md:text-2xl font-bold mb-6 uppercase tracking-tight text-foreground flex items-center gap-3",children:[e.jsx(H,{className:"w-6 h-6 text-primary"}),d("assessment.result.summary")]}),e.jsx("p",{className:"text-muted-foreground text-lg md:text-xl leading-relaxed",children:u.description})]}),u.recommendations&&u.recommendations.length>0&&e.jsxs("div",{className:"p-8 md:p-12 rounded-[2.5rem] bg-card/60 border border-primary/20 backdrop-blur-xl shadow-lg",children:[e.jsxs("h3",{className:"text-xl md:text-2xl font-bold mb-8 uppercase tracking-tight flex items-center gap-3 text-primary",children:[e.jsx(ee,{className:"w-6 h-6"}),d("assessment.result.roadmap")]}),e.jsx("ul",{className:"space-y-6",children:u.recommendations.map((j,_)=>e.jsxs("li",{className:"flex gap-5 items-start bg-secondary/50 p-6 rounded-2xl border border-border hover:border-primary/30 transition-colors group",children:[e.jsx("div",{className:"w-8 h-8 rounded-xl bg-primary/20 flex items-center justify-center text-xs font-bold text-primary shrink-0 border border-primary/30 group-hover:bg-primary group-hover:text-white transition-colors",children:_+1}),e.jsx("p",{className:"text-base md:text-lg font-medium text-foreground
31/90 leading-relaxed",children:j})]},_))})]})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4 md:gap-6 mt-16 pb-12 items-center",children:[e.jsx(D,{variant:"outline",onClick:()=>g("select"),className:"w-full sm:w-72 h-14 rounded-full font-bold uppercase tracking-widest text-sm border-2 border-white/20 hover:bg-white/10 transition-all text-foreground bg-transparent",children:d("assessment.result.assessAnother")}),e.jsxs(D,{onClick:n,className:"w-full sm:w-72 h-14 rounded-full font-bold uppercase tracking-widest text-sm bg-primary text-white hover:bg-primary/90 shadow-[0_0_20px_rgba(59,130,246,0.3)] border-none",children:[e.jsx(Oe,{className:`w-4 h-4 ${(de=z.language)!=null&&de.startsWith("ar")?"ml-2":"mr-2"}`}),d("assessment.result.backHome")]})]})]})}return null}const We=[{icon:H,key:"sre",gradient:"from-blue-500 to-cyan-400",glowColor:"#3b82f6"},{icon:J,key:"observability",gradient:"from-purple-500 to-indigo-500",glowColor:"#a855f7"},{icon:Z,key:"chaos",gradient:"from-orange-500 to-amber-400",glowColor:"#f97316"},{icon:Ie,key:"incident",gradient:"from-emerald-500 to-teal-400",glowColor:"#10b981"}
31,{icon:te,key:"infrastructure",gradient:"from-cyan-500 to-blue-400",glowColor:"#06b6d4"},{icon:re,key:"serviceLevel",gradient:"from-pink-500 to-rose-400",glowColor:"#ec4899"}],Ue=[{key:"outages",icon:ze,gradient:"from-red-500 to-rose-400",glowColor:"#ef4444"},{key:"visibility",icon:Te,gradient:"from-purple-500 to-indigo-500",glowColor:"#a855f7"},{key:"incident",icon:pe,gradient:"from-orange-500 to-amber-400",glowColor:"#f97316"},{key:"traffic",icon:$e,gradient:"from-blue-500 to-cyan-400",glowColor:"#3b82f6"},{key:"scaling",icon:se,gradient:"from-yellow-500 to-amber-400",glowColor:"#eab308"},{key:"alignment",icon:re,gradient:"from-pink-500 to-rose-400",glowColor:"#ec4899"}],Ze=[{key:"reliability",icon:H,gradient:"from-blue-500 to-cyan-400",glowColor:"#3b82f6"},{key:"observability",icon:J,gradient:"from-purple-500 to-indigo-500",glowColor:"#a855f7"},{key:"resilience",icon:Z,gradient:"from-orange-500 to-amber-400",glowColor:"#f97316"},{key:"incident",icon:pe,gradient:"from-emerald-500 to-teal-400",glowColor:"#10b981"},{key:"scaling",icon:ee,gradient:"from-cyan-500 to-blue-300",glowColor:"#06b6d4"},{key:"metrics",icon:re,gradient:"from-pink-500 to-rose-400",glowColor:"#ec4899"}],Je=[{level:1,name:"Initial",desc:"Operations are reactive with minimal monitoring and manual incident response.",color:"#ef4444"},{level:2,name:"Emerging",desc:"Basic monitoring and operational processes are implemented.",color:"#f97316"},{level:3,name:"Defined",desc:"Standardized reliability practices and observability frameworks are established.",color:"#f59e0b"},{level:4,name:"Advanced",desc:"Automation, SRE practices, and resilience testing are integrated.",color:"#10b981"},{level:5,name:"Optimized",desc:"Systems are fully observable, resilient, and continuously improving through proactive engineering practices.",color:"#3b82f6"}],Ye=[{name:"maturityassesment.maturityscore.categories.reliabilityEngineering",value:78},{name:"maturityassesment.maturityscore.categories.observabilityCapability",value:62},{name:"maturityassesment.maturityscore.categories.chaosEngineering",value:45},{name:"maturityassesment.maturityscore.categories.operationalEfficiency",value:71},{name:"maturityassesment.maturityscore.categories.scalabilityReadiness",value:55},{name:"maturityassesment.maturityscore.categories.serviceLevelManagement",value:68}],ue=[{step:1,title:"Answer structured questions",desc:"About your organization's engineering practices."},{step:2,title:"Framework evaluation",desc:"The GuhaTek framework evaluates responses and calculates maturity level."},{step:3,title:"Receive insights",desc:"Into operational gaps and improvement opportunities."},{step:4,title:"Expert recommendations",desc:"Get a roadmap to improve reliability and scalability."}],Ke=[{key:"sre",icon:H,gradient:"from-blue-500 to-indigo-500"},{key:"observability",icon:J,gradient:"from-purple-500 to-pink-500"},{key:"chaos",icon:Z,gradient:"from-orange-500 to-amber-500"},{key:"cloud",icon:te,gradient:"from-cyan-500 to-blue-500"},{key:"platform",icon:se,gradient:"from-emerald-500 to-teal-500"},{key:"roadmap",icon:ee,gradient:"from-pink-500 to-rose-500"}],nt=()=>{const[n,c]=k.useState(!1),{t}=U(),w=[{item:t("maturityassesment.whoshouldtake.audience.cto"),icon:_e,gradient:"from-blue-600 to-indigo-500"},{item:t("maturityassesment.whoshouldtake.audience.platform"),icon:se,gradient:"from-purple-500 to-pink-500"},{item:t("maturityassesment.whoshouldtake.audience.devops"),icon:H,gradient:"from-orange-500 to-amber-500"},{item:t("maturityassesment.whoshouldtake.audience.cloud"),icon:te,gradient:"from-cyan-500 to-blue-500"},{item:t("maturityassesment.whoshouldtake.audience.enterprise"),icon:Ae,gradient:"from-emerald-500 to-teal-500"},{item:t("maturityassesment.whoshouldtake.audience.managers"),icon:Le,gradient:"from-pink-500 to-rose-500"}];return n?e.jsx("div",{className:"fixed inset-0 z-[100] bg-background text-foreground overflow-y-auto",children:e.jsx(Ce,{children:e.jsx("div",{className:"relative z-10 pt-20 pb-12",children:e.jsx(Ve,{children:e.jsx(Ge,{onBack:()=>c(!1)})})})})}):e.jsxs("div",{className:"min-h-screen",children:[e.jsxs("section",{className:"min-h-[100dvh] flex items-center relative overflow-hidden pt-28 pb-16 md:pt-32 lg:py-0",children:[e.jsxs("div",{className:"absolute inset-0 z-0",children:[e.jsx(o.img,{src:"/maturity-hero.jpg",alt:"Enterprise Reliability Maturity Assessment",className:"w-full h-full object-cover",initial:{scale:1.1,opacity:0}
31,animate:{scale:1,opacity:1},transition:{duration:1.5,ease:"easeOut"}}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white/80 via-white/30 to-transparent dark:from-slate-950/90 dark:via-slate-950/50 transition-all duration-500 z-10"})]}),e.jsx("div",{className:"container relative z-30 max-w-[1400px] mx-auto px-4 sm:px-6",children:e.jsx("div",{className:"max-w-4xl",children:e.jsxs(o.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{duration:.8},className:"flex flex-col items-center lg:items-start text-center lg:text-left pt-4 lg:pt-14",children:[e.jsx(o.span,{initial:{opacity:0,letterSpacing:"0.5em"},animate:{opacity:1,letterSpacing:"0.25em"},transition:{delay:.3,duration:.8},className:"font-display text-xs md:text-sm font-bold uppercase tracking-[0.25em] text-primary inline-block mb-6",children:t("maturityassesment.maturityhero.eyebrow")}),e.jsxs("h1",{className:"font-display text-4xl sm:text-6xl lg:text-7xl font-bold leading-[1.1] tracking-tight text-foreground mb-6",children:[e.jsx(o.span,{initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.4,duration:.6},className:"block",children:t("maturityassesment.maturityhero.title")}),e.jsx(o.span,{initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.5,duration:.6},className:"block",children:t("maturityassesment.maturityhero.title1")}),e.jsx(o.span,{initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{delay:.6,duration:.6},className:"block text-primary mt-1 sm:mt-0 whitespace-nowrap",children:t("maturityassesment.maturityhero.eyebrow")})]}),e.jsx(o.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7,duration:.6},className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-foreground/90 dark:text-slate-300 font-medium max-w-lg lg:max-w-xl mb-10 px-2 sm:px-0 mx-auto lg:mx-0",children:t("maturityassesment.maturityhero.description")}),e.jsxs(o.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.85,duration:.6},className:"flex flex-col items-center lg:items-start gap-5 sm:gap-6 w-full",children:[e.jsxs(o.button,{whileHover:{y:-4,scale:1.02},whileTap:{scale:.98},onClick:()=>c(!0),className:"btn btn-primary btn-md w-full sm:w-auto flex items-center justify-center whitespace-nowrap text-sm md:text-base px-3 sm:px-6 py-3",children:[e.jsx("span",{className:"truncate",children:t("maturityassesment.maturityhero.button")}),e.jsx(B,{className:"w-4 h-4 sm:w-5 sm:h-5 ml-1.5 shrink-0"})]}),e.jsxs("div",{className:"flex flex-wrap justify-center lg:justify-start gap-3 sm:gap-4 text-sm font-medium text-muted-foreground pt-2 lg:pt-0 pb-6 lg:pb-0",children:[e.jsxs("span",{className:"flex items-center gap-1.5 font-body text-sm font-medium text-muted-foreground",children:[e.jsx("div",{className:"w-5 h-5 shrink-0 rounded-full bg-primary/20 flex items-center justify-center",children:e.jsx(R,{className:"w-3 h-3 text-primary"})}),t("maturityassesment.maturityhero.bottom1")]}),e.jsxs("span",{className:"flex items-center gap-1.5 font-body text-sm font-medium text-muted-foreground",children:[e.jsx("div",{className:"w-5 h-5 shrink-0 rounded-full bg-primary/20 flex items-center justify-center",children:e.jsx(R,{className:"w-3 h-3 text-primary"})}),t("maturityassesment.maturityhero.bottom2")]}),e.jsxs("span",{className:"flex items-center gap-1.5 font-body text-sm font-medium text-muted-foreground",children:[e.jsx("div",{className:"w-5 h-5 shrink-0 rounded-full bg-primary/20 flex items-center justify-center",children:e.jsx(R,{className:"w-3 h-3 text-primary"})}),t("maturityassesment.maturityhero.bottom3")]})]})]})]})})})]}),e.jsxs("div",{className:"blk-dark-wrapper relative",children:[e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 md:mb-16",children:[e.jsxs("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-4 md:mb-6",children:["        ",t("maturityassesment.whatismaturity.title")]}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.whatismaturity.description")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-5 mb-12",children:We.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},className:"p-7 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all duration-500 group flex flex-col items-center text-center",children:[e.jsxs("div",{className:`w-14 h-14 roun
31ded-2xl bg-gradient-to-br ${s.gradient} flex items-center justify-center mb-5 shadow-lg relative group-hover:scale-110 transition-transform duration-300`,style:{boxShadow:`0 8px 20px -6px ${s.glowColor}50`},children:[e.jsx(s.icon,{className:"w-7 h-7 text-white relative z-10"}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${s.glowColor}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsx("h3",{className:"font-display text-base md:text-lg font-bold text-foreground leading-snug",children:t(`maturityassesment.whatismaturity.areas.${s.key}`)})]},s.key))}),e.jsx(o.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"p-8 rounded-2xl bg-primary/5 border border-primary/20 text-center",children:e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.whatismaturity.goal")})})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 md:mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-4 md:mb-6",children:t("maturityassesment.whyenterprises.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.whyenterprises.description")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-5 mb-12",children:Ue.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},className:"p-7 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all duration-500 group flex flex-col items-center text-center",children:[e.jsxs("div",{className:`w-14 h-14 rounded-2xl bg-gradient-to-br ${s.gradient} flex items-center justify-center mb-5 shadow-lg relative group-hover:scale-110 transition-transform duration-300`,style:{boxShadow:`0 8px 20px -6px ${s.glowColor}50`},children:[e.jsx(s.icon,{className:"w-7 h-7 text-white relative z-10"}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${s.glowColor}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsx("h3",{className:"font-body text-lg font-bold text-foreground transition-colors group-hover:text-primary",children:t(`maturityassesment.whyenterprises.painPoints.${s.key}`)})]},s.key))}),e.jsx(o.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-12 p-8 rounded-2xl bg-secondary/10 border border-border/40 text-center",children:e.jsxs("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:[t("maturityassesment.whyenterprises.conclusion")," ",e.jsx("span",{className:"text-primary font-medium",children:t("maturityassesment.whyenterprises.conclusionHighlight")})," ",t("maturityassesment.whyenterprises.conclusionEnd")]})})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 md:mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-4 md:mb-6",children:t("maturityassesment.howscale.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.howscale.description")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:Ze.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},whileHover:{y:-4},className:"p-8 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all duration-500 group",children:[e.jsxs("div",{className:`w-14 h-14 roun
31ded-2xl bg-gradient-to-br ${s.gradient} flex items-center justify-center mb-6 shadow-lg relative group-hover:scale-110 transition-transform duration-300`,style:{boxShadow:`0 8px 20px -6px ${s.glowColor}50`},children:[e.jsx(s.icon,{className:"w-7 h-7 text-white relative z-10"}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${s.glowColor}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsx("h3",{className:"font-display text-xl lg:text-2xl font-bold leading-snug text-foreground transition-colors group-hover:text-primary mb-3",children:t(`maturityassesment.howscale.helpers.${s.key}.title`)}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground transition-colors group-hover:text-foreground/80",children:t(`maturityassesment.howscale.helpers.${s.key}.desc`)})]},s.key))})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.evaluationDimensions.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.evaluationDimensions.description")})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{key:"reliabilityEngineering",gradient:"from-blue-500 to-cyan-400",glowColor:"#3b82f6"},{key:"observability",gradient:"from-purple-500 to-indigo-500",glowColor:"#a855f7"},{key:"chaosEngineering",gradient:"from-orange-500 to-amber-400",glowColor:"#f97316"}].map((s,r)=>{const m=t(`maturityassesment.evaluationDimensions.dimensions.${s.key}.items`,{returnObjects:!0});return e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.15},whileHover:{y:-8},className:"p-8 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all group relative overflow-hidden",children:[e.jsx("div",{className:`absolute top-0 left-0 w-full h-1.5 bg-gradient-to-r ${s.gradient}`}),e.jsx("h3",{className:"font-display text-lg lg:text-xl font-bold leading-snug text-foreground mb-6 transition-colors group-hover:text-primary",style:{color:s.glowColor},children:t(`maturityassesment.evaluationDimensions.dimensions.${s.key}.title`)}),e.jsx("ul",{className:"space-y-4",children:m.map(x=>e.jsxs("li",{className:"flex items-start gap-3 group-hover:translate-x-1 transition-transform duration-300",children:[e.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center shrink-0 mt-0.5 bg-gradient-to-br ${s.gradient} shadow-sm`,children:e.jsx(R,{className:"w-3 h-3 text-white"})}),e.jsx("span",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground group-hover:text-foreground transition-colors duration-300",children:x})]},x))})]},s.key)})})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.maturityscore.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.maturityscore.description")})]}),e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"p-8 md:p-12 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10",children:[e.jsx("div",{className:"space-y-6",children:Ye.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:r*.1},children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-body text-sm font-medium text-muted-foreground",children:t(s.name)}),e.jsxs("span",{className:"font-display text-xl lg:text-2xl font-bold text-primary",children:[s.value,"%"]})]}),e.jsx("div",{className:"w-full h-3 rounded-full bg-secondary/60 overflow-hidden",children:e.jsx(o.div,{className:"h-full rounded-full",style:{background:`linear-gradient(
32                                        90deg,
33                                        hsl(var(--primary)),
34                                        ${s.value>70?"#10b981":s.value>50?"#f59e0b":"#ef4444"}
35                                    )`},initial:{width:0},whileInView:{width:`${s.value}%`},viewport:{once:!0},transition:{duration:1.5,delay:r*.15,ease:"easeOut"}})})]},s.name))}),e.jsx("p",{className:"mt-8 font-body text-sm font-medium text-muted-foreground text-center italic",children:t("maturityassesment.maturityscore.sample")})]})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.maturityLevels.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.maturityLevels.description")})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute left-8 top-0 bottom-0 w-0.5 bg-gradient-to-b from-destructive via-yellow-500 to-primary hidden md:block"}),e.jsx("div",{className:"space-y-6",children:Je.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:r*.12},className:"flex gap-6 items-start relative group",children:[e.jsxs("div",{className:"hidden md:flex shrink-0 w-14 h-14 roun
35ded-xl items-center justify-center relative z-10 shadow-lg group-hover:scale-110 transition-transform duration-300 overflow-hidden",style:{background:`linear-gradient(135deg, ${s.color}, ${s.color}dd)`,boxShadow:`0 8px 24px -6px ${s.color}80`},children:[e.jsx("span",{className:"text-2xl font-display font-bold text-white relative z-10",children:s.level}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${s.color}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsxs(o.div,{whileHover:{x:10},className:"flex-1 p-6 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/30 transition-all cursor-default",style:{borderLeftColor:s.color,borderLeftWidth:"3px"},children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("span",{className:"md:hidden w-8 h-8 rounded-lg flex items-center justify-center text-sm font-bold text-white",style:{background:s.color},children:s.level}),e.jsx("h3",{className:"font-display text-lg lg:text-xl font-bold leading-snug text-foreground",children:t(`maturityassesment.maturityLevels.level${s.level}.name`)})]}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground",children:t(`maturityassesment.maturityLevels.level${s.level}.desc`)})]})]},s.level))}),e.jsxs(o.p,{initial:{opacity:0}
35,whileInView:{opacity:1},viewport:{once:!0},className:"mt-10 text-center font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground",children:[t("maturityassesment.maturityLevels.footer")," ",e.jsx("span",{className:"text-primary",children:t("maturityassesment.maturityLevels.footerHighlight1")})," ",t("maturityassesment.maturityLevels.footerMiddle")," ",e.jsx("span",{className:"text-primary font-medium",children:t("maturityassesment.maturityLevels.footerHighlight2")}),"."]})]})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.afterAssessment.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.afterAssessment.description")})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{title:t("maturityassesment.afterAssessment.steps.report.title"),desc:t("maturityassesment.afterAssessment.steps.report.desc")},{title:t("maturityassesment.afterAssessment.steps.roadmap.title"),desc:t("maturityassesment.afterAssessment.steps.roadmap.desc")},{title:t("maturityassesment.afterAssessment.steps.recommendations.title"),desc:t("maturityassesment.afterAssessment.steps.recommendations.desc")},{title:t("maturityassesment.afterAssessment.steps.implementation.title"),desc:t("maturityassesment.afterAssessment.steps.implementation.desc")}].map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},whileHover:{y:-8,scale:1.01},className:"p-8 rounded-2xl bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 group hover:border-primary/40 transition-all duration-500 cursor-default",children:[(()=>{const m=[{grad:"from-blue-500 to-indigo-500",glow:"#3b82f6"},{grad:"from-purple-500 to-pink-500",glow:"#a855f7"},{grad:"from-orange-500 to-amber-500",glow:"#f97316"},{grad:"from-emerald-500 to-teal-500",glow:"#10b981"}],{grad:x,glow:h}=m[r%m.length];return e.jsxs("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-br ${x} flex items-center justify-center mb-5 shadow-lg relative group-hover:scale-110 group-hover:rotate-6 transition-all duration-300`,style:{boxShadow:`0 8px 20px -6px ${h}50`},children:[e.jsx("span",{className:"text-lg font-display font-bold text-white relative z-10",children:r+1}),e.jsx(o.div,{className:"absolute inset-0 rounded-xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${h}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]})})(),e.jsx("h3",{className:"font-body text-xl font-bold text-foreground transition-colors group-hover:text-primary",children:s.title}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground transition-colors group-hover:text-foreground/80",children:s.desc})]},s.title))})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.whoshouldtake.title")})}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:w.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.08},whileHover:{y:-5,scale:1.01},className:"flex items-center gap-4 p-6 rounded-[24px] bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all duration-300 group cursor-default",children:[e.jsx("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-br ${s.gradient} flex items-center justify-center shrink-0 shadow-md group-hover:scale-110 transition-all duration-300`,children:e.jsx(s.icon,{className:"w-5 h-5 text-white"})}),e.jsx("span",{className:"font-display text-lg font-bold leading-snug text-muted-foreground group-hover:text-primary transition-colors",children:s.item})]},r))}),e.jsx(o.p,{initial:{opacity:0}
35,whileInView:{opacity:1},viewport:{once:!0},className:"mt-10 text-center font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground",children:t("maturityassesment.whoshouldtake.conclusion")})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.whyGuhaTek.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.whyGuhaTek.description")})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Ke.map((s,r)=>e.jsxs(o.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:r*.08},whileHover:{y:-4,scale:1.02},className:"flex items-center gap-3 p-6 rounded-[24px] bg-white/50 dark:bg-white/5 border border-border/50 dark:border-white/10 hover:border-primary/40 transition-all duration-300 group cursor-default",children:[e.jsx("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-br ${s.gradient} flex items-center justify-center shrink-0 shadow-md group-hover:scale-110 transition-all duration-300`,children:e.jsx(s.icon,{className:"w-5 h-5 text-white"})}),e.jsx("span",{className:"font-display text-lg font-bold leading-snug text-muted-foreground group-hover:text-primary transition-colors",children:t(`maturityassesment.whyGuhaTek.benefits.${s.key}`)})]},s.key))})]})}),e.jsx("section",{className:"relative py-24 px-6",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-6",children:t("maturityassesment.assessmentFlow.title")}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t("maturityassesment.assessmentFlow.description")})]}),e.jsx("div",{className:"grid md:grid-cols-4 gap-6",children:ue.map((s,r)=>{const m=[{grad:"from-blue-600 to-indigo-500",glow:"#3b82f6"},{grad:"from-purple-500 to-pink-500",glow:"#a855f7"},{grad:"from-orange-500 to-amber-500",glow:"#f97316"},{grad:"from-emerald-500 to-teal-500",glow:"#10b981"}],{grad:x,glow:h}=m[r%m.length];return e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.15},whileHover:{y:-8},className:"text-center relative group cursor-default",children:[e.jsxs("div",{className:`w-14 h-14 rounded-xl bg-gradient-to-br ${x} flex items-center justify-center mx-auto mb-6 shadow-lg relative group-hover:scale-110 group-hover:rotate-3 transition-all duration-500`,style:{boxShadow:`0 12px 24px -8px ${h}70`},children:[e.jsx("span",{className:"text-2xl font-display font-bold text-white relative z-10",children:s.step}),e.jsx(o.div,{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-500",style:{border:`2px solid ${h}`},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})]}),e.jsx("h3",{className:"font-body text-xl font-bold text-foreground mb-2 group-hover:text-primary transition-colors tracking-tight",children:t(`maturityassesment.assessmentFlow.steps.step${s.step}.title`)}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:t(`maturityassesment.assessmentFlow.steps.step${s.step}.description`)}),r<ue.length-1&&e.jsx(B,{className:"hidden md:block absolute -right-4 top-6 w-4 h-4 text-primary/40 group-hover:text-primary transition-colors rtl:rotate-180"})]},s.step)})}),e.jsxs("p",{className:"text-center font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground mt-12",children:[t("maturityassesment.assessmentFlow.completionTime")," ",e.jsx("span",{className:"text-primary font-medium",children:t("maturityassesment.assessmentFlow.minutes")})]})]})}),e.jsx("section",{className:"relative py-24 md:py-32 px-6",children:e.jsx("div",{className:"max-w-4xl mx-auto text-center",children:e.jsxs(o.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[e.jsxs("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-foreground mb-4 md:mb-6",children:[t("maturityassesment.finalCta.title")," ",e.jsx("span",{className:"bg-gradient-to-r from-primary to-purple-400 bg-clip-text text-transparent",children:t("maturityassesment.finalCta.highlight")})]}),e.jsx("p",{className:"font-body text-base md:text-lg lg:text-xl leading-relaxed text-muted-foreground max-w-3xl mx-auto mb-4",children:t("maturityassesment.finalCta.description")}),e.jsxs(o.button,{whileHover:{y:-4,scale:1.02},whileTap:{scale:.98},onClick:()=>c(!0),className:"btn btn-primary btn-md w-full sm:w-auto flex items-center justify-center whitespace-nowrap text-sm md:text-base px-3 sm:px-6 py-3 mx-auto",children:[e.jsx("span",{className:"truncate",children:t("maturityassesment.finalCta.button")}),e.jsx(B,{className:"w-4 h-4 sm:w-5 sm:h-5 ml-1.5 shrink-0 rtl:rotate-180"})]})]})})})]})]})};export{nt 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.