1import{r as i,a as u,b as g,j as e}from"./index-CMvbEjey.js";import{m as t}from"./proxy-DzonvWYf.js";import{A as h}from"./index-BFI7XVQJ.js";const p="/assets/character-using-budgi-ai-wBgFz2p3.png",l=[{id:1,text:"I found $340 in potential monthly savings by analyzing your subscriptions and recurring charges.",type:"ai",delay:0},{id:2,text:"Your spending on dining out increased 23% this monthâwant to review together?",type:"ai",delay:2},{id:3,text:"Great news! You're on track to hit your vacation goal by March 2024! ð",type:"ai",delay:4}],j=()=>{const[o,c]=i.useState([]),{trackEvent:r}=u(),d=g({sectionId:"ai_results_showcase"}),n=i.useRef(new Set);return i.useEffect(()=>{const a=[];return l.forEach(s=>{const x=setTimeout(()=>{c(m=>[...m,s.id]),n.current.has(s.id)||(n.current.add(s.id),r("ai_showcase_message_displayed",{message_id:s.id,message_type:s.type,section:"ai_results_showcase"}))},s.delay*1e3);a.push(x)}),()=>a.forEach(s=>clearTimeout(s))},[r]),e.jsxs("section",{ref:d,className:"relative py-20 sm:py-32 px-6 sm:px-8 overflow-hidden",id:"ai-results",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-background via-ai-green/10 to-background"}),e.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto",children:[e.jsxs(t.div,{className:"text-center mb-16 sm:mb-20",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[e.jsxs("h2",{className:"text-4xl sm:text-5xl md:text-6xl font-bold mb-6",children:[e.jsx("span",{className:"text-white",children:"Real Results, "}),e.jsx("span",{className:"bg-gradient-to-r from-ai-green to-ai-yellow bg-clip-text text-transparent",children:"Real Insights"})]}),e.jsx("p",{className:"text-lg sm:text-xl text-foreground max-w-2xl mx-auto",children:"See how Budgi-AI transforms your financial data into actionable intelligence"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[e.jsxs(t.div,{className:"relative",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[e.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl",children:[e.jsx("img",{src:p,alt:"Person using Budgi-AI successfully",className:"w-full h-auto object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/30 via-transparent to-transparent"})]}),e.jsxs(t.div,{className:"absolute -bottom-6 -right-6 bg-ai-green/90 backdrop-blur-sm rounded-2xl p-6 shadow-2xl border border-ai-green/30",initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.5,duration:.6},children:[e.jsx("div",{className:"text-3xl font-bold text-background mb-1",children:"$2,400"}),e.jsx("div",{className:"text-sm text-background/80",children:"Average yearly savings"})]})]}),e.jsxs(t.div,{className:"space-y-6",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[e.jsx("div",{className:"bg-card/50 backdrop-blur-sm border border-ai-green/30 rounded-2xl p-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 bg-ai-green/20 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-2xl",children:"ð¤"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-white",children:"Your AI Financial Coach"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 bg-ai-green rounded-full animate-pulse"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Active now"})]})]})]})}),e.jsx("div",{className:"space-y-4",children:e.jsx(h,{children:l.map(a=>o.includes(a.id)&&e.jsx(t.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:.5},className:"bg-ai-green/10 backdrop-blur-sm border border-ai-green/30 rounded-2xl p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"text-2xl",children:"ð¡"}),e.jsx("p",{className:"text-sm sm:text-base text-foreground leading-relaxed",children:a.text})]})},a.id))})}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 pt-6",children:[e.jsxs(t.div,{className:"bg-card/50 backdrop-blur-sm border border-border rounded-xl p-4 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3,duration:.6},children:[e.jsx("div",{className:"text-2xl font-bold text-ai-green mb-1",children:"3 min"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Average setup time"})]}),e.jsxs(t.div,{className:"bg-card/50 backdrop-blur-sm border border-border rounded-xl p-4 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5,duration:.6},children:[e.jsx("div",{className:"text-2xl font-bold text-ai-yellow mb
1-1",children:"24/7"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"AI coach availability"})]})]})]})]})]})]})};export{j 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.