/* Global Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --primary-blue: #3b82f6;
    --primary-orange: #f97316;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    padding: 20px 0;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content Layout */
.main-content-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Content */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-card {
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none;
    display: block;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-left: 5px;
}

.video-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

.coding-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.coding-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Right Content */
.right-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-course-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.course-description {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.price-section-right {
    background: linear-gradient(135deg, #f3e8ff, #dbeafe);
    border-radius: 20px;
    padding: 20px 35px;
    box-shadow: var(--shadow);
    border: 2px solid #c4b5fd;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.price-display .current-price-large {
    margin-right: 10px;
}

.price-display .original-price-small {
    margin-right: 15px;
}

.current-price-large {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: -2px;
    font-family: Arial, sans-serif;
}

.original-price-small {
    font-size: 1.3rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.offer-badge-small {
    background: var(--primary-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.buy-button-main {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 0;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.buy-button-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.5);
}

.payment-message {
    text-align: center;
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
    margin: 12px 0 8px 0;
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 10px;
}

.lifetime-access-small {
    text-align: center;
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    margin-top: 3px;
}

.course-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 8px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-purple);
}

.reviewer-info h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2C3E50, #34495e);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom i {
    color: #ff0000;
}

.footer-bottom a {
    color: var(--primary-purple);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Thank You Page Styles */
.thankyou-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FDC830 100%);
}

.thankyou-container {
    max-width: 800px;
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.success-animation {
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

.checkmark-circle i {
    font-size: 3rem;
    color: white;
}

.thankyou-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.thankyou-message {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.info-box {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.course-access-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-orange), #FDC830);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.course-access-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.next-steps {
    margin: 50px 0;
}

.next-steps h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), #FDC830);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.support-section {
    background: #fff3cd;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.support-section h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.support-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.support-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.support-email:hover {
    color: #FDC830;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-orange), #FDC830);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .video-card {
        padding: 0;
        border-radius: 15px;
    }

    .main-course-title {
        font-size: 2rem;
    }

    .current-price-large {
        font-size: 2.5rem;
    }

    .buy-button-main {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .payment-message {
        font-size: 0.9rem;
        margin: 10px 0 6px 0;
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .thankyou-title {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-course-title {
        font-size: 1.5rem;
    }

    .current-price-large {
        font-size: 2rem;
    }

    .buy-button-main {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .payment-message {
        font-size: 0.85rem;
        margin: 8px 0 5px 0;
        padding: 0 20px;
    }

    .video-card {
        padding: 0;
        border-radius: 12px;
    }

    .thankyou-container {
        padding: 40px 20px;
    }
}