1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DemoModal-fgOuZ6kl.js","assets/index-Cl7zpW21.js","assets/klubey-white-CR2Fc8dy.js","assets/ProductWalkthrough-BBLZiPSd.js","assets/BelowFold-B1tY-wMC.js","assets/linkedin-Bi0H6rRm.js"])))=>i.map(i=>d[i]); 2import{r as a,j as e,_ as x}from"./index-Cl7zpW21.js";import{c,l as b}from"./klubey-white-CR2Fc8dy.js";const g=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],j=c("arrow-right",g);const y=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],v=c("menu",y);const w=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],k=c("sparkles",w);const N=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],h=c("x",N),_=a.lazy(()=>x(()=>import("./DemoModal-fgOuZ6kl.js"),__vite__mapDeps([0,1,2])).then(s=>({default:s.DemoModal}))),z=a.lazy(()=>x(()=>import("./ProductWalkthrough-BBLZiPSd.js"),__vite__mapDeps([3,1])).then(s=>({default:s.ProductWalkthrough}))),E=a.lazy(()=>x(()=>import("./BelowFold-B1tY-wMC.js"),__vite__mapDeps([4,1,2,5])));function C(){const[s,n]=a.useState(!1),[o,r]=a.useState(!1),l=()=>n(!0),t=()=>r(!0);return e.jsxs("div",{className:"min-h-screen bg-background text-foreground antialiased overflow-x-hidden",children:[e.jsx(P,{onDemo:l,onVideoOpen:t}),e.jsx(S,{onDemo:l,videoOpen:o,setVideoOpen:r}),e.jsx(M,{}),e.jsx(a.Suspense,{fallback:e.jsx("div",{className:"min-h-[600px]","aria-hidden":!0}),children:e.jsx(z,{onDemo:l})}),e.jsx(a.Suspense,{fallback:e.jsx("div",{className:"min-h-[400px]","aria-hidden":!0}),children:e.jsx(E,{onDemo:l})}),s&&e.jsx(a.Suspense,{fallback:null,children:e.jsx(_,{open:s,onClose:()=>n(!1)})})]})}function d({onClick:s,children:n,large:o=!1}){return e.jsx("button",{onClick:s,className:`group inline-flex items-center justify-center gap-2 rounded-full bg-accent text-accent-foreground font-semibold transition hover:brightness-110 hover:shadow-[var(--shadow-glow)] ${o?"px-7 py-3.5 text-base":"px-5 py-2.5 text-sm"}`,children:n})}function u({onClick:s,children:n,large:o=!1}){return e.jsx("button",{onClick:s,className:`inline-flex items-center justify-center gap-2 rounded-full border border-white/15 bg-white/5 text-foreground font-medium transition hover:bg-white/10 hover:border-white/25 ${o?"px-6 py-3.5 text-base":"px-5 py-2.5 text-sm"}`,children:n})}function P({onDemo:s,onVideoOpen:n}){const[o,r]=a.useState(!1),l=[{l:"Producto",h:"#producto"},{l:"Para quién",h:"#para-quien"},{l:"Precios",h:"#precios"}];return e.jsxs("header",{className:"fixed top-0 inset-x-0 z-50 bg-[rgba(10,19,34,.45)] backdrop-blur-md",children:[e.jsxs("div",{className:"mx-auto max-w-7xl px-5 lg:px-8 h-20 flex md:grid md:grid-cols-[1fr_auto_1fr] items-center justify-between gap-6",children:[e.jsx("a",{href:"#top",className:"flex items-center justify-start shrink-0",children:e.jsx("img",{src:b,alt:"Klubey",width:"120",height:"48",className:"h-12 w-auto"})}),e.jsx("nav",{className:"hidden md:flex items-center justify-center gap-10",children:l.map(t=>e.jsx("a",{href:t.h,className:"text-[15px] font-medium text-foreground/80 hover:text-foreground transition",children:t.l},t.l))}),e.jsxs("div",{className:"hidden md:flex items-center justify-end gap-3",children:[e.jsx(u,{onClick:n,children:"Ver cómo funciona"}),e.jsx(d,{onClick:s,children:"Solicitar demo"})]}),e.jsx("button",{className:"md:hidden inline-flex items-center justify-center h-10 w-10 rounded-full border border-white/12 bg-white/5 text-foreground",onClick:()=>r(t=>!t),"aria-label":o?"Cerrar menú":"Abrir menú",children:o?e.jsx(h,{className:"h-5 w-5"}):e.jsx(v,{className:"h-5 w-5"})})]}),o&&e.jsxs("div",{className:"md:hidden border-t border-white/8 bg-background/95 px-5 py-4 space-y-3",children:[l.map(t=>e.jsx("a",{href:t.h,onClick:()=>r(!1),className:"block text-sm text-muted-foreground hover:text-foreground",children:t.l},t.l)),e.jsx(u,{onClick:()=>{r(!1),n()},children:"Ver cómo funciona"}),e.jsx(d,{onClick:()=>{r(!1),s()},children:"Solicitar demo"})]})]})}function S({onDemo:s,videoOpen:n,setVideoOpen:o}){const r=a.useRef(null),l=a.useRef(null);return a.useEffect(()=>{const t=r.current,i=l.current;if(n){t?.pause(),i&&(i.currentTime=0,i.muted=!1,i.play().catch(()=>{}));const m=f=>{f.key==="Escape"&&o(!1)};window.addEventListener("keydown",m);const p=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",m),document.body.style.overflow=p}}else i&&(i.pause(),i.currentTime=0),t?.play().catch(()=>{})},[n]),e.jsxs("section",{id:"top",className:"relative flex flex-col min-h-[100dvh] md:min-
2h-[calc(100vh+5rem)] overflow-hidden bg-[#0A1322]",children:[e.jsx("video",{ref:r,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:"absolute top-0 left-0 right-0 bottom-0 w-full h-full object-cover md:object-contain pointer-events-none",style:{zIndex:0},"aria-hidden":!0,children:e.jsx("source",{src:"https://rpxxgtnjtzlzularkhdm.supabase.co/storage/v1/object/public/landing/Klubey_Header_final.mp4",type:"video/mp4"})}),e.jsx("div",{className:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none",style:{zIndex:1,background:"linear-gradient(180deg, rgba(10,19,34,.35), rgba(10,19,34,.55))"}}),e.jsxs("div",{className:"relative flex-1 flex flex-col items-center justify-center mx-auto max-w-7xl px-5 lg:px-8 text-center",style:{zIndex:2},children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-white/12 bg-white/5 px-4 py-1.5 text-xs font-medium text-foreground/80",children:[e.jsx(k,{className:"h-3.5 w-3.5 text-accent"}),"AI-powered club operations"]}),e.jsxs("h1",{className:"mt-7 mx-auto max-w-4xl text-4xl sm:text-5xl lg:text-6xl xl:text-7xl font-semibold tracking-tight leading-[1.05]",children:["Agentic AI para"," ",e.jsx("span",{style:{color:"#22D3EE"},children:"clubes deportivos modernos"})]}),e.jsxs("div",{className:"mt-9 flex flex-wrap items-center justify-center gap-3",children:[e.jsxs(d,{onClick:s,large:!0,children:["Solicitar demo ",e.jsx(j,{className:"h-4 w-4"})]}),e.jsx(u,{large:!0,onClick:()=>o(!0),children:"Ver cómo funciona"})]})]}),n&&e.jsxs("div",{className:"fixed inset-0 flex items-center justify-center p-4",style:{zIndex:100,background:"rgba(0,0,0,.85)"},onClick:()=>o(!1),role:"dialog","aria-modal":"true",children:[e.jsx("button",{type:"button",onClick:t=>{t.stopPropagation(),o(!1)},"aria-label":"Cerrar",className:"absolute top-5 right-5 inline-flex h-10 w-10 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition",children:e.jsx(h,{className:"h-5 w-5"})}),e.jsx("div",{className:"relative w-full",style:{maxWidth:960,aspectRatio:"16 / 9"},onClick:t=>t.stopPropagation(),children:e.jsx("video",{ref:l,controls:!0,playsInline:!0,preload:"auto",className:"w-full h-full rounded-2xl shadow-2xl bg-black",src:"https://rpxxgtnjtzlzularkhdm.supabase.co/storage/v1/object/public/landing/Klubey_demo_audio.mp4"})})]})]})}function M(){return e.jsx("section",{className:"bg-[#0A1322] py-16 md:py-10 px-6 lg:px-8",children:e.jsxs("div",{className:"mx-auto max-w-[1100px] text-left md:text-center",children:[e.jsx("h2",{className:"font-semibold leading-[1.15] text-[clamp(22px,5vw,30px)] md:text-[clamp(24px,3.2vw,40px)]",children:"Klubey automatiza la operación diaria de tu club."}),e.jsxs("p",{className:"mt-3 font-medium leading-snug",style:{fontSize:"clamp(15px, 1.8vw, 22px)",color:"#5b6b7a"},children:[e.jsx("span",{style:{color:"#22D3EE"},children:"Agentes"})," que reducen el tiempo de gestión manual, anticipan los problemas y mejoran la toma de decisiones."]})]})})}const I=Object.freeze(Object.defineProperty({__proto__:null,component:C},Symbol.toStringTag,{value:"Module"}));export{j as A,h as X,I as i};
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.