import{u as h,l as u,s as f,v as j,j as e,z as v,D as b,F as N,A as y,E as w,b as q,d as C,e as S,M as $,a0 as K,o as E,f as d,J as H,K as T}from"./index-AIIMweKF.js";import"./analytics-CNjZOon8.js";const n=[{categoryKey:"pricingPlans",faqs:["automationDefinition","priceIncrease","valueCalculation","freeTrial","downgrade"]},{categoryKey:"automationPerformance",faqs:["automatedInteraction","timeToReach","cantHandle","learnFromFeedback"]},{categoryKey:"gettingStarted",faqs:["whatToProvide","pmsIntegrations","setupTime","someProperties"]},{categoryKey:"featuresCapabilities",faqs:["channels","multiLanguage","upsells","maintenance"]}],c={pricingPlans:"pricing",automationPerformance:"automation",gettingStarted:"gettingStarted",featuresCapabilities:"features"};function A(){const{t}=h("support");u(),f({pageName:"Support"}),j({pageName:"Support"});const m=n.flatMap(a=>{const s=c[a.categoryKey];return a.faqs.map(r=>({question:t(`faqs.${s}.${r}.question`),answer:t(`faqs.${s}.${r}.answer`)}))});return e.jsxs(e.Fragment,{children:[e.jsx(v,{title:t("meta.title"),description:t("meta.description"),ogTitle:t("meta.ogTitle"),ogDescription:t("meta.ogDescription"),canonicalPath:"/support"}),e.jsx(b,{items:[{name:"Home",path:"/"},{name:t("meta.title"),path:"/support"}]}),e.jsx(N,{items:m}),e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsxs("section",{className:"relative pt-32 pb-16 lg:pt-40 lg:pb-20 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[hsl(220,25%,8%)] via-[hsl(206,61%,12%)] to-[hsl(201,50%,15%)]"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_80%_50%_at_50%_40%,hsl(191,91%,36%,0.08),transparent)]"}),e.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-[120%] h-[40%] bg-[radial-gradient(ellipse_at_center,hsl(345,69%,55%,0.04),transparent_70%)]"}),e.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center relative z-10",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4",children:t("hero.title")}),e.jsx("p",{className:"text-xl text-white/70 max-w-sm md:max-w-md mx-auto",children:t("hero.subtitle")})]})]}),e.jsx("section",{className:"py-16 md:py-24",children:e.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:e.jsx("div",{className:"space-y-12",children:n.map((a,s)=>{const r=c[a.categoryKey];return e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-primary mb-6",children:t(`categories.${a.categoryKey}`)}),e.jsx(y,{type:"single",collapsible:!0,className:"space-y-3",onValueChange:i=>{if(i){const[l,x]=i.split("-").map(Number),o=n[l],p=o.faqs[x],g=c[o.categoryKey];w(t(`faq.${g}.${p}.question`))}},children:a.faqs.map((i,l)=>e.jsxs(q,{value:`${s}-${l}`,className:"bg-card border border-border rounded-lg px-6",children:[e.jsx(C,{className:"text-left text-primary hover:no-underline",children:t(`faq.${r}.${i}.question`)}),e.jsx(S,{className:"text-muted-foreground",children:t(`faq.${r}.${i}.answer`)})]},l))})]},s)})})})}),e.jsx("section",{id:"contact",className:"py-16 md:py-24 bg-background border-t border-border/50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-16 items-center",children:[e.jsxs("div",{className:"space-y-6 text-center lg:text-left",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-medium bg-accent/10 text-accent border border-accent/20",children:[e.jsx($,{className:"h-3 w-3"}),t("contact.badge")]}),e.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground leading-tight",children:t("contact.title")}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed max-w-lg mx-auto lg:mx-0",children:t("contact.description")}),e.jsx("div",{className:"space-y-3 pt-2",children:e.jsxs("a",{href:"mailto:help@cendra.ai?subject=Support Request",className:"flex items-center gap-3 p-4 bg-card border border-border/50 rounded-xl hover:border-primary/30 transition-colors group",children:[e.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:e.jsx(K,{className:"h-5 w-5 text-primary"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("p",{className:"font-medium text-foreground group-hover:text-primary transition-colors",children:t("contact.emailUs")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"help@cendra.ai"})]}),e.jsx(E,{className:"h-4 w-4 text-muted-foreground ml-auto group-hover:text-primary group-hover:translate-x-1 transition-all"})]})}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center lg:justify-start gap-x-4 gap-y-2 text-sm text-muted-foreground pt-2",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"h-4 w-4 text-success-600"}),t("contact.trust1")]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(d,{className:"h-4 w-4 text-success-600"}),t("contact.trust2")]})]})]}),e.jsx("div",{className:"flex justify-center lg:justify-end",children:e.jsx(H,{})})]})})})})]}),e.jsx(T,{})]})}export{A as default};