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

:root {
    --purple: #6B4EE6;
    --purple-dark: #5438C5;
    --yellow: #FFD93D;
    --yellow-light: #FFF4B8;
    --navy: #1A1A3E;
    --white: #FFFFFF;
    --gray-light: #F8F9FC;
    --gray: #6B7280;
}

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 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    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: #E6C235;
}

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

.btn-cta:hover {
    background: var(--yellow-light);
}

.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: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

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

.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 {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
}

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

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

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

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

.section {
    padding: 80px 0;
}

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

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

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

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

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

.card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

.card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy);
}

.card p {
    font-size: 15px;
    color: var(--gray);
}

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

.kurs-blocks {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kurs-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.kurs-block h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--navy);
}

.kurs-block p {
    font-size: 15px;
    color: var(--gray);
}

.kurs-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.sytuacje-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.sytuacje-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 18px;
}

.sytuacje-list li:last-child {
    border-bottom: none;
}

.sytuacje-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sytuacje-icon svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--purple);
    transition: transform 0.3s;
}

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

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--gray);
    font-size: 16px;
}

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

.cta h2 {
    color: var(--white);
    font-size: 32px;
    max-width: 700px;
    margin: 0 auto 32px;
}

.footer {
    background: var(--navy);
    padding: 40px 0;
}

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

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-image {
        order: -1;
    }

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

    .section h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta h2 {
        font-size: 24px;
    }
}
