Spaces:
Running
Running
File size: 37,627 Bytes
0694738 |
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 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forex EA Pro - Automated Trading Solutions</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
}
.product-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);
}
.payment-method:hover {
border-color: #3b82f6;
}
#checkoutModal {
transition: all 0.3s ease;
}
.trading-chart {
height: 400px;
background-color: #1e293b;
border-radius: 0.5rem;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-chart-line text-2xl"></i>
<span class="text-xl font-bold">Forex EA Pro</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#home" class="hover:text-blue-200 transition">Home</a>
<a href="#products" class="hover:text-blue-200 transition">Products</a>
<a href="#features" class="hover:text-blue-200 transition">Features</a>
<a href="#testimonials" class="hover:text-blue-200 transition">Testimonials</a>
<a href="#faq" class="hover:text-blue-200 transition">FAQ</a>
</div>
<button class="md:hidden text-white focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="gradient-bg text-white py-20">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Revolutionize Your Forex Trading</h1>
<p class="text-xl mb-8 text-blue-100">Our expert advisors automate your trading strategy with precision, maximizing profits while minimizing risks.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<a href="#products" class="bg-white text-blue-600 hover:bg-blue-50 px-6 py-3 rounded-lg font-semibold text-center transition">Explore EAs</a>
<a href="#features" class="border border-white text-white hover:bg-blue-700 px-6 py-3 rounded-lg font-semibold text-center transition">Learn More</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="trading-chart w-full max-w-lg relative">
<div class="absolute inset-0 flex items-center justify-center">
<div class="text-center p-6">
<i class="fas fa-chart-pie text-6xl text-blue-300 mb-4"></i>
<p class="text-blue-200">Live Trading Performance</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="bg-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
<div class="p-6 rounded-lg border border-gray-200">
<div class="text-4xl font-bold text-blue-600 mb-2">95%</div>
<div class="text-gray-600">Win Rate</div>
</div>
<div class="p-6 rounded-lg border border-gray-200">
<div class="text-4xl font-bold text-blue-600 mb-2">24/7</div>
<div class="text-gray-600">Trading</div>
</div>
<div class="p-6 rounded-lg border border-gray-200">
<div class="text-4xl font-bold text-blue-600 mb-2">10,000+</div>
<div class="text-gray-600">Satisfied Traders</div>
</div>
</div>
</div>
</section>
<!-- Products Section -->
<section id="products" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-4">Our Expert Advisors</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">Choose from our selection of high-performance trading robots designed for different market conditions.</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Product 1 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-bold">Scalper Pro</h3>
<span class="text-sm text-gray-500">Best for short-term trades</span>
</div>
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">BESTSELLER</span>
</div>
<p class="text-gray-600 mb-6">Designed to capture small price movements with high frequency and precision.</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>5-10 trades per day</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>1:2 risk/reward ratio</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>Works on EUR/USD, GBP/USD</span>
</li>
</ul>
<div class="mb-6">
<span class="text-3xl font-bold">$299</span>
<span class="text-gray-500 line-through ml-2">$399</span>
</div>
<button onclick="openCheckoutModal('Scalper Pro', 299)" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-semibold transition">
Buy Now
</button>
</div>
</div>
<!-- Product 2 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-bold">Trend Master</h3>
<span class="text-sm text-gray-500">Best for trending markets</span>
</div>
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">NEW</span>
</div>
<p class="text-gray-600 mb-6">Identifies and rides strong market trends with optimized entry and exit points.</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>2-5 trades per week</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>1:3 risk/reward ratio</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>Works on all major pairs</span>
</li>
</ul>
<div class="mb-6">
<span class="text-3xl font-bold">$399</span>
<span class="text-gray-500 line-through ml-2">$499</span>
</div>
<button onclick="openCheckoutModal('Trend Master', 399)" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-semibold transition">
Buy Now
</button>
</div>
</div>
<!-- Product 3 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-bold">Gold Hunter</h3>
<span class="text-sm text-gray-500">Specialized for XAU/USD</span>
</div>
<span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">LIMITED</span>
</div>
<p class="text-gray-600 mb-6">Optimized specifically for gold trading with volatility-based algorithms.</p>
<ul class="space-y-2 mb-6">
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>3-8 trades per week</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>1:2.5 risk/reward ratio</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>Exclusive to XAU/USD</span>
</li>
</ul>
<div class="mb-6">
<span class="text-3xl font-bold">$349</span>
<span class="text-gray-500 line-through ml-2">$449</span>
</div>
<button onclick="openCheckoutModal('Gold Hunter', 349)" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-semibold transition">
Buy Now
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-4">Why Choose Our EAs</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">Our expert advisors are built with cutting-edge technology and years of trading experience.</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-robot text-blue-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold mb-2">Fully Automated</h3>
<p class="text-gray-600">Once installed, our EAs work 24/7 without your intervention, executing trades based on predefined algorithms.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-shield-alt text-blue-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold mb-2">Risk Management</h3>
<p class="text-gray-600">Built-in stop loss, take profit, and money management systems protect your capital.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-sync-alt text-blue-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold mb-2">Continuous Updates</h3>
<p class="text-gray-600">We regularly update our algorithms to adapt to changing market conditions.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-headset text-blue-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold mb-2">Premium Support</h3>
<p class="text-gray-600">Our team is available to help with installation, configuration, and any questions.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section id="testimonials" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-4">What Our Clients Say</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">Don't just take our word for it - hear from traders who've used our EAs.</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<span class="text-blue-600 font-bold">JD</span>
</div>
<div>
<h4 class="font-semibold">John D.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"The Scalper Pro has transformed my trading. I went from inconsistent results to steady profits. The automated nature means I don't miss opportunities while I sleep!"</p>
</div>
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<span class="text-blue-600 font-bold">SM</span>
</div>
<div>
<h4 class="font-semibold">Sarah M.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"As someone with a full-time job, I needed automation. The Trend Master EA has given me returns I never thought possible with my limited time."</p>
</div>
<div class="bg-white p-6 rounded-lg shadow">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<span class="text-blue-600 font-bold">RK</span>
</div>
<div>
<h4 class="font-semibold">Robert K.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-600">"The Gold Hunter EA has been a game-changer for my portfolio. The specialized focus on gold means it understands the unique characteristics of this market."</p>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section id="faq" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-4">Frequently Asked Questions</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">Find answers to common questions about our Expert Advisors.</p>
<div class="max-w-3xl mx-auto">
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg focus:outline-none">
<span>What is an Expert Advisor (EA)?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden">
<p>An Expert Advisor is an automated trading system that executes trades on your behalf based on predefined algorithms. It connects to your trading platform (like MetaTrader 4 or 5) and can analyze the market and place trades without your direct involvement.</p>
</div>
</div>
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg focus:outline-none">
<span>How do I install the EA after purchase?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden">
<p>After your purchase is complete, you'll receive an email with the EA file and detailed installation instructions. Generally, you'll need to copy the .ex4 or .ex5 file to your MetaTrader's Experts folder, then restart your platform. We also provide video tutorials for visual learners.</p>
</div>
</div>
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg focus:outline-none">
<span>What broker do you recommend?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden">
<p>Our EAs work with any broker that supports MetaTrader 4 or 5. However, we recommend brokers with tight spreads, fast execution, and no dealing desk intervention. Some of our clients have had good experiences with IC Markets, Pepperstone, and FXPro, but you're free to choose any reputable broker.</p>
</div>
</div>
<div class="mb-6 border-b border-gray-200 pb-6">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg focus:outline-none">
<span>Can I test the EA before buying?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden">
<p>We offer a 14-day money-back guarantee instead of a free trial. This allows you to properly test the EA on your live account with real market conditions. If you're not satisfied within 14 days, we'll refund your purchase no questions asked.</p>
</div>
</div>
<div class="mb-6">
<button class="faq-toggle flex justify-between items-center w-full text-left font-semibold text-lg focus:outline-none">
<span>What's included in the purchase?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-content mt-4 text-gray-600 hidden">
<p>Your purchase includes the EA file, detailed installation guide, recommended settings for different account sizes, access to our private support channel, and free updates for one year. After one year, you can continue using the EA but will need to renew for updates (optional).</p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="gradient-bg text-white py-16">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-6">Ready to Transform Your Trading?</h2>
<p class="text-xl text-blue-100 max-w-2xl mx-auto mb-8">Join thousands of traders who've automated their success with our Expert Advisors.</p>
<a href="#products" class="bg-white text-blue-600 hover:bg-blue-50 px-8 py-4 rounded-lg font-semibold text-lg inline-block transition">Browse EAs Now</a>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4 flex items-center">
<i class="fas fa-chart-line mr-2"></i>
Forex EA Pro
</h3>
<p class="text-gray-400">Automated trading solutions for forex traders of all levels.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Products</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Scalper Pro</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Trend Master</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Gold Hunter</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">All EAs</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Support</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Contact</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-envelope mr-2 text-gray-400"></i>
<span>[email protected]</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone mr-2 text-gray-400"></i>
<span>+1 (555) 123-4567</span>
</li>
<li class="flex items-center">
<i class="fas fa-map-marker-alt mr-2 text-gray-400"></i>
<span>123 Trading St, Market City</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 Forex EA Pro. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</div>
</footer>
<!-- Checkout Modal -->
<div id="checkoutModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg shadow-xl max-w-md w-full mx-4 max-h-screen overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold">Complete Your Purchase</h3>
<button onclick="closeCheckoutModal()" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">Product:</h4>
<p id="modalProductName" class="text-gray-700"></p>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">Price:</h4>
<p id="modalProductPrice" class="text-2xl font-bold text-blue-600"></p>
</div>
<form id="checkoutForm" class="space-y-4">
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address *</label>
<input type="email" id="email" name="email" required class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="name" class="block text-sm font-medium text-gray-700 mb-1">Full Name *</label>
<input type="text" id="name" name="name" required class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="mt4id" class="block text-sm font-medium text-gray-700 mb-1">MT4 Account ID (optional)</label>
<input type="text" id="mt4id" name="mt4id" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500">
<p class="text-xs text-gray-500 mt-1">Provide if you'd like personalized setup assistance</p>
</div>
<div class="pt-4">
<h4 class="font-semibold mb-3">Payment Method</h4>
<div class="grid grid-cols-2 gap-3">
<label class="payment-method border border-gray-300 rounded-md p-3 cursor-pointer has-[:checked]:border-blue-500 has-[:checked]:bg-blue-50">
<input type="radio" name="payment" value="card" checked class="mr-2">
<i class="fab fa-cc-visa text-2xl text-blue-800 mr-2"></i>
<i class="fab fa-cc-mastercard text-2xl text-red-700"></i>
<p class="text-sm mt-1">Credit/Debit Card</p>
</label>
<label class="payment-method border border-gray-300 rounded-md p-3 cursor-pointer has-[:checked]:border-blue-500 has-[:checked]:bg-blue-50">
<input type="radio" name="payment" value="paypal" class="mr-2">
<i class="fab fa-paypal text-2xl text-blue-700"></i>
<p class="text-sm mt-1">PayPal</p>
</label>
<label class="payment-method border border-gray-300 rounded-md p-3 cursor-pointer has-[:checked]:border-blue-500 has-[:checked]:bg-blue-50">
<input type="radio" name="payment" value="crypto" class="mr-2">
<i class="fab fa-bitcoin text-2xl text-orange-500"></i>
<p class="text-sm mt-1">Cryptocurrency</p>
</label>
<label class="payment-method border border-gray-300 rounded-md p-3 cursor-pointer has-[:checked]:border-blue-500 has-[:checked]:bg-blue-50">
<input type="radio" name="payment" value="bank" class="mr-2">
<i class="fas fa-university text-2xl text-green-600"></i>
<p class="text-sm mt-1">Bank Transfer</p>
</label>
</div>
</div>
<div class="pt-4">
<div class="flex items-center mb-4">
<input id="terms" type="checkbox" required class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500">
<label for="terms" class="ml-2 text-sm text-gray-700">
I agree to the <a href="#" class="text-blue-600 hover:underline">Terms of Service</a> and <a href="#" class="text-blue-600 hover:underline">Privacy Policy</a>
</label>
</div>
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-semibold transition flex items-center justify-center">
<span id="submitText">Complete Purchase</span>
<span id="spinner" class="ml-2 hidden">
<i class="fas fa-spinner fa-spin"></i>
</span>
</button>
</div>
</form>
</div>
</div>
</div>
<!-- Success Modal -->
<div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-lg shadow-xl max-w-md w-full mx-4 p-6 text-center">
<div class="mb-6">
<div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-check text-green-600 text-3xl"></i>
</div>
<h3 class="text-2xl font-bold mb-2">Purchase Complete!</h3>
<p class="text-gray-600">Thank you for your purchase. Your EA download link has been sent to your email.</p>
</div>
<div class="bg-blue-50 p-4 rounded-md mb-6 text-left">
<h4 class="font-semibold mb-2">Next Steps:</h4>
<ol class="list-decimal list-inside space-y-1 text-sm text-gray-700">
<li>Check your email (including spam folder) for download instructions</li>
<li>Follow the installation guide</li>
<li>Configure the EA with our recommended settings</li>
<li>Start trading automatically!</li>
</ol>
</div>
<button onclick="closeSuccessModal()" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-semibold transition">
Close
</button>
</div>
</div>
<script>
// Current product being purchased
let currentProduct = null;
let currentPrice = null;
// Open checkout modal
function openCheckoutModal(product, price) {
currentProduct = product;
currentPrice = price;
document.getElementById('modalProductName').textContent = product;
document.getElementById('modalProductPrice').textContent = `$${price}`;
document.getElementById('checkoutModal').classList.remove('hidden');
document.body.classList.add('overflow-hidden');
}
// Close checkout modal
function closeCheckoutModal() {
document.getElementById('checkoutModal').classList.add('hidden');
document.body.classList.remove('overflow-hidden');
}
// Close success modal
function closeSuccessModal() {
document.getElementById('successModal').classList.add('hidden');
document.body.classList.remove('overflow-hidden');
}
// Handle form submission
document.getElementById('checkoutForm').addEventListener('submit', function(e) {
e.preventDefault();
// Show loading spinner
document.getElementById('spinner').classList.remove('hidden');
document.getElementById('submitText').textContent = 'Processing...';
// Simulate payment processing (in a real app, this would connect to a payment processor)
setTimeout(function() {
// Hide checkout modal
closeCheckoutModal();
// Show success modal
document.getElementById('successModal').classList.remove('hidden');
// In a real application, here you would:
// 1. Process the payment with Stripe/PayPal/etc.
// 2. On successful payment, send the EA download link via email
// 3. This would typically be handled by your backend server
// Reset form
document.getElementById('checkoutForm').reset();
document.getElementById('spinner').classList.add('hidden');
document.getElementById('submitText').textContent = 'Complete Purchase';
// Simulate sending email with download link
console.log(`EA download link for ${currentProduct} would be sent to ${document.getElementById('email').value}`);
}, 2000);
});
// FAQ toggle functionality
document.querySelectorAll('.faq-toggle').forEach(button => {
button.addEventListener('click', function() {
const content = this.nextElementSibling;
const icon = this.querySelector('i');
content.classList.toggle('hidden');
icon.classList.toggle('rotate-180');
});
});
// Mobile menu toggle (simplified)
document.querySelector('button.md\\:hidden').addEventListener('click', function() {
// In a real implementation, this would toggle a mobile menu
alert('Mobile menu would open here');
});
</script>
</body>
</html> |