Update index.html
Browse files- index.html +115 -91
index.html
CHANGED
|
@@ -221,112 +221,68 @@
|
|
| 221 |
|
| 222 |
<!-- === ACCOUNT VIEW (SUBSCRIPTION) === -->
|
| 223 |
<div id="account-view" class="view-section">
|
| 224 |
-
<div class="pb-
|
| 225 |
|
| 226 |
-
<!-- 1. Banner Image
|
| 227 |
-
<div class="relative w-full mx-auto px-5 mb-
|
| 228 |
-
<div class="relative w-full aspect-[1179/546] rounded-[32px] overflow-hidden shadow-2xl shadow-amber-500/
|
| 229 |
-
<!-- Background -->
|
| 230 |
<div class="absolute inset-0 bg-gradient-to-b from-[#1e202e] via-[#131722] to-[#0f111a] z-0"></div>
|
| 231 |
-
<div class="absolute top-[20%] left-1/2 -translate-x-1/2 w-full h-full bg-amber-500/10 blur-[100px] animate-pulse"></div>
|
| 232 |
-
|
| 233 |
-
<!-- Image -->
|
| 234 |
<img src="https://app.puzzley.net/uploads/user/Jydo/Gpt4/tmpu3en1zel%281%29.png?_t=1769674744"
|
| 235 |
alt="Premium"
|
| 236 |
-
class="absolute inset-0 w-full h-full object-cover z-10" />
|
| 237 |
-
|
| 238 |
-
<!-- Overlay -->
|
| 239 |
-
<div class="absolute inset-0 bg-gradient-to-t from-[#0B0F19]/40 via-transparent to-transparent z-20"></div>
|
| 240 |
</div>
|
| 241 |
</div>
|
| 242 |
|
| 243 |
-
<!-- 2.
|
| 244 |
-
<div class="text-center px-6 mb-8 fade-in-entry" style="animation-delay: 0.
|
| 245 |
-
<h1 class="text-
|
| 246 |
-
|
| 247 |
-
<span class="relative text-transparent bg-clip-text bg-gradient-to-r from-amber-200 via-yellow-400 to-amber-500 drop-shadow-sm">
|
| 248 |
-
اشـتـراک ویـــژه طـلایـی
|
| 249 |
-
</span>
|
| 250 |
-
</h1>
|
| 251 |
-
<p class="text-slate-400 text-xs font-medium leading-relaxed tracking-wide opacity-80">
|
| 252 |
-
دسترسی نامحدود به تمام قدرت هوش مصنوعی
|
| 253 |
-
</p>
|
| 254 |
</div>
|
| 255 |
|
| 256 |
-
<
|
| 257 |
-
|
| 258 |
-
<div class="
|
| 259 |
-
<
|
| 260 |
-
|
| 261 |
-
<div class="
|
| 262 |
-
|
| 263 |
-
<div class="
|
| 264 |
-
<
|
| 265 |
-
|
| 266 |
-
<div class="flex flex-col items-center text-center py-4 px-4">
|
| 267 |
-
<button class="w-full py-4 rounded-xl bg-gradient-to-r from-amber-400 to-orange-500 text-white font-black text-lg shadow-lg shadow-orange-500/40 flex items-center justify-center gap-2 relative overflow-hidden group/btn">
|
| 268 |
-
<i data-lucide="crown" class="fill-white/20 w-5 h-5"></i>
|
| 269 |
-
<span class="relative z-10">تهیه اشتراک ویژه</span>
|
| 270 |
-
<div class="absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent translate-x-[-100%] animate-shimmer"></div>
|
| 271 |
-
</button>
|
| 272 |
-
<p class="text-[10px] text-slate-500 mt-3 flex items-center gap-1 opacity-70">
|
| 273 |
-
<i data-lucide="shield-check" class="w-3 h-3"></i>
|
| 274 |
-
تضمین بازگشت وجه در صورت نارضایتی
|
| 275 |
-
</p>
|
| 276 |
-
</div>
|
| 277 |
</div>
|
| 278 |
</div>
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
<div class="flex items-center gap-2 mb-3 px-1 opacity-90">
|
| 284 |
-
<div class="w-1.5 h-1.5 bg-amber-500 rounded-full animate-pulse"></div>
|
| 285 |
-
<h3 class="text-xs font-bold text-slate-300 uppercase tracking-wider">ویژگیهای فعال شده</h3>
|
| 286 |
-
</div>
|
| 287 |
-
|
| 288 |
-
<div class="flex items-center gap-4 bg-[#1A1F2E]/50 border border-white/5 p-4 rounded-2xl hover:bg-[#1A1F2E] transition-colors">
|
| 289 |
-
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-amber-500/20 to-orange-500/10 flex items-center justify-center shrink-0 border border-amber-500/10">
|
| 290 |
-
<i data-lucide="infinity" class="text-amber-400 w-5 h-5"></i>
|
| 291 |
-
</div>
|
| 292 |
-
<div>
|
| 293 |
-
<h4 class="text-sm font-bold text-white mb-0.5">دسترسی نامحدود</h4>
|
| 294 |
-
<p class="text-[11px] text-slate-400 leading-relaxed">تولید صدا و متن بدون هیچگونه محدودیت</p>
|
| 295 |
-
</div>
|
| 296 |
</div>
|
|
|
|
|
|
|
| 297 |
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
<div>
|
| 313 |
-
<h4 class="text-sm font-bold text-white mb-0.5">صداهای VIP</h4>
|
| 314 |
-
<p class="text-[11px] text-slate-400 leading-relaxed">دسترسی به ۳۰ صدای اختصاصی و طبیعی</p>
|
| 315 |
</div>
|
| 316 |
-
</div>
|
| 317 |
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
<i data-lucide="shield-check" class="text-amber-400 w-5 h-5"></i>
|
| 321 |
</div>
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
<p class="text-[11px] text-slate-400 leading-relaxed">تجربه کاربری روان و بدون مزاحمت</p>
|
| 325 |
-
</div>
|
| 326 |
-
</div>
|
| 327 |
-
|
| 328 |
-
</div>
|
| 329 |
</div>
|
|
|
|
| 330 |
</div>
|
| 331 |
</div>
|
| 332 |
|
|
@@ -410,6 +366,44 @@
|
|
| 410 |
}
|
| 411 |
];
|
| 412 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 413 |
const SPECIAL_FEATURE = {
|
| 414 |
id: 'ai-gen',
|
| 415 |
title: 'تولید صدا Ai',
|
|
@@ -565,6 +559,38 @@
|
|
| 565 |
</div>
|
| 566 |
`;
|
| 567 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 568 |
// 5. Navigation Logic
|
| 569 |
function switchTab(tab) {
|
| 570 |
const homeView = document.getElementById('home-view');
|
|
@@ -578,7 +604,6 @@
|
|
| 578 |
accountView.classList.remove('active');
|
| 579 |
|
| 580 |
// Style updates
|
| 581 |
-
// Home is on the Right side in RTL. Left 50% starts the second half (Right side).
|
| 582 |
indicator.style.left = '50%';
|
| 583 |
|
| 584 |
btnHome.classList.replace('text-slate-400', 'text-white');
|
|
@@ -588,7 +613,6 @@
|
|
| 588 |
accountView.classList.add('active');
|
| 589 |
|
| 590 |
// Style updates
|
| 591 |
-
// Account is on the Left side in RTL. Left 8px starts the first half (Left side).
|
| 592 |
indicator.style.left = '8px';
|
| 593 |
|
| 594 |
btnAccount.classList.replace('text-slate-400', 'text-white');
|
|
|
|
| 221 |
|
| 222 |
<!-- === ACCOUNT VIEW (SUBSCRIPTION) === -->
|
| 223 |
<div id="account-view" class="view-section">
|
| 224 |
+
<div class="pb-28">
|
| 225 |
|
| 226 |
+
<!-- 1. Banner Image -->
|
| 227 |
+
<div class="relative w-full mx-auto px-5 mb-6 -mt-2 fade-in-entry">
|
| 228 |
+
<div class="relative w-full aspect-[1179/546] rounded-[32px] overflow-hidden shadow-2xl shadow-amber-500/10 ring-1 ring-white/10">
|
|
|
|
| 229 |
<div class="absolute inset-0 bg-gradient-to-b from-[#1e202e] via-[#131722] to-[#0f111a] z-0"></div>
|
|
|
|
|
|
|
|
|
|
| 230 |
<img src="https://app.puzzley.net/uploads/user/Jydo/Gpt4/tmpu3en1zel%281%29.png?_t=1769674744"
|
| 231 |
alt="Premium"
|
| 232 |
+
class="absolute inset-0 w-full h-full object-cover z-10 opacity-90" />
|
| 233 |
+
<div class="absolute inset-0 bg-gradient-to-t from-[#0B0F19] via-transparent to-transparent z-20"></div>
|
|
|
|
|
|
|
| 234 |
</div>
|
| 235 |
</div>
|
| 236 |
|
| 237 |
+
<!-- 2. Title Section -->
|
| 238 |
+
<div class="text-center px-6 mb-8 fade-in-entry" style="animation-delay: 0.1s;">
|
| 239 |
+
<h1 class="text-2xl font-black text-white mb-2">پلنهای دسترسی</h1>
|
| 240 |
+
<p class="text-slate-400 text-xs font-medium">قدرت واقعی هوش مصنوعی را آزاد کنید</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
</div>
|
| 242 |
|
| 243 |
+
<!-- 3. Comparison Table -->
|
| 244 |
+
<div class="px-4 mb-8 fade-in-entry" style="animation-delay: 0.2s;">
|
| 245 |
+
<div class="bg-[#131722]/60 backdrop-blur-xl rounded-[24px] border border-white/5 overflow-hidden relative">
|
| 246 |
+
<!-- Headers -->
|
| 247 |
+
<div class="grid grid-cols-[1.2fr_1fr_1fr] border-b border-white/5 bg-white/5">
|
| 248 |
+
<div class="p-4 text-[10px] font-bold text-slate-400 flex items-center">ویژگیها</div>
|
| 249 |
+
<div class="p-4 text-[11px] font-bold text-slate-300 text-center bg-slate-800/30">رایگان</div>
|
| 250 |
+
<div class="p-4 text-[11px] font-bold text-amber-400 text-center bg-amber-500/10 relative">
|
| 251 |
+
<span class="relative z-10">نسخه طلایی</span>
|
| 252 |
+
<div class="absolute inset-0 bg-amber-500/20 blur-xl"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
</div>
|
| 254 |
</div>
|
| 255 |
+
|
| 256 |
+
<!-- Body -->
|
| 257 |
+
<div class="divide-y divide-white/5" id="comparison-rows">
|
| 258 |
+
<!-- Rows injected via JS -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
|
| 263 |
+
<!-- 4. Lite Button -->
|
| 264 |
+
<div class="px-6 relative z-20 fade-in-entry" style="animation-delay: 0.4s;">
|
| 265 |
+
<div class="w-full relative group cursor-pointer active:scale-95 transition-transform duration-200">
|
| 266 |
+
<div class="absolute inset-0 bg-gradient-to-r from-amber-300 via-yellow-400 to-amber-500 rounded-2xl blur opacity-40 group-hover:opacity-60 transition-opacity duration-500 animate-pulse"></div>
|
| 267 |
+
<div class="relative bg-gradient-to-r from-[#1A1F2E] to-[#131722] border border-amber-500/50 rounded-2xl p-4 flex items-center justify-between shadow-xl">
|
| 268 |
+
|
| 269 |
+
<div class="flex items-center gap-3">
|
| 270 |
+
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-amber-400 to-yellow-600 flex items-center justify-center shadow-lg shadow-amber-500/30 text-white">
|
| 271 |
+
<i data-lucide="crown" class="w-5 h-5 fill-white"></i>
|
| 272 |
+
</div>
|
| 273 |
+
<div class="flex flex-col items-start">
|
| 274 |
+
<span class="text-base font-bold text-white">فعالسازی اشتراک ویژه</span>
|
| 275 |
+
<span class="text-[10px] text-amber-400/80 font-medium">دسترسی نامحدود به تمامی امکانات</span>
|
| 276 |
+
</div>
|
|
|
|
|
|
|
|
|
|
| 277 |
</div>
|
|
|
|
| 278 |
|
| 279 |
+
<div class="h-8 w-8 rounded-full bg-amber-500/10 flex items-center justify-center border border-amber-500/30 group-hover:bg-amber-500 group-hover:text-[#131722] transition-colors duration-300">
|
| 280 |
+
<i data-lucide="check" class="w-4 h-4"></i>
|
|
|
|
| 281 |
</div>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
</div>
|
| 285 |
+
|
| 286 |
</div>
|
| 287 |
</div>
|
| 288 |
|
|
|
|
| 366 |
}
|
| 367 |
];
|
| 368 |
|
| 369 |
+
const COMPARISON_DATA = [
|
| 370 |
+
{
|
| 371 |
+
title: "تعداد تولید روزانه",
|
| 372 |
+
icon: 'zap',
|
| 373 |
+
free: "۵ عدد",
|
| 374 |
+
pro: "نامحدود",
|
| 375 |
+
highlight: true
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
title: "تنوع صداها",
|
| 379 |
+
icon: 'mic-2',
|
| 380 |
+
free: "۵ صدای پایه",
|
| 381 |
+
pro: "۳۰+ صدای VIP",
|
| 382 |
+
highlight: false
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
title: "سرعت پردازش",
|
| 386 |
+
icon: 'sparkles',
|
| 387 |
+
free: "معمولی",
|
| 388 |
+
pro: "سرعت نور (Flash)",
|
| 389 |
+
highlight: true
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
title: "تبلیغات",
|
| 393 |
+
icon: 'shield',
|
| 394 |
+
free: "دارد",
|
| 395 |
+
pro: "حذف کامل",
|
| 396 |
+
highlight: false
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
title: "دانلود فایل",
|
| 400 |
+
icon: 'crown',
|
| 401 |
+
free: "کیفیت پایین",
|
| 402 |
+
pro: "کیفیت استودیو",
|
| 403 |
+
highlight: true
|
| 404 |
+
}
|
| 405 |
+
];
|
| 406 |
+
|
| 407 |
const SPECIAL_FEATURE = {
|
| 408 |
id: 'ai-gen',
|
| 409 |
title: 'تولید صدا Ai',
|
|
|
|
| 559 |
</div>
|
| 560 |
`;
|
| 561 |
|
| 562 |
+
// 5. Render Comparison Table
|
| 563 |
+
const comparisonContainer = document.getElementById('comparison-rows');
|
| 564 |
+
COMPARISON_DATA.forEach((item, idx) => {
|
| 565 |
+
const html = `
|
| 566 |
+
<div class="grid grid-cols-[1.2fr_1fr_1fr] items-center relative group fade-in-entry" style="animation-delay: ${0.3 + (idx * 0.1)}s">
|
| 567 |
+
<div class="p-3.5 pl-4 flex items-center gap-2">
|
| 568 |
+
<div class="p-1.5 rounded-lg ${item.highlight ? 'bg-amber-500/10 text-amber-400' : 'bg-slate-700/30 text-slate-400'}">
|
| 569 |
+
<i data-lucide="${item.icon}" class="w-3 h-3"></i>
|
| 570 |
+
</div>
|
| 571 |
+
<span class="text-[10px] font-bold ${item.highlight ? 'text-white' : 'text-slate-400'}">
|
| 572 |
+
${item.title}
|
| 573 |
+
</span>
|
| 574 |
+
</div>
|
| 575 |
+
|
| 576 |
+
<div class="p-3.5 text-center bg-slate-800/10 h-full flex items-center justify-center">
|
| 577 |
+
<span class="text-[10px] font-medium text-slate-500">
|
| 578 |
+
${item.free === "دارد" ? '<i data-lucide="check" class="w-3.5 h-3.5 text-slate-500 mx-auto"></i>' : item.free}
|
| 579 |
+
</span>
|
| 580 |
+
</div>
|
| 581 |
+
|
| 582 |
+
<div class="p-3.5 text-center bg-amber-500/5 h-full flex items-center justify-center relative">
|
| 583 |
+
${item.highlight ? '<div class="absolute inset-0 bg-amber-500/5 animate-pulse"></div>' : ''}
|
| 584 |
+
<span class="text-[10px] font-bold relative z-10 ${item.highlight ? 'text-amber-300' : 'text-amber-100/80'}">
|
| 585 |
+
${item.pro}
|
| 586 |
+
</span>
|
| 587 |
+
</div>
|
| 588 |
+
</div>
|
| 589 |
+
`;
|
| 590 |
+
comparisonContainer.innerHTML += html;
|
| 591 |
+
});
|
| 592 |
+
|
| 593 |
+
|
| 594 |
// 5. Navigation Logic
|
| 595 |
function switchTab(tab) {
|
| 596 |
const homeView = document.getElementById('home-view');
|
|
|
|
| 604 |
accountView.classList.remove('active');
|
| 605 |
|
| 606 |
// Style updates
|
|
|
|
| 607 |
indicator.style.left = '50%';
|
| 608 |
|
| 609 |
btnHome.classList.replace('text-slate-400', 'text-white');
|
|
|
|
| 613 |
accountView.classList.add('active');
|
| 614 |
|
| 615 |
// Style updates
|
|
|
|
| 616 |
indicator.style.left = '8px';
|
| 617 |
|
| 618 |
btnAccount.classList.replace('text-slate-400', 'text-white');
|