File size: 44,599 Bytes
7ed9f40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SmartStack - Risk-Controlled Betting Strategies</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: #000;
            color: #fff;
            scroll-behavior: smooth;
        }
        
        .gradient-text {
            background: linear-gradient(90deg, #ff0000, #ff4d4d);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .nav-link:hover {
            color: #ff0000;
        }
        
        .btn-primary {
            background-color: #ff0000;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background-color: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
        }
        
        .pricing-card:hover {
            border-color: #ff0000;
            transform: scale(1.03);
        }
        
        .tab-active {
            border-bottom: 3px solid #ff0000;
            color: #ff0000;
        }
        
        .code-block {
            background-color: #1a1a1a;
            border-left: 3px solid #ff0000;
        }
        
        #strategyChart {
            background-color: #1a1a1a;
            border-radius: 0.5rem;
        }
        
        ::selection {
            background-color: #ff0000;
            color: white;
        }
    </style>
</head>
<body>
    <!-- Navigation -->
    <nav class="bg-black py-4 px-6 sticky top-0 z-50 border-b border-gray-800">
        <div class="max-w-7xl mx-auto flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <div class="w-8 h-8 bg-red-600 rounded-full"></div>
                <span class="text-xl font-bold">Smart<span class="gradient-text">Stack</span></span>
            </div>
            <div class="hidden md:flex space-x-8">
                <a href="#features" class="nav-link text-white hover:text-red-500 transition">Features</a>
                <a href="#strategies" class="nav-link text-white hover:text-red-500 transition">Strategies</a>
                <a href="#pricing" class="nav-link text-white hover:text-red-500 transition">Pricing</a>
                <a href="#faq" class="nav-link text-white hover:text-red-500 transition">FAQ</a>
            </div>
            <div class="flex items-center space-x-4">
                <button class="btn-primary px-6 py-2 rounded-full font-medium text-white">Sign In</button>
                <button class="md:hidden text-white">
                    <i class="fas fa-bars text-xl"></i>
                </button>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <section class="py-20 px-6 bg-gradient-to-b from-black to-gray-900">
        <div class="max-w-7xl mx-auto 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-6xl font-bold mb-6 leading-tight">
                    Betting tools designed to <span class="gradient-text">beat impulse</span>, not the house
                </h1>
                <p class="text-gray-300 mb-8 text-lg">
                    SmartStack provides mathematically-backed betting strategies to help you manage risk, reduce emotional gambling, and track your progress systematically.
                </p>
                <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
                    <button class="btn-primary px-8 py-3 rounded-full font-medium text-white">
                        Get Started
                    </button>
                    <button class="px-8 py-3 rounded-full font-medium text-white border border-gray-600 hover:border-red-500 transition">
                        Learn More
                    </button>
                </div>
            </div>
            <div class="md:w-1/2 flex justify-center">
                <div class="relative">
                    <div class="w-80 h-80 md:w-96 md:h-96 bg-gray-900 rounded-xl shadow-2xl flex items-center justify-center">
                        <canvas id="heroChart" width="300" height="300"></canvas>
                    </div>
                    <div class="absolute -bottom-5 -right-5 bg-red-600 text-white px-4 py-2 rounded-lg shadow-lg">
                        <span class="font-bold">Risk vs Reward</span>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section id="features" class="py-20 px-6 bg-black">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4">Strategic systems to <span class="gradient-text">control your game</span></h2>
                <p class="text-gray-400 max-w-2xl mx-auto">
                    SmartStack combines mathematical models with practical tools to help you make informed betting decisions.
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <!-- Feature 1 -->
                <div class="feature-card bg-gray-900 p-8 rounded-xl transition duration-300 hover:shadow-lg">
                    <div class="w-14 h-14 bg-red-600 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-calculator text-2xl text-white"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Strategy Calculators</h3>
                    <p class="text-gray-400">
                        Built-in Martingale and Fibonacci calculators to help you plan your bets and understand the risk exposure.
                    </p>
                </div>
                
                <!-- Feature 2 -->
                <div class="feature-card bg-gray-900 p-8 rounded-xl transition duration-300 hover:shadow-lg">
                    <div class="w-14 h-14 bg-red-600 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-chart-line text-2xl text-white"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Risk Visualization</h3>
                    <p class="text-gray-400">
                        Interactive charts showing cumulative risk vs reward, helping you visualize potential outcomes before placing bets.
                    </p>
                </div>
                
                <!-- Feature 3 -->
                <div class="feature-card bg-gray-900 p-8 rounded-xl transition duration-300 hover:shadow-lg">
                    <div class="w-14 h-14 bg-red-600 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-shield-alt text-2xl text-white"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">Auto-Stop Loss</h3>
                    <p class="text-gray-400">
                        Customizable stop-loss settings to automatically prevent chasing losses beyond your predetermined limits.
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Strategies Section -->
    <section id="strategies" class="py-20 px-6 bg-gray-900">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4">Play <span class="gradient-text">smarter</span>, not harder</h2>
                <p class="text-gray-400 max-w-2xl mx-auto">
                    Our Python-based models simulate popular betting strategies to help you understand the mathematics behind them.
                </p>
            </div>
            
            <div class="mb-8 flex justify-center">
                <div class="inline-flex rounded-md shadow-sm">
                    <button onclick="showMartingale()" id="martingaleTab" class="tab-active px-6 py-3 text-sm font-medium rounded-l-lg">
                        Martingale Strategy
                    </button>
                    <button onclick="showFibonacci()" id="fibonacciTab" class="px-6 py-3 text-sm font-medium border-l border-gray-700">
                        Fibonacci Strategy
                    </button>
                </div>
            </div>
            
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 items-center">
                <div id="martingaleContent">
                    <h3 class="text-2xl font-bold mb-4">Double After Loss System</h3>
                    <p class="text-gray-400 mb-6">
                        The Martingale strategy doubles the bet after every loss until a win occurs. This is designed to recover all previous losses plus a small profit equal to the original bet.
                    </p>
                    <div class="code-block p-4 mb-6 rounded">
                        <pre class="text-gray-300 text-sm">
