1import{a as fe,u as be,g as C,e as ge,A as ye,t as v,a9 as w,j as e,H as je,aa as ae,k as O,ab as Ne}from"./index-JhpHx-DK.js";import{k as ve,r as c}from"./react-vendor-CXY-VoH6.js";import{a5 as f,a0 as re,n as le,ab as d,b6 as we,a1 as P,I as ke,X as H,ae as Ce,C as Pe,T as Se,R as Ae}from"./ui-vendor-Dook0VI8.js";const ie="https://verifypass.com/auth/0194a65cc0",W="EI5xTsKE";function Te(){const{openAuthModal:y}=fe(),[r,b]=ve(),[n,G]=c.useState("annual"),[p,J]=c.useState(null),[V,Y]=c.useState(null),[F,q]=c.useState(null),[ne,S]=c.useState(!1),[T,Q]=c.useState(!1),[E,ce]=c.useState(!1),[u,A]=c.useState(null),[oe,I]=c.useState(!1),[de,z]=c.useState(!1),[k,xe]=c.useState(null),[M,g]=c.useState(null),[U,me]=c.useState({}),X=c.useRef(!1),{user:j,isLoading:D,getAuthToken:$,userId:x}=be();c.useEffect(()=>{const t=C();ge.track(ye.PRICING_PAGE_VIEWED,{userId:x,source:r.get("source")||"direct",billingCycle:n}),v.pricingModalShown({userId:x,sessionId:t})},[]),c.useEffect(()=>{if(!D)if(j){Q(!0);const t=j.customFields||{};(t.verifypass_verified===!0||t.verifypass_verified==="true")&&(J("verified"),Y(t.verifypass_group||"military"),q(t.verified_coupon_code||null))}else Q(!1)},[D,j]),c.useEffect(()=>{r.get("military")==="true"&&(p==="verified"?(S(!1),r.delete("military"),b(r,{replace:!0})):S(!0))},[r,p,b]),c.useEffect(()=>{const t=async s=>{if(s.origin.includes("verifypass.com")&&s.data.type==="verifypass:verified"){const{group:a,discount_code:l}=s.data;J("verified"),Y(a),q(l),S(!1),r.get("military")==="true"&&(r.delete("military"),b(r,{replace:!0}));const h=new Date().toISOString();try{const i=await $();if(i&&(await fetch("/api/user/update-profile",{method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json"},body:JSON.stringify({publicMetadata:{verifypass_verified:!0,verifypass_group:a,verifypass_verified_at:h,verified_coupon_code:l}})}),x))try{await fetch("/api/member/sync-verification",{method:"POST",headers:{"Content-Type":"application/json",...i&&{Authorization:`Bearer ${i}`}},body:JSON.stringify({memberId:x,verifypassVerified:!0,verifypassGroup:a,verifypassVerifiedAt:h,couponCode:l})})}catch{}}catch{}}};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},[$,x]),c.useEffect(()=>{const t=r.get("checkout")==="cancelled",s=r.get("tier");if(t){const a=C();v.checkoutAbandoned({userId:x,sessionId:a,tier:s||"unknown"}),s&&["plus","premium"].includes(s)&&(xe({tier:s,...{plus:{name:"Plus",price:n==="annual"?"$7.50/mo":"$9/mo"},premium:{name:"Premium",price:n==="annual"?"$12.42/mo":"$19/mo"}}[s]}),z(!0)),r.delete("checkout"),r.delete("tier"),b(r,{replace:!0})}},[r,b,x,n]),c.useEffect(()=>{if(r.get("autoTrial")==="true"&&!X.current&&!D&&(X.current=!0,r.delete("autoTrial"),b(r,{replace:!0}),j)){const s=C(),a=localStorage.getItem("cipher_assessment_data");if(a)try{const l=JSON.parse(a);v.assessmentCompleted({userId:x,sessionId:s,type:l.assessmentType||"unknown",results:{targetRole:l.signals?.tracker_paths||l.answers?.cyber_interest,hasExperience:l.signals?.tech_experience!=="beginner",militaryBackground:l.signals?.background_type==="military"}})}catch{}v.checkoutStarted({userId:x,sessionId:s,tier:"plus_trial",price:0,trialDays:14}),(async()=>{try{const l=await $();if(!l)return;const i={priceId:w.PLUS.price_monthly,trialDays:14,successUrl:window.location.origin+"/roadmap"+"?trial=activated",cancelUrl:window.location.origin+"/pricing?checkout=cancelled&tier=plus"};p==="verified"&&(i.couponId=F||W);const m=await fetch("/api/stripe/create-checkout",{method:"POST",headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/json"},body:JSON.stringify(i)});if(!m.ok)throw new Error("Checkout failed");const{checkoutUrl:N}=await m.json();window.location.href=N}catch{g({message:"Unable to start trial. Please try again.",tier:"plus"})}})()}},[r,b,D,j]);const _=()=>{const t=window.open(ie,"VerifyPass","width=475,height=700");if(!t||t.closed||typeof t.closed>"u"){I(!0);return}const s=setInterval(()=>{t.closed&&clearInterval(s)},500)},o={premium:{name:"Premium",description:"For power users who want everything",monthly:{price:19,verifiedPrice:15.2,exports:"unlimited",stripe_price_id:w.PREMIUM.price_monthly},annual:{price:149,verifiedPrice:119.2,exports:"unlimited",savings:79,verifiedSavings:109,stripe_price_id:w.PREMIUM.price_annual},features:["Everything in Plus, plus:","Unlimited resume exports (for high-volume applications)","200 daily Cipher sessions (unlimited strategy & mentor time)","Portfolio Builder (showcase projects & achievements)","Interview reinforcement (AI mock interviews + feedback)","Priority support from veteran mentors"],popular:!1,allowVerification:!0}
1,plus:{name:"Plus",description:"Most Popular - everything you need to break into cyber",monthly:{price:9,exports:10,stripe_price_id:w.PLUS.price_monthly},annual:{price:90,exports:10,savings:18,stripe_price_id:w.PLUS.price_annual},features:["10 resume exports/month (tailored for each job)","Unlimited job tracking & saved descriptions","Adaptive resume engine (auto-updates from badges & courses)","50 daily Cipher mentor sessions","Full community posting access","Voice input for Cipher"],popular:!0,allowVerification:!1},trial:{name:"14-DAY PREMIUM TRIAL",description:"Full Premium free for 14 days, then $9/mo Plus. Cancel anytime â we remind you 3 days before.",trial:{price:0,days:14,thenPrice:9,stripe_price_id:w.PLUS.price_monthly},features:["ð Full Premium access for 14 days:","Unlimited resume exports & AI optimization","Full Cipher AI mentor (200 msgs/day)","AI mock interviews + voice","Badge automation & skill tracking","Then $9/mo Plus â cancel anytime","$0 charged if you cancel before day 14"],popular:!1,allowVerification:!1}},Z=(t,s=n)=>{const h=o[t][s==="annual"?"annual":"monthly"].price;if(s==="annual"){const i=h/12,m=Math.round(i);return Math.abs(i-m)>.3?`~$${m}/mo`:`$${m}/mo`}return`$${h}/mo`},K=(t,s=n)=>{const a=o[t],l=a[s==="annual"?"annual":"monthly"];return p==="verified"&&a.allowVerification&&l.verifiedPrice?l.verifiedPrice:l.price},pe=t=>{const s=o[t];return n==="annual"?`$${s.annual.price}/yr`:`$${s.monthly.price}/mo`},ee=t=>{if(n!=="annual")return null;const s=o[t],a=s.annual;return p==="verified"&&s.allowVerification&&a.verifiedSavings?a.verifiedSavings:a.savings},R=async t=>{const s=o[t],a=t==="bypass"?"oneTime":n==="annual"?"annual":"monthly",l=s[a],h=C();if(v.pricingTierSelected({userId:x,sessionId:h,tier:t,price:K(t,a)}),window.location.pathname==="/pricing-welcome"&&Ne.tierSelected({userId:x,tier:"free",selectedTier:t,purchased:!1}),!j){y("/pricing","signup","Create your account to select a plan");return}A(t);try{const i=await $();if(!i){y("/pricing","signup","Create your account to select a plan");return}const m=C();v.checkoutStarted({userId:x,sessionId:m,tier:t,price:K(t,a)});const N=l.stripe_price_id;if(!N){alert("This plan is not yet available for purchase. Please contact [email protected]");return}const te=r.get("return")||"/roadmap",ue=te.includes("?")?"&":"?",se={priceId:N,successUrl:window.location.origin+te+ue+"upgrade=success",cancelUrl:window.location.origin+`/pricing?checkout=cancelled&tier=${t}`};if((a==="monthly"||a==="annual")&&p==="verified"&&s.allowVerification){const L=F||W;se.couponId=L}const B=await fetch("/api/stripe/create-checkout",{method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json"},body:JSON.stringify(se)});if(!B.ok){const L=await B.json();throw new Error(L.error||"Checkout failed")}const{checkoutUrl:he}=await B.json();window.location.href=he}catch(i){A(null);const m=i.message?.includes("401")||i.message?.includes("auth")?"Your session has expired. Please log in again to continue.":i.message?.includes("network")||i.message?.includes("fetch")?"Network error. Please check your connection and try again.":"Unable to start checkout. This might be a temporary issue.";g({message:m,tier:t})}};return e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-4 sm:py-6",children:[e.jsx(je,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"Cyber Wingman",applicationCategory:"EducationalApplication",operatingSystem:"Web",url:"https://cyberwingman.ai/pricing",offers:[{"@type":"Offer",name:"Free",price:"0",priceCurrency:"USD",description:"Career roadmap, badge tracking, Cipher AI Lite (10 msgs/day), 3 resume exports/month"},{"@type":"Offer",name:"Plus",price:"9",priceCurrency:"USD",billingDuration:"P1M",description:"Full Cipher AI (50 msgs/day), 10 resume exports/month, voice transcription"},{"@type":"Offer",name:"Premium",price:"19",priceCurrency:"USD",billingDuration:"P1M",description:"Unlimited exports, 200 msgs/day, AI interview prep, priority support",priceValidUntil:"2027-12-31"}]})})}),ne&&p!=="verified"&&e.jsxs("div",{className:"mb-6 bg-gradient-to-r from-green-900/50 to-emerald-900/40 border-2 border-green-500/50 rounded-xl shadow-lg shadow-green-500/10 overflow-hidden",children:[e.jsxs("button",{onClick:()=>ce(!E),className:"sm:hidden w-full p-4 flex items-center justify-between text-left","aria-expanded":E,"aria-controls":"military-banner-content",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center flex-shrink-0",children:e.jsx(f,{size:20,className:"text-green-400"})}),e.jsxs("div",{children:[e.jsx("span",{className:"text-white font-bold text-sm",children:"ðï¸ Military Discount Available"}),e.jsx("span",{className:"block text-xs text-green-400",children:"Exclusive discount â Tap to expand"})]})]}),E?e.jsx(re,{size:20,className:"text-slate-400"}):e.jsx(le,{size:20,className:"text-slate-400"})]}),e.jsx("div",{id:"military-banner-content",className:`sm:hidden overflow-hidden transition-all duration-300 ${E?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:e.jsxs("div",{className:"px-4 pb-4 pt-0",children:[e.jsx("p",{className:"text-slate-300 text-sm mb-3",children:T?"Verify your military status through VerifyPass to unlock your exclusive discount.":"Log in or create an account, then verify your military status to unlock your exclusive discount."}),e.jsxs("div",{className:"flex flex-wrap gap-2 text-xs text-slate-400 mb-4",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," Military & Veterans"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," First Responders"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," Takes 30 seconds"]})]}),T?e.jsxs("button",{onClick:_,className:"w-full px-4 py-3 rounded-lg bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400 text-white font-bold text-sm transition-all flex items-center justify-center gap-2",children:[e.jsx(f,{size:16}),"Verify Now â"]}):e.jsx("button",{onClick:()=>y("/pricing?military=true","signup","Sign up to verify your military discount"),className:"w-full px-4 py-3 rounded-lg bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white font-bold text-sm transition-all",children:"Log In to Verify â"}),e.jsx("button",{onClick:()=>{S(!1),r.delete("military"),b(r,{replace:!0})},className:"w-full text-slate-400 hover:text-white text-xs transition-colors mt-2 text-center",children:"Skip for now â I'll verify later"})]})}),e.jsx("div",{className:"hidden sm:block p-5",children:e.jsxs("div",{className:"flex flex-row items-center gap-4",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/20 flex items-center justify-center",children:e.jsx(f,{size:32,className:"text-green-400"})})}),e.jsxs("div",{className:"flex-1 text-left",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-1",children:"ðï¸ Claim Your Military Discount"}),e.jsx("p",{className:"text-slate-300 text-sm mb-2",children:T?"Verify your military status through VerifyPass to unlock your exclusive discount.":"Log in or create an account, then verify your military status to unlock your exclusive discount."}),e.jsxs("div",{className:"flex flex-wrap gap-3 text-xs text-slate-400",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," Military & Veterans"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," First Responders"]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(d,{size:12,className:"text-green-400"})," Takes 30 seconds"]})]})]}),e.jsxs("div",{className:"flex-shrink-0 flex flex-col gap-2 items-end",children:[T?e.jsxs("button",{onClick:_,className:"px-6 py-3 rounded-lg bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400 text-white font-bold text-sm transition-all shadow-lg flex items-center gap-2",children:[e.jsx(f,{size:16}),"Verify Now â"]}):e.jsx("button",{onClick:()=>y("/pricing?military=true","signup","Sign up to verify your military discount"),className:"px-6 py-3 rounded-lg bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white font-bold text-sm transition-all shadow-lg",children:"Log In to Verify â"}),e.jsx("button",{onClick:()=>{S(!1),r.delete("military"),b(r,{replace:!0})},className:"text-slate-400 hover:text-white text-xs transition-colors",children:"Skip for now â I'll verify later"})]})]})})]}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 lg:gap-8 items-start",children:[e.jsx("div",{className:"w-full lg:w-64 lg:flex-shrink-0",children:e.jsxs("div",{className:"text-center lg:text-left",children:[e.jsx("h2",{className:"font-display text-xl sm:text-2xl font-bold text-white mb-2 sm:mb-3 tracking-tight",children:"Your Next Mission: Cyber Career Ready"}),e.jsx("p",{className:"text-xs sm:text-sm text-slate-300 mb-4 sm:mb-6",children:"Every service member who's made the transition had a moment when they stopped preparing and started executing. This is yours."}),p==="verified"&&e.jsxs("div",{className:"flex items-center justify-center lg:justify-start gap-2 bg-green-500/20 border border-green-500/30 text-green-400 px-3 py-2 rounded-lg text-xs font-medium mb-4",children:[e.jsx(f,{size:12}),e.jsxs("span",{children:[V==="military"?"Military":V==="first-responder"?"First Responder":V==="teacher"?"Teacher":"Student"," Verified - Discount Applied"]})]}),e.jsx("div",{className:"flex justify-center lg:justify-start mb-6",children:e.jsxs("div",{className:"flex flex-col items-center lg:items-start gap-1.5",children:[e.jsx("span",{className:"bg-gradient-to-r from-green-500 to-emerald-500 text-white text-xs px-2 py-0.5 rounded-full shadow-md font-bold whitespace-nowrap",children:"Save up to $79/yr with Annual"}),e.jsxs("div",{className:"relative inline-flex bg-slate-800/60 rounded-lg p-0.5 border border-slate-700/50",children:[e.jsx("button",{onClick:()=>G("monthly"),className:`px-4 py-1.5 rounded-md text-xs font-medium transition-colors ${n==="monthly"?"bg-cyan-600 text-white":"text-slate-300 hover:text-white"}`,children:"Monthly"}),e.jsx("button",{onClick:()=>G("annual"),className:`px-4 py-1.5 rounded-md text-xs font-medium transition-colors ${n==="annual"?"bg-cyan-600 text-white":"text-slate-300 hover:text-white"}`,children:"Annual"})]})]})}),e.jsxs("div",{className:"flex flex-wrap gap-x-4 gap-y-1 lg:flex-col lg:gap-x-0 lg:gap-y-2 text-xs text-slate-400",children:[e.jsx("span",{children:"â
Veteran-built & operated"}),e.jsx("span",{children:"ð Secure checkout"}),e.jsx("span",{children:"Cancel anytime"})]})]})}),e.jsxs("div",{className:"flex-1 w-full",children:[e.jsx("div",{className:"grid grid-cols-3 gap-3 mb-6",children:[{label:"Free Account",desc:"Roadmap, 10 AI messages/day, 3 exports/mo",color:"slate"},{label:"14-Day Trial",desc:"Full Plus access, $0 today. Cancel anytime.",color:"green"},{label:"After Trial",desc:"Keep Plus ($9/mo), upgrade to Premium, or stay free.",color:"cyan"}].map((t,s)=>e.jsxs("div",{className:`text-center p-3 rounded-lg border ${t.color==="green"?"bg-green-500/5 border-green-500/20":t.color==="cyan"?"bg-cyan-500/5 border-cyan-500/20":"bg-slate-800/30 border-slate-700/30"}`,children:[e.jsx("div",{className:`text-xs font-bold mb-1 ${t.color==="green"?"text-green-400":t.color==="cyan"?"text-cyan-400":"text-slate-300"}`,children:t.label}),e.jsx("p",{className:"text-xs text-slate-400 leading-tight",children:t.desc})]},s))}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-5",children:[e.jsxs("div",{className:"relative bg-gradient-to-b from-black/70 to-black/50 backdrop-blur border-2 border-cyan-400 rounded-lg p-4 flex flex-col ring-2 ring-cyan-400/50 md:transform md:scale-105",style:{boxShadow:"0 0 0 1px #22d3ee, 0 20px 40px rgba(34, 211, 238, 0.3), 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05)"},children:[e.jsx("div",{className:"absolute -top-2 left-1/2 transform -translate-x-1/2",children:e.jsxs("div",{className:"bg-cyan-400 text-slate-900 px-4 py-1 rounded-full text-xs font-bold flex items-center gap-1 shadow-lg",children:[e.jsx(we,{size:12,fill:"currentColor"}),"Most Popular"]})}),e.jsxs("div",{className:"text-center mb-3 mt-2",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(ae,{tier:"plus",size:"sm",showBadge:!0,topPaddingClass:"pt-0"}),e.jsx("h3",{className:"text-lg font-bold text-white mt-1 mb-1",children:o.plus.name})]}),e.jsx("p",{className:"text-slate-300 text-sm font-medium",children:o.plus.description})]}),e.jsxs("div",{className:"text-center mb-2",children:[e.jsx("div",{className:"flex items-center justify-center",children:e.jsx("div",{className:"text-2xl font-bold text-cyan-300 transition-all duration-300",children:Z("plus")})}),e.jsx("div",{className:"min-h-[52px] flex flex-col justify-center",children:n==="annual"?e.jsxs("div",{className:"text-slate-400 text-xs",children:["$",o.plus.annual.price,"/year billed once",e.jsxs("div",{className:"text-green-400 font-bold mt-0.5 flex items-center justify-center gap-1",children:[e.jsx(P,{size:10,fill:"currentColor"}),"Save $",ee("plus")," vs monthly"]}),e.jsxs("div",{className:"text-cyan-300 text-xs mt-0.5",children:["= $",(o.plus.annual.price/12).toFixed(2),"/mo (",Math.round(12-o.plus.annual.price/o.plus.monthly.price)," months FREE)"]})]}):e.jsx("div",{className:"text-slate-400 text-xs",children:"Billed monthly ⢠Cancel anytime"})})]}),e.jsxs("div",{className:"bg-green-500/10 border border-green-500/30 rounded-lg p-2 mb-2 text-center",children:[e.jsx("span",{className:"text-green-400 font-bold text-lg",children:"$0 today"}),e.jsx("span",{className:"text-slate-400 text-xs ml-2",children:"then $9/mo after 14 days (monthly billing)"})]}),e.jsx("button",{onClick:async()=>
1{if(!j){y("/pricing?autoTrial=true","signup","Sign up to start your 14-day free trial");return}A("plus");try{const t=await $();if(!t){A(null),y("/pricing?autoTrial=true","signup","Sign up to start your 14-day free trial");return}const s=C();v.checkoutStarted({userId:x,sessionId:s,tier:"plus_trial",price:0,trialDays:14});const a=r.get("return")||"/roadmap",l=a.includes("?")?"&":"?",h={priceId:w.PLUS.price_monthly,trialDays:14,successUrl:window.location.origin+a+l+"trial=activated",cancelUrl:window.location.origin+"/pricing?checkout=cancelled&tier=plus"};p==="verified"&&(h.couponId=F||W);const i=await fetch("/api/stripe/create-checkout",{method:"POST",headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json"},body:JSON.stringify(h)});if(!i.ok){const N=await i.json();throw new Error(N.error||"Checkout failed")}const{checkoutUrl:m}=await i.json();window.location.href=m}catch{A(null),g({message:"Unable to start trial. Please try again.",tier:"plus"})}},disabled:u!==null,className:`w-full py-3.5 rounded-lg font-bold text-sm transition-all text-white mb-3 ${u==="plus"?"bg-slate-600 cursor-wait":u!==null?"bg-slate-700 cursor-not-allowed opacity-50":"bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500"}`,children:u==="plus"?e.jsxs("span",{className:"flex items-center justify-center gap-2",children:[e.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Redirecting to checkout..."]}):"Start 14-Day Free Trial â"}),e.jsx("ul",{className:"space-y-1.5 mb-3 flex-grow",children:o.plus.features.map((t,s)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(d,{className:"text-cyan-400 flex-shrink-0 mt-0.5",size:14}),e.jsx("span",{className:"text-slate-200 text-sm font-medium",children:t})]},s))}),e.jsx("div",{className:"bg-slate-800/30 border border-slate-700/30 rounded-lg p-2.5 mb-3 text-xs text-slate-300 italic",children:'"Perfect for: Building consistent progress, applying regularly, and leveling up between interviews."'}),e.jsx("p",{className:"text-xs text-slate-400 text-center",children:"Secure checkout via Stripe ⢠Cancel anytime"})]}),e.jsxs("div",{className:"relative bg-gradient-to-b from-black/50 to-black/30 backdrop-blur border border-white/10 rounded-lg p-4 flex flex-col",style:{boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03)"},children:[e.jsxs("div",{className:"text-center mb-3",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(ae,{tier:"premium",size:"sm",showBadge:!0,topPaddingClass:"pt-0"}),e.jsx("h3",{className:"text-lg font-bold text-white mt-1 mb-1",children:o.premium.name})]}),e.jsx("p",{className:"text-slate-400 text-sm",children:o.premium.description})]}),e.jsxs("div",{className:"text-center mb-2",children:[e.jsx("div",{className:"flex items-center justify-center",children:e.jsx("div",{className:"text-2xl font-bold text-white transition-all duration-300",children:Z("premium")})}),e.jsx("div",{className:"min-h-[52px] flex flex-col justify-center",children:n==="annual"?e.jsxs("div",{className:"text-slate-400 text-xs",children:["$",o.premium.annual.price,"/year billed once",e.jsxs("div",{className:"text-green-400 font-bold mt-0.5 flex items-center justify-center gap-1",children:[e.jsx(P,{size:10,fill:"currentColor"}),"Save $",ee("premium")," vs monthly"]}),e.jsxs("div",{className:"text-white text-xs mt-0.5",children:["= $",(o.premium.annual.price/12).toFixed(2),"/mo (",Math.round(12-o.premium.annual.price/o.premium.monthly.price)," months FREE)"]})]}):e.jsx("div",{className:"text-slate-400 text-xs",children:"Billed monthly ⢠Cancel anytime"})})]}),e.jsx("button",{onClick:()=>R("premium"),disabled:u!==null,className:`w-full py-3.5 rounded-lg font-bold text-sm transition-all text-white mt-2 mb-3 ${u==="premium"?"bg-slate-600 cursor-wait":u!==null?"bg-slate-700 cursor-not-allowed opacity-50":"bg-gradient-to-r from-purple-800 to-purple-900 hover:from-purple-700 hover:to-purple-800"}`,children:u==="premium"?e.jsxs("span",{className:"flex items-center justify-center gap-2",children:[e.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Redirecting to checkout..."]}):`Upgrade to Premium (${pe("premium")}) â`}),e.jsx("ul",{className:"space-y-1.5 mb-3 flex-grow",children:o.premium.features.map((t,s)=>e.jsx("li",{className:"flex items-start gap-2",children:s===0?e.jsxs(e.Fragment,{children:[e.jsx(P,{className:"text-yellow-400 flex-shrink-0 mt-0.5",size:14}),e.jsx("span",{className:"text-yellow-400 text-sm font-bold",children:t})]}):e.jsxs(e.Fragment,{children:[e.jsx(d,{className:"text-slate-400 flex-shrink-0 mt-0.5",size:14}),e.jsx("span",{className:"text-slate-300 text-sm",children:t})]})},s))}),e.jsx("div",{className:"bg-slate-800/30 border border-slate-700/30 rounded-lg p-2.5 mb-3 text-xs text-slate-300 italic",children:'"Best for: Power users who want unlimited exports and maximum AI access."'}),n==="monthly"&&p!=="verified"&&e.jsxs("div",{className:"bg-gradient-to-r from-green-900/40 to-emerald-900/30 border border-green-500/40 rounded-lg p-3 mb-3",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[e.jsx(f,{size:16,className:"text-green-400"}),e.jsx("span",{className:"text-sm text-green-300 font-bold",children:"Discount for Heroes"})]}),e.jsx("div",{className:"text-xs text-slate-300 text-center mb-2",children:"Military ⢠First Responder ⢠Student ⢠Teacher ⢠Healthcare"}),e.jsxs("button",{onClick:_,className:"w-full py-2.5 rounded-lg bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400 text-white text-sm font-bold transition-all flex items-center justify-center gap-2 shadow-lg shadow-green-500/20",children:[e.jsx(f,{size:14}),"Verify & Get Discount"]})]}),e.jsx("p",{className:"text-xs text-slate-400 text-center",children:"Secure checkout via Stripe ⢠Cancel anytime"})]})]}),p!=="verified"&&e.jsx("div",{className:"mt-4",children:e.jsx("div",{className:"bg-gradient-to-r from-green-900/40 to-emerald-900/30 border-2 border-green-500/40 rounded-lg p-4",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3",children:[e.jsxs("div",{className:"text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2 text-green-400 font-bold mb-1",children:[e.jsx(f,{size:16}),"Military, First Responder, Student, or Teacher?"]}),e.jsxs("div",{className:"text-slate-300 text-xs",children:["Verify once â ",e.jsx("strong",{className:"text-green-300",children:"exclusive discount"})," on any paid plan"]})]}),e.jsxs("button",{onClick:_,className:"flex-shrink-0 px-4 py-2 rounded-lg bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400 text-white text-sm font-bold transition-all flex items-center justify-center gap-1.5",children:[e.jsx(f,{size:14}),"Get Your Discount"]})]})})}),e.jsx("div",{className:"mt-6 bg-slate-900/50 border border-slate-700/50 rounded-lg p-4",children:e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-base font-bold text-white mb-2",children:"ðï¸ Veteran-built. Mission-driven."}),e.jsx("p",{className:"text-sm text-slate-300 mb-3",children:"Cyber Wingman exists so no one has to navigate the cyber transition alone."}),e.jsxs("p",{className:"text-sm text-cyan-300 mb-3",children:[e.jsx("strong",{children:"Veterans and spouses across the country"})," are already using Cyber Wingman to turn their experience into cyber roles. Your mission's next."]}),e.jsxs("p",{className:"text-sm text-slate-400 mb-4",children:[e.jsx("strong",{className:"text-white",children:"Momentum matters."})," The members who keep moving each week are the ones landing interviews fastest. Most upgrade when they hit their first milestone: finishing their assessment or building their first tailored resume."]}),e.jsxs("div",{className:"bg-cyan-900/20 border border-cyan-500/30 rounded-lg p-3 text-sm text-cyan-200",children:[e.jsx("strong",{className:"text-cyan-300",children:"Every week, more transitioning service members take the next step."}),e.jsx("div",{className:"text-slate-300 mt-1",children:"Stay in formation. Don't stall your momentum."})]})]})}),e.jsxs("div",{className:"mt-6 md:hidden bg-slate-800/30 border border-slate-700/30 rounded-lg p-4",children:[e.jsx("h4",{className:"text-lg font-bold text-white mb-4 text-center",children:"ð Compare All Features"}),[{id:"resume",title:"Resume & Career Tools",color:"cyan",features:[{name:"PDF exp
1orts/month",free:"3",plus:"10",premium:"Unlimited"},{name:"Resume builder (all formats)",free:"â",plus:"â",premium:"â"},{name:"Federal resume (USAJobs)",free:"â",plus:"â",premium:"â"},{name:"AI resume optimization",free:"â",plus:"â",premium:"â"},{name:"Cover letter generator",free:"3/mo",plus:"10/mo",premium:"Unlimited"},{name:"Content library (saved bullets)",free:"â",plus:"â",premium:"â"},{name:"Job tracking & saved jobs",free:"â",plus:"â",premium:"â"},{name:"AI job fit scoring",free:"â",plus:"â",premium:"â"}]},{id:"cipher",title:"Cipher AI Mentor",color:"cyan",features:[{name:"Daily AI messages",free:"10",plus:"50",premium:"200"},{name:"Voice input",free:"Browser only",plus:"â",premium:"â"}]},{id:"learning",title:"Learning & Progress",color:"cyan",features:[{name:"Career roadmap",free:"Static",plus:"Adaptive",premium:"Adaptive"},{name:"Badge automation (THM/HTB/Credly)",free:"â",plus:"â",premium:"â"},{name:"Trophy room & badge showcase",free:"â",plus:"â",premium:"â"}]},{id:"premium",title:"Premium Exclusive",color:"purple",features:[{name:"AI mock interviews",free:"â",plus:"â",premium:"â"},{name:"Portfolio builder & export",free:"â",plus:"â",premium:"â"},{name:"LinkedIn optimization",free:"â",plus:"â",premium:"â"},{name:"LinkedIn post generator",free:"â",plus:"â",premium:"â"},{name:"Priority veteran mentor support",free:"â",plus:"â",premium:"â"}]}].map(t=>e.jsxs("div",{className:"border-b border-slate-700/50 last:border-b-0",children:[e.jsxs("button",{onClick:()=>me(s=>({...s,[t.id]:!s[t.id]})),className:`w-full flex items-center justify-between py-3 px-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400 focus-visible:ring-inset rounded ${t.color==="purple"?"bg-purple-900/20":"bg-slate-700/20"}`,"aria-expanded":U[t.id]||!1,"aria-controls":`category-${t.id}`,children:[e.jsx("span",{className:`text-xs font-bold uppercase tracking-wide ${t.color==="purple"?"text-purple-400":"text-cyan-400"}`,children:t.title}),U[t.id]?e.jsx(re,{size:16,className:"text-slate-400"}):e.jsx(le,{size:16,className:"text-slate-400"})]}),U[t.id]&&e.jsx("div",{id:`category-${t.id}`,className:"pb-3",children:t.features.map((s,a)=>e.jsxs("div",{className:"py-2 px-2 border-b border-slate-800/50 last:border-b-0",children:[e.jsx("div",{className:"text-sm text-slate-300 font-medium mb-2",children:s.name}),e.jsxs("div",{className:"grid grid-cols-3 gap-2 text-xs",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-slate-500 mb-0.5",children:"Free"}),e.jsx("div",{className:s.free==="â"?"text-slate-600":"text-white",children:s.free})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-cyan-400 mb-0.5",children:"Plus"}),e.jsx("div",{className:s.plus==="â"?"text-slate-600":"text-white font-medium",children:s.plus})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-purple-400 mb-0.5",children:"Premium"}),e.jsx("div",{className:s.premium==="â"?"text-slate-600":"text-green-400 font-bold",children:s.premium})]})]})]},a))})]},t.id)),e.jsx("div",{className:"mt-4 pt-3 border-t border-slate-700/50 text-center text-xs text-slate-400",children:"All tiers include: community hub, GI Bill tools, certification guide, milestone tracking"})]}),e.jsxs("div",{className:"mt-6 hidden md:block bg-slate-800/30 border border-slate-700/30 rounded-lg p-4 overflow-x-auto",children:[e.jsx("h4",{id:"comparison-table-heading",className:"text-lg font-bold text-white mb-4 text-center",children:"ð Compare All Features"}),e.jsxs("table",{className:"w-full text-sm","aria-labelledby":"comparison-table-heading",children:[e.jsxs("caption",{className:"sr-only",children:["Feature comparison between Free, Plus (",n==="annual"?"$90/year":"$9/month","), and Premium (",n==="annual"?"$149/year":"$19/month",") plans. Checkmarks indicate feature availability. Dashes indicate unavailable features."]}),e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-slate-700",children:[e.jsx("th",{scope:"col",className:"text-left py-3 px-2 text-slate-400 font-medium",children:"Feature"}),e.jsxs("th",{scope:"col",className:"text-center py-3 px-2 min-w-[80px]","aria-label":"Free tier (after trial)",children:[e.jsx("div",{className:"text-slate-400 font-medium",children:"Free"}),e.jsx("div",{className:"text-slate-500 text-xs",children:"(after trial)"})]}),e.jsxs("th",{scope:"col",className:"text-center py-3 px-2 min-w-[80px]","aria-label":`Plus tier, ${n==="annual"?"$90 per year":"$9 per month"}`,children:[e.jsx("div",{className:"text-cyan-400 font-bold",children:"Plus"}),e.jsx("div",{className:"text-cyan-300 text-xs",children:n==="annual"?"$90/yr":"$9/mo"})]}),e.jsxs("th",{scope:"col",className:"text-center py-3 px-2 min-w-[80px]","aria-label":`Premium tier, ${n==="annual"?"$149 per year":"$19 per month"}`,children:[e.jsx("div",{className:"text-purple-400 font-bold",children:"Premium"}),e.jsx("div",{className:"text-purple-300 text-xs",children:n==="annual"?"$149/yr":"$19/mo"})]})]})}),e.jsxs("tbody",{className:"divide-y divide-slate-700/50",children:[e.jsx("tr",{className:"bg-slate-700/20",children:e.jsx("th",{scope:"colgroup",colSpan:4,className:"py-2 px-2 text-xs font-bold text-cyan-400 uppercase tracking-wide text-left",children:"Resume & Career Tools"})}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"PDF exp
1orts/month"}),e.jsx("td",{className:"py-2 px-2 text-center text-white",children:"3"}),e.jsx("td",{className:"py-2 px-2 text-center text-white font-medium",children:"10"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold",children:"Unlimited"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Resume builder (all formats)"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Federal resume (USAJobs)"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"AI resume optimization"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Cover letter generator"}),e.jsx("td",{className:"py-2 px-2 text-center text-cyan-400",children:"3/mo"}),e.jsx("td",{className:"py-2 px-2 text-center text-white",children:"10/mo"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400",children:"Unlimited"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Content library (saved bullets)"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Job tracking & saved jobs"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"AI job fit scoring"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsx("tr",{className:"bg-slate-700/20",children:e.jsx("th",{scope:"colgroup",colSpan:4,className:"py-2 px-2 text-xs font-bold text-cyan-400 uppercase tracking-wide text-left",children:"Cipher AI Mentor"})}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Daily AI messages"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500",children:"10"}),e.jsx("td",{className:"py-2 px-2 text-center text-white font-medium",children:"50"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold",children:"200"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Voice input"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500",children:"Browser only"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsx("tr",{className:"bg-slate-700/20",children:e.jsx("th",{scope:"colgroup",colSpan:4,className:"py-2 px-2 text-xs font-bold text-cyan-400 uppercase tracking-wide text-left",children:"Learning & Progress"})}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Career roadmap"}),e.jsx("td",{className:"py-2 px-2 text-center text-white",children:"Static"}),e.jsx("td",{className:"py-2 px-2 text-center text-white",children:"Adaptive"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400",children:"Adaptive"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Badge automation (THM/HTB/Credly)"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Trophy room & badge showcase"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-white","aria-label":"Available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400","aria-label":"Available",children:"â"})]}),e.jsx("tr",{className:"bg-purple-900/20",children:e.jsx("th",{scope:"colgroup",colSpan:4,className:"py-2 px-2 text-xs font-bold text-purple-400 uppercase tracking-wide text-left",children:"Premium Exclusive"})}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"AI mock interviews"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Portfolio builder & export"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"LinkedIn optimization"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"LinkedIn post generator"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold","aria-label":"Available",children:"â"})]}),e.jsxs("tr",{children:[e.jsx("th",{scope:"row",className:"py-2 px-2 text-slate-300 font-normal text-left",children:"Priority veteran mentor support"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-slate-500","aria-label":"Not available",children:"â"}),e.jsx("td",{className:"py-2 px-2 text-center text-green-400 font-bold","aria-label":"Available",children:"â"})]})]})]}),e.jsx("div",{className:"mt-4 pt-3 border-t border-slate-700/50 text-center text-sm text-slate-400",children:"All tiers include: community hub, GI Bill tools, certification guide, CPE tracking, milestone tracking"}),e.jsxs("div",{className:"mt-2 text-center text-sm text-slate-400",children:["Questions? ",e.jsx("a",{href:"mailto:[email protected]",className:"text-cyan-400 hover:text-cyan-300 underline",children:"[email protected]"})," â We're all veterans, we get it."]})]}),e.jsxs("div",{className:"mt-6 bg-gradient-to-r from-purple-900/30 to-indigo-900/30 border-2 border-purple-500/40 rounded-lg p-4 relative overflow-hidden",children:[e.jsx("div",{className:"absolute -top-1 -right-1 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-xs font-bold px-3 py-1 rounded-bl-lg",children:"COMING SOON"}),e.jsxs("div",{className:"text-center mb-4",children:[e.jsxs("h4",{className:"text-lg font-bold text-white mb-2 flex items-center justify-center gap-2",children:[e.jsx(P,{className:"text-purple-400",size:20}),"Level Up: ProvePoint Integration",e.jsx(P,{className:"text-purple-400",size:20})]}),e.jsx("p",{className:"text-sm text-slate-300",children:"Combine career strategy with hands-on cyber skills practice"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"bg-black/30 border border-purple-500/30 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("h5",{className:"text-sm font-bold text-purple-300",children:"Career Accelerator"}),e.jsxs("span",{className:"text-lg font-bold text-white",children:["$27",e.jsx("span",{className:"text-xs text-slate-400",children:"/mo"})]})]}),e.jsx("p",{className:"text-xs text-slate-400 mb-2",children:"CW Premium + ProvePoint Hero"}),e.jsxs("ul",{className:"space-y-1 text-xs text-slate-300",children:[e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-purple-400",size:12}),"Everything in Premium"]}),e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-purple-400",size:12}),"Hands-on cyber drills & labs"]}),e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-purple-400",size:12}),"Technical interview prep"]})]}),e.jsx("div",{className:"mt-2 text-xs text-green-400 font-medium",children:"Save $7/mo vs. separate ($19 + $15)"})]}),e.jsxs("div",{className:"bg-black/30 border border-pink-500/30 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("h5",{className:"text-sm font-bold text-pink-300",children:"Complete Career Kit"}),e.jsxs("span",{className:"text-lg font-bold text-white",children:["$39",e.jsx("span",{className:"text-xs text-slate-400",children:"/mo"})]})]}),e.jsx("p",{className:"text-xs text-slate-400 mb-2",children:"CW Premium + ProvePoint Hero + Coaching"}),e.jsxs("ul",{className:"space-y-1 text-xs text-slate-300",children:[e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-pink-400",size:12}),"Everything in Career Accelerator"]}),e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-pink-400",size:12}
1),"Monthly 1:1 coaching call (30 min)"]}),e.jsxs("li",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"text-pink-400",size:12}),"Direct calendar access to Kevin"]})]}),e.jsx("div",{className:"mt-2 text-xs text-green-400 font-medium",children:"$12/mo for personal coaching"})]})]}),e.jsxs("div",{className:"mt-4 text-center",children:[e.jsx("p",{className:"text-xs text-slate-400 mb-2",children:"Want to be notified when bundles launch?"}),e.jsxs("a",{href:"mailto:[email protected]?subject=Notify me about ProvePoint bundles",className:"inline-flex items-center gap-2 px-4 py-2 bg-purple-600/30 hover:bg-purple-600/50 border border-purple-500/50 rounded-lg text-sm text-purple-300 hover:text-white transition-all",children:[e.jsx(ke,{size:14}),"Get Early Access"]})]})]}),e.jsxs("div",{className:"lg:hidden mt-6 flex flex-wrap items-center justify-center gap-x-6 gap-y-2 text-slate-400 text-xs",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{size:12,className:"text-green-400"}),e.jsx("span",{children:"Veteran-Owned"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{size:12,className:"text-green-400"}),e.jsx("span",{children:"Secure Payment"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(d,{size:12,className:"text-green-400"}),e.jsx("span",{children:"Cancel Anytime"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(f,{size:12,className:"text-green-400"}),e.jsx("span",{children:"Military Discounts"})]})]})]})]}),oe&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-md p-4",role:"dialog","aria-modal":"true","aria-labelledby":"popup-fallback-title",onKeyDown:t=>{t.key==="Escape"&&I(!1)},children:e.jsx(O,{children:e.jsxs("div",{className:"bg-slate-900 border border-cyan-500/30 rounded-2xl p-6 max-w-md w-full shadow-2xl shadow-cyan-500/20",children:[e.jsxs("div",{className:"flex justify-between items-start mb-4",children:[e.jsx("h3",{id:"popup-fallback-title",className:"text-lg font-bold text-white",children:"Popup Blocked"}),e.jsx("button",{onClick:()=>I(!1),className:"p-1 text-slate-400 hover:text-white transition-colors","aria-label":"Close",children:e.jsx(H,{size:20})})]}),e.jsx("p",{className:"text-slate-300 text-sm mb-4",children:"Your browser blocked the military verification popup. Click the button below to open it in a new tab."}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("a",{href:ie,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-cyan-600 hover:bg-cyan-700 text-white font-semibold rounded-lg transition-colors",onClick:()=>I(!1),children:[e.jsx(Ce,{size:18}),"Open Military Verification"]}),e.jsx("button",{onClick:()=>I(!1),className:"w-full px-4 py-2 text-slate-400 hover:text-white border border-slate-600 hover:border-slate-500 rounded-lg transition-colors text-sm",children:"Cancel"})]}),e.jsx("p",{className:"mt-4 text-xs text-slate-500 text-center",children:"After verifying, return here and refresh to see your discount."})]})})}),de&&k&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-md p-4",role:"dialog","aria-modal":"true","aria-labelledby":"recovery-modal-title",onKeyDown:t=>{t.key==="Escape"&&z(!1)},children:e.jsx(O,{children:e.jsxs("div",{className:"bg-slate-900 border border-cyan-500/30 rounded-2xl p-6 max-w-md w-full shadow-2xl shadow-cyan-500/20",children:[e.jsxs("div",{className:"flex justify-between items-start mb-4",children:[e.jsx("h3",{id:"recovery-modal-title",className:"text-lg font-bold text-white",children:"Still Interested?"}),e.jsx("button",{onClick:()=>z(!1),className:"p-1 text-slate-400 hover:text-white transition-colors","aria-label":"Close",children:e.jsx(H,{size:20})})]}),e.jsxs("div",{className:"text-center mb-6",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-cyan-500/20 border border-cyan-500/30 rounded-lg text-cyan-300 text-sm mb-3",children:[e.jsx(Pe,{size:16}),k.name]}),e.jsxs("p",{className:"text-slate-300 text-sm",children:["Looks like you were close to unlocking ",k.name,". Ready to complete your upgrade?"]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("button",{onClick:()=>{z(!1),R(k.tier)},disabled:u,className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white font-semibold rounded-lg transition-all shadow-lg shadow-cyan-500/20 disabled:opacity-60",children:u===k.tier?e.jsxs(e.Fragment,{children:[e.jsxs("svg",{className:"animate-spin h-5 w-5",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Redirecting..."]}):e.jsxs(e.Fragment,{children:[e.jsx(P,{size:18}),"Complete Checkout â ",k.price]})}),e.jsx("button",{onClick:()=>z(!1),className:"w-full px-4 py-2 text-slate-400 hover:text-white border border-slate-600 hover:border-slate-500 rounded-lg transition-colors text-sm",children:"Maybe Later"})]}),e.jsxs("p",{className:"mt-4 text-xs text-slate-500 text-center",children:["Questions? ",e.jsx("a",{href:"mailto:[email protected]",className:"text-cyan-400 hover:underline",children:"[email protected]"})]})]})})}),M&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-md p-4",role:"alertdialog","aria-modal":"true","aria-labelledby":"
1checkout-error-title",onKeyDown:t=>{t.key==="Escape"&&g(null)},"aria-describedby":"checkout-error-desc",children:e.jsx(O,{children:e.jsxs("div",{className:"bg-slate-900 border border-red-500/30 rounded-2xl p-6 max-w-md w-full shadow-2xl",children:[e.jsxs("div",{className:"flex justify-between items-start mb-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-red-500/20 flex items-center justify-center",children:e.jsx(Se,{size:20,className:"text-red-400"})}),e.jsx("h3",{id:"checkout-error-title",className:"text-lg font-bold text-white",children:"Checkout Issue"})]}),e.jsx("button",{onClick:()=>g(null),className:"p-1 text-slate-400 hover:text-white transition-colors","aria-label":"Close",children:e.jsx(H,{size:20})})]}),e.jsx("p",{id:"checkout-error-desc",className:"text-slate-300 text-sm mb-6",children:M.message}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("button",{onClick:()=>{const t=M.tier;g(null),R(t)},disabled:u,className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white font-semibold rounded-lg transition-all disabled:opacity-60",children:[e.jsx(Ae,{size:18}),"Try Again"]}),M.message.includes("session")&&e.jsx("button",{onClick:()=>{g(null),y("/pricing")},className:"w-full px-4 py-2 text-cyan-400 hover:text-cyan-300 border border-cyan-500/30 hover:border-cyan-500/50 rounded-lg transition-colors text-sm",children:"Log In Again"}),e.jsx("button",{onClick:()=>g(null),className:"w-full px-4 py-2 text-slate-400 hover:text-white transition-colors text-sm",children:"Cancel"})]}),e.jsxs("p",{className:"mt-4 text-xs text-slate-500 text-center",children:["Still having issues? ",e.jsx("a",{href:"mailto:[email protected]",className:"text-cyan-400 hover:underline",children:"Contact support"})]})]})})})]})}export{Te as P};
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.