Update index.html
Browse files- index.html +122 -72
index.html
CHANGED
|
@@ -83,6 +83,7 @@
|
|
| 83 |
.animate-gradient-text { background-size: 200% auto; animation: gradient-x 4s linear infinite; }
|
| 84 |
.fade-in-entry { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }
|
| 85 |
.animate-shimmer { animation: shimmer 2s infinite; }
|
|
|
|
| 86 |
|
| 87 |
/* Utility classes */
|
| 88 |
.glass-panel {
|
|
@@ -218,70 +219,117 @@
|
|
| 218 |
</div>
|
| 219 |
</div>
|
| 220 |
|
| 221 |
-
<!-- ===
|
| 222 |
-
<div id="
|
| 223 |
-
<div class="
|
| 224 |
-
|
| 225 |
-
<
|
| 226 |
-
|
| 227 |
-
<
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
<div class="w-8 h-8 rounded-full bg-gradient-to-br from-amber-400 to-orange-600 flex items-center justify-center shrink-0 shadow-lg shadow-amber-500/20">
|
| 247 |
-
<i data-lucide="infinity" class="text-white w-4 h-4"></i>
|
| 248 |
</div>
|
| 249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
</div>
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
</div>
|
| 255 |
-
<span class="text-sm font-medium text-slate-200">سرعت پردازش ۵ برابر بالاتر</span>
|
| 256 |
</div>
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
|
|
|
|
|
|
|
|
|
| 260 |
</div>
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 266 |
</div>
|
| 267 |
-
<span class="text-sm font-medium text-slate-200">بدون تبلیغات + پشتیبانی اولویتدار</span>
|
| 268 |
-
</div>
|
| 269 |
-
</div>
|
| 270 |
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
</div>
|
| 286 |
</div>
|
| 287 |
</div>
|
|
@@ -292,21 +340,21 @@
|
|
| 292 |
<!-- Bottom Nav -->
|
| 293 |
<div class="fixed bottom-0 left-0 right-0 z-50 p-4 pb-6">
|
| 294 |
<div class="mx-auto max-w-sm">
|
| 295 |
-
<div class="relative flex items-center justify-
|
| 296 |
|
| 297 |
<!-- Active Indicator -->
|
| 298 |
-
<div id="nav-indicator" class="absolute top-2 bottom-2 w-[calc(50%-8px)] bg-gradient-to-r from-indigo-600 to-violet-600 rounded-full -z-0 transition-all duration-300 ease-out" style="left:
|
| 299 |
|
| 300 |
<!-- Home Button -->
|
| 301 |
-
<button onclick="switchTab('home')" id="btn-home" class="relative z-10 flex items-center gap-2
|
| 302 |
<i data-lucide="home" class="w-5 h-5"></i>
|
| 303 |
<span class="text-sm font-bold">خانه</span>
|
| 304 |
</button>
|
| 305 |
|
| 306 |
-
<!--
|
| 307 |
-
<button onclick="switchTab('
|
| 308 |
-
<i data-lucide="
|
| 309 |
-
<span class="text-sm font-bold">ا
|
| 310 |
</button>
|
| 311 |
</div>
|
| 312 |
</div>
|
|
@@ -525,28 +573,30 @@
|
|
| 525 |
// 5. Navigation Logic
|
| 526 |
function switchTab(tab) {
|
| 527 |
const homeView = document.getElementById('home-view');
|
| 528 |
-
const
|
| 529 |
const indicator = document.getElementById('nav-indicator');
|
| 530 |
const btnHome = document.getElementById('btn-home');
|
| 531 |
-
const
|
| 532 |
|
| 533 |
if (tab === 'home') {
|
| 534 |
homeView.classList.add('active');
|
| 535 |
-
|
| 536 |
|
| 537 |
// Style updates
|
| 538 |
-
|
|
|
|
| 539 |
|
| 540 |
btnHome.classList.replace('text-slate-400', 'text-white');
|
| 541 |
-
|
| 542 |
} else {
|
| 543 |
homeView.classList.remove('active');
|
| 544 |
-
|
| 545 |
|
| 546 |
// Style updates
|
| 547 |
-
|
|
|
|
| 548 |
|
| 549 |
-
|
| 550 |
btnHome.classList.replace('text-white', 'text-slate-400');
|
| 551 |
}
|
| 552 |
window.scrollTo(0,0);
|
|
|
|
| 83 |
.animate-gradient-text { background-size: 200% auto; animation: gradient-x 4s linear infinite; }
|
| 84 |
.fade-in-entry { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }
|
| 85 |
.animate-shimmer { animation: shimmer 2s infinite; }
|
| 86 |
+
.animate-float-slow { animation: float 6s ease-in-out infinite; }
|
| 87 |
|
| 88 |
/* Utility classes */
|
| 89 |
.glass-panel {
|
|
|
|
| 219 |
</div>
|
| 220 |
</div>
|
| 221 |
|
| 222 |
+
<!-- === ACCOUNT VIEW (SUBSCRIPTION) === -->
|
| 223 |
+
<div id="account-view" class="view-section">
|
| 224 |
+
<div class="pb-24">
|
| 225 |
+
|
| 226 |
+
<!-- 1. Banner Image (Wide aspect ratio 1179/546) -->
|
| 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/20">
|
| 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] via-transparent to-transparent z-20 opacity-60"></div>
|
| 240 |
+
|
| 241 |
+
<!-- Badge -->
|
| 242 |
+
<div class="absolute top-4 right-4 z-30">
|
| 243 |
+
<div class="px-3 py-1.5 bg-black/40 backdrop-blur-md border border-amber-500/30 rounded-full flex items-center gap-1.5 shadow-lg">
|
| 244 |
+
<i data-lucide="crown" class="text-amber-400 fill-amber-400 w-3 h-3"></i>
|
| 245 |
+
<span class="text-[11px] font-bold text-amber-100">نسخه ویژه آلفا</span>
|
| 246 |
+
</div>
|
|
|
|
|
|
|
| 247 |
</div>
|
| 248 |
+
|
| 249 |
+
<!-- Title Overlay -->
|
| 250 |
+
<div class="absolute bottom-6 right-0 left-0 text-center z-30">
|
| 251 |
+
<h2 class="text-2xl font-black text-white drop-shadow-lg mb-1">اشتراک طلایی</h2>
|
| 252 |
+
<p class="text-amber-200 text-xs font-medium drop-shadow-md">تجربه قدرت واقعی هوش مصنوعی</p>
|
| 253 |
+
</div>
|
| 254 |
</div>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
+
<div class="px-5">
|
| 258 |
+
<!-- 2. Purchase Card -->
|
| 259 |
+
<div class="mb-8 fade-in-entry" style="animation-delay: 0.2s;">
|
| 260 |
+
<div class="relative p-[1px] rounded-[24px] bg-gradient-to-r from-amber-300 via-yellow-500 to-amber-600 shadow-xl shadow-amber-500/10 overflow-hidden group">
|
| 261 |
+
<!-- Shine on hover -->
|
| 262 |
+
<div class="absolute inset-0 bg-white/50 opacity-0 group-hover:opacity-20 transition-opacity"></div>
|
| 263 |
+
|
| 264 |
+
<div class="bg-[#131722] rounded-[23px] p-5 relative overflow-hidden">
|
| 265 |
+
<div class="absolute -right-10 -top-10 text-amber-500/5 rotate-12"><i data-lucide="sparkles" class="w-24 h-24"></i></div>
|
| 266 |
+
|
| 267 |
+
<div class="flex flex-col items-center text-center relative z-10">
|
| 268 |
+
<div class="flex items-end gap-1 mb-5">
|
| 269 |
+
<span class="text-4xl font-black text-transparent bg-clip-text bg-gradient-to-b from-amber-200 to-amber-500">۱۴۹,۰۰۰</span>
|
| 270 |
+
<span class="text-sm text-slate-400 font-medium mb-1">تومان / ماهانه</span>
|
| 271 |
+
</div>
|
| 272 |
+
|
| 273 |
+
<button class="w-full py-4 rounded-xl bg-gradient-to-r from-amber-400 to-orange-500 text-white font-bold text-lg shadow-lg shadow-orange-500/40 flex items-center justify-center gap-2 relative overflow-hidden group/btn">
|
| 274 |
+
<span class="relative z-10">تهیه اشتراک ویژه</span>
|
| 275 |
+
<div class="absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent translate-x-[-100%] animate-shimmer"></div>
|
| 276 |
+
</button>
|
| 277 |
+
<p class="text-[10px] text-slate-500 mt-3 flex items-center gap-1">
|
| 278 |
+
<i data-lucide="shield-check" class="w-3 h-3"></i>
|
| 279 |
+
تضمین بازگشت وجه در صورت نارضایتی
|
| 280 |
+
</p>
|
| 281 |
+
</div>
|
| 282 |
+
</div>
|
| 283 |
</div>
|
|
|
|
| 284 |
</div>
|
| 285 |
+
|
| 286 |
+
<!-- 3. Features -->
|
| 287 |
+
<div class="space-y-3 fade-in-entry" style="animation-delay: 0.4s;">
|
| 288 |
+
<div class="flex items-center gap-2 mb-3 px-1 opacity-90">
|
| 289 |
+
<div class="w-1.5 h-1.5 bg-amber-500 rounded-full animate-pulse"></div>
|
| 290 |
+
<h3 class="text-xs font-bold text-slate-300 uppercase tracking-wider">ویژگیهای فعال شده</h3>
|
| 291 |
</div>
|
| 292 |
+
|
| 293 |
+
<div class="flex items-center gap-4 bg-[#1A1F2E]/50 border border-white/5 p-4 rounded-2xl hover:bg-[#1A1F2E] transition-colors">
|
| 294 |
+
<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">
|
| 295 |
+
<i data-lucide="infinity" class="text-amber-400 w-5 h-5"></i>
|
| 296 |
+
</div>
|
| 297 |
+
<div>
|
| 298 |
+
<h4 class="text-sm font-bold text-white mb-0.5">دسترسی نامحدود</h4>
|
| 299 |
+
<p class="text-[11px] text-slate-400 leading-relaxed">تولید صدا و متن بدون هیچگونه محدودیت</p>
|
| 300 |
+
</div>
|
| 301 |
</div>
|
|
|
|
|
|
|
|
|
|
| 302 |
|
| 303 |
+
<div class="flex items-center gap-4 bg-[#1A1F2E]/50 border border-white/5 p-4 rounded-2xl hover:bg-[#1A1F2E] transition-colors">
|
| 304 |
+
<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">
|
| 305 |
+
<i data-lucide="zap" class="text-amber-400 w-5 h-5"></i>
|
| 306 |
+
</div>
|
| 307 |
+
<div>
|
| 308 |
+
<h4 class="text-sm font-bold text-white mb-0.5">سرعت پردازش بالا</h4>
|
| 309 |
+
<p class="text-[11px] text-slate-400 leading-relaxed">اولویت در صف پردازش سرورهای اختصاصی</p>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<div class="flex items-center gap-4 bg-[#1A1F2E]/50 border border-white/5 p-4 rounded-2xl hover:bg-[#1A1F2E] transition-colors">
|
| 314 |
+
<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">
|
| 315 |
+
<i data-lucide="star" class="text-amber-400 w-5 h-5"></i>
|
| 316 |
+
</div>
|
| 317 |
+
<div>
|
| 318 |
+
<h4 class="text-sm font-bold text-white mb-0.5">صداهای VIP</h4>
|
| 319 |
+
<p class="text-[11px] text-slate-400 leading-relaxed">دسترسی به ۳۰ صدای اختصاصی و طبیعی</p>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<div class="flex items-center gap-4 bg-[#1A1F2E]/50 border border-white/5 p-4 rounded-2xl hover:bg-[#1A1F2E] transition-colors">
|
| 324 |
+
<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">
|
| 325 |
+
<i data-lucide="shield-check" class="text-amber-400 w-5 h-5"></i>
|
| 326 |
+
</div>
|
| 327 |
+
<div>
|
| 328 |
+
<h4 class="text-sm font-bold text-white mb-0.5">بدون تبلیغات</h4>
|
| 329 |
+
<p class="text-[11px] text-slate-400 leading-relaxed">تجربه کاربری روان و بدون مزاحمت</p>
|
| 330 |
+
</div>
|
| 331 |
+
</div>
|
| 332 |
+
|
| 333 |
</div>
|
| 334 |
</div>
|
| 335 |
</div>
|
|
|
|
| 340 |
<!-- Bottom Nav -->
|
| 341 |
<div class="fixed bottom-0 left-0 right-0 z-50 p-4 pb-6">
|
| 342 |
<div class="mx-auto max-w-sm">
|
| 343 |
+
<div class="relative flex items-center justify-between bg-[#131722]/90 backdrop-blur-xl border border-white/10 rounded-full p-2 shadow-2xl shadow-black/50">
|
| 344 |
|
| 345 |
<!-- Active Indicator -->
|
| 346 |
+
<div id="nav-indicator" class="absolute top-2 bottom-2 w-[calc(50%-8px)] bg-gradient-to-r from-indigo-600 to-violet-600 rounded-full -z-0 transition-all duration-300 ease-out" style="left: 50%;"></div>
|
| 347 |
|
| 348 |
<!-- Home Button -->
|
| 349 |
+
<button onclick="switchTab('home')" id="btn-home" class="relative z-10 flex items-center justify-center gap-2 w-1/2 py-3 rounded-full transition-colors duration-300 text-white">
|
| 350 |
<i data-lucide="home" class="w-5 h-5"></i>
|
| 351 |
<span class="text-sm font-bold">خانه</span>
|
| 352 |
</button>
|
| 353 |
|
| 354 |
+
<!-- Account Button -->
|
| 355 |
+
<button onclick="switchTab('account')" id="btn-account" class="relative z-10 flex items-center justify-center gap-2 w-1/2 py-3 rounded-full transition-colors duration-300 text-slate-400 hover:text-white">
|
| 356 |
+
<i data-lucide="user" class="w-5 h-5"></i>
|
| 357 |
+
<span class="text-sm font-bold">حساب</span>
|
| 358 |
</button>
|
| 359 |
</div>
|
| 360 |
</div>
|
|
|
|
| 573 |
// 5. Navigation Logic
|
| 574 |
function switchTab(tab) {
|
| 575 |
const homeView = document.getElementById('home-view');
|
| 576 |
+
const accountView = document.getElementById('account-view');
|
| 577 |
const indicator = document.getElementById('nav-indicator');
|
| 578 |
const btnHome = document.getElementById('btn-home');
|
| 579 |
+
const btnAccount = document.getElementById('btn-account');
|
| 580 |
|
| 581 |
if (tab === 'home') {
|
| 582 |
homeView.classList.add('active');
|
| 583 |
+
accountView.classList.remove('active');
|
| 584 |
|
| 585 |
// Style updates
|
| 586 |
+
// Home is on the Right side in RTL. Left 50% starts the second half (Right side).
|
| 587 |
+
indicator.style.left = '50%';
|
| 588 |
|
| 589 |
btnHome.classList.replace('text-slate-400', 'text-white');
|
| 590 |
+
btnAccount.classList.replace('text-white', 'text-slate-400');
|
| 591 |
} else {
|
| 592 |
homeView.classList.remove('active');
|
| 593 |
+
accountView.classList.add('active');
|
| 594 |
|
| 595 |
// Style updates
|
| 596 |
+
// Account is on the Left side in RTL. Left 8px starts the first half (Left side).
|
| 597 |
+
indicator.style.left = '8px';
|
| 598 |
|
| 599 |
+
btnAccount.classList.replace('text-slate-400', 'text-white');
|
| 600 |
btnHome.classList.replace('text-white', 'text-slate-400');
|
| 601 |
}
|
| 602 |
window.scrollTo(0,0);
|