elahe-dashboards/cfc-experiences.html

612 lines
36 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>داشبورد فروش لینک‌های اختصاصی (CFC) در لاین تجربه | اکیپا</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
font-family: 'Vazirmatn', sans-serif;
background-color: #0b0f19;
color: #f8fafc;
}
.modal {
display: none;
position: fixed;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.7);
backdrop-filter: blur(4px);
}
</style>
</head>
<body class="min-h-screen p-4 md:p-8">
<!-- Executive Header Bar -->
<header class="max-w-7xl mx-auto mb-8 bg-slate-900/80 border border-purple-900/40 rounded-2xl p-6 backdrop-blur-md shadow-2xl relative overflow-hidden">
<div class="absolute -right-20 -top-20 w-60 h-60 bg-purple-600/10 rounded-full blur-3xl pointer-events-none"></div>
<div class="flex flex-col md:flex-row justify-between items-start md:items-center gap-4 relative z-10">
<div>
<div class="flex items-center gap-3 mb-2">
<span class="bg-purple-900/80 text-purple-300 text-xs px-3 py-1 rounded-full font-semibold border border-purple-700/60 flex items-center gap-1.5">
<i class="fa-solid fa-link"></i> مدل فروش کمیسیون ۵٪ اختصاصی (CFC)
</span>
<span class="bg-emerald-900/60 text-emerald-300 text-xs px-3 py-1 rounded-full font-semibold border border-emerald-700/50 flex items-center gap-1.5">
<i class="fa-solid fa-circle-check"></i> دیتای زنده متابیس (Live PostgreSQL)
</span>
</div>
<h1 class="text-2xl md:text-3xl font-extrabold text-white tracking-tight">
تحلیل رزروهای موفق لینک‌های اختصاصی (CFC) در لاین تجربه
</h1>
<p class="text-slate-400 text-sm mt-1">
محاسبه ماهانه از ابتدای فروش تا پایان آبان ۱۴۰۵ • حذف موارد تستی • مقایسه نرخ نفوذ نسبت به کل فروش تجربیات
</p>
</div>
<div class="flex flex-col items-end gap-2">
<div class="bg-purple-950/60 border border-purple-800/50 rounded-xl px-4 py-2 text-right">
<span class="text-xs text-purple-400 block font-medium">امضای مدیریت: الهه فلاحی</span>
<span class="text-xs text-slate-300 font-bold">مدیر مارکتینگ و رشد اکیپا</span>
</div>
<a href="https://metabase.ekeepa-dev.ir/dashboard/24" target="_blank" class="text-xs text-purple-400 hover:text-purple-300 flex items-center gap-1 font-semibold transition">
<i class="fa-solid fa-arrow-up-right-from-square"></i> مشاهده در متابیس (Dashboard #24)
</a>
</div>
</div>
</header>
<!-- KPI Summary Grid -->
<main class="max-w-7xl mx-auto space-y-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<!-- KPI 1 -->
<div class="bg-slate-900/70 border border-slate-800 rounded-2xl p-5 shadow-lg relative group hover:border-purple-600/50 transition">
<div class="flex justify-between items-start mb-2">
<span class="text-xs font-semibold text-slate-400">کل رزروهای موفق لاین تجربه</span>
<button onclick="openInfoModal('کل رزروهای موفق لاین تجربه', 'استخراج از جدول reservations دیتابیس متابیس اکیپا با شرط status=2 (پرداخت موفق درگاه)، تفکیک room_type تجربیات (تجربه، کلاس، تور، سفر) و حذف اکانت/اتاق تستی 1033612.')" class="text-slate-500 hover:text-purple-400 text-xs transition">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="text-3xl font-black text-white font-mono">2,000</div>
<div class="text-xs text-slate-500 mt-2 flex items-center gap-1">
<i class="fa-solid fa-calendar-check text-slate-400"></i> از ابتدای فروش تا آبان ۱۴۰۵
</div>
</div>
<!-- KPI 2 -->
<div class="bg-slate-900/70 border border-purple-900/50 rounded-2xl p-5 shadow-lg relative group hover:border-purple-500 transition">
<div class="flex justify-between items-start mb-2">
<span class="text-xs font-semibold text-purple-300">رزروهای موفق با لینک اختصاصی (CFC)</span>
<button onclick="openInfoModal('رزروهای موفق CFC', 'تعداد رزروهای قطعی با شرط status=2 که دارای پارامتر commission_free_code معتبر (Base64 شناسه برند/همکار یا تگ افیلیت) بوده‌اند. در این مدل کمیسیون همکار ۵٪ محاسبه می‌شود.')" class="text-slate-500 hover:text-purple-400 text-xs transition">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="text-3xl font-black text-purple-400 font-mono">178</div>
<div class="text-xs text-purple-400/80 mt-2 flex items-center gap-1">
<i class="fa-solid fa-bullseye"></i> جذب از طریق پارتنرها و شبکه‌های اجتماعی
</div>
</div>
<!-- KPI 3 -->
<div class="bg-slate-900/70 border border-slate-800 rounded-2xl p-5 shadow-lg relative group hover:border-purple-600/50 transition">
<div class="flex justify-between items-start mb-2">
<span class="text-xs font-semibold text-slate-400">نرخ نفوذ CFC به کل رزروها</span>
<button onclick="openInfoModal('نرخ نفوذ CFC', 'فرمول: (تعداد رزروهای موفق CFC تقسیم بر کل رزروهای موفق تجربیات) ضرب در ۱۰۰. این شاخص سهم پارتنرهای اختصاصی در حجم سفارشات را نشان می‌دهد.')" class="text-slate-500 hover:text-purple-400 text-xs transition">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="text-3xl font-black text-emerald-400 font-mono">8.9%</div>
<div class="text-xs text-slate-500 mt-2 flex items-center gap-1">
<i class="fa-solid fa-chart-pie text-emerald-400"></i> سهم کلی از بدو راه‌اندازی
</div>
</div>
<!-- KPI 4 -->
<div class="bg-slate-900/70 border border-slate-800 rounded-2xl p-5 shadow-lg relative group hover:border-purple-600/50 transition">
<div class="flex justify-between items-start mb-2">
<span class="text-xs font-semibold text-slate-400">مجموع فروش ناخالص CFC (تومان)</span>
<button onclick="openInfoModal('مجموع ارزش فروش CFC', 'مجموع GMV رزروهای اختصاصی محاسبه شده از حاصل‌ضرب تعداد نفرات در قیمت پایه هر سانس تقسیم بر ۱۰ (تبدیل ریال به تومان).')" class="text-slate-500 hover:text-purple-400 text-xs transition">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="text-3xl font-black text-white font-mono">46,466,600</div>
<div class="text-xs text-slate-500 mt-2 flex items-center gap-1">
<i class="fa-solid fa-coins text-amber-400"></i> ارزش ریالی خلق‌شده توسط همکاران
</div>
</div>
</div>
<!-- Charts Section -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2 bg-slate-900/70 border border-slate-800 rounded-2xl p-6 shadow-xl">
<div class="flex justify-between items-center mb-6">
<div>
<h2 class="text-lg font-bold text-white flex items-center gap-2">
<i class="fa-solid fa-chart-line text-purple-400"></i> روند ماهانه رزروهای کل در برابر CFC
</h2>
<p class="text-xs text-slate-400 mt-0.5">بررسی حجم ماهانه رزروهای تجربه و رشد سهم لینک‌های اختصاصی</p>
</div>
<button onclick="openInfoModal('نمودار روند ماهانه', 'نمایش ستونی حجم کل سفارشات و سفارشات CFC به تفکیک ماه‌های شمسی. ماه‌های تابستان ۱۴۰۵ اوج استقبال از لینک‌های اختصاصی بوده‌اند.')" class="text-slate-500 hover:text-purple-400 text-sm">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="h-72">
<canvas id="monthlyChart"></canvas>
</div>
</div>
<div class="bg-slate-900/70 border border-slate-800 rounded-2xl p-6 shadow-xl">
<div class="flex justify-between items-center mb-6">
<div>
<h2 class="text-lg font-bold text-white flex items-center gap-2">
<i class="fa-solid fa-percent text-purple-400"></i> نرخ سهم ماهانه CFC
</h2>
<p class="text-xs text-slate-400 mt-0.5">درصد رزروهای CFC از کل سفارشات هر ماه</p>
</div>
<button onclick="openInfoModal('نرخ سهم ماهانه', 'این نمودار نشان می‌دهد که در چه ماه‌هایی پارتنرها فعالیت تبلیغاتی موثرتری روی پیج‌های خود داشته‌اند.')" class="text-slate-500 hover:text-purple-400 text-sm">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="h-72">
<canvas id="rateChart"></canvas>
</div>
</div>
</div>
<!-- Detailed Table & Top Partners -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Table 1: Monthly Breakdown -->
<div class="lg:col-span-2 bg-slate-900/70 border border-slate-800 rounded-2xl p-6 shadow-xl">
<div class="flex justify-between items-center mb-4">
<div>
<h2 class="text-lg font-bold text-white flex items-center gap-2">
<i class="fa-solid fa-table-list text-purple-400"></i> جدول جامع تفکیک ماهانه عملکرد CFC
</h2>
<p class="text-xs text-slate-400 mt-0.5">شامل تعداد کل، تعداد CFC، نرخ سهم و مبالغ ناخالص فروش</p>
</div>
<button onclick="openInfoModal('جدول تفکیک ماهانه', 'کلیه آمارها مستقیماً از داده‌های ثبت‌شده قطعی درگاه اکیپا استخراج شده و نشان‌دهنده ضریب نفوذ مدل کمیسیون ۵٪ است.')" class="text-slate-500 hover:text-purple-400 text-sm">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full text-sm text-right">
<thead>
<tr class="bg-slate-800/60 text-slate-400 border-b border-slate-700/60 text-xs">
<th class="py-3 px-4 font-bold">ماه شمسی</th>
<th class="py-3 px-4 text-center font-bold">کل رزرو موفق</th>
<th class="py-3 px-4 text-center font-bold">رزرو CFC</th>
<th class="py-3 px-4 text-center font-bold">نرخ سهم (%)</th>
<th class="py-3 px-4 text-left font-bold">کل فروش (تومان)</th>
<th class="py-3 px-4 text-left font-bold">فروش CFC (تومان)</th>
</tr>
</thead>
<tbody>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">مهر 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">2</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">0</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
0.00%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">178,000</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">0</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">آبان 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">8</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">1</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
12.50%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">1,579,250</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">115,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">آذر 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">51</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">1</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
1.96%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">14,044,000</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">2,460,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">دی 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">26</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">0</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
0.00%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">4,257,200</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">0</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">بهمن 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">65</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">0</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
0.00%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">8,306,700</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">0</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">اسفند 1404</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">77</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">0</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
0.00%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">8,276,100</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">0</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">فروردین 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">24</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">0</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
0.00%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">3,435,000</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">0</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">اردیبهشت 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">113</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">7</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
6.19%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">26,868,240</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">1,668,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">خرداد 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">171</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">14</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
8.19%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">33,338,200</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">2,682,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">تیر 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">228</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">34</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
14.91%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">42,046,600</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">6,620,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">مرداد 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">466</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">36</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
7.73%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">90,588,400</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">8,580,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">شهریور 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">446</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">53</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
11.88%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">93,972,900</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">12,855,000</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">مهر 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">233</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">22</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
9.44%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">46,240,200</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">7,291,600</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-3 px-4 text-slate-200 font-semibold">آبان 1405</td>
<td class="py-3 px-4 text-center font-mono text-slate-300">90</td>
<td class="py-3 px-4 text-center font-mono text-purple-400 font-bold">10</td>
<td class="py-3 px-4 text-center">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-purple-900/60 text-purple-300 border border-purple-700/50">
11.11%
</span>
</td>
<td class="py-3 px-4 text-left font-mono text-slate-400">19,453,000</td>
<td class="py-3 px-4 text-left font-mono text-emerald-400 font-semibold">4,195,000</td>
</tr>
</tbody>
<tfoot>
<tr class="bg-purple-950/40 border-t-2 border-purple-800/80 font-bold text-white">
<td class="py-3.5 px-4 text-purple-300">مجموع کل</td>
<td class="py-3.5 px-4 text-center font-mono">2,000</td>
<td class="py-3.5 px-4 text-center font-mono text-purple-400">178</td>
<td class="py-3.5 px-4 text-center font-mono text-emerald-400">8.9%</td>
<td class="py-3.5 px-4 text-left font-mono">392,583,790</td>
<td class="py-3.5 px-4 text-left font-mono text-emerald-400">46,466,600</td>
</tr>
</tfoot>
</table>
</div>
</div>
<!-- Table 2: Top Partners -->
<div class="bg-slate-900/70 border border-slate-800 rounded-2xl p-6 shadow-xl flex flex-col justify-between">
<div>
<div class="flex justify-between items-center mb-4">
<div>
<h2 class="text-lg font-bold text-white flex items-center gap-2">
<i class="fa-solid fa-trophy text-amber-400"></i> برترین مجموعه‌ها در جذب CFC
</h2>
<p class="text-xs text-slate-400 mt-0.5">مجموعه‌هایی که بیشترین تبدیل را از پیج خود داشتند</p>
</div>
<button onclick="openInfoModal('برترین مجموعه‌ها', 'رتبه‌بندی مجموعه‌های تجربیات بر اساس تعداد رزرو موفقی که از طریق لینک اختصاصی ۵٪ خود ایجاد کرده‌اند.')" class="text-slate-500 hover:text-purple-400 text-sm">
<i class="fa-solid fa-circle-info"></i>
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full text-xs text-right">
<thead>
<tr class="bg-slate-800/60 text-slate-400 border-b border-slate-700/60">
<th class="py-2.5 px-4 font-bold">نام مجموعه / برند</th>
<th class="py-2.5 px-4 text-center font-bold">رزرو CFC</th>
<th class="py-2.5 px-4 text-left font-bold">مبلغ فروش</th>
</tr>
</thead>
<tbody>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">کی اف ال</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">118</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">30,261,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">مهد کودک بزرگتر ها</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">12</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">1,630,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">ساره آرت</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">12</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">1,950,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">هلی کوکی</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">9</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">2,303,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">استودیو زیتون</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">6</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">1,104,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">بلوم روم</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">4</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">810,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">ماریاکیک</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">3</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">2,800,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">راویا</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">2</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">780,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">استودیو عطرسازی آلا</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">2</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">1,390,000 تومان</td>
</tr>
<tr class="hover:bg-slate-800/40 transition border-b border-slate-800/60">
<td class="py-2.5 px-4 text-slate-200">اموزشگاه فنی و حرفه‌ای نقش و نگار</td>
<td class="py-2.5 px-4 text-center font-mono text-purple-400 font-bold">2</td>
<td class="py-2.5 px-4 text-left font-mono text-emerald-400">177,600 تومان</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="mt-4 p-3 bg-purple-900/20 border border-purple-800/40 rounded-xl text-xs text-purple-300">
<i class="fa-solid fa-lightbulb text-amber-400 ml-1"></i> نکته استراتژیک: تجربه پخت غذاهای بین‌المللی و کارگاه‌های سفالگری بیشترین ضریب تبدیل را در این مدل ثبت کرده‌اند.
</div>
</div>
</div>
</main>
<!-- Modal for Info Help -->
<div id="infoModal" class="modal flex items-center justify-center p-4">
<div class="bg-slate-900 border border-purple-800/80 rounded-2xl max-w-md w-full p-6 shadow-2xl relative">
<h3 id="modalTitle" class="text-lg font-bold text-purple-300 mb-2"></h3>
<p id="modalBody" class="text-slate-300 text-sm leading-relaxed mb-6"></p>
<div class="flex justify-end">
<button onclick="closeInfoModal()" class="px-4 py-2 bg-purple-700 hover:bg-purple-600 text-white text-xs font-semibold rounded-xl transition">
متوجه شدم
</button>
</div>
</div>
</div>
<script>
function openInfoModal(title, text) {
document.getElementById('modalTitle').innerText = title;
document.getElementById('modalBody').innerText = text;
document.getElementById('infoModal').style.display = 'flex';
}
function closeInfoModal() {
document.getElementById('infoModal').style.display = 'none';
}
window.onclick = function(event) {
if (event.target == document.getElementById('infoModal')) {
closeInfoModal();
}
}
// Monthly Chart
const ctx1 = document.getElementById('monthlyChart').getContext('2d');
new Chart(ctx1, {
type: 'bar',
data: {
labels: ["مهر 1404", "آبان 1404", "آذر 1404", "دی 1404", "بهمن 1404", "اسفند 1404", "فروردین 1405", "اردیبهشت 1405", "خرداد 1405", "تیر 1405", "مرداد 1405", "شهریور 1405", "مهر 1405", "آبان 1405"],
datasets: [
{
label: 'کل رزروهای موفق',
data: [2, 8, 51, 26, 65, 77, 24, 113, 171, 228, 466, 446, 233, 90],
backgroundColor: 'rgba(100, 116, 139, 0.4)',
borderColor: 'rgba(148, 163, 184, 0.8)',
borderWidth: 1,
borderRadius: 6
},
{
label: 'رزروهای موفق CFC',
data: [0, 1, 1, 0, 0, 0, 0, 7, 14, 34, 36, 53, 22, 10],
backgroundColor: 'rgba(168, 85, 247, 0.8)',
borderColor: '#a855f7',
borderWidth: 1,
borderRadius: 6
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
labels: {
color: '#94a3b8',
font: { family: 'Vazirmatn', size: 11 }
}
}
},
scales: {
x: {
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},
y: {
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { color: 'rgba(255, 255, 255, 0.05)' }
}
}
}
});
// Rate Chart
const ctx2 = document.getElementById('rateChart').getContext('2d');
new Chart(ctx2, {
type: 'line',
data: {
labels: ["مهر 1404", "آبان 1404", "آذر 1404", "دی 1404", "بهمن 1404", "اسفند 1404", "فروردین 1405", "اردیبهشت 1405", "خرداد 1405", "تیر 1405", "مرداد 1405", "شهریور 1405", "مهر 1405", "آبان 1405"],
datasets: [{
label: 'نرخ سهم CFC (%)',
data: [0.0, 12.5, 1.96, 0.0, 0.0, 0.0, 0.0, 6.19, 8.19, 14.91, 7.73, 11.88, 9.44, 11.11],
borderColor: '#34d399',
backgroundColor: 'rgba(52, 211, 153, 0.15)',
borderWidth: 2.5,
fill: true,
tension: 0.35,
pointBackgroundColor: '#10b981',
pointRadius: 4
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
labels: {
color: '#94a3b8',
font: { family: 'Vazirmatn', size: 11 }
}
}
},
scales: {
x: {
ticks: { color: '#94a3b8', font: { family: 'Vazirmatn', size: 10 } },
grid: { display: false }
},
y: {
ticks: {
color: '#94a3b8',
font: { family: 'Vazirmatn', size: 10 },
callback: function(value) { return value + '%'; }
},
grid: { color: 'rgba(255, 255, 255, 0.05)' }
}
}
}
});
</script>
</body>
</html>