import streamlit as st from streamlit_lottie import st_lottie import requests import json from datetime import datetime import base64 # Page configuration st.set_page_config( page_title="AI Mastery Academy | GenAI & Agentic AI Coaching", page_icon="🤖", layout="wide", initial_sidebar_state="collapsed" ) # Custom CSS st.markdown(""" """, unsafe_allow_html=True) # Initialize session state if 'selected_plan' not in st.session_state: st.session_state.selected_plan = None if 'show_payment' not in st.session_state: st.session_state.show_payment = False if 'form_submitted' not in st.session_state: st.session_state.form_submitted = False # Load Lottie animation def load_lottie_url(url: str): try: r = requests.get(url) if r.status_code != 200: return None return r.json() except: return None # Hero Section st.markdown("""
Built with anycoder
""", unsafe_allow_html=True) st.markdown("""
🚀 Limited Time Offer - 40% OFF

Master AI, GenAI & Agentic AI

Transform your career with cutting-edge AI skills. Learn from industry experts and build real-world AI applications with our comprehensive coaching and masterclass programs.

""", unsafe_allow_html=True) # Stats Section st.markdown("""
5000+
Students Trained
50+
AI Projects Built
95%
Success Rate
24/7
Support
""", unsafe_allow_html=True) # What You'll Learn Section st.markdown("""

🎯 What You'll Master

Comprehensive curriculum designed for the AI-first future

""", unsafe_allow_html=True) col1, col2, col3 = st.columns(3) with col1: st.markdown("""
🤖

Generative AI

Master LLMs, GPT models, prompt engineering, fine-tuning, and building AI-powered applications with OpenAI, Anthropic, and open-source models.

""", unsafe_allow_html=True) with col2: st.markdown("""
🕵️

Agentic AI

Build autonomous AI agents using LangChain, AutoGPT, CrewAI. Learn multi-agent systems, tool integration, and real-world automation.

""", unsafe_allow_html=True) with col3: st.markdown("""
🛠️

AI Tools Mastery

Hands-on experience with ChatGPT, Claude, Midjourney, Stable Diffusion, GitHub Copilot, and enterprise AI platforms.

""", unsafe_allow_html=True) col4, col5, col6 = st.columns(3) with col4: st.markdown("""
📊

RAG Systems

Build Retrieval Augmented Generation systems, vector databases, embeddings, and enterprise knowledge bases.

""", unsafe_allow_html=True) with col5: st.markdown("""
☁️

AI Deployment

Deploy AI models on AWS, GCP, Azure. Learn MLOps, containerization, API development, and production scaling.

""", unsafe_allow_html=True) with col6: st.markdown("""
💼

Real Projects

Build portfolio-worthy projects: AI chatbots, content generators, code assistants, and automation tools.

""", unsafe_allow_html=True) # Curriculum Section st.markdown("""

📚 Masterclass Curriculum

12-week intensive program with hands-on projects

""", unsafe_allow_html=True) curriculum = [ ("Week 1-2", "AI Foundations & Prompt Engineering", "Understanding LLMs, tokenization, prompt design patterns"), ("Week 3-4", "Building with OpenAI & Claude APIs", "API integration, function calling, structured outputs"), ("Week 5-6", "LangChain & LlamaIndex Deep Dive", "Chains, agents, memory, document processing"), ("Week 7-8", "Vector Databases & RAG Systems", "Pinecone, Weaviate, ChromaDB, hybrid search"), ("Week 9-10", "Agentic AI & Multi-Agent Systems", "AutoGPT, CrewAI, agent orchestration, tool use"), ("Week 11-12", "Deployment & Production", "MLOps, API development, scaling, monitoring"), ] for num, title, desc in curriculum: st.markdown(f"""
{num.split()[1]}
{title}
{desc}
""", unsafe_allow_html=True) # Pricing Section st.markdown("""

💎 Choose Your Learning Path

Flexible plans designed for every learner

""", unsafe_allow_html=True) col1, col2, col3 = st.columns(3) with col1: st.markdown("""
STARTER
Self-Paced Course
$199
one-time payment
50+ Video Lessons
Downloadable Resources
5 Mini Projects
Community Access
Certificate of Completion
Lifetime Access
""", unsafe_allow_html=True) if st.button("Get Started", key="starter_btn", use_container_width=True): st.session_state.selected_plan = "Starter - $199" st.session_state.show_payment = True with col2: st.markdown(""" """, unsafe_allow_html=True) if st.button("Enroll Now", key="pro_btn", use_container_width=True, type="primary"): st.session_state.selected_plan = "Professional - $499" st.session_state.show_payment = True with col3: st.markdown("""
ENTERPRISE
Executive Coaching
$1,499
personalized program
Everything in Professional
Unlimited 1-on-1 Sessions
Custom AI Strategy
Team Training Option
Implementation Support
LinkedIn Recommendation
""", unsafe_allow_html=True) if st.button("Contact Us", key="enterprise_btn", use_container_width=True): st.session_state.selected_plan = "Enterprise - $1,499" st.session_state.show_payment = True # Payment Section if st.session_state.show_payment: st.markdown("---") st.markdown(f"""

