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

:root {
    --purple: #7C3AED;
    --purple-dark: #6D28D9;
    --yellow: #FBBF24;
    --yellow-light: #FEF3C7;
    --white: #FFFFFF;
    --navy: #1E3A5F;
    --gray-light: #F8FAFC;
    --gray: #64748B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--navy);
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--yellow);
    color: var(--navy);
    padding: 10px 20px;
}

.btn-nav:hover {
    background: #F59E0B;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple);
    text-decoration: none;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.3s;
}

.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--navy);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.section {
    padding: 80px 20px;
}

.section-light {
    background: var(--gray-light);
}

.section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--navy);
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--yellow-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--purple);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.card p {
    font-size: 0.95rem;
    color: var(--gray);
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.course-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.course-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.course-number {
    width: 50px;
    height: 50px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.course-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.course-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.course-image img {
    width: 100%;
    height: auto;
}

.benefits-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.faq-question:hover {
    background: var(--gray-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--purple);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray);
}

.cta-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: var(--yellow);
    color: var(--navy);
}

.cta-section .btn-primary:hover {
    background: #F59E0B;
}

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content,
    .course-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-nav {
        display: none;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
}
