"use client"; import { useTranslations } from "next-intl"; import { BlurFade } from "@/components/ui/blur-fade"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; import { Dialog, DialogContent, DialogTrigger } from "@/components/ui/dialog"; import { NumberTicker } from "@/components/ui/number-ticker"; import { Wallet, Handshake, CheckCircle, Shield, Zap, BarChart, Lock, } from "lucide-react"; export function EscrowExplanation() { const t = useTranslations("home.escrowExplanation"); const benefits = [ { icon: Shield, title: t("benefits.protection.title"), description: t("benefits.protection.description"), color: "text-green-500", }, { icon: Zap, title: t("benefits.fast.title"), description: t("benefits.fast.description"), color: "text-blue-500", }, { icon: BarChart, title: t("benefits.history.title"), description: t("benefits.history.description"), color: "text-purple-500", }, { icon: Lock, title: t("benefits.trusted.title"), description: t("benefits.trusted.description"), color: "text-orange-500", }, ]; const faqItems = [ { question: t("faq.q1"), answer: t("faq.a1"), }, { question: t("faq.q2"), answer: t("faq.a2"), }, { question: t("faq.q3"), answer: t("faq.a3"), }, { question: t("faq.q4"), answer: t("faq.a4"), }, { question: t("faq.q5"), answer: t("faq.a5"), }, ]; const stats = [ { value: 208, suffix: "M", label: t("stats.volume"), }, { value: 8763, suffix: "", label: t("stats.transactions"), }, { value: 99.8, suffix: "%", label: t("stats.satisfaction"), }, { value: 2, suffix: "min", label: t("stats.avgTime"), }, ]; return (
{/* Título e Subtítulo */}

{t("title")}

{t("subtitle")}

{/* Cards de Etapas */}
{/* Card 1: Depósito */}
1

{t("step1.title")}

{t("step1.description")}

{t("step1.example")}
{/* Card 2: Negociação */}
2

{t("step2.title")}

{t("step2.description")}

{t("step2.example")}
{/* Card 3: Conclusão */}
3

{t("step3.title")}

{t("step3.description")}

{t("step3.example")}
{/* Grid de Benefícios */}
{benefits.map((benefit, idx) => (

{benefit.title}

{benefit.description}

))}
{/* FAQ */}

{t("faq.title")}

{faqItems.map((item, idx) => ( {item.question} {item.answer} ))}
{/* CTA Section */}
✨ Primeiras 3 transações sem taxa!

{t("cta.title")}

Vídeo explicativo aqui

{/* Barra de Estatísticas */}
{stats.map((stat, idx) => (

{stat.suffix}

{stat.label}

))}
); }