* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8B5CF6;
    --pale-purple: #EDE9FE;
    --light-purple: #F3E8FF;
    --dark-purple: #6D28D9;
    --accent-purple: #A78BFA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 20px 40px rgba(139, 92, 246, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid var(--light-purple);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, var(--pale-purple) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.35);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(109, 40, 217, 0.2) 0%,
        transparent 60%,
        rgba(10, 10, 15, 0.3) 100%
    );
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-details {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.date-badge,
.duration-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.4);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Buttons */
.cta-button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--white);
    box-shadow: var(--shadow);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--light-purple);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.cta-button.secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.cta-button.large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #0a0a0f;
}

.gallery h2 {
    font-size: 44px;
    margin-bottom: 16px;
    text-align: center;
    color: var(--white);
}

.gallery .section-subtitle {
    color: rgba(255,255,255,0.45);
    margin-bottom: 60px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 320px 220px;
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.gallery-item:nth-child(1) {
    grid-row: span 2;
    border-radius: 16px 4px 4px 16px;
}

.gallery-item:nth-child(2) {
    border-radius: 4px 16px 4px 4px;
}

.gallery-item:nth-child(3) {
    border-radius: 4px 4px 16px 4px;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    border-radius: 4px 4px 16px 16px;
}

.gallery-item:hover {
    box-shadow: 0 0 0 2px var(--primary-purple),
                0 0 40px rgba(139, 92, 246, 0.5),
                0 0 80px rgba(139, 92, 246, 0.2);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.88);
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(109, 40, 217, 0.85) 0%,
        rgba(139, 92, 246, 0.2) 40%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about h2 {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--light-purple);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin: 0 auto 20px;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Curriculum Section */
.curriculum {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pale-purple) 0%, var(--light-purple) 100%);
}

.curriculum h2 {
    font-size: 44px;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.module-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-purple);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.module-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--pale-purple);
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.5;
}

.module-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.module-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.module-list {
    list-style: none;
}

.module-list li {
    padding: 10px 0;
    color: var(--text-dark);
    padding-left: 30px;
    position: relative;
}

.module-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 18px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--white);
}

.benefits h2 {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.benefit-item {
    background: linear-gradient(135deg, var(--light-purple), var(--pale-purple));
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--primary-purple);
}

.benefit-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--text-dark);
    font-weight: 600;
}

.features-section {
    background: var(--light-purple);
    padding: 50px;
    border-radius: 12px;
    margin-top: 60px;
}

.features-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature i {
    color: var(--primary-purple);
    font-size: 24px;
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pale-purple), var(--light-purple));
}

.testimonials h2 {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #FFB800;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-light);
    font-italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--primary-purple);
    font-size: 14px;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing h2 {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-card {
    background: var(--light-purple);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--pale-purple);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--white);
    border: none;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary-purple);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-badge.premium-badge {
    background: var(--white);
    color: var(--primary-purple);
}

.pricing-card h3 {
    font-size: 24px;
    margin: 30px 0 20px 0;
    color: inherit;
}

.price-tag {
    margin: 30px 0;
    text-align: center;
}

.currency {
    font-size: 24px;
    font-weight: 600;
}

.amount {
    font-size: 56px;
    font-weight: 800;
}

.price-info {
    color: var(--text-light);
    text-align: center;
    font-size: 14px;
}

.pricing-card.premium .price-info {
    color: rgba(255, 255, 255, 0.8);
}

.or {
    text-align: center;
    color: var(--text-light);
    margin: 15px 0;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card.premium .or {
    color: rgba(255, 255, 255, 0.7);
}

.installment {
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.pricing-card.premium .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pale-purple), var(--light-purple));
}

.faq h2 {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-purple);
    color: var(--primary-purple);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.final-cta h2 {
    font-size: 44px;
    margin-bottom: 20px;
    color: var(--white);
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.final-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .about h2,
    .curriculum h2,
    .benefits h2,
    .testimonials h2,
    .pricing h2,
    .faq h2,
    .final-cta h2 {
        font-size: 32px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-top: 1px solid var(--light-purple);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;
    }

    .navbar {
        position: sticky;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 350px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px auto;
    }

    .gallery-item:nth-child(4) {
        height: 180px;
    }

    .hero-details {
        flex-direction: column;
    }

    .module-card {
        padding: 30px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.premium {
        transform: scale(1);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    @media (max-width: 480px) {
        .nav-menu {
            gap: 10px;
            font-size: 14px;
        }

        .hero {
            padding: 80px 0;
        }

        .about,
        .curriculum,
        .benefits,
        .testimonials,
        .pricing,
        .faq,
        .final-cta {
            padding: 60px 0;
        }

        .hero h1 {
            font-size: 28px;
        }

        .about h2,
        .curriculum h2,
        .benefits h2,
        .testimonials h2,
        .pricing h2,
        .faq h2,
        .final-cta h2 {
            font-size: 24px;
            margin-bottom: 40px;
        }
    }
}