<span class="text-red-400">def</span> <span class="text-blue-400">martingale_bets</span>(starting_bet=10, losses=6):
    bets = []
    bet = starting_bet
    <span class="text-red-400">for</span> _ <span class="text-red-400">in</span> range(losses):
        bets.append(bet)
        bet *= 2
    <span class="text-red-400">return</span> bets</pre>
                    </div>
                    <div class="bg-gray-800 p-4 rounded-lg mb-6">
                        <h4 class="font-bold mb-2 text-red-400">Key Considerations:</h4>
                        <ul class="list-disc list-inside text-gray-300 space-y-1">
                            <li>Exponential risk increase with each loss</li>
                            <li>Requires substantial bankroll to sustain losing streaks</li>
                            <li>Table limits may prevent full recovery</li>
                            <li>Psychological pressure increases with each loss</li>
                        </ul>
                    </div>
                </div>
                
                <div id="fibonacciContent" class="hidden">
                    <h3 class="text-2xl font-bold mb-4">Sequence-Based Betting</h3>
                    <p class="text-gray-400 mb-6">
                        The Fibonacci strategy increases bets based on the famous Fibonacci sequence (1, 1, 2, 3, 5, 8...). This provides slower risk exposure compared to Martingale.
                    </p>
                    <div class="code-block p-4 mb-6 rounded">
                        <pre class="text-gray-300 text-sm">
