1import{a as q,r as n,j as e,m as o,B as x,n as T,c as y,I as l}from"./index-QiiZ-xPT.js";import{L as r}from"./label-BA9Xin3m.js";import{T as P}from"./textarea-Bd1mcSz8.js";import{S as b,a as f,b as j,c as g,d as N}from"./select-B1P2Vx_w.js";import{N as v}from"./Navigation-r93ZBuy6.js";import{F as k}from"./Footer-3JNsJayo.js";import{u as F}from"./useTranslation-XedzLvcK.js";import{C as $}from"./check-KTa2Xihg.js";import{B as I}from"./building-2-Bz-h5bHH.js";import{U as V}from"./users-JkJLChox.js";import{T as B}from"./target-C2CH8bm6.js";import{P as R}from"./play-F_iIYdsj.js";import"./index-BMyKsIJE.js";import"./Combination-TP2Egp2x.js";import"./index-DqZlRfV5.js";import"./chevron-down-BWOHa16b.js";import"./checkbox-CrGTwbPu.js";import"./dialog-D2VXyQJN.js";import"./save-BsB7cS8F.js";import"./dropdown-menu-D4zjGRmc.js";import"./index-Bj3iuRQR.js";import"./chevron-right-f4G5e4zR.js";import"./circle-2nw1jhuN.js";import"./globe-3tsuvpPT.js";import"./log-out-CqAuLeet.js";import"./BrandSponsor-DEW6i_On.js";import"./card-DkXabqFf.js";import"./mail-Cr62Xklx.js";import"./twitter-BzZd48jL.js";const p=[I,V,B],E=["size1to50","size51to200","size201to1000","size1001to5000","size5000plus"],H=["learningCorporate","dataTransformation","brandStorytelling","multipleServices"];function he(){const{t:a}=F(),D=q(),[S,w]=n.useState(!1),[c,u]=n.useState(!1),h=n.useRef(null),[t,C]=n.useState({firstName:"",lastName:"",email:"",company:"",role:"",companySize:"",interest:"",message:""}),z=s=>{s.preventDefault(),console.log("book_demo_click",t),w(!0)},i=(s,m)=>{C(d=>({...d,[s]:m}))};return S?e.jsxs("div",{className:"bg-background text-foreground min-h-screen",children:[e.jsx(v,{}),e.jsx("section",{className:"pt-32 pb-20 min-h-[80vh] flex items-center",children:e.jsxs("div",{className:"max-w-2xl mx-auto px-6 text-center",children:[e.jsx(o.div,{initial:{scale:0},animate:{scale:1},className:"w-20 h-20 rounded-full bg-primary/20 flex items-center justify-center mx-auto mb-8",children:e.jsx($,{className:"w-10 h-10 text-primary"})}),e.jsx(o.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"font-display text-4xl md:text-5xl font-bold mb-6",children:a("bookDemo.success.title")}),e.jsx(o.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-xl text-muted-foreground mb-8",children:a("bookDemo.success.message")}),e.jsx(o.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},children:e.jsx(x,{size:"lg",variant:"outline",onClick:()=>window.location.href="/","data-testid":"button-back-home",children:a("bookDemo.success.backToHome")})})]})}),e.jsx(k,{})]}):e.jsxs("div",{className:"bg-background text-foreground min-h-screen",children:[e.jsx(v,{}),e.jsx("section",{className:"pt-32 pb-20","data-testid":"section-book-demo",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[e.jsxs("div",{children:[e.jsx(o.span,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"inline-block px-4 py-1.5 rounded-full bg-primary/20 text-primary text-sm font-medium mb-6",children:a("bookDemo.badge")}),e.jsxs(o.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"font-display text-4xl md:text-5xl font-bold leading-tight mb-6",children:[a("bookDemo.heroTitle"),e.jsx("br",{}),e.jsx("span",{className:"text-gradient",children:a("bookDemo.heroTitleHighlight")})]}),e.jsx(o.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-lg text-muted-foreground mb-12",children:a("bookDemo.heroSubtitle")}),e.jsx("div",{className:"space-y-8",children:[{key:"tailoredSolutions",icon:p[0]},{key:"meetOurTeam",icon:p[1]},{key:"clearNextSteps",icon:p[2]}].map((s,m)=>{const d=s.icon;return e.jsxs(o.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.3+m*.1},className:"flex items-start gap-4","data-testid":`benefit-${m}`,children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(d,{className:"w-6 h-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-display font-semibold mb-1",children:a(`bookDemo.benefits.${s.key}`)}),e.jsx("p",{className:"text-sm text-muted-foreground",children:a(`bookDemo.benefits.${s.key}Desc`)})]})]},s.key)})}),e.jsx(o.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{delay:.55},className:"mt-10",children:e.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-lg cursor-pointer group",onClick:()=>{u(!0),h.current?.play()},"data-testid":"demo-video-book-demo-container",children:[e.jsx("video",{ref:h,src:"/living-corporate-demo.mp4",controls:c,muted:!c,playsInline:!0,preload:"metadata",className:"w-full rounded-2xl","data-testid":"demo-video-book-demo",onEnded:()=>u(!1)}),!c&&e.jsxs("div",{className:"absolute inset-0 bg-black/30 flex items-center justify-center group-hover:bg-black/40 transition-colors",children:[e.jsx("div",{className:"w-14 h-14 rounded-full bg-primary/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:e.jsx(R,{className:"w-6 h-6 text-white ml-0.5"})}),e.jsx("span",{className:"absolute bottom-4 text-white/90 text-sm font-medium",children:"Watch Platform Demo"})]})]})}),e.jsxs(o.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"mt-8 p-6 rounded-2xl bg-card border border-border",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(T,{className:"w-5 h-5 text-primary"}),e.jsx("span",{className:"font-medium",children:a("bookDemo.calendly.title")})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:a("bookDemo.calendly.description")}),e.jsxs(x,{onClick:D,variant:"outline",className:"w-full","data-testid":"button-calendly",children:[a("bookDemo.calendly.button"),e.jsx(y,{className:"ml-2",size:16})]})]})]}),e.jsxs(o.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"p-8 rounded-3xl bg-card border border-border",children:[e.jsx("h2",{className:"font-display text-2xl font-bold mb-6",children:a("bookDemo.form.title")}),e.jsxs("form",{onSubmit:z,className:"space-y-6",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{htmlFor:"firstName",children:[a("bookDemo.form.firstName")," ",a("bookDemo.form.required")]}),e.jsx(l,{id:"firstName",required:!0,value:t.firstName,onChange:s=>i("firstName",s.target.value),"data-testid":"input-first-name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{htmlFor:"lastName",children:[a("bookDemo.form.lastName")," ",a("bookDemo.form.required")]}),e.jsx(l,{id:"lastName",required:!0,value:t.lastName,onChange:s=>i("lastName",s.target.value),"data-testid":"input-last-name"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{htmlFor:"email",children:[a("bookDemo.form.email")," ",a("bookDemo.form.required")]}),e.jsx(l,{id:"email",type:"email",required:!0,value:t.email,onChange:s=>i("email",s.target.value),"data-testid":"input-email"})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{htmlFor:"company",children:[a("bookDemo.form.company")," ",a("bookDemo.form.required")]}),e.jsx(l,{id:"company",required:!0,value:t.company,onChange:s=>i("company",s.target.value),"data-testid":"input-company"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{htmlFor:"role",children:[a("bookDemo.form.role")," ",a("bookDemo.form.required")]}),e.jsx(l,{id:"role",required:!0,value:t.role,onChange:s=>i("role",s.target.value),"data-testid":"input-role"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{children:[a("bookDemo.form.companySize")," ",a("bookDemo.form.required")]}),e.jsxs(b,{value:t.companySize,onValueChange:s=>i("companySize",s),children:[e.jsx(f,{"data-testid":"select-company-size",children:e.jsx(j,{placeholder:a("bookDemo.form.companySizePlaceholder")})}),e.jsx(g,{children:E.map(s=>e.jsx(N,{value:a(`bookDemo.companySizes.${s}`),children:a(`bookDemo.companySizes.${s}`)},s))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(r,{children:[a("bookDemo.form.interest")," ",a("bookDemo.form.required")]}),e.jsxs(b,{value:t.interest,onValueChange:s=>i("interest",s),children:[e.jsx(f,{"data-testid":"select-interest",children:e.jsx(j,{placeholder:a("bookDemo.form.interestPlaceholder")})}),e.jsx(g,{children:H.map(s=>e.jsx(N,{value:a(`bookDemo.interests.${s}`),children:a(`bookDemo.interests.${s}`)},s))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"message",children:a("bookDemo.form.message")}),e.jsx(P,{id:"message",placeholder:a("bookDemo.form.messagePlaceholder"),rows:4,value:t.message,onChange:s=>i("message",s.target.value),"data-testid":"textarea-message"})]}),e.jsxs(x,{type:"submit",size:"lg",className:"w-full bg-primary text-primary-foreground","data-testid":"button-submit-demo",children:[a("bookDemo.form.submit"),e.jsx(y,{className:"ml-2",size:18})]}),e.jsxs("p",{className:"text-xs text-muted-foreground text-center",children:[a("bookDemo.form.privacyNotice")," ",e.jsx("a",{href:"/privacy",className:"underline hover:text-foreground",children:a("bookDemo.form.privacyPolicy")}),"."]})]})]})]})})}),e.jsx(k,{})]})}
1export{he 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.