"use client"; import { motion } from "framer-motion"; import { Layers, KeyRound, Route, BarChart3 } from "lucide-react"; import { cn } from "@/lib/utils"; import { useLanguage } from "@/components/LanguageContext"; interface JourneyNode { title: string; titleEn: string; icon: React.ComponentType<{ className?: string; style?: React.CSSProperties }>; desc: string; accentColor: string; glowClass: string; } export function FeatureJourneyMap() { const { t } = useLanguage(); const nodes: JourneyNode[] = [ { title: t("journeyNode1Title"), titleEn: t("journeyNode1TitleEn"), icon: Layers, desc: t("journeyNode1Desc"), accentColor: "var(--brand-gold)", glowClass: "shadow-[var(--brand-gold)]/10 border-[var(--brand-gold)]/20 hover:border-[var(--brand-gold)]/50", }, { title: t("journeyNode2Title"), titleEn: t("journeyNode2TitleEn"), icon: KeyRound, desc: t("journeyNode2Desc"), accentColor: "var(--brand-rose)", glowClass: "shadow-[var(--brand-rose)]/10 border-[var(--brand-rose)]/20 hover:border-[var(--brand-rose)]/50", }, { title: t("journeyNode3Title"), titleEn: t("journeyNode3TitleEn"), icon: Route, desc: t("journeyNode3Desc"), accentColor: "var(--brand-purple)", glowClass: "shadow-[var(--brand-purple)]/10 border-[var(--brand-purple)]/20 hover:border-[var(--brand-purple)]/50", }, { title: t("journeyNode4Title"), titleEn: t("journeyNode4TitleEn"), icon: BarChart3, desc: t("journeyNode4Desc"), accentColor: "var(--brand-gold)", glowClass: "shadow-[var(--brand-gold)]/10 border-[var(--brand-gold)]/20 hover:border-[var(--brand-gold)]/50", }, ]; return (
{t("journeyBadge")}

{t("journeyTitleLine1")}
{" "} {t("journeyTitleLine2")}

{t("journeyIntro1")}

{t("journeyIntro2")}

{t("journeyIntro3")}

{t("journeyPunchline")}

{nodes.map((node, index) => { const IconComponent = node.icon; const isEven = index % 2 === 0; const nodeNum = String(index + 1).padStart(2, "0"); return (
{nodeNum}
{"// "} {node.titleEn}

{node.title}

{node.desc}

); })}

{t("journeyInvestorTitle")}

{t("journeyInvestorDesc")}

); }