/** کاتالوگ اپ‌های پلتفرم — منبع واحد برای صفحهٔ اصلی و منوها. */

export type AppStatus = "available" | "coming_soon";

export interface PlatformApp {
  id: string;
  name: string;
  description: string;
  icon: string;
  gradient: string;
  status: AppStatus;
  href?: string;
}

export const PLATFORM_APPS: PlatformApp[] = [
  {
    id: "accounting",
    name: "حسابداری آنلاین",
    description: "فاکتور، دفتر کل، گزارش مالی",
    icon: "📊",
    gradient: "from-sky-500 to-blue-600",
    status: "available",
    href: "/accounting",
  },
  {
    id: "healthcare",
    name: "تربت هلث",
    description: "کلینیک، پزشک، بیمار، نوبت‌دهی",
    icon: "🏥",
    gradient: "from-rose-500 to-red-600",
    status: "available",
    href: "/healthcare/hub",
  },
  {
    id: "beauty",
    name: "تربت بیوتی",
    description: "سالن، نوبت، خدمات زیبایی",
    icon: "💅",
    gradient: "from-pink-500 to-fuchsia-600",
    status: "available",
    href: "/beauty/hub",
  },
  {
    id: "crm",
    name: "سیستم CRM",
    description: "مدیریت مشتری و فروش",
    icon: "🤝",
    gradient: "from-violet-500 to-purple-600",
    status: "available",
    href: "/crm/hub",
  },
  {
    id: "sports_center",
    name: "مرکز ورزشی",
    description: "عضویت، تمرین، مسابقات",
    icon: "🏋️",
    gradient: "from-blue-500 to-indigo-600",
    status: "available",
    href: "/sports-center/hub",
  },
  {
    id: "delivery",
    name: "تربت درایور",
    description: "لجستیک، پیک و ناوگان سازمانی",
    icon: "🚚",
    gradient: "from-cyan-500 to-teal-600",
    status: "available",
    href: "/delivery/hub",
  },
  {
    id: "ecommerce",
    name: "فروشگاه آنلاین",
    description: "کاتالوگ، سبد خرید، پرداخت",
    icon: "🛒",
    gradient: "from-emerald-500 to-teal-600",
    status: "coming_soon",
  },
  {
    id: "website_builder",
    name: "سایت‌ساز",
    description: "ساخت صفحات و لندینگ",
    icon: "🌐",
    gradient: "from-cyan-500 to-sky-600",
    status: "coming_soon",
  },
  {
    id: "restaurant",
    name: "رستوران و کافه",
    description: "منو، سفارش، آشپزخانه",
    icon: "🍽️",
    gradient: "from-orange-500 to-amber-600",
    status: "coming_soon",
  },
  {
    id: "live_chat",
    name: "گفتگوی زنده",
    description: "پشتیبانی آنلاین real-time",
    icon: "💬",
    gradient: "from-indigo-500 to-blue-600",
    status: "coming_soon",
  },
  {
    id: "smart_messenger",
    name: "پیام‌رسان هوشمند",
    description: "چت تیم و کانال‌ها",
    icon: "📱",
    gradient: "from-fuchsia-500 to-pink-600",
    status: "coming_soon",
  },
  {
    id: "sms_panel",
    name: "پنل پیامک",
    description: "ارسال انبوه و قالب پیام",
    icon: "📨",
    gradient: "from-lime-500 to-green-600",
    status: "coming_soon",
  },
  {
    id: "notification",
    name: "اعلان‌ها",
    description: "Push، ایمیل، SMS",
    icon: "🔔",
    gradient: "from-yellow-500 to-orange-500",
    status: "coming_soon",
  },
  {
    id: "file_storage",
    name: "فضای ابری",
    description: "آپلود، اشتراک، مدیریت فایل",
    icon: "☁️",
    gradient: "from-slate-500 to-gray-600",
    status: "coming_soon",
  },
  {
    id: "link_shortener",
    name: "کوتاه‌کننده لینک",
    description: "لینک کوتاه و آمار کلیک",
    icon: "🔗",
    gradient: "from-rose-500 to-red-600",
    status: "coming_soon",
  },
  {
    id: "ai_assistant",
    name: "دستیار هوشمند",
    description: "AI برای کسب‌وکار شما",
    icon: "✨",
    gradient: "from-purple-500 to-indigo-600",
    status: "coming_soon",
  },
];