💳 Complete Your Enrollment

Selected Plan: {st.session_state.selected_plan}

""", unsafe_allow_html=True) payment_col1, payment_col2 = st.columns(2) with payment_col1: st.markdown("### Choose Payment Method") st.markdown("""
""", unsafe_allow_html=True) # UPI Payment if st.button("🏦 Pay with UPI", key="upi_btn", use_container_width=True): 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.") st.markdown(""" **Supported Apps:** Google Pay, PhonePe, Paytm, BHIM **UPI ID:** `aimastery@ybl` """) # Stripe Payment if st.button("💳 Pay with Stripe", key="stripe_btn", use_container_width=True): st.success("🔒 **Secure Stripe Checkout**\n\nYou'll be redirected to Stripe's secure payment page.") st.markdown("[Click here to proceed to Stripe →](https://stripe.com)") # PayPal Payment if st.button("🅿️ Pay with PayPal", key="paypal_btn", use_container_width=True): st.success("🔒 **PayPal Checkout**\n\nYou'll be redirected to PayPal for secure payment.") st.markdown("[Click here to proceed to PayPal →](https://paypal.com)") with payment_col2: st.markdown("### Order Summary") st.markdown(f"""

Plan Selected:

{st.session_state.selected_plan}


✓ 30-day money-back guarantee

✓ Instant access after payment

✓ Secure encrypted transaction

""", unsafe_allow_html=True) if st.button("← Change Plan", key="change_plan"): st.session_state.show_payment = False st.rerun() # Testimonials Section st.markdown("""

⭐ What Our Students Say

Join thousands of successful AI practitioners

""", unsafe_allow_html=True) test_col1, test_col2, test_col3 = st.columns(3) with test_col1: st.markdown("""
"This masterclass transformed my career. I went from a traditional developer to an AI engineer in just 3 months. The hands-on projects were incredibly valuable."
Sarah Chen
AI Engineer @ Google
""", unsafe_allow_html=True) with test_col2: st.markdown("""
"The Agentic AI module was mind-blowing. I built an autonomous research agent that now saves my team 20+ hours per week. Best investment I've made."
Michael Rodriguez
CTO @ TechStartup
""", unsafe_allow_html=True) with test_col3: st.markdown("""
"As a non-technical founder, I was skeptical. But the course made complex AI concepts accessible. Now I can confidently lead AI initiatives at my company."
Priya Sharma
Founder & CEO
""", unsafe_allow_html=True) # Instructor Section st.markdown("""

👨‍🏫 Meet Your Instructor

""", unsafe_allow_html=True) inst_col1, inst_col2 = st.columns([1, 2]) with inst_col1: st.markdown("""
👤
Dr. Alex Thompson
AI Research Lead & Educator
""", unsafe_allow_html=True) with inst_col2: st.markdown("""

🎓 PhD in Machine Learning from Stanford University

💼 Former AI Research Lead at OpenAI and Google DeepMind

📚 Published 50+ research papers in top AI conferences

🏆 Trained 10,000+ professionals in AI and Machine Learning

🌟 Featured speaker at NeurIPS, ICML, and Google I/O

💡 Passionate about making AI accessible to everyone

""", unsafe_allow_html=True) # Contact Section st.markdown("""

📞 Get in Touch

Have questions? We're here to help!

""", unsafe_allow_html=True) # Social Media Buttons st.markdown("""
""", unsafe_allow_html=True) # Contact Form st.markdown('
', unsafe_allow_html=True) contact_col1, contact_col2 = st.columns(2) with contact_col1: st.markdown("### 📧 Send us a Message") with st.form("contact_form"): name = st.text_input("Your Name *", placeholder="John Doe") email = st.text_input("Email Address *", placeholder="john@example.com") phone = st.text_input("Phone Number", placeholder="+1 234 567 8900") subject = st.selectbox("Subject", [ "General Inquiry", "Course Information", "Payment Support", "Technical Support", "Corporate Training", "Partnership Opportunity" ]) message = st.text_area("Your Message *", placeholder="Tell us how we can help you...", height=150) submitted = st.form_submit_button("Send Message", use_container_width=True, type="primary") if submitted: if name and email and message: st.success("✅ Thank you for your message! We'll get back to you within 24 hours.") st.session_state.form_submitted = True else: st.error("Please fill in all required fields.") with contact_col2: st.markdown("### 📍 Contact Information") st.markdown("""

📧 Email:
support@aimastery.academy

📱 WhatsApp:
+1 (234) 567-8900

✈️ Telegram:
@aimastery_academy

🕐 Support Hours:
Monday - Friday: 9 AM - 6 PM EST
Weekend: 10 AM - 4 PM EST

🌍 Location:
San Francisco, CA, USA
(Remote-first company)

""", unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True)