import{j as e}from"./vendor-ui-CUslpDkL.js";import{r as c,L as t}from"./vendor-react-Dg0Tra3e.js";import{c as h,B as u,o as p}from"./index-CJqEbhJN.js";import{I as l}from"./input-BddqDKi_.js";import{L as i}from"./label-DW0D2B1w.js";import{T as b}from"./textarea-Cl_ytQkU.js";import{A as j}from"./arrow-left-DtOv4JyO.js";import{M as n}from"./message-square-DI2hcTFv.js";import{S as g}from"./send-DRRNY0V9.js";import"./vendor-query-CN1EccJz.js";import"./vendor-supabase-yzuDJZPy.js";import"./vendor-motion-CiNtJfg1.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const f=h("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);function E(){const[a,r]=c.useState({name:"",email:"",subject:"",message:""}),[m,o]=c.useState(!1),d=async s=>{s.preventDefault(),o(!0),await new Promise(x=>setTimeout(x,1e3)),p.success("Message sent! We'll get back to you soon."),r({name:"",email:"",subject:"",message:""}),o(!1)};return e.jsx("div",{className:"min-h-screen px-4 py-12",children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs(t,{to:"/",className:"inline-flex items-center gap-2 text-primary hover:underline mb-6",children:[e.jsx(j,{className:"w-4 h-4"}),"Back to Home"]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[e.jsxs("div",{className:"glass-card p-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(n,{className:"w-10 h-10 text-primary"}),e.jsx("h1",{className:"text-4xl font-bold",children:"Get in Touch"})]}),e.jsx("p",{className:"text-foreground/90 leading-relaxed mb-8",children:"Have questions, suggestions, or feedback? We'd love to hear from you! Fill out the form and we'll get back to you as soon as possible."}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx(f,{className:"w-6 h-6 text-primary mt-1"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-1",children:"Email Us"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"support@whatanime.com"})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx(n,{className:"w-6 h-6 text-secondary mt-1"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-1",children:"Response Time"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"We typically respond within 24-48 hours"})]})]})]}),e.jsxs("div",{className:"mt-8 pt-8 border-t border-white/10",children:[e.jsx("h3",{className:"font-semibold mb-4",children:"Quick Links"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(t,{to:"/about",className:"block text-primary hover:underline text-sm",children:"About Us"}),e.jsx(t,{to:"/privacy",className:"block text-primary hover:underline text-sm",children:"Privacy Policy"}),e.jsx(t,{to:"/terms",className:"block text-primary hover:underline text-sm",children:"Terms of Service"})]})]})]}),e.jsxs("div",{className:"glass-card p-8",children:[e.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Send us a Message"}),e.jsxs("form",{onSubmit:d,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(i,{htmlFor:"name",children:"Name"}),e.jsx(l,{id:"name",type:"text",value:a.name,onChange:s=>r({...a,name:s.target.value}),placeholder:"Your name",required:!0,className:"mt-2 bg-background/50 border-white/10 focus:border-primary/50"})]}),e.jsxs("div",{children:[e.jsx(i,{htmlFor:"email",children:"Email"}),e.jsx(l,{id:"email",type:"email",value:a.email,onChange:s=>r({...a,email:s.target.value}),placeholder:"your@email.com",required:!0,className:"mt-2 bg-background/50 border-white/10 focus:border-primary/50"})]}),e.jsxs("div",{children:[e.jsx(i,{htmlFor:"subject",children:"Subject"}),e.jsx(l,{id:"subject",type:"text",value:a.subject,onChange:s=>r({...a,subject:s.target.value}),placeholder:"What is this about?",required:!0,className:"mt-2 bg-background/50 border-white/10 focus:border-primary/50"})]}),e.jsxs("div",{children:[e.jsx(i,{htmlFor:"message",children:"Message"}),e.jsx(b,{id:"message",value:a.message,onChange:s=>r({...a,message:s.target.value}),placeholder:"Tell us more...",required:!0,rows:6,className:"mt-2 bg-background/50 border-white/10 focus:border-primary/50 resize-none"})]}),e.jsx(u,{type:"submit",disabled:m,className:"w-full rounded-full neon-glow-pink bg-gradient-to-r from-primary to-secondary",children:m?"Sending...":e.jsxs(e.Fragment,{children:[e.jsx(g,{className:"w-4 h-4 mr-2"}),"Send Message"]})})]})]})]})]})})}export{E as default};