Spaces:
Running
Running
File size: 31,498 Bytes
3b65624 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pricing | CrispData</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
}
.wave-shape {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.wave-shape svg {
position: relative;
display: block;
width: calc(100% + 1.3px);
height: 150px;
}
.wave-shape .shape-fill {
fill: #FFFFFF;
}
.pricing-card {
transition: all 0.3s ease;
}
.pricing-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.pricing-card.popular {
border: 2px solid #6366f1;
position: relative;
}
.popular-badge {
position: absolute;
top: -12px;
right: 20px;
background: #6366f1;
color: white;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
}
</style>
</head>
<body class="font-sans antialiased text-gray-900">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex">
<div class="flex-shrink-0 flex items-center">
<i data-feather="layers" class="h-极 w-8 text-indigo-600"></i>
<span class="ml-2 text-xl font-bold text-gray-900">CrispData</span>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="index.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a>
<a href="dashboard.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Library</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Analytics</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Upload</a>
<a href="pricing.html" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Pricing</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button type="button" class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<span class="sr-only">View notifications</span>
<i data-feather="bell"></i>
</button>
<!-- Profile dropdown -->
<div class="ml-3 relative">
<div>
<button type="button" class="bg-white rounded-full flex text-sm focus极outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu" aria-expanded="false" aria-haspopup="true">
<span class="sr-only">Open user menu</span>
<img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="User profile">
</button>
</div>
</div>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<!-- Mobile menu button -->
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu, show/hide based on menu state. -->
<div class="sm:hidden hidden" id="mobile-menu">
<div class="pt-2 pb-3 space-y-1">
<a href="index.html" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Home</a>
<a href="dashboard.html" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Dashboard</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Library</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Analytics</极>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Upload</a>
<a href="pricing.html" class="bg-indigo-50 border-indigo-500 text-indigo-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Pricing</a>
</div>
<div class="pt-4 pb-3 border-t border-gray-200">
<div class="flex items-center px-4">
<div class="极s-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/42" alt="User profile">
</div>
<div class="ml-3">
<div class="text-base font-medium text-gray-800">John Doe</div>
<div class="text-sm font-medium text-gray-500">[email protected]</div>
</div>
<button type="button" class="ml-auto flex-shrink-0 bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<span class="sr-only">View notifications</span>
<i data-feather="bell"></极>
</button>
</div>
<div class="mt-3 space-y-1">
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="gradient-bg relative overflow-hidden">
<div class="max-w-7xl mx-auto">
<div class="relative z-10 pb-8 sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32">
<div class="pt-10 sm:pt-16 lg:pt-8 lg:pb-14 lg:overflow-hidden">
<div class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
<div class="sm:text-center lg:text-left">
<h1 class="text-4xl tracking-tight font-extrabold text-white sm:text-5xl md:text-6xl">
<span class="block">Simple, Transparent</span>
<span class="block text-indigo-200">Pricing</span>
</h1>
<p class="mt-3 text-base text-indigo-100 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
Start your creative journey for as low as <strong>$2/month</strong>. No hidden fees. Upgrade anytime.
</p>
</div>
</div>
</div>
</div>
</div>
<div class="wave-shape">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none">
<path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66极2.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.极9,56.44Z" class="shape-fill"></path>
</svg>
</div>
</div>
<!-- Pricing Section -->
<div class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Choose Your Plan
</h2>
<p class="mt-4 text-xl text-gray-600">
All plans include our core features. Upgrade or downgrade anytime.
</p>
</div>
<div class="mt-16 space-y-12 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-x-8">
<!-- Starter Plan -->
<div class="pricing-card relative p-8 bg-white rounded-2xl shadow-sm border border-gray-200" data-aos="fade-up">
<div class="flex-1">
<h3 class="text-xl font-semibold text-gray-900">Starter</h3>
<p class="mt-4 flex items-baseline text-gray-900">
<span class="text-5xl font-extrabold tracking-tight">$2</span>
<span class="ml-1 text-xl font-semibold">/month</span>
</p>
<p class="mt-6 text-gray-500">Perfect for beginners exploring content publishing.</p>
<!-- Features list -->
<ul class="mt-6 space-y-4">
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Upload up to 20 items</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Basic analytics (views, plays, reads)</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Community support</span>
</li>
</ul>
</div>
<div class="mt-8">
<button onclick="handleSubscribe('starter')" class="w-full bg-indigo-600 border border-transparent rounded-md py-2 px-6 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Subscribe Now
</button>
</div>
</div>
<!-- Pro Plan (Popular) -->
<div class="pricing-card popular relative p-8 bg-white rounded-2xl shadow-lg border-2 border-indigo-500" data-aos="fade-up" data-aos-delay="100">
<div class="popular-badge">MOST POPULAR</div>
<div class="flex-1">
<h3 class="text-xl font-semibold text-gray-900">Pro</h3>
<p class="mt-4 flex items-baseline text-gray-900">
<span class="text-5xl font-extrabold tracking-tight">$3</span>
<span class="ml-1 text-xl font-semibold">/month</span>
</p>
<p class="mt-6 text-gray-500">For active creators who want more freedom.</p>
<!-- Features list -->
<ul class="mt-6 space-y-4">
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Unlimited uploads</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Advanced analytics dashboard</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Priority processing</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Email support</span>
</li>
</ul>
</div>
<div class="mt-8">
<button onclick="handleSubscribe('creator_plus')" class="w-full bg-indigo-600 border border-transparent rounded-md py-2 px-6 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Subscribe Now
</button>
</div>
</div>
<!-- Creator Plus Plan -->
<div class="pricing-card relative p-8 bg-white rounded-2xl shadow-sm border border-gray-200" data-aos="fade-up" data-aos-delay="200">
<div class="flex-1">
<h3 class="text-xl font-semibold text-gray-900">Creator Plus</h3>
<p class="mt-4 flex items-baseline text-gray-900">
<span class="text-5xl font-extrabold tracking-tight">$5</span>
<span class="ml-1 text-xl font-semibold">/month</span>
</p>
<p class="mt-6 text-gray-500">For professionals who want everything unlocked.</p>
<!-- Features list -->
<ul class="mt-6 space-y-4">
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Unlimited uploads & storage</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Custom branding</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
<span class="ml-3 text-gray-500">Team collaboration</span>
</li>
<li class="flex items-center">
<i data-feather="check" class="h-5 w-5 text-green-500"></极>
<span class="ml-3 text-gray-500">Premium support & early features</span>
</li>
</ul>
</div>
<div class="mt-8">
<button class="w-full bg-indigo-600 border border-transparent rounded-md py-2 px-6 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Subscribe Now
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Subscription Management Section -->
<div class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Subscription Management</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Easy and Flexible
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Complete control over your subscription with secure payment processing.
</p>
</div>
<div class="mt-10">
<div class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10">
<div class="relative" data-aos="fade-up">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i data-feather="credit-card"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Secure Payments</h3>
<p class="mt-2 text-base text-gray-500">
Payments handled securely via Stripe Checkout. Your financial information is never stored on our servers.
</p>
</div>
</div>
<div class="relative" data-aos="fade-up" data-aos-delay="100">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i data-feather="refresh-cw"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Flexible Upgrades</h3>
<p class="mt-2 text-base text-gray-500">
Upgrade or downgrade your plan anytime. Changes take effect immediately with pro-rated billing.
</p>
</div>
</div>
<div class="relative" data-aos="fade-up" data-aos-delay="200">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i data-feather="user"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Subscription Dashboard</h3>
<p class="mt-2 text-base text-gray-500">
Manage your subscription, view billing history, and cancel anytime from your profile settings.
</p>
</div>
</div>
<div class="relative" data-aos="fade-up" data-aos-delay="300">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i data-feather="help-circle"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">No Hidden Fees</h3>
<p class="mt-2 text-base text-gray-500">
Transparent pricing with no surprise charges. Cancel anytime with no cancellation fees.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- CTA Section -->
<div class="bg-gray-50">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
<span class="block">Ready to get started?</span>
<span class="block text-indigo-600">Choose your plan and start creating today.</span>
</h2>
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
<div class="inline-flex rounded-md shadow">
<button onclick="handleViewPlans()" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700">
View Plans
</button>
</div>
<div class="ml-3 inline-flex rounded-md shadow">
<button onclick="handleContactSales()" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50">
Contact Sales
</button>
</div>
</div>
</极div>
</div>
<!-- Footer -->
<footer class="bg-gray-800">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8">
<div class="xl:grid xl:grid-cols-3 xl:gap-8">
<div class="space-y-8 xl:col-span-1">
<div class="flex items-center">
<i data-feather="layers" class="h-8 w-8 text-indigo-400"></i>
<span class="ml-2 text-xl font-bold text-white">CrispData</span>
</div>
<p class="text-gray-300 text-base">
The unified platform for creators to manage and publish all their content in one place.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="youtube"></i>
</a>
</div>
</div>
<div class="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2">
<div class="md:grid md:grid-cols-2 md:gap-8">
<div>
<h3 class="text-sm font-semib极 text-gray-300 tracking-wider uppercase">Solutions</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Music Creators</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Video Producers</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Blog Writers</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Voice Actors</a>
</li>
</ul>
</div>
<div class="mt-12 md:mt-0">
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Support</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="pricing.html" class="text-base text-gray-400 hover:text-white">Pricing</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Documentation</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Guides</a>
</极>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">API Status</a>
</li>
</ul>
</div>
</div>
<div class="md:grid md:极rid-cols-2 md:gap-8">
<div>
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Company</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">About</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Blog</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Jobs</a>
</li>
<li>
<a href="#" class="text-base text-gray-极0 hover:text-white">Press</a>
</li>
</ul>
</div>
<div class="mt-12 md:mt-0">
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Legal</h3>
<ul class="mt-4 space-y-4">
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Privacy</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Terms</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">Cookie Policy</a>
</li>
<li>
<a href="#" class="text-base text-gray-400 hover:text-white">GDPR</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="mt-12 border-t border-gray-700 pt-8">
<p class="text-base text-gray-400 text-center">
© 2023 CrispData, Inc. All rights reserved.
</p>
</div>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Mobile menu toggle
const mobileMenuButton = document.querySelector('[aria-controls="mobile-menu"]');
const mobileMenu = document.getElementById('mobile-menu');
if (mobileMenuButton && mobileMenu) {
mobileMenuButton.addEventListener('click', function() {
const expanded = this.getAttribute('aria-expanded') === 'true';
this.setAttribute('aria-expanded', !expanded);
mobileMenu.classList.toggle('hidden');
});
}
// Initialize AOS
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Initialize Feather Icons
feather.replace();
});
let loading = false;
async function handleSubscribe(plan) {
if (loading) return;
loading = true;
const buttons = document.querySelectorAll('button');
buttons.forEach(btn => {
if (btn.textContent.includes('Subscribe')) {
btn.disabled = true;
btn.innerHTML = 'Processing...';
}
});
try {
// Simulate API call
await new Promise(resolve => setTimeout(resolve, 2000));
// Redirect to checkout
window.location.href = `/checkout.html?plan=${plan}`;
} catch (error) {
console.error('Subscription error:', error);
alert('Something went wrong. Please try again.');
buttons.forEach(btn => {
if (btn.textContent.includes('Processing')) {
btn.disabled = false;
btn.innerHTML = 'Subscribe Now';
}
});
} finally {
loading = false;
}
}
function handleViewPlans() {
document.getElementById('pricing').scrollIntoView({ behavior: 'smooth' });
}
function handleContactSales() {
window.location.href = 'mailto:[email protected]';
}
</script>
</body>
</html> |