module.exports=[33354,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},13412,a=>{"use strict";let b=(0,a.i(64831).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["CheckCircle2",0,b],13412)},89027,a=>{"use strict";let b=(0,a.i(64831).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",0,b],89027)},92451,39337,a=>{"use strict";async function b(a,c="contact"){let d=await fetch("/api/zoho-submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formType:c,fields:a})});if(!d.ok)throw Error((await d.json().catch(()=>({}))).error??`Submission failed: ${d.status}`)}a.s(["submitToZoho",0,b],92451);var c=a.i(87924),d=a.i(89027),e=a.i(97895);let f="w-full bg-neutral-50 px-4 py-3 text-sm text-neutral-900 border border-neutral-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-700 focus:border-blue-700 focus:bg-white transition-all duration-150 placeholder:text-neutral-400";a.s(["SelectField",0,function({className:a,children:b,...g}){return(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("select",{...g,className:(0,e.cn)(f,"appearance-none pr-10 cursor-pointer",a),children:b}),(0,c.jsx)(d.ChevronDown,{className:"absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-neutral-400 pointer-events-none",strokeWidth:2})]})},"fieldCls",0,f,"labelCls",0,"block text-xs font-semibold uppercase tracking-wide text-neutral-500 mb-1.5"],39337)},67778,a=>{"use strict";var b=a.i(87924),c=a.i(46271);let d=[{icon:(0,a.i(64831).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),label:"Email",value:"contact@keyspider.io",href:"mailto:contact@keyspider.io"},{icon:a.i(54098).MapPin,label:"HQ",value:"Washington, D.C.",href:null}];a.s(["ContactHero",0,function(){return(0,b.jsx)("section",{className:"pt-32 pb-20 bg-gradient-to-b from-neutral-100 via-neutral-50 to-white",children:(0,b.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,b.jsxs)(c.motion.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.55},className:"max-w-2xl",children:[(0,b.jsx)("span",{className:"inline-block text-xs font-semibold uppercase tracking-widest text-blue-700 mb-3",children:"Get in touch"}),(0,b.jsx)("h1",{className:"text-4xl sm:text-5xl font-bold text-neutral-800 leading-tight mb-4",children:"Let's talk"}),(0,b.jsx)("p",{className:"text-lg text-neutral-500 leading-relaxed mb-10",children:"Sales enquiry, technical question, or partnership opportunity: our team responds within one business day."}),(0,b.jsx)("div",{className:"flex flex-col sm:flex-row gap-6",children:d.map(a=>{let c=a.icon;return(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"w-9 h-9 rounded-lg bg-blue-50 flex items-center justify-center shrink-0",children:(0,b.jsx)(c,{className:"w-4 h-4 text-blue-700"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-xs text-neutral-400 font-medium",children:a.label}),a.href?(0,b.jsx)("a",{href:a.href,className:"text-sm font-semibold text-neutral-700 hover:text-blue-700 transition-colors",children:a.value}):(0,b.jsx)("p",{className:"text-sm font-semibold text-neutral-700",children:a.value})]})]},a.label)})})]})})})}],67778)},38040,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(46271),e=a.i(18783),f=a.i(13412),g=a.i(92451),h=a.i(39337);a.s(["ContactForm",0,function(){let[a,i]=(0,c.useState)(!1),[j,k]=(0,c.useState)(!1),[l,m]=(0,c.useState)(null);async function n(a){a.preventDefault(),k(!0),m(null);let b=a.currentTarget,c=a=>b.elements.namedItem(a)?.value??"",d=c("topic"),e=c("message"),f=d?`[${d}]

${e}`:e;try{await (0,g.submitToZoho)({Name_First:c("firstName"),Name_Last:c("lastName"),Email:c("email"),SingleLine:c("organisation"),MultiLine:f}),i(!0)}catch(a){console.error("Contact form submission error:",a),m("Something went wrong — please try again or email us directly.")}finally{k(!1)}}return(0,b.jsx)("section",{className:"py-16 lg:py-24 bg-white",children:(0,b.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,b.jsxs)("div",{className:"grid lg:grid-cols-2 gap-16",children:[(0,b.jsx)(d.motion.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:a?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center text-center py-16",children:[(0,b.jsx)(f.CheckCircle2,{className:"w-14 h-14 text-green-500 mb-4"}),(0,b.jsx)("h2",{className:"text-2xl font-bold text-neutral-800 mb-2",children:"Message received"}),(0,b.jsx)("p",{className:"text-neutral-500",children:"We'll be in touch within one business day."})]}):(0,b.jsxs)("form",{onSubmit:n,className:"space-y-5",children:[(0,b.jsxs)("div",{className:"grid sm:grid-cols-2 gap-5",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"First name"}),(0,b.jsx)("input",{name:"firstName",type:"text",required:!0,className:h.fieldCls,placeholder:"Jane"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"Last name"}),(0,b.jsx)("input",{name:"lastName",type:"text",required:!0,className:h.fieldCls,placeholder:"Smith"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"Work email"}),(0,b.jsx)("input",{name:"email",type:"email",required:!0,className:h.fieldCls,placeholder:"jane@agency.gov"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"Organisation"}),(0,b.jsx)("input",{name:"organisation",type:"text",className:h.fieldCls,placeholder:"Department of Example"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"How can we help?"}),(0,b.jsxs)(h.SelectField,{name:"topic",children:[(0,b.jsx)("option",{value:"",children:"Select a topic"}),(0,b.jsx)("option",{children:"Sales enquiry"}),(0,b.jsx)("option",{children:"Technical support"}),(0,b.jsx)("option",{children:"Partnership"}),(0,b.jsx)("option",{children:"General question"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:h.labelCls,children:"Message"}),(0,b.jsx)("textarea",{name:"message",required:!0,rows:5,className:`${h.fieldCls} resize-none`,placeholder:"Tell us what you're working on…"})]}),l&&(0,b.jsx)("p",{className:"text-sm text-red-600",children:l}),(0,b.jsx)("button",{type:"submit",disabled:j,className:"w-full flex items-center justify-center gap-2 px-6 py-3 text-sm font-semibold text-white bg-blue-700 hover:bg-blue-800 disabled:opacity-60 rounded-xl transition-colors shadow-sm",children:j?"Sending…":(0,b.jsxs)(b.Fragment,{children:["Send message ",(0,b.jsx)(e.ArrowRight,{className:"w-4 h-4"})]})})]})}),(0,b.jsx)(d.motion.div,{initial:{opacity:0,x:24},animate:{opacity:1,x:0},transition:{duration:.55,delay:.2},className:"space-y-6",children:[{title:"Sales & Demos",desc:"Want to see Keyspider in action on your own content? Our team will set up a personalised demo within 48 hours.",cta:"Book a demo instead",href:"/demo"},{title:"Technical Support",desc:"Existing customer with a technical question? Our support team is available during business hours and responds within 4 hours.",cta:null,href:null},{title:"Partnerships",desc:"Systems integrators, digital agencies, and platform partners. We'd love to explore working together.",cta:null,href:null}].map(a=>(0,b.jsxs)("div",{className:"bg-neutral-50 rounded-2xl p-6 border border-neutral-100",children:[(0,b.jsx)("h3",{className:"font-bold text-neutral-800 mb-2",children:a.title}),(0,b.jsx)("p",{className:"text-sm text-neutral-500 leading-relaxed",children:a.desc}),a.cta&&a.href&&(0,b.jsxs)("a",{href:a.href,className:"inline-flex items-center gap-1.5 mt-3 text-sm font-semibold text-blue-700 hover:text-blue-800",children:[a.cta," ",(0,b.jsx)(e.ArrowRight,{className:"w-3.5 h-3.5"})]})]},a.title))})]})})})}])}];

//# sourceMappingURL=_0.f7bbm._.js.map