<span class="text-red-400">def</span> <span class="text-blue-400">fibonacci_bets</span>(starting_bet=10, losses=6):
    fib_sequence = [1, 1]
    <span class="text-red-400">while</span> len(fib_sequence) < losses:
        fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
    <span class="text-red-400">return</span> [starting_bet * n <span class="text-red-400">for</span> n <span class="text-red-400">in</span> fib_sequence[:losses]]</pre>
                    </div>
                    <div class="bg-gray-800 p-4 rounded-lg mb-6">
                        <h4 class="font-bold mb-2 text-red-400">Key Considerations:</h4>
                        <ul class="list-disc list-inside text-gray-300 space-y-1">
                            <li>More gradual progression than Martingale</li>
                            <li>Still carries risk of substantial losses</li>
                            <li>Requires winning streak to recover losses</li>
                            <li>Less aggressive than Martingale</li>
                        </ul>
                    </div>
                </div>
                
                <div class="bg-gray-800 p-6 rounded-xl">
                    <h4 class="font-bold mb-4 text-center">Strategy Simulation</h4>
                    <div class="mb-4">
                        <label class="block text-gray-300 mb-2">Starting Bet (ZAR)</label>
                        <input type="number" id="startingBet" value="10" class="w-full bg-gray-700 text-white rounded px-4 py-2">
                    </div>
                    <div class="mb-4">
                        <label class="block text-gray-300 mb-2">Number of Losses</label>
                        <input type="number" id="numLosses" value="6" min="1" max="10" class="w-full bg-gray-700 text-white rounded px-4 py-2">
                    </div>
                    <button onclick="updateChart()" class="btn-primary w-full py-2 rounded-lg font-medium">
                        Simulate Strategy
                    </button>
                    <div class="mt-6">
                        <canvas id="strategyChart" height="300"></canvas>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Pricing Section -->
    <section id="pricing" class="py-20 px-6 bg-black">
        <div class="max-w-7xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4">Simple, transparent <span class="gradient-text">pricing</span></h2>
                <p class="text-gray-400 max-w-2xl mx-auto">
                    Choose the plan that fits your needs. All prices in South African Rand (ZAR).
                </p>
            </div>
            
            <div class="mb-8 flex justify-center">
                <div class="inline-flex rounded-md shadow-sm">
                    <button onclick="showSubscription()" id="subscriptionTab" class="tab-active px-6 py-3 text-sm font-medium rounded-l-lg">
                        Subscription Plans
                    </button>
                    <button onclick="showOneTime()" id="oneTimeTab" class="px-6 py-3 text-sm font-medium border-l border-gray-700 rounded-r-lg">
                        One-Time Purchases
                    </button>
                </div>
            </div>
            
            <div id="subscriptionContent">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <!-- Free Plan -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-gray-800 transition duration-300">
                        <h3 class="text-xl font-bold mb-2">Free</h3>
                        <div class="mb-6">
                            <span class="text-4xl font-bold">R0</span>
                            <span class="text-gray-400">/month</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>1 betting strategy</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Basic win/loss tracking</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Community access</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No advanced tools</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No personal support</span>
                            </li>
                        </ul>
                        <button class="w-full py-3 rounded-lg font-medium border border-gray-700 hover:border-red-500 transition">
                            Get Started
                        </button>
                    </div>
                    
                    <!-- Standard Plan -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-red-600 transition duration-300 transform scale-105">
                        <div class="flex justify-between items-start">
                            <div>
                                <h3 class="text-xl font-bold mb-2">Standard</h3>
                                <div class="mb-6">
                                    <span class="text-4xl font-bold">R199</span>
                                    <span class="text-gray-400">/month</span>
                                </div>
                            </div>
                            <span class="bg-red-600 text-white text-xs px-2 py-1 rounded">POPULAR</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>All betting strategies</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Comprehensive tracking</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Basic alerts</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Strategy customization</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No crash timing tools</span>
                            </li>
                        </ul>
                        <button class="btn-primary w-full py-3 rounded-lg font-medium">
                            Choose Plan
                        </button>
                    </div>
                    
                    <!-- Pro Plan -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-gray-800 transition duration-300">
                        <h3 class="text-xl font-bold mb-2">Pro</h3>
                        <div class="mb-6">
                            <span class="text-4xl font-bold">R499</span>
                            <span class="text-gray-400">/month</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>All Standard features</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Crash timing tools</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Advanced analytics</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Priority support</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Regular updates</span>
                            </li>
                        </ul>
                        <button class="w-full py-3 rounded-lg font-medium border border-gray-700 hover:border-red-500 transition">
                            Choose Plan
                        </button>
                    </div>
                </div>
            </div>
            
            <div id="oneTimeContent" class="hidden">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <!-- Starter -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-gray-800 transition duration-300">
                        <h3 class="text-xl font-bold mb-2">Starter</h3>
                        <div class="mb-6">
                            <span class="text-4xl font-bold">R199</span>
                            <span class="text-gray-400">one-time</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Strategy Guide PDF</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No tracking tools</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No video lessons</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No support</span>
                            </li>
                        </ul>
                        <button class="w-full py-3 rounded-lg font-medium border border-gray-700 hover:border-red-500 transition">
                            Purchase
                        </button>
                    </div>
                    
                    <!-- Plus -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-red-600 transition duration-300">
                        <h3 class="text-xl font-bold mb-2">Plus</h3>
                        <div class="mb-6">
                            <span class="text-4xl font-bold">R499</span>
                            <span class="text-gray-400">one-time</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Strategy Guide PDF</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Excel Bankroll Tracker</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>No video lessons</span>
                            </li>
                            <li class="flex items-center text-gray-500">
                                <i class="fas fa-times text-gray-600 mr-2"></i>
                                <span>Limited support</span>
                            </li>
                        </ul>
                        <button class="btn-primary w-full py-3 rounded-lg font-medium">
                            Purchase
                        </button>
                    </div>
                    
                    <!-- Pro -->
                    <div class="pricing-card bg-gray-900 p-8 rounded-xl border border-gray-800 transition duration-300">
                        <h3 class="text-xl font-bold mb-2">Pro Bundle</h3>
                        <div class="mb-6">
                            <span class="text-4xl font-bold">R749</span>
                            <span class="text-gray-400">one-time</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Strategy Guide PDF</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Excel Bankroll Tracker</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Video Lessons</span>
                            </li>
                            <li class="flex items-center">
                                <i class="fas fa-check text-green-500 mr-2"></i>
                                <span>Email Support</span>
                            </li>
                        </ul>
                        <button class="w-full py-3 rounded-lg font-medium border border-gray-700 hover:border-red-500 transition">
                            Purchase
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- FAQ Section -->
    <section id="faq" class="py-20 px-6 bg-gray-900">
        <div class="max-w-4xl mx-auto">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold mb-4">Frequently asked <span class="gradient-text">questions</span></h2>
                <p class="text-gray-400 max-w-2xl mx-auto">
                    Can't find the answer you're looking for? Contact our support team.
                </p>
            </div>
            
            <div class="space-y-4">
                <!-- FAQ 1 -->
                <div class="bg-gray-800 rounded-xl overflow-hidden">
                    <button onclick="toggleFAQ(1)" class="w-full flex justify-between items-center p-6 text-left">
                        <span class="text-lg font-medium">Is SmartStack legal to use?</span>
                        <i id="faqIcon1" class="fas fa-chevron-down text-red-500 transition-transform"></i>
                    </button>
                    <div id="faqContent1" class="hidden px-6 pb-6 pt-0">
                        <p class="text-gray-300">
                            SmartStack is a betting strategy tool, not gambling software. It doesn't place bets for you or interact directly with gambling sites. The legality depends on your jurisdiction's laws regarding gambling tools. We recommend checking local regulations.
                        </p>
                    </div>
                </div>
                
                <!-- FAQ 2 -->
                <div class="bg-gray-800 rounded-xl overflow-hidden">
                    <button onclick="toggleFAQ(2)" class="w-full flex justify-between items-center p-6 text-left">
                        <span class="text-lg font-medium">Can I really make money with these strategies?</span>
                        <i id="faqIcon2" class="fas fa-chevron-down text-red-500 transition-transform"></i>
                    </button>
                    <div id="faqContent2" class="hidden px-6 pb-6 pt-0">
                        <p class="text-gray-300">
                            While these strategies can help manage risk, no betting system can guarantee profits. The house always has an edge in casino games. SmartStack helps you play more strategically, but responsible gambling and bankroll management are essential.
                        </p>
                    </div>
                </div>
                
                <!-- FAQ 3 -->
                <div class="bg-gray-800 rounded-xl overflow-hidden">
                    <button onclick="toggleFAQ(3)" class="w-full flex justify-between items-center p-6 text-left">
                        <span class="text-lg font-medium">What games work best with SmartStack?</span>
                        <i id="faqIcon3" class="fas fa-chevron-down text-red-500 transition-transform"></i>
                    </button>
                    <div id="faqContent3" class="hidden px-6 pb-6 pt-0">
                        <p class="text-gray-300">
                            Our strategies are most effective for games with near 50/50 odds like Roulette (red/black, odd/even), Baccarat, and certain Crash games like Aviator. They're less suitable for games with complex odds like slots or poker.
                        </p>
                    </div>
                </div>
                
                <!-- FAQ 4 -->
                <div class="bg-gray-800 rounded-xl overflow-hidden">
                    <button onclick="toggleFAQ(4)" class="w-full flex justify-between items-center p-6 text-left">
                        <span class="text-lg font-medium">How does the stop-loss feature work?</span>
                        <i id="faqIcon4" class="fas fa-chevron-down text-red-500 transition-transform"></i>
                    </button>
                    <div id="faqContent4" class="hidden px-6 pb-6 pt-0">
                        <p class="text-gray-300">
                            You set a maximum loss limit (in ZAR or % of bankroll). When SmartStack calculates that continuing would exceed this limit, it alerts you to stop playing. This helps prevent chasing losses beyond your predetermined comfort zone.
                        </p>
                    </div>
                </div>
                
                <!-- FAQ 5 -->
                <div class="bg-gray-800 rounded-xl overflow-hidden">
                    <button onclick="toggleFAQ(5)" class="w-full flex justify-between items-center p-6 text-left">
                        <span class="text-lg font-medium">Can I cancel my subscription anytime?</span>
                        <i id="faqIcon5" class="fas fa-chevron-down text-red-500 transition-transform"></i>
                    </button>
                    <div id="faqContent5" class="hidden px-6 pb-6 pt-0">
                        <p class="text-gray-300">
                            Yes, you can cancel your subscription at any time through your account settings. You'll retain access until the end of your current billing period. One-time purchases are non-refundable but don't require cancellation.
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="py-20 px-6 bg-black">
        <div class="max-w-4xl mx-auto text-center">
            <h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to take control of your <span class="gradient-text">betting strategy</span>?</h2>
            <p class="text-gray-400 mb-8 max-w-2xl mx-auto">
                Join thousands of players who use SmartStack to make informed betting decisions.
            </p>
            <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
                <button class="btn-primary px-8 py-3 rounded-full font-medium">
                    Start Free Trial
                </button>
                <button class="px-8 py-3 rounded-full font-medium border border-gray-700 hover:border-red-500 transition">
                    See Pricing
                </button>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="py-12 px-6 bg-gray-900">
        <div class="max-w-7xl mx-auto">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <div class="w-8 h-8 bg-red-600 rounded-full"></div>
                        <span class="text-xl font-bold">Smart<span class="gradient-text">Stack</span></span>
                    </div>
                    <p class="text-gray-400">
                        Strategic betting tools designed to help you play smarter, not harder.
                    </p>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-4">Product</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Features</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Pricing</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Strategies</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">FAQ</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-4">Company</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">About</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Blog</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Careers</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Contact</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-4">Legal</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Privacy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Terms</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">Cookie Policy</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-red-500 transition">GDPR</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-400 mb-4 md:mb-0">
                    © 2023 SmartStack. All rights reserved.
                </p>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-red-500 transition"><i class="fab fa-twitter"></i></a>
                    <a href="#" class="text-gray-400 hover:text-red-500 transition"><i class="fab fa-facebook"></i></a>
                    <a href="#" class="text-gray-400 hover:text-red-500 transition"><i class="fab fa-instagram"></i></a>
                    <a href="#" class="text-gray-400 hover:text-red-500 transition"><i class="fab fa-linkedin"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Initialize hero chart
        const heroCtx = document.getElementById('heroChart').getContext('2d');
        const heroChart = new Chart(heroCtx, {
            type: 'line',
            data: {
                labels: ['1', '2', '3', '4', '5', '6'],
                datasets: [
                    {
                        label: 'Risk',
                        data: [10, 20, 40, 80, 160, 320],
                        borderColor: '#ff0000',
                        backgroundColor: 'rgba(255, 0, 0, 0.1)',
                        tension: 0.3,
                        fill: true
                    },
                    {
                        label: 'Reward',
                        data: [10, 10, 10, 10, 10, 10],
                        borderColor: '#00ff00',
                        backgroundColor: 'rgba(0, 255, 0, 0.1)',
                        tension: 0.3,
                        fill: true
                    }
                ]
            },
            options: {
                responsive: true,
                plugins: {
                    legend: {
                        position: 'top',
                        labels: {
                            color: '#fff'
                        }
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        grid: {
                            color: 'rgba(255, 255, 255, 0.1)'
                        },
                        ticks: {
                            color: '#fff'
                        }
                    },
                    x: {
                        grid: {
                            color: 'rgba(255, 255, 255, 0.1)'
                        },
                        ticks: {
                            color: '#fff'
                        }
                    }
                }
            }
        });

        // Initialize strategy chart
        const strategyCtx = document.getElementById('strategyChart').getContext('2d');
        let strategyChart = new Chart(strategyCtx, {
            type: 'bar',
            data: {
                labels: ['1', '2', '3', '4', '5', '6'],
                datasets: [{
                    label: 'Bet Amount (ZAR)',
                    data: [10, 20, 40, 80, 160, 320],
                    backgroundColor: '#ff0000',
                    borderColor: '#ff0000',
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                plugins: {
                    legend: {
                        display: false
                    },
                    title: {
                        display: true,
                        text: 'Martingale Strategy',
                        color: '#fff',
                        font: {
                            size: 16
                        }
                    }
                },
                scales: {
                    y: {
                        beginAtZero: true,
                        grid: {
                            color: 'rgba(255, 255, 255, 0.1)'
                        },
                        ticks: {
                            color: '#fff'
                        }
                    },
                    x: {
                        grid: {
                            color: 'rgba(255, 255, 255, 0.1)'
                        },
                        ticks: {
                            color: '#fff'
                        }
                    }
                }
            }
        });

        // Tabs functionality
        function showMartingale() {
            document.getElementById('martingaleContent').classList.remove('hidden');
            document.getElementById('fibonacciContent').classList.add('hidden');
            document.getElementById('martingaleTab').classList.add('tab-active');
            document.getElementById('fibonacciTab').classList.remove('tab-active');
            updateChart();
        }

        function showFibonacci() {
            document.getElementById('martingaleContent').classList.add('hidden');
            document.getElementById('fibonacciContent').classList.remove('hidden');
            document.getElementById('martingaleTab').classList.remove('tab-active');
            document.getElementById('fibonacciTab').classList.add('tab-active');
            updateChart();
        }

        function showSubscription() {
            document.getElementById('subscriptionContent').classList.remove('hidden');
            document.getElementById('oneTimeContent').classList.add('hidden');
            document.getElementById('subscriptionTab').classList.add('tab-active');
            document.getElementById('oneTimeTab').classList.remove('tab-active');
        }

        function showOneTime() {
            document.getElementById('subscriptionContent').classList.add('hidden');
            document.getElementById('oneTimeContent').classList.remove('hidden');
            document.getElementById('subscriptionTab').classList.remove('tab-active');
            document.getElementById('oneTimeTab').classList.add('tab-active');
        }

        // Update chart based on inputs
        function updateChart() {
            const startingBet = parseFloat(document.getElementById('startingBet').value) || 10;
            const numLosses = parseInt(document.getElementById('numLosses').value) || 6;
            
            let bets = [];
            let labels = [];
            
            if (document.getElementById('martingaleTab').classList.contains('tab-active')) {
                // Martingale
                let bet = startingBet;
                for (let i = 0; i < numLosses; i++) {
                    bets.push(bet);
                    labels.push(`Loss ${i+1}`);
                    bet *= 2;
                }
                
                strategyChart.data.datasets[0].label = 'Bet Amount (ZAR) - Martingale';
                strategyChart.options.plugins.title.text = 'Martingale Strategy';
            } else {
                // Fibonacci
                let fibSequence = [1, 1];
                while (fibSequence.length < numLosses) {
                    fibSequence.push(fibSequence[fibSequence.length - 1] + fibSequence[fibSequence.length - 2]);
                }
                
                for (let i = 0; i < numLosses; i++) {
                    bets.push(startingBet * fibSequence[i]);
                    labels.push(`Loss ${i+1}`);
                }
                
                strategyChart.data.datasets[0].label = 'Bet Amount (ZAR) - Fibonacci';
                strategyChart.options.plugins.title.text = 'Fibonacci Strategy';
            }
            
            strategyChart.data.labels = labels;
            strategyChart.data.datasets[0].data = bets;
            strategyChart.update();
        }

        // FAQ toggle
        function toggleFAQ(num) {
            const content = document.getElementById(`faqContent${num}`);
            const icon = document.getElementById(`faqIcon${num}`);
            
            if (content.classList.contains('hidden')) {
                content.classList.remove('hidden');
                icon.classList.remove('fa-chevron-down');
                icon.classList.add('fa-chevron-up');
            } else {
                content.classList.add('hidden');
                icon.classList.remove('fa-chevron-up');
                icon.classList.add('fa-chevron-down');
            }
        }

        // Smooth scrolling for anchor links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });

        // Initialize with Martingale
        updateChart();
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=BambathaM/smart-stack" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>