ramisn commited on
Commit
2e8792b
Β·
verified Β·
1 Parent(s): 7272cf4

Upload streamlit_app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. streamlit_app.py +927 -0
streamlit_app.py ADDED
@@ -0,0 +1,927 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from streamlit_lottie import st_lottie
3
+ import requests
4
+ import json
5
+ from datetime import datetime
6
+ import base64
7
+
8
+ # Page configuration
9
+ st.set_page_config(
10
+ page_title="AI Mastery Academy | GenAI & Agentic AI Coaching",
11
+ page_icon="πŸ€–",
12
+ layout="wide",
13
+ initial_sidebar_state="collapsed"
14
+ )
15
+
16
+ # Custom CSS
17
+ st.markdown("""
18
+ <style>
19
+ /* Import Google Fonts */
20
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
21
+
22
+ * {
23
+ font-family: 'Inter', sans-serif;
24
+ }
25
+
26
+ .stApp {
27
+ background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
28
+ }
29
+
30
+ /* Hide Streamlit branding */
31
+ #MainMenu {visibility: hidden;}
32
+ footer {visibility: hidden;}
33
+ header {visibility: hidden;}
34
+
35
+ /* Hero Section */
36
+ .hero-container {
37
+ text-align: center;
38
+ padding: 60px 20px;
39
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
40
+ border-radius: 20px;
41
+ margin-bottom: 40px;
42
+ border: 1px solid rgba(255, 255, 255, 0.1);
43
+ }
44
+
45
+ .hero-title {
46
+ font-size: 3.5rem;
47
+ font-weight: 800;
48
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
49
+ -webkit-background-clip: text;
50
+ -webkit-text-fill-color: transparent;
51
+ background-clip: text;
52
+ margin-bottom: 20px;
53
+ line-height: 1.2;
54
+ }
55
+
56
+ .hero-subtitle {
57
+ font-size: 1.4rem;
58
+ color: #a0a0a0;
59
+ margin-bottom: 30px;
60
+ line-height: 1.6;
61
+ }
62
+
63
+ .hero-badge {
64
+ display: inline-block;
65
+ padding: 8px 20px;
66
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
67
+ border-radius: 30px;
68
+ color: white;
69
+ font-weight: 600;
70
+ font-size: 0.9rem;
71
+ margin-bottom: 20px;
72
+ }
73
+
74
+ /* Section Headers */
75
+ .section-header {
76
+ text-align: center;
77
+ margin: 60px 0 40px 0;
78
+ }
79
+
80
+ .section-title {
81
+ font-size: 2.5rem;
82
+ font-weight: 700;
83
+ color: #ffffff;
84
+ margin-bottom: 15px;
85
+ }
86
+
87
+ .section-subtitle {
88
+ font-size: 1.1rem;
89
+ color: #888;
90
+ }
91
+
92
+ /* Feature Cards */
93
+ .feature-card {
94
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
95
+ border: 1px solid rgba(255, 255, 255, 0.1);
96
+ border-radius: 20px;
97
+ padding: 30px;
98
+ margin: 15px 0;
99
+ transition: all 0.3s ease;
100
+ height: 100%;
101
+ }
102
+
103
+ .feature-card:hover {
104
+ transform: translateY(-5px);
105
+ border-color: rgba(102, 126, 234, 0.5);
106
+ box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
107
+ }
108
+
109
+ .feature-icon {
110
+ font-size: 3rem;
111
+ margin-bottom: 20px;
112
+ }
113
+
114
+ .feature-title {
115
+ font-size: 1.4rem;
116
+ font-weight: 600;
117
+ color: #ffffff;
118
+ margin-bottom: 15px;
119
+ }
120
+
121
+ .feature-desc {
122
+ color: #a0a0a0;
123
+ line-height: 1.6;
124
+ }
125
+
126
+ /* Pricing Cards */
127
+ .pricing-card {
128
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
129
+ border: 1px solid rgba(255, 255, 255, 0.1);
130
+ border-radius: 25px;
131
+ padding: 40px 30px;
132
+ text-align: center;
133
+ position: relative;
134
+ overflow: hidden;
135
+ transition: all 0.3s ease;
136
+ }
137
+
138
+ .pricing-card:hover {
139
+ transform: translateY(-10px);
140
+ box-shadow: 0 30px 60px rgba(102, 126, 234, 0.3);
141
+ }
142
+
143
+ .pricing-card.popular {
144
+ border: 2px solid #667eea;
145
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
146
+ }
147
+
148
+ .popular-badge {
149
+ position: absolute;
150
+ top: 20px;
151
+ right: -35px;
152
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
153
+ color: white;
154
+ padding: 5px 50px;
155
+ font-size: 0.8rem;
156
+ font-weight: 600;
157
+ transform: rotate(45deg);
158
+ }
159
+
160
+ .pricing-tier {
161
+ font-size: 1.3rem;
162
+ font-weight: 600;
163
+ color: #667eea;
164
+ margin-bottom: 10px;
165
+ }
166
+
167
+ .pricing-name {
168
+ font-size: 1.8rem;
169
+ font-weight: 700;
170
+ color: #ffffff;
171
+ margin-bottom: 20px;
172
+ }
173
+
174
+ .pricing-price {
175
+ font-size: 3rem;
176
+ font-weight: 800;
177
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
178
+ -webkit-background-clip: text;
179
+ -webkit-text-fill-color: transparent;
180
+ background-clip: text;
181
+ margin-bottom: 10px;
182
+ }
183
+
184
+ .pricing-period {
185
+ color: #888;
186
+ font-size: 1rem;
187
+ margin-bottom: 30px;
188
+ }
189
+
190
+ .pricing-features {
191
+ text-align: left;
192
+ margin: 30px 0;
193
+ }
194
+
195
+ .pricing-feature {
196
+ color: #a0a0a0;
197
+ padding: 10px 0;
198
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
199
+ display: flex;
200
+ align-items: center;
201
+ gap: 10px;
202
+ }
203
+
204
+ .pricing-feature:last-child {
205
+ border-bottom: none;
206
+ }
207
+
208
+ .check-icon {
209
+ color: #4ade80;
210
+ font-weight: bold;
211
+ }
212
+
213
+ /* Testimonial Cards */
214
+ .testimonial-card {
215
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
216
+ border: 1px solid rgba(255, 255, 255, 0.1);
217
+ border-radius: 20px;
218
+ padding: 30px;
219
+ margin: 15px 0;
220
+ }
221
+
222
+ .testimonial-text {
223
+ color: #d0d0d0;
224
+ font-style: italic;
225
+ line-height: 1.8;
226
+ margin-bottom: 20px;
227
+ }
228
+
229
+ .testimonial-author {
230
+ color: #ffffff;
231
+ font-weight: 600;
232
+ }
233
+
234
+ .testimonial-role {
235
+ color: #667eea;
236
+ font-size: 0.9rem;
237
+ }
238
+
239
+ /* Contact Form */
240
+ .contact-container {
241
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
242
+ border: 1px solid rgba(255, 255, 255, 0.1);
243
+ border-radius: 25px;
244
+ padding: 40px;
245
+ }
246
+
247
+ /* Social Buttons */
248
+ .social-btn {
249
+ display: inline-flex;
250
+ align-items: center;
251
+ justify-content: center;
252
+ gap: 10px;
253
+ padding: 15px 30px;
254
+ border-radius: 50px;
255
+ font-weight: 600;
256
+ text-decoration: none;
257
+ transition: all 0.3s ease;
258
+ margin: 10px;
259
+ color: white !important;
260
+ }
261
+
262
+ .whatsapp-btn {
263
+ background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
264
+ }
265
+
266
+ .whatsapp-btn:hover {
267
+ transform: translateY(-3px);
268
+ box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
269
+ }
270
+
271
+ .telegram-btn {
272
+ background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
273
+ }
274
+
275
+ .telegram-btn:hover {
276
+ transform: translateY(-3px);
277
+ box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
278
+ }
279
+
280
+ /* Payment Buttons */
281
+ .payment-btn {
282
+ display: inline-flex;
283
+ align-items: center;
284
+ justify-content: center;
285
+ gap: 10px;
286
+ padding: 15px 25px;
287
+ border-radius: 12px;
288
+ font-weight: 600;
289
+ text-decoration: none;
290
+ transition: all 0.3s ease;
291
+ margin: 8px;
292
+ cursor: pointer;
293
+ border: none;
294
+ color: white;
295
+ }
296
+
297
+ .upi-btn {
298
+ background: linear-gradient(135deg, #5f259f 0%, #4a1d7a 100%);
299
+ }
300
+
301
+ .stripe-btn {
302
+ background: linear-gradient(135deg, #635bff 0%, #4a42cc 100%);
303
+ }
304
+
305
+ .paypal-btn {
306
+ background: linear-gradient(135deg, #003087 0%, #001f5c 100%);
307
+ }
308
+
309
+ /* CTA Button */
310
+ .cta-button {
311
+ display: inline-block;
312
+ padding: 18px 50px;
313
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
314
+ color: white !important;
315
+ text-decoration: none;
316
+ border-radius: 50px;
317
+ font-weight: 700;
318
+ font-size: 1.1rem;
319
+ transition: all 0.3s ease;
320
+ border: none;
321
+ cursor: pointer;
322
+ }
323
+
324
+ .cta-button:hover {
325
+ transform: translateY(-3px);
326
+ box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
327
+ }
328
+
329
+ /* Stats */
330
+ .stats-container {
331
+ display: flex;
332
+ justify-content: center;
333
+ gap: 60px;
334
+ flex-wrap: wrap;
335
+ margin: 40px 0;
336
+ }
337
+
338
+ .stat-item {
339
+ text-align: center;
340
+ }
341
+
342
+ .stat-number {
343
+ font-size: 3rem;
344
+ font-weight: 800;
345
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
346
+ -webkit-background-clip: text;
347
+ -webkit-text-fill-color: transparent;
348
+ background-clip: text;
349
+ }
350
+
351
+ .stat-label {
352
+ color: #888;
353
+ font-size: 1rem;
354
+ }
355
+
356
+ /* Footer */
357
+ .footer {
358
+ text-align: center;
359
+ padding: 40px 20px;
360
+ margin-top: 60px;
361
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
362
+ }
363
+
364
+ .footer-text {
365
+ color: #666;
366
+ }
367
+
368
+ .footer-link {
369
+ color: #667eea !important;
370
+ text-decoration: none;
371
+ }
372
+
373
+ /* Instructor Card */
374
+ .instructor-card {
375
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
376
+ border: 1px solid rgba(255, 255, 255, 0.1);
377
+ border-radius: 25px;
378
+ padding: 40px;
379
+ text-align: center;
380
+ }
381
+
382
+ .instructor-name {
383
+ font-size: 1.8rem;
384
+ font-weight: 700;
385
+ color: #ffffff;
386
+ margin: 20px 0 10px 0;
387
+ }
388
+
389
+ .instructor-title {
390
+ color: #667eea;
391
+ font-size: 1.1rem;
392
+ margin-bottom: 20px;
393
+ }
394
+
395
+ .instructor-bio {
396
+ color: #a0a0a0;
397
+ line-height: 1.8;
398
+ }
399
+
400
+ /* Curriculum */
401
+ .curriculum-item {
402
+ background: rgba(255, 255, 255, 0.03);
403
+ border: 1px solid rgba(255, 255, 255, 0.08);
404
+ border-radius: 15px;
405
+ padding: 20px;
406
+ margin: 10px 0;
407
+ display: flex;
408
+ align-items: center;
409
+ gap: 15px;
410
+ }
411
+
412
+ .curriculum-number {
413
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
414
+ color: white;
415
+ width: 40px;
416
+ height: 40px;
417
+ border-radius: 50%;
418
+ display: flex;
419
+ align-items: center;
420
+ justify-content: center;
421
+ font-weight: 700;
422
+ flex-shrink: 0;
423
+ }
424
+
425
+ .curriculum-title {
426
+ color: #ffffff;
427
+ font-weight: 600;
428
+ font-size: 1.1rem;
429
+ }
430
+
431
+ .curriculum-desc {
432
+ color: #888;
433
+ font-size: 0.9rem;
434
+ margin-top: 5px;
435
+ }
436
+
437
+ /* Responsive */
438
+ @media (max-width: 768px) {
439
+ .hero-title {
440
+ font-size: 2.2rem;
441
+ }
442
+ .hero-subtitle {
443
+ font-size: 1.1rem;
444
+ }
445
+ .section-title {
446
+ font-size: 1.8rem;
447
+ }
448
+ .pricing-price {
449
+ font-size: 2.2rem;
450
+ }
451
+ }
452
+
453
+ /* Anycoder Link */
454
+ .anycoder-link {
455
+ color: #667eea !important;
456
+ text-decoration: none;
457
+ font-weight: 500;
458
+ transition: all 0.3s ease;
459
+ }
460
+
461
+ .anycoder-link:hover {
462
+ color: #764ba2 !important;
463
+ text-decoration: underline;
464
+ }
465
+ </style>
466
+ """, unsafe_allow_html=True)
467
+
468
+ # Initialize session state
469
+ if 'selected_plan' not in st.session_state:
470
+ st.session_state.selected_plan = None
471
+ if 'show_payment' not in st.session_state:
472
+ st.session_state.show_payment = False
473
+ if 'form_submitted' not in st.session_state:
474
+ st.session_state.form_submitted = False
475
+
476
+ # Load Lottie animation
477
+ def load_lottie_url(url: str):
478
+ try:
479
+ r = requests.get(url)
480
+ if r.status_code != 200:
481
+ return None
482
+ return r.json()
483
+ except:
484
+ return None
485
+
486
+ # Hero Section
487
+ st.markdown("""
488
+ <div style="text-align: center; padding: 10px 0;">
489
+ <span style="color: #888;">Built with </span>
490
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">anycoder</a>
491
+ </div>
492
+ """, unsafe_allow_html=True)
493
+
494
+ st.markdown("""
495
+ <div class="hero-container">
496
+ <div class="hero-badge">πŸš€ Limited Time Offer - 40% OFF</div>
497
+ <h1 class="hero-title">Master AI, GenAI & Agentic AI</h1>
498
+ <p class="hero-subtitle">
499
+ Transform your career with cutting-edge AI skills. Learn from industry experts and build
500
+ real-world AI applications with our comprehensive coaching and masterclass programs.
501
+ </p>
502
+ </div>
503
+ """, unsafe_allow_html=True)
504
+
505
+ # Stats Section
506
+ st.markdown("""
507
+ <div class="stats-container">
508
+ <div class="stat-item">
509
+ <div class="stat-number">5000+</div>
510
+ <div class="stat-label">Students Trained</div>
511
+ </div>
512
+ <div class="stat-item">
513
+ <div class="stat-number">50+</div>
514
+ <div class="stat-label">AI Projects Built</div>
515
+ </div>
516
+ <div class="stat-item">
517
+ <div class="stat-number">95%</div>
518
+ <div class="stat-label">Success Rate</div>
519
+ </div>
520
+ <div class="stat-item">
521
+ <div class="stat-number">24/7</div>
522
+ <div class="stat-label">Support</div>
523
+ </div>
524
+ </div>
525
+ """, unsafe_allow_html=True)
526
+
527
+ # What You'll Learn Section
528
+ st.markdown("""
529
+ <div class="section-header">
530
+ <h2 class="section-title">🎯 What You'll Master</h2>
531
+ <p class="section-subtitle">Comprehensive curriculum designed for the AI-first future</p>
532
+ </div>
533
+ """, unsafe_allow_html=True)
534
+
535
+ col1, col2, col3 = st.columns(3)
536
+
537
+ with col1:
538
+ st.markdown("""
539
+ <div class="feature-card">
540
+ <div class="feature-icon">πŸ€–</div>
541
+ <h3 class="feature-title">Generative AI</h3>
542
+ <p class="feature-desc">
543
+ Master LLMs, GPT models, prompt engineering, fine-tuning, and building AI-powered applications
544
+ with OpenAI, Anthropic, and open-source models.
545
+ </p>
546
+ </div>
547
+ """, unsafe_allow_html=True)
548
+
549
+ with col2:
550
+ st.markdown("""
551
+ <div class="feature-card">
552
+ <div class="feature-icon">πŸ•΅οΈ</div>
553
+ <h3 class="feature-title">Agentic AI</h3>
554
+ <p class="feature-desc">
555
+ Build autonomous AI agents using LangChain, AutoGPT, CrewAI. Learn multi-agent systems,
556
+ tool integration, and real-world automation.
557
+ </p>
558
+ </div>
559
+ """, unsafe_allow_html=True)
560
+
561
+ with col3:
562
+ st.markdown("""
563
+ <div class="feature-card">
564
+ <div class="feature-icon">πŸ› οΈ</div>
565
+ <h3 class="feature-title">AI Tools Mastery</h3>
566
+ <p class="feature-desc">
567
+ Hands-on experience with ChatGPT, Claude, Midjourney, Stable Diffusion, GitHub Copilot,
568
+ and enterprise AI platforms.
569
+ </p>
570
+ </div>
571
+ """, unsafe_allow_html=True)
572
+
573
+ col4, col5, col6 = st.columns(3)
574
+
575
+ with col4:
576
+ st.markdown("""
577
+ <div class="feature-card">
578
+ <div class="feature-icon">πŸ“Š</div>
579
+ <h3 class="feature-title">RAG Systems</h3>
580
+ <p class="feature-desc">
581
+ Build Retrieval Augmented Generation systems, vector databases, embeddings, and
582
+ enterprise knowledge bases.
583
+ </p>
584
+ </div>
585
+ """, unsafe_allow_html=True)
586
+
587
+ with col5:
588
+ st.markdown("""
589
+ <div class="feature-card">
590
+ <div class="feature-icon">☁️</div>
591
+ <h3 class="feature-title">AI Deployment</h3>
592
+ <p class="feature-desc">
593
+ Deploy AI models on AWS, GCP, Azure. Learn MLOps, containerization, API development,
594
+ and production scaling.
595
+ </p>
596
+ </div>
597
+ """, unsafe_allow_html=True)
598
+
599
+ with col6:
600
+ st.markdown("""
601
+ <div class="feature-card">
602
+ <div class="feature-icon">πŸ’Ό</div>
603
+ <h3 class="feature-title">Real Projects</h3>
604
+ <p class="feature-desc">
605
+ Build portfolio-worthy projects: AI chatbots, content generators, code assistants,
606
+ and automation tools.
607
+ </p>
608
+ </div>
609
+ """, unsafe_allow_html=True)
610
+
611
+ # Curriculum Section
612
+ st.markdown("""
613
+ <div class="section-header">
614
+ <h2 class="section-title">πŸ“š Masterclass Curriculum</h2>
615
+ <p class="section-subtitle">12-week intensive program with hands-on projects</p>
616
+ </div>
617
+ """, unsafe_allow_html=True)
618
+
619
+ curriculum = [
620
+ ("Week 1-2", "AI Foundations & Prompt Engineering", "Understanding LLMs, tokenization, prompt design patterns"),
621
+ ("Week 3-4", "Building with OpenAI & Claude APIs", "API integration, function calling, structured outputs"),
622
+ ("Week 5-6", "LangChain & LlamaIndex Deep Dive", "Chains, agents, memory, document processing"),
623
+ ("Week 7-8", "Vector Databases & RAG Systems", "Pinecone, Weaviate, ChromaDB, hybrid search"),
624
+ ("Week 9-10", "Agentic AI & Multi-Agent Systems", "AutoGPT, CrewAI, agent orchestration, tool use"),
625
+ ("Week 11-12", "Deployment & Production", "MLOps, API development, scaling, monitoring"),
626
+ ]
627
+
628
+ for num, title, desc in curriculum:
629
+ st.markdown(f"""
630
+ <div class="curriculum-item">
631
+ <div class="curriculum-number">{num.split()[1]}</div>
632
+ <div>
633
+ <div class="curriculum-title">{title}</div>
634
+ <div class="curriculum-desc">{desc}</div>
635
+ </div>
636
+ </div>
637
+ """, unsafe_allow_html=True)
638
+
639
+ # Pricing Section
640
+ st.markdown("""
641
+ <div class="section-header">
642
+ <h2 class="section-title">πŸ’Ž Choose Your Learning Path</h2>
643
+ <p class="section-subtitle">Flexible plans designed for every learner</p>
644
+ </div>
645
+ """, unsafe_allow_html=True)
646
+
647
+ col1, col2, col3 = st.columns(3)
648
+
649
+ with col1:
650
+ st.markdown("""
651
+ <div class="pricing-card">
652
+ <div class="pricing-tier">STARTER</div>
653
+ <div class="pricing-name">Self-Paced Course</div>
654
+ <div class="pricing-price">$199</div>
655
+ <div class="pricing-period">one-time payment</div>
656
+ <div class="pricing-features">
657
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> 50+ Video Lessons</div>
658
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Downloadable Resources</div>
659
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> 5 Mini Projects</div>
660
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Community Access</div>
661
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Certificate of Completion</div>
662
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Lifetime Access</div>
663
+ </div>
664
+ </div>
665
+ """, unsafe_allow_html=True)
666
+ if st.button("Get Started", key="starter_btn", use_container_width=True):
667
+ st.session_state.selected_plan = "Starter - $199"
668
+ st.session_state.show_payment = True
669
+
670
+ with col2:
671
+ st.markdown("""
672
+ <div class="pricing-card popular">
673
+ <div class="popular-badge">MOST POPULAR</div>
674
+ <div class="pricing-tier">PROFESSIONAL</div>
675
+ <div class="pricing-name">Live Masterclass</div>
676
+ <div class="pricing-price">$499</div>
677
+ <div class="pricing-period">12-week program</div>
678
+ <div class="pricing-features">
679
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Everything in Starter</div>
680
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> 24 Live Sessions</div>
681
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> 1-on-1 Mentoring (4 hrs)</div>
682
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> 10 Industry Projects</div>
683
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Job Preparation</div>
684
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Priority Support</div>
685
+ </div>
686
+ </div>
687
+ """, unsafe_allow_html=True)
688
+ if st.button("Enroll Now", key="pro_btn", use_container_width=True, type="primary"):
689
+ st.session_state.selected_plan = "Professional - $499"
690
+ st.session_state.show_payment = True
691
+
692
+ with col3:
693
+ st.markdown("""
694
+ <div class="pricing-card">
695
+ <div class="pricing-tier">ENTERPRISE</div>
696
+ <div class="pricing-name">Executive Coaching</div>
697
+ <div class="pricing-price">$1,499</div>
698
+ <div class="pricing-period">personalized program</div>
699
+ <div class="pricing-features">
700
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Everything in Professional</div>
701
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Unlimited 1-on-1 Sessions</div>
702
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Custom AI Strategy</div>
703
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Team Training Option</div>
704
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> Implementation Support</div>
705
+ <div class="pricing-feature"><span class="check-icon">βœ“</span> LinkedIn Recommendation</div>
706
+ </div>
707
+ </div>
708
+ """, unsafe_allow_html=True)
709
+ if st.button("Contact Us", key="enterprise_btn", use_container_width=True):
710
+ st.session_state.selected_plan = "Enterprise - $1,499"
711
+ st.session_state.show_payment = True
712
+
713
+ # Payment Section
714
+ if st.session_state.show_payment:
715
+ st.markdown("---")
716
+ st.markdown(f"""
717
+ <div class="section-header">
718
+ <h2 class="section-title">πŸ’³ Complete Your Enrollment</h2>
719
+ <p class="section-subtitle">Selected Plan: {st.session_state.selected_plan}</p>
720
+ </div>
721
+ """, unsafe_allow_html=True)
722
+
723
+ payment_col1, payment_col2 = st.columns(2)
724
+
725
+ with payment_col1:
726
+ st.markdown("### Choose Payment Method")
727
+
728
+ st.markdown("""
729
+ <div style="display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0;">
730
+ """, unsafe_allow_html=True)
731
+
732
+ # UPI Payment
733
+ if st.button("🏦 Pay with UPI", key="upi_btn", use_container_width=True):
734
+ st.info("πŸ“± **UPI Payment**\n\nScan the QR code or use UPI ID: `aimastery@upi`\n\nAfter payment, share screenshot on WhatsApp for instant access.")
735
+ st.markdown("""
736
+ **Supported Apps:** Google Pay, PhonePe, Paytm, BHIM
737
+
738
+ **UPI ID:** `aimastery@ybl`
739
+ """)
740
+
741
+ # Stripe Payment
742
+ if st.button("πŸ’³ Pay with Stripe", key="stripe_btn", use_container_width=True):
743
+ st.success("πŸ”’ **Secure Stripe Checkout**\n\nYou'll be redirected to Stripe's secure payment page.")
744
+ st.markdown("[Click here to proceed to Stripe β†’](https://stripe.com)")
745
+
746
+ # PayPal Payment
747
+ if st.button("πŸ…ΏοΈ Pay with PayPal", key="paypal_btn", use_container_width=True):
748
+ st.success("πŸ”’ **PayPal Checkout**\n\nYou'll be redirected to PayPal for secure payment.")
749
+ st.markdown("[Click here to proceed to PayPal β†’](https://paypal.com)")
750
+
751
+ with payment_col2:
752
+ st.markdown("### Order Summary")
753
+ st.markdown(f"""
754
+ <div style="background: rgba(255,255,255,0.05); padding: 20px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1);">
755
+ <p style="color: #888;">Plan Selected:</p>
756
+ <h3 style="color: #fff; margin: 10px 0;">{st.session_state.selected_plan}</h3>
757
+ <hr style="border-color: rgba(255,255,255,0.1);">
758
+ <p style="color: #4ade80;">βœ“ 30-day money-back guarantee</p>
759
+ <p style="color: #4ade80;">βœ“ Instant access after payment</p>
760
+ <p style="color: #4ade80;">βœ“ Secure encrypted transaction</p>
761
+ </div>
762
+ """, unsafe_allow_html=True)
763
+
764
+ if st.button("← Change Plan", key="change_plan"):
765
+ st.session_state.show_payment = False
766
+ st.rerun()
767
+
768
+ # Testimonials Section
769
+ st.markdown("""
770
+ <div class="section-header">
771
+ <h2 class="section-title">⭐ What Our Students Say</h2>
772
+ <p class="section-subtitle">Join thousands of successful AI practitioners</p>
773
+ </div>
774
+ """, unsafe_allow_html=True)
775
+
776
+ test_col1, test_col2, test_col3 = st.columns(3)
777
+
778
+ with test_col1:
779
+ st.markdown("""
780
+ <div class="testimonial-card">
781
+ <div class="testimonial-text">
782
+ "This masterclass transformed my career. I went from a traditional developer to an AI engineer
783
+ in just 3 months. The hands-on projects were incredibly valuable."
784
+ </div>
785
+ <div class="testimonial-author">Sarah Chen</div>
786
+ <div class="testimonial-role">AI Engineer @ Google</div>
787
+ </div>
788
+ """, unsafe_allow_html=True)
789
+
790
+ with test_col2:
791
+ st.markdown("""
792
+ <div class="testimonial-card">
793
+ <div class="testimonial-text">
794
+ "The Agentic AI module was mind-blowing. I built an autonomous research agent that now
795
+ saves my team 20+ hours per week. Best investment I've made."
796
+ </div>
797
+ <div class="testimonial-author">Michael Rodriguez</div>
798
+ <div class="testimonial-role">CTO @ TechStartup</div>
799
+ </div>
800
+ """, unsafe_allow_html=True)
801
+
802
+ with test_col3:
803
+ st.markdown("""
804
+ <div class="testimonial-card">
805
+ <div class="testimonial-text">
806
+ "As a non-technical founder, I was skeptical. But the course made complex AI concepts
807
+ accessible. Now I can confidently lead AI initiatives at my company."
808
+ </div>
809
+ <div class="testimonial-author">Priya Sharma</div>
810
+ <div class="testimonial-role">Founder & CEO</div>
811
+ </div>
812
+ """, unsafe_allow_html=True)
813
+
814
+ # Instructor Section
815
+ st.markdown("""
816
+ <div class="section-header">
817
+ <h2 class="section-title">πŸ‘¨β€πŸ« Meet Your Instructor</h2>
818
+ </div>
819
+ """, unsafe_allow_html=True)
820
+
821
+ inst_col1, inst_col2 = st.columns([1, 2])
822
+
823
+ with inst_col1:
824
+ st.markdown("""
825
+ <div class="instructor-card">
826
+ <div style="font-size: 80px; margin-bottom: 20px;">πŸ‘€</div>
827
+ <div class="instructor-name">Dr. Alex Thompson</div>
828
+ <div class="instructor-title">AI Research Lead & Educator</div>
829
+ </div>
830
+ """, unsafe_allow_html=True)
831
+
832
+ with inst_col2:
833
+ st.markdown("""
834
+ <div style="padding: 20px;">
835
+ <p class="instructor-bio">
836
+ πŸŽ“ PhD in Machine Learning from Stanford University<br><br>
837
+ πŸ’Ό Former AI Research Lead at OpenAI and Google DeepMind<br><br>
838
+ πŸ“š Published 50+ research papers in top AI conferences<br><br>
839
+ πŸ† Trained 10,000+ professionals in AI and Machine Learning<br><br>
840
+ 🌟 Featured speaker at NeurIPS, ICML, and Google I/O<br><br>
841
+ πŸ’‘ Passionate about making AI accessible to everyone
842
+ </p>
843
+ </div>
844
+ """, unsafe_allow_html=True)
845
+
846
+ # Contact Section
847
+ st.markdown("""
848
+ <div class="section-header">
849
+ <h2 class="section-title">πŸ“ž Get in Touch</h2>
850
+ <p class="section-subtitle">Have questions? We're here to help!</p>
851
+ </div>
852
+ """, unsafe_allow_html=True)
853
+
854
+ # Social Media Buttons
855
+ st.markdown("""
856
+ <div style="text-align: center; margin: 30px 0;">
857
+ <a href="https://wa.me/1234567890?text=Hi! I'm interested in the AI Masterclass" target="_blank" class="social-btn whatsapp-btn">
858
+ πŸ“± Chat on WhatsApp
859
+ </a>
860
+ <a href="https://t.me/aimastery_bot" target="_blank" class="social-btn telegram-btn">
861
+ ✈️ Join Telegram
862
+ </a>
863
+ </div>
864
+ """, unsafe_allow_html=True)
865
+
866
+ # Contact Form
867
+ st.markdown('<div class="contact-container">', unsafe_allow_html=True)
868
+
869
+ contact_col1, contact_col2 = st.columns(2)
870
+
871
+ with contact_col1:
872
+ st.markdown("### πŸ“§ Send us a Message")
873
+
874
+ with st.form("contact_form"):
875
+ name = st.text_input("Your Name *", placeholder="John Doe")
876
+ email = st.text_input("Email Address *", placeholder="[email protected]")
877
+ phone = st.text_input("Phone Number", placeholder="+1 234 567 8900")
878
+ subject = st.selectbox("Subject", [
879
+ "General Inquiry",
880
+ "Course Information",
881
+ "Payment Support",
882
+ "Technical Support",
883
+ "Corporate Training",
884
+ "Partnership Opportunity"
885
+ ])
886
+ message = st.text_area("Your Message *", placeholder="Tell us how we can help you...", height=150)
887
+
888
+ submitted = st.form_submit_button("Send Message", use_container_width=True, type="primary")
889
+
890
+ if submitted:
891
+ if name and email and message:
892
+ st.success("βœ… Thank you for your message! We'll get back to you within 24 hours.")
893
+ st.session_state.form_submitted = True
894
+ else:
895
+ st.error("Please fill in all required fields.")
896
+
897
+ with contact_col2:
898
+ st.markdown("### πŸ“ Contact Information")
899
+
900
+ st.markdown("""
901
+ <div style="padding: 20px;">
902
+ <p style="color: #fff; margin: 15px 0;">
903
+ <strong>πŸ“§ Email:</strong><br>
904
+ <span style="color: #667eea;">[email protected]</span>
905
+ </p>
906
+ <p style="color: #fff; margin: 15px 0;">
907
+ <strong>πŸ“± WhatsApp:</strong><br>
908
+ <span style="color: #667eea;">+1 (234) 567-8900</span>
909
+ </p>
910
+ <p style="color: #fff; margin: 15px 0;">
911
+ <strong>✈️ Telegram:</strong><br>
912
+ <span style="color: #667eea;">@aimastery_academy</span>
913
+ </p>
914
+ <p style="color: #fff; margin: 15px 0;">
915
+ <strong>πŸ• Support Hours:</strong><br>
916
+ <span style="color: #888;">Monday - Friday: 9 AM - 6 PM EST<br>
917
+ Weekend: 10 AM - 4 PM EST</span>
918
+ </p>
919
+ <p style="color: #fff; margin: 15px 0;">
920
+ <strong>🌍 Location:</strong><br>
921
+ <span style="color: #888;">San Francisco, CA, USA<br>
922
+ (Remote-first company)</span>
923
+ </p>
924
+ </div>
925
+ """, unsafe_allow_html=True)
926
+
927
+ st.markdown('</div>', unsafe_allow_html=True)