"use client"; import { useState } from "react"; import { Plus, Search, Target, Flag, TrendingUp, Zap, CheckCircle2, Clock, Brain, MoreHorizontal, X, ChevronRight, ArrowRight, BarChart3, Star, Shield, Globe, Briefcase, Award } from "lucide-react"; import { motion, AnimatePresence } from "framer-motion"; // Mock Data const goals = [ { id: 1, title: "100k Monthly Recurring Revenue", category: "Financial", progress: 42, deadline: "Dec 2026", status: "Active", priority: "Critical", milestones: [ { name: "Reach 50k MRR", status: "Done", date: "Aug 2026" }, { name: "Scale Sales Team", status: "In Progress", date: "Sep 2026" }, { name: "Launch Enterprise Tier", status: "Upcoming", date: "Nov 2026" }, ], aiInsight: "Currently 12% ahead of target. Strategic focus should remain on enterprise lead generation." }, { id: 2, title: "Launch Neta AI Mobile App", category: "Product", progress: 85, deadline: "May 25, 2026", status: "Active", priority: "High", milestones: [ { name: "Beta Testing", status: "Done", date: "Apr 15" }, { name: "App Store Review", status: "In Progress", date: "May 10" }, { name: "Global Launch", status: "Upcoming", date: "May 25" }, ], aiInsight: "85% complete. Recommendation: Finalize push notification logic to ensure day-1 retention." }, { id: 3, title: "Achieve Peak Physical Fitness", category: "Personal", progress: 60, deadline: "Ongoing", status: "Active", priority: "Medium", milestones: [], aiInsight: "" }, { id: 4, title: "Acquire 500 Enterprise Leads", category: "Marketing", progress: 25, deadline: "Jun 2026", status: "Delayed", priority: "High", milestones: [], aiInsight: "" }, ]; export default function GoalsPage() { const [selectedGoal, setSelectedGoal] = useState(null); return (
{/* Top Header */}

Vision / Strategic Goals

4 ACTIVE OBJECTIVES
{/* Goal Matrix Categories */}
{/* Main Goals Grid */}
{goals.map((goal) => ( setSelectedGoal(goal)} className="bg-[#0A0710] border border-white/5 rounded-sm p-8 flex flex-col gap-8 relative group overflow-hidden shadow-2xl cursor-pointer hover:border-primary/30 transition-all" >
{goal.priority} {goal.category}

{goal.title}

Strategic Progress
{goal.progress}%
Target Date
{goal.deadline}
{[1, 2, 3].map(i =>
U{i}
)}
{goal.milestones?.length || 0} Milestones
))}
{/* Goal Detail Sheet */} {selectedGoal && ( <> setSelectedGoal(null)} className="fixed inset-0 bg-black/80 backdrop-blur-md z-[100]" />
{selectedGoal.priority} Priority Category: {selectedGoal.category}

{selectedGoal.title}

{/* Progress Visual */}
Strategic Completion
{selectedGoal.progress}%
{selectedGoal.deadline}
Target Date
{/* AI Goal Intelligence */} {selectedGoal.aiInsight && (

Goal Intelligence Report

"{selectedGoal.aiInsight}"

)} {/* Milestone Roadmap */}

Milestone Roadmap

{selectedGoal.milestones?.map((ms: any, i: number) => (
{ms.name}
{ms.date} • {ms.status}
{ms.status === 'Done' && }
))}
{/* Connect Resources */}

Linked Deliverables

Project: Neta App
Core Requirement
Achievement: Series A
Strategic Outcome
)}
); } function GoalCategoryCard({ label, count, color, icon: Icon }: any) { return (
{label}
{count}
); }