import{j as e,m as r}from"./animation-vendor-CjI9cL3m.js";import{r as m,L as i}from"./react-vendor-VHYdOfsy.js";import{H as x,a as g,F as p}from"./index-CFe95toP.js";import{P as h}from"./PageTransition-CnocsPEo.js";import{w as b,ac as j,X as u,W as v,g as f,Z as N,e as y,H as w,n as R,i as k,o as S,p as $,j as L}from"./ui-vendor-CQs9SFQd.js";const P=()=>{const[t,o]=m.useState(["hvac","plumbing"]),n=[{id:"hvac",name:"HVAC",icon:e.jsx(v,{className:"w-6 h-6"}),avgLeadValue:"$200-800",conversionRate:"40%",marketSize:"$29B",growthRate:"5.2%",peakSeason:"May-Sep, Dec-Feb",avgResponseTime:"< 15 min",color:"blue"},{id:"plumbing",name:"Plumbing",icon:e.jsx(f,{className:"w-6 h-6"}),avgLeadValue:"$200-700",conversionRate:"45%",marketSize:"$130B",growthRate:"4.8%",peakSeason:"Year-round",avgResponseTime:"< 12 min",color:"cyan"},{id:"electrical",name:"Electrical",icon:e.jsx(N,{className:"w-6 h-6"}),avgLeadValue:"$180-600",conversionRate:"42%",marketSize:"$193B",growthRate:"4.5%",peakSeason:"Year-round",avgResponseTime:"< 18 min",color:"yellow"},{id:"pest-control",name:"Pest Control",icon:e.jsx(y,{className:"w-6 h-6"}),avgLeadValue:"$150-400",conversionRate:"50%",marketSize:"$21B",growthRate:"6.1%",peakSeason:"Apr-Oct",avgResponseTime:"< 10 min",color:"red"},{id:"roofing",name:"Roofing",icon:e.jsx(w,{className:"w-6 h-6"}),avgLeadValue:"$300-1000",conversionRate:"35%",marketSize:"$51B",growthRate:"5.8%",peakSeason:"Apr-Oct",avgResponseTime:"< 24 min",color:"gray"},{id:"landscaping",name:"Landscaping",icon:e.jsx(R,{className:"w-6 h-6"}),avgLeadValue:"$100-400",conversionRate:"38%",marketSize:"$115B",growthRate:"4.2%",peakSeason:"Mar-Oct",avgResponseTime:"< 20 min",color:"green"},{id:"garage-door",name:"Garage Door",icon:e.jsx(k,{className:"w-6 h-6"}),avgLeadValue:"$150-500",conversionRate:"48%",marketSize:"$5B",growthRate:"3.9%",peakSeason:"Year-round",avgResponseTime:"< 16 min",color:"orange"},{id:"locksmith",name:"Locksmith",icon:e.jsx(S,{className:"w-6 h-6"}),avgLeadValue:"$100-350",conversionRate:"52%",marketSize:"$3B",growthRate:"4.1%",peakSeason:"Year-round",avgResponseTime:"< 8 min",color:"purple"},{id:"appliance-repair",name:"Appliance Repair",icon:e.jsx($,{className:"w-6 h-6"}),avgLeadValue:"$120-400",conversionRate:"44%",marketSize:"$4.5B",growthRate:"3.5%",peakSeason:"Year-round",avgResponseTime:"< 14 min",color:"indigo"},{id:"carpet-cleaning",name:"Carpet Cleaning",icon:e.jsx(L,{className:"w-6 h-6"}),avgLeadValue:"$100-300",conversionRate:"40%",marketSize:"$5.4B",growthRate:"3.8%",peakSeason:"Spring & Fall",avgResponseTime:"< 22 min",color:"pink"}],l=a=>{t.includes(a)?o(t.filter(d=>d!==a)):t.length<4&&o([...t,a])},s=n.filter(a=>t.includes(a.id)),c=n.filter(a=>!t.includes(a.id));return e.jsx(h,{children:e.jsxs("div",{className:"min-h-screen bg-light text-dark flex flex-col",children:[e.jsxs(x,{children:[e.jsx("title",{children:"Compare Industries | Ring Pair - Industry Comparison Tool"}),e.jsx("meta",{name:"description",content:"Compare lead values, conversion rates, and market insights across different home service industries."}),e.jsx("meta",{property:"og:title",content:"Compare Industries | Ring Pair"}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("link",{rel:"canonical",href:"https://ring-pair.com/industries/compare"})]}),e.jsx(g,{isHomePage:!1}),e.jsxs("main",{className:"flex-grow pt-24 pb-16",children:[e.jsx("section",{className:"bg-gradient-to-br from-blue-600 to-blue-700 text-white py-20 mb-16",children:e.jsx("div",{className:"container mx-auto px-4 md:px-6 lg:px-8",children:e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[e.jsxs(i,{to:"/industries",className:"inline-flex items-center gap-2 text-blue-100 hover:text-white mb-6 transition-colors",children:[e.jsx(b,{className:"w-5 h-5"}),"Back to Industries"]}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Compare Industries"}),e.jsx("p",{className:"text-xl text-blue-100 max-w-3xl",children:"Compare up to 4 industries side-by-side to find the best fit for your business."})]})})}),e.jsxs("div",{className:"container mx-auto px-4 md:px-6 lg:px-8",children:[t.length<4&&e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6 text-center",children:"Add Industry to Compare (Max 4)"}),e.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:c.map(a=>e.jsxs("button",{onClick:()=>l(a.id),className:"flex items-center gap-2 bg-white text-gray-700 border-2 border-gray-200 px-4 py-3 rounded-xl font-semibold hover:border-blue-300 hover:text-blue-600 transition-all shadow",children:[a.icon,a.name,e.jsx(j,{className:"w-4 h-4"})]},a.id))})]}),e.jsx(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"bg-white rounded-3xl shadow-2xl overflow-hidden border-2 border-gray-200",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50",children:[e.jsx("th",{className:"text-left p-6 font-bold text-gray-900 border-b-2 border-gray-200",children:"Metric"}),s.map(a=>e.jsx("th",{className:"text-center p-6 border-b-2 border-gray-200",children:e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a.icon,e.jsx("span",{className:"font-bold text-gray-900",children:a.name})]}),e.jsxs("button",{onClick:()=>l(a.id),className:"text-xs text-red-600 hover:text-red-700 flex items-center gap-1",children:[e.jsx(u,{className:"w-3 h-3"}),"Remove"]})]})},a.id))]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{className:"border-b border-gray-200",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Avg. Lead Value"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.avgLeadValue},a.id))]}),e.jsxs("tr",{className:"bg-gray-50 border-b border-gray-200",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Conversion Rate"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.conversionRate},a.id))]}),e.jsxs("tr",{className:"border-b border-gray-200",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Market Size"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.marketSize},a.id))]}),e.jsxs("tr",{className:"bg-gray-50 border-b border-gray-200",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Growth Rate"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.growthRate},a.id))]}),e.jsxs("tr",{className:"border-b border-gray-200",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Peak Season"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.peakSeason},a.id))]}),e.jsxs("tr",{className:"bg-gray-50",children:[e.jsx("td",{className:"p-6 font-semibold text-gray-700",children:"Avg Response Time"}),s.map(a=>e.jsx("td",{className:"p-6 text-center text-gray-900 font-semibold",children:a.avgResponseTime},a.id))]})]})]})})}),e.jsx(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"mt-12 grid grid-cols-2 md:grid-cols-4 gap-4",children:s.map(a=>e.jsxs(i,{to:`/industries/${a.id}`,className:"bg-gradient-to-br from-blue-600 to-blue-700 text-white p-6 rounded-2xl text-center hover:shadow-xl transition-all",children:[e.jsx("div",{className:"mb-2",children:a.icon}),e.jsx("div",{className:"text-sm font-semibold mb-2",children:a.name}),e.jsx("div",{className:"text-xs text-blue-100",children:"View Full Details →"})]},a.id))}),e.jsxs(r.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mt-16 bg-gradient-to-br from-gray-50 to-white rounded-3xl shadow-lg p-8 md:p-12 text-center border-2 border-gray-200",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Ready to Choose Your Industry?"}),e.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Contact us to discuss which vertical is the best fit for your business goals."}),e.jsx(i,{to:"/contact",className:"inline-flex items-center gap-2 bg-blue-600 text-white px-8 py-4 rounded-xl font-semibold hover:bg-blue-700 transition-all shadow-lg",children:"Start Getting Paid Jobs"})]})]})]}),e.jsx(p,{})]})})};export{P as default};