1import{r as l,j as e}from"./react-vendor-ClhlU4Lh.js";import{u,h,c as i}from"./Navbar-Breg0_Ns.js";import{V as o,F as d,S as g,a as b}from"./motion-CI0xHWBJ.js";import{m as n}from"./motion-D4G6gPn9.js";import{b as c,o as f,c as p,k as N}from"./icons-CKbFnd7u.js";import"./index-DWDvnMwR.js";import"./clsx-B-dksMZM.js";import"./radix-ui-cTaLGsew.js";const j="npm i -g @qtv/anchorkit",v="npm install",y="Sem cartão de crédito. Sem cadastro. Só",_="Ver planos e preços completos",w="/precos",L="Tudo do Free, mais:",S="copiado",A="copiar",k="$",E={padding:"1px"};function C(t,s){return[{id:"free",badge:"Free pra sempre",name:"Free",priceLabel:"$0",priceSuffix:"/forever",pitch:"Tudo que você precisa pra rodar AnchorKit local. Sem cartão, sem cadastro.",features:["CLI completa (REPL + comandos)","Vault local em Markdown","Todos os slash commands","Todos os providers (Claude · GPT · Gemini · Cursor)","Local-first · seu vault, seu repo",...t.slice(0,3).map(r=>r.value).map(r=>r).slice(0,1)].slice(0,5),cta:{label:j,type:"copy"},ctaHelper:s[0]?.detail},{id:"pro",badge:"Planos pagos",name:"Times",priceLabel:"US$ 3",priceSuffix:"/usuário/mês",pitch:"A partir de US$ 3 por assento. Sync, busca semântica, colaboração em time e governança â do Starter ao Enterprise.",features:["Sync multi-device criptografado","Vault-query semântico (busca full)","Compartilhamento de vault entre devs","Painel admin, SSO e auditoria (Business)","Enterprise: on-premise, DPA e SLA"].slice(0,5),cta:{label:"Ver todos os planos",href:"/precos",type:"link"},ctaHelper:"Starter · Team · Business · Enterprise",highlight:!0}]}function P({command:t}){const[s,a]=l.useState(!1),r=l.useCallback(()=>{typeof navigator>"u"||!navigator.clipboard||navigator.clipboard.writeText(t).then(()=>{a(!0),window.setTimeout(()=>a(!1),2e3)}).catch(()=>{})},[t]);return e.jsxs("button",{type:"button",onClick:r,"aria-label":`Copiar comando ${t}`,className:i("group relative flex h-12 w-full items-center justify-between gap-3 rounded-xl px-4","border border-mesa-border bg-mesa-bg-subtle","font-mono text-[13px] text-mesa-text","transition-all duration-200 hover:border-mesa-primary/40 hover:bg-card"),children:[e.jsxs("span",{className:"flex items-center gap-2 truncate",children:[e.jsx("span",{className:"text-mesa-text-muted/60","aria-hidden":"true",children:k}),e.jsx("span",{className:"truncate",children:t})]}),e.jsx("span",{className:i("inline-flex h-7 items-center gap-1.5 rounded-md px-2","border border-mesa-border bg-card","font-mono text-[10.5px] font-semibold uppercase tracking-[0.16em]","transition-colors duration-200",s?"text-mesa-success":"text-mesa-text-muted/80"),"aria-live":"polite",children:s?e.jsxs(e.Fragment,{children:[e.jsx(p,{className:"h-3 w-3",strokeWidth:2.5,"aria-hidden":"true"}),S]}):e.jsxs(e.Fragment,{children:[e.jsx(N,{className:"h-3 w-3",strokeWidth:2,"aria-hidden":"true"}),A]})})]})}function T({plan:t,index:s}){const a=t.highlight===!0;return e.jsxs(n.article,{variants:b,custom:s,className:i("relative flex flex-col gap-7 rounded-2xl p-7 md:p-8","border bg-card","transition-all duration-300",a?"border-transparent shadow-[0_1px_2px_rgb(var(--mesa-primary-rgb)/0.08),0_24px_56px_rgb(var(--mesa-primary-rgb)/0.14)]":"border-mesa-border shadow-[0_1px_2px_rgb(var(--mesa-bg-dark-rgb)/0.04),0_12px_36px_rgb(var(--mesa-bg-dark-rgb)/0.05)] hover:border-mesa-primary/35"),children:[a&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"aria-hidden":"true",className:"gradient-accent-mesa pointer-events-none absolute inset-0 -z-10 rounded-2xl opacity-100",style:E,children:e.jsx("span",{className:"block h-full w-full rounded-2xl bg-card"})}),e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-8 top-0 h-px bg-linear-to-r from-transparent via-(--mesa-primary-300) to-transparent"})]}),e.jsxs("header",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:i("inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1","font-mono text-[10px] font-semibold uppercase tracking-[0.18em]",a?"border-(--mesa-primary-300)/30 bg-(--mesa-primary-300)/10 text-(--mesa-primary-600)":"border-mesa-border bg-mesa-bg-subtle text-mesa-text-muted/85"),children:[a&&e.jsx(f,{className:"h-3 w-3",strokeWidth:2,"aria-hidden":"true"}),t.badge]}),e.jsx("span",{className:"font-display text-[15px] font-semibold tracking-[-0.01em] text-mesa-text",children:t.name})]}),e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("span",{className:i("font-display text-[44px] font-semibold leading-none tracking-tight md:text-[52px]",a?"text-(--mesa-primary-600)":"text-mesa-primary"),children:t.priceLabel}),t.priceSuffix&&e.jsx("span",{className:"font-mono text-[12px] leading-normal text-mesa-text-muted/75",children:t.priceSuffix})]}),e.jsx("p",{className:"text-[14px] leading-[1.55] text-mesa-text-muted",children:t.pitch})]}),e.jsx("div",{className:"h-px w-full bg-mesa-border/60","aria-hidden":"true"}),a&&e.jsx("span",{className:"font-mono text-[10.5px] font-semibold uppercase tracking-[0.2em] text-mesa-text-muted/75",children:L}),e.jsx("ul",{className:"flex flex-col gap-3",children:t.features.map(r=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{"aria-hidden":"true",className:i("mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full",a?"bg-(--mesa-primary-300)/15 text-(--mesa-primary-600)":"bg-mesa-primary/15 text-mesa-primary"),children:e.jsx(p,{className:"h-3 w-3",strokeWidth:2.75})}),e.jsx("span",{className:"text-[14px] leading-normal text-mesa-text",children:r})]},r))}),e.jsxs("div",{className:"mt-auto flex flex-col gap-3 pt-2",children:[t.cta.type==="copy"?e.jsx(P,{command:t.cta.label}):e.jsxs("a",{href:t.cta.href,className:i("group inline-flex h-12 w-full items-center justify-center gap-2 rounded-xl px-6","font-medium text-[13.5px] tracking-wide","transition-all duration-300 ease-out",a?"gradient-accent-mesa text-white shadow-[0_1px_2px_rgb(var(--mesa-primary-rgb)/0.15),0_12px_32px_rgb(var(--mesa-primary-rgb)/0.28)] hover:-translate-y-
1px":"bg-mesa-primary text-primary-foreground hover:bg-mesa-primary-alt"),children:[t.cta.label,e.jsx(c,{className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-0.5 group-hover:-translate-y-0.5","aria-hidden":"true",strokeWidth:1.75})]}),t.ctaHelper&&e.jsx("span",{className:"text-center text-[12px] leading-normal text-mesa-text-muted/85",children:t.ctaHelper})]})]})}const W=l.memo(function(){const s=u(),a=h(s),r=C(a.attributes,a.process);return e.jsx("section",{id:"precos","aria-labelledby":"pricing-heading",className:"relative w-full bg-mesa-bg py-16 md:py-24",children:e.jsxs("div",{className:"relative mx-auto w-full max-w-6xl px-6 md:px-10",children:[e.jsxs(n.header,{className:"mx-auto flex max-w-2xl flex-col items-center gap-5 text-center",variants:d,initial:"hidden",whileInView:"visible",viewport:o,children:[e.jsx("span",{className:"font-mono text-[10.5px] font-semibold uppercase tracking-[0.32em] text-mesa-text-muted/75",children:a.kicker}),e.jsx("h2",{id:"pricing-heading",className:"font-display text-[32px] font-semibold leading-[1.05] tracking-tight text-mesa-text md:text-[44px] lg:text-[52px]",children:a.title}),e.jsx("p",{className:"text-[15.5px] leading-[1.6] text-mesa-text-muted md:text-[17px]",children:a.description})]}),e.jsx(n.div,{variants:g,initial:"hidden",whileInView:"visible",viewport:o,className:"mt-10 grid grid-cols-1 gap-5 md:mt-14 md:grid-cols-2 md:gap-6",children:r.map((m,x)=>e.jsx(T,{plan:m,index:x},m.id))}),e.jsxs(n.div,{variants:d,initial:"hidden",whileInView:"visible",viewport:o,className:"mt-10 flex flex-col items-center gap-4 md:mt-12",children:[e.jsxs("p",{className:"text-center text-[13.5px] leading-[1.55] text-mesa-text-muted",children:[y," ",e.jsx("code",{className:"rounded-md border border-mesa-border bg-mesa-bg-subtle px-1.5 py-0.5 font-mono text-[12.5px] text-mesa-text",children:v}),"."]}),e.jsxs("a",{href:w,className:"group inline-flex items-center gap-1.5 rounded-full border border-mesa-border bg-card px-5 py-2.5 text-[13px] font-medium text-mesa-primary shadow-[0_1px_2px_rgb(var(--mesa-bg-dark-rgb)/0.05)] transition-colors duration-200 hover:border-mesa-primary/40 hover:text-mesa-primary-alt",children:[_,e.jsx(c,{className:"h-4 w-4 transition-transform duration-200 ease-out group-hover:translate-x-0.5 group-hover:-translate-y-0.5","aria-hidden":"true",strokeWidth:1.75})]}),e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-mesa-border bg-mesa-bg-subtle px-3.5 py-1.5",children:[e.jsx("span",{"aria-hidden":"true",className:"h-1.5 w-1.5 rounded-full bg-mesa-success"}),e.jsx("code",{className:"font-mono text-[10.5px] font-semibold uppercase tracking-[0.16em] text-mesa-text-muted/85",children:a.formula.equation})]})]}),e.jsxs("div",{"aria-hidden":"true",className:"pointer-events-none mt-12 flex items-center justify-end gap-2 md:mt-16",children:[e.jsx("span",{className:"h-px flex-1 bg-linear-to-r from-transparent to-mesa-border"}),e.jsx("span",{className:"font-mono text-[9.5px] font-semibold uppercase tracking-[0.32em] text-mesa-text-muted/35",children:a.signature})]})]})})});export{W as PricingSection}; 2//# sourceMappingURL=PricingSection-BdodfC52.js.map
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.