1import{r as o,s as P,u as b,j as e,C as m,a as x,c as F,e as y,X as f,b as _,P as E,d as I,B as g}from"./index-Dpu2hFqp.js";import{W as O}from"./WaitlistModal-CJ2KvEWy.js";import{g as A,S as T,o as W,w as M,a as D,c as L,s as q,f as G}from"./structuredData-BiOAgwRT.js";import{f as j,u as R}from"./useFunnelTracking-Dm2nrkBj.js";import{u as H}from"./useABTest-KNEu6h7n.js";import{A as u}from"./arrow-right-CFVGDgAU.js";import{C as h}from"./circle-check-DsDWzEgR.js";import"./dialog-CEVqHvTi.js";import"./input-CgSAk_cv.js";import"./label-BwlOxO8O.js";import"./validation-CQVmmuq9.js";import"./types-C4wPfBSD.js";import"./sparkles-DwulNHYH.js";import"./mail-n_JuN_go.js";function V(){const[s,a]=o.useState(null),[r,i]=o.useState(!0);return o.useEffect(()=>{(async()=>{const{count:c,error:t}=await P.from("assessment_responses").select("*",{count:"exact",head:!0}).gt("score",0);!t&&c!==null&&a(c),i(!1)})()},[]),{completedCount:s,displayCount:s?(n=>n<25?"25+":n<50?`${Math.floor(n/5)*5}+`:n<100?`${Math.floor(n/10)*10}+`:`${Math.floor(n/50)*50}+`)(s):"25+",loading:r}}const z=[{label:"1-3",value:"1-3",score:2},{label:"4-6",value:"4-6",score:3},{label:"7-10",value:"7-10",score:4},{label:"10+",value:"10+",score:5}];function $({onTrackClick:s}){const a=b(),[r,i]=o.useState(null),[l,n]=o.useState(!1),c=t=>{l||(i(t),n(!0),s==null||s("embedded_question_answered"),y.ctaClicked("Embedded Question Answered","hero_section"),j.ctaClick("embedded_first_question"),sessionStorage.setItem("embedded_first_answer",JSON.stringify({question:"toolCount",answer:t,timestamp:Date.now()})),setTimeout(()=>{a("/assessment?start=2")},400))};return e.jsx(m,{className:"border-2 border-primary/20 bg-card/80 backdrop-blur-sm shadow-lg",children:e.jsxs(x,{className:"p-5 sm:p-6",children:[e.jsx("p",{className:"text-xs text-primary/70 font-medium text-center mb-2 uppercase tracking-wide",children:"Step 1 of Your Business Checkup"}),e.jsx("h3",{className:"text-lg font-bold text-center mb-4 text-primary",children:"Start Your Free Checkup"}),e.jsx("p",{className:"text-sm text-foreground text-center mb-4",children:"How many different tools do you use to run your business?"}),e.jsx("p",{className:"text-xs text-muted-foreground text-center mb-4",children:"(CRM, email, accounting, scheduling, etc.)"}),e.jsx("div",{className:"grid grid-cols-4 gap-2 mb-4",children:z.map(t=>e.jsx("button",{onClick:()=>c(t.value),disabled:l,className:F("py-3 px-2 rounded-lg border-2 text-center transition-all duration-200 touch-manipulation min-h-[48px]","hover:border-primary/50 hover:bg-primary/5",r===t.value?"border-primary bg-primary/10 scale-105":"border-border",l&&r!==t.value&&"opacity-50"),children:e.jsx("span",{className:"text-sm font-semibold",children:t.label})},t.value))}),l&&e.jsxs("div",{className:"flex items-center justify-center gap-2 text-primary animate-pulse",children:[e.jsx(u,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm font-medium",children:"Loading your diagnostic..."})]}),!l&&e.jsxs("div",{className:"text-center space-y-1",children:[e.jsx("p",{className:"text-xs text-primary font-medium animate-pulse",children:e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(u,{className:"h-3 w-3"}),"Continue to question 2"]})}),e.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"No credit card. Takes about 3 minutes."})]})]})})}function Q(){const s=["You run an established small business (service, retail, online, or coaching/consulting)","You pay for software you barely use (or forgot you have)","You know your numbers are somewhere, but pulling them together is a nightmare","You want more customers without spending more on ads","You're so busy working IN the business, you can't work ON it"],a=["You're a tech startup with developers on staff","You want someone to run your marketing for you","You're part of a franchise (your systems are already set)","You need results today, not next week","You want done-for-you, not done-with-you","Your business is less than 2 years old (we need data to work with)"];return e.jsx("section",{className:"py-16 bg-card/50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-4 text-primary",children:"Is This For You?"}),e.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"We built this for business owners who are great at what they do â but don't have time to become tech experts."}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[e.jsx(m,{className:"border-2 border-green-200 bg-green-50/50 dark:border-green-800 dark:bg-green-950/20",children:e.jsxs(x,{className:"pt-6",children:[e.jsxs("h3",{className:"font-bold text-lg mb-4 flex items-center gap-2 text-green-800 dark:text-green-200",children:[e.jsx(h,{className:"h-5 w-5"}),"This is for you if..."]}),e.jsx("ul",{className:"space-y-3",children:s.map((r,i)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-green-800 dark:text-green-200",children:[e.jsx(h,{className:"h-4 w-4 flex-shrink-0 mt-0.5"}),e.jsx("span",{children:r})]},i))})]})}),e.jsx(m,{className:"border-2 border-muted bg-muted/30",children:e.jsxs(x,{className:"pt-6",children:[e.jsxs("h3",{className:"font-bold text-lg mb-4 flex items-center gap-2 text-muted-foreground",children:[e.jsx(f,{className:"h-5 w-5"}),"This is NOT for you if..."]}),e.jsx("ul",{className:"space-y-3",children:a.map((r,i)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[e.jsx(f,{className:"h-4 w-4 flex-shrink-0 mt-0.5"}),e.jsx("span",{children:r})]},i))})]})})]})]})})})}const J=()=>{const s=[{icon:"ð ",title:"Home Services",subtitle:"Plumbers · Electricians · HVAC · Landscapers · Cleaning"},{icon:"ð",title:"Salons & Spas",subtitle:"Hair · Nails · Massage · Esthetics · Barbershops"},{icon:"ð",title:"Auto Services",subtitle:"Mechanics · Body Shops · Detailing · Oil Change"}
1,{icon:"ð",title:"Events & Weddings",subtitle:"Florists · Event Planners · Photographers · Venues"},{icon:"ð",title:"Pet Services",subtitle:"Groomers · Boarding · Dog Walkers · Pet Sitters"},{icon:"ð",title:"Retail & Gift Shops",subtitle:"Gift Shops · Boutiques · Specialty Retail"},{icon:"ð",title:"Accountants & Bookkeepers",subtitle:"Tax Prep · Bookkeeping · Small CPAs · Payroll"},{icon:"ð¼",title:"Coaches & Consultants",subtitle:"Business Coaches · Life Coaches · Consultants"}];return e.jsx("section",{className:"py-10 bg-card/50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-2 text-primary",children:"Built for Main Street"}),e.jsx("p",{className:"text-center text-muted-foreground mb-8 max-w-2xl mx-auto text-sm",children:"From home services to creative professionals â if you serve local customers, this is for you."}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:s.map((a,r)=>e.jsxs("div",{className:"flex flex-col items-center gap-2 p-4 rounded-lg bg-card border border-border hover:border-primary/50 hover:shadow-md transition-all text-center",children:[e.jsx("span",{className:"text-2xl",children:a.icon}),e.jsx("span",{className:"font-medium text-sm text-foreground",children:a.title}),e.jsx("span",{className:"text-xs text-muted-foreground",children:a.subtitle})]},r))})]})})})},de=()=>{const s=b(),{user:a,loading:r}=_(),[i,l]=o.useState(!1),[n,c]=o.useState({name:"",title:""}),{variant:t,isLoading:p,trackView:N,trackClick:w}=H("landing_hero_messaging"),{displayCount:v}=V(),d=(t==null?void 0:t.config)||{headline:"Is your business getting the customers it deserves?",subheadline:"Start with the free checkup. Build from there at your own pace.",socialProof:"",ctaText:"Find Out What's Costing You Customers"};o.useEffect(()=>{!r&&a&&s("/dashboard")},[a,r,s]),o.useEffect(()=>{!p&&t&&N("landing_page")},[p,t]),R("/");const S=()=>{s(a?"/dashboard":"/auth")};if(r)return e.jsx(E,{text:""});const C=A([{name:"Home",url:"https://simplifyai.technology"}]),k=[W,M,D,L,...q,G,C];return e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-secondary/20 via-background to-accent/10",children:[e.jsx(T,{data:k}),e.jsx("header",{className:"bg-card border-b border-border/50",children:e.jsx("div",{className:"container mx-auto px-4 py-6",children:e.jsxs("nav",{className:"flex items-center justify-between",children:[e.jsx("img",{src:I,alt:"Simplify with digital and AI",className:"h-10 md:h-12 w-auto"}),e.jsx(g,{variant:"outline",onClick:S,children:a?"Dashboard":"Sign In"})]})})}),e.jsxs("main",{children:[e.jsx("section",{className:"py-8 md:py-12 bg-gradient-to-br from-primary/5 via-secondary/30 to-primary/10",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold leading-tight text-primary text-center mb-2 animate-fade-in whitespace-pre-line",children:d.headline}),e.jsx("p",{className:"text-base md:text-lg text-foreground/80 text-center mb-1 animate-fade-in",children:"For solopreneurs and small businesses under 20 employees"}),e.jsx("p",{className:"text-sm text-muted-foreground text-center mb-4 animate-fade-in",style:{animationDelay:"0.05s"},children:"You're great at what you do. But if customers can't find you online, you're leaving money on the table."}),d.socialProof&&e.jsx("p",{className:"text-sm text-primary font-medium text-center mb-6 animate-fade-in",style:{animationDelay:"0.1s"},children:d.socialProof}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-6 items-stretch mt-6",children:[e.jsx("div",{className:"animate-fade-in flex flex-col justify-center text-center lg:text-left",style:{animationDelay:"0.15s"},children:e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-xs text-muted-foreground italic border-l-2 border-primary/30 pl-3 max-w-xl mx-auto lg:mx-0",children:"Built by a former Cisco executive with 23 years of experience turning messy data into clear business decisions - now applied to small businesses."}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground max-w-xl mx-auto lg:mx-0",children:"You're great at what you do. But if customers can't find you online, you're leaving money on the table."}),e.jsx("p",{className:"text-base md:text-lg text-muted-foreground max-w-xl mx-auto lg:mx-0",children:"Take this 3-minute checkup to find out what's costing you customers â and get a clear plan to fix it."}),e.jsxs("div",{className:"pt-4 border-t border-border/50 mt-4",children:[e.jsx("h3",{className:"text-sm font-bold text-primary mb-2",children:"What You'll Get (Free)"}),e.jsx("div",{className:"space-y-1.5",children:["Your business health score â see where you're strong and where you're leaking money","What to fix first â no guessing, just a clear priority list","Personalized for your business â not generic advice, real recommendations"].map((Y,B)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(h,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),e.jsx("span",{className:"text-xs text-foreground",children:Y})]},B))})]})]})}),e.jsx("div",{className:"animate-fade-in flex",style:{animationDelay:"0.2s"},children:e.jsx($,{onTrackClick:w})})]})]})})}),e.jsx("section",{className:"py-4 border-y border-border/50 bg-secondary",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"grid grid-cols-3 gap-6 text-center",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("p",{className:"text-2xl font-bold text-primary",children:"100%"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Assessment completion"})]}),e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("p",{className:"text-2xl font-bold text-primary",children:v}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Business owners assessed"})]}),e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("p",{className:"text-2xl font-bold text-primary",children:"96%"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Said they need guidance"})]})]})})})}),e.jsx(Q,{}),e.jsx(J,{}),e.jsx("section",{className:"py-10 text-center",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-2xl mx-auto
1space-y-3",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary",children:"Stop guessing. Start knowing."}),e.jsx("p",{className:"text-base text-muted-foreground mt-4",children:"3 minutes now could save you months of wasted effort"}),e.jsxs(g,{size:"lg",onClick:()=>{y.ctaClicked("Get Your Free Business Checkup","final_cta_section"),j.ctaClick("final_cta_section"),s("/assessment")},className:"text-base px-6 h-12",children:["Get Your Free Business Checkup",e.jsx(u,{className:"ml-2 h-4 w-4"})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"No credit card · No account needed · Results in 3 minutes"})]})})})]}),e.jsx(O,{open:i,onOpenChange:l,featureName:n.name,featureTitle:n.title})]})};export{de 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.