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

:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --yellow: #fbbf24;
    --yellow-light: #fef3c7;
    --purple: #a78bfa;
    --purple-light: #ede9fe;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
}

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

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

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    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.5rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

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

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

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

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

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

.btn-primary:hover {
    background: var(--blue-dark);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: 0.3s;
}

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

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

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

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

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

.zajecia-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.zajecia-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.zajecia-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.zajecia-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--gray-800);
}

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

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

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

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

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1rem;
    color: var(--gray-800);
}

.devices-image {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.faq-item {
    border-bottom: 1px solid var(--gray-100);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

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

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

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

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

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

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

.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

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

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

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

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

@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 10px rgba(0,0,0,0.1);
    }

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

    .btn-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .zajecia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zajecia-image {
        order: -1;
    }

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