/* Reset i podstawowe style */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            min-height: 100vh;
            color: #1a202c;
            line-height: 1.7;
        }

        /* Header z nawigacją */
        .header {
            background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #63b3ed;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
            list-style: none;
            flex-wrap: wrap;
        }

        .nav-menu a {
            color: #cbd5e0;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            background: rgba(49, 130, 206, 0.2);
            color: white;
            transform: translateY(-1px);
        }

        /* Mobile menu */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #2d3748;
                flex-direction: column;
                padding: 1rem;
                gap: 0;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            }

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

            .nav-menu a {
                padding: 1rem;
                border-bottom: 1px solid #4a5568;
            }

            .nav-menu a:last-child {
                border-bottom: none;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .header-content {
                position: relative;
            }
        }

        /* Główny kontener */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        /* Nagłówek główny */
        .hero-section {
            text-align: center;
            padding: 4rem 0;
            background: white;
            border-radius: 16px;
            margin-bottom: 3rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3182ce, #805ad5, #d69e2e);
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #3182ce, #805ad5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            font-size: 1.4rem;
            color: #4a5568;
            font-weight: 400;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Sekcje */
        section {
            margin-bottom: 4rem;
            padding: 3rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
            scroll-margin-top: 100px;
        }

        section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3182ce, #805ad5);
        }

        /* Różne kolory dla każdej sekcji */
        section#wprowadzenie::before {
            background: linear-gradient(90deg, #3182ce, #63b3ed);
        }

        section#instrukcja::before {
            background: linear-gradient(90deg, #38a169, #68d391);
        }

        section#uproszczenia::before {
            background: linear-gradient(90deg, #805ad5, #b794f6);
        }

        section#rozwoj::before {
            background: linear-gradient(90deg, #d69e2e, #f6e05e);
        }

        /* Nagłówki sekcji */
        h2 {
            font-size: 2.25rem;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2d3748;
            margin: 2.5rem 0 1.5rem 0;
            padding: 1.25rem;
            background: linear-gradient(135deg, #f7fafc, #edf2f7);
            border-left: 4px solid #3182ce;
            border-radius: 0 12px 12px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        /* Paragrafy */
        p {
            margin-bottom: 1.75rem;
            font-size: 1.125rem;
            text-align: justify;
            color: #2d3748;
            line-height: 1.8;
        }

        p strong {
            color: #3182ce;
            font-weight: 600;
        }

        /* Listy */
        ul {
            margin: 2rem 0;
            padding-left: 0;
        }

        ul li {
            list-style: none;
            margin-bottom: 1.25rem;
            padding: 1rem 1.5rem;
            position: relative;
            font-size: 1.1rem;
            line-height: 1.7;
            color: #2d3748;
            background: #f7fafc;
            border-radius: 8px;
            border-left: 4px solid #3182ce;
            transition: all 0.3s ease;
        }

        ul li:hover {
            background: #edf2f7;
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        ul li::before {
            content: "▶";
            position: absolute;
            left: 0.5rem;
            top: 1rem;
            color: #3182ce;
            font-weight: bold;
            font-size: 0.9rem;
        }

        ul li strong {
            color: #1a202c;
            font-weight: 600;
        }

        /* Listy zagnieżdżone */
        ul ul {
            margin: 1rem 0;
            padding-left: 0;
        }

        ul ul li {
            background: #edf2f7;
            border-left-color: #805ad5;
            margin-bottom: 0.75rem;
            padding: 0.75rem 1.25rem;
        }

        ul ul li::before {
            content: "◦";
            color: #805ad5;
            left: 0.4rem;
            top: 0.75rem;
        }

        /* Kod inline */
        code {
            background: linear-gradient(135deg, #edf2f7, #e2e8f0);
            color: #805ad5;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 0.9em;
            font-weight: 600;
            border: 1px solid #e2e8f0;
        }

        /* Przyciski */
        .buttons-container {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        }

        .btn-primary {
            display: inline-block;
            padding: 1.25rem 2.5rem;
            background: linear-gradient(135deg, #3182ce, #2c5282);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(49, 130, 206, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(49, 130, 206, 0.4);
            background: linear-gradient(135deg, #2c5282, #2a4a7d);
        }

        /* Responsywność */
        @media (max-width: 1024px) {
            .container {
                padding: 2rem 1.5rem;
            }

            h1 {
                font-size: 2.8rem;
            }

            section {
                padding: 2rem;
                margin-bottom: 3rem;
            }

            h2 {
                font-size: 1.8rem;
            }

            .nav-menu {
                gap: 1rem;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 1.5rem 1rem;
            }

            .hero-section {
                padding: 2.5rem 1rem;
            }

            h1 {
                font-size: 2.2rem;
            }

            .subtitle {
                font-size: 1.1rem;
            }

            section {
                padding: 1.5rem;
                margin-bottom: 2rem;
            }

            h2 {
                font-size: 1.6rem;
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }

            h3 {
                font-size: 1.2rem;
                margin: 2rem 0 1rem 0;
            }

            p {
                font-size: 1rem;
                text-align: left;
            }

            ul li {
                font-size: 1rem;
                padding: 0.75rem 1rem;
            }
        }

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Animacje */
        section {
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Highlight aktywnej sekcji */
        section:target {
            animation: highlight 2s ease-out;
        }

        @keyframes highlight {
            0% {
                background: #f0fff4;
                transform: scale(1.02);
            }
            100% {
                background: white;
                transform: scale(1);
            }
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: #e2e8f0;
            z-index: 1001;
        }

        .scroll-progress {
            height: 100%;
            background: linear-gradient(90deg, #3182ce, #805ad5);
            width: 0%;
            transition: width 0.1s ease;
        }

        /* Back to top button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #3182ce, #2c5282);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            box-shadow: 0 4px 16px rgba(49, 130, 206, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
        }

        /* Footer */
        .footer {
            margin-top: 4rem;
            background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
            color: white;
            padding: 3rem 0 2rem 0;
            border-top: 4px solid #3182ce;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
        }

        .footer-main {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            font-weight: 500;
            line-height: 1.6;
        }

        .footer-main strong:first-of-type {
            color: #63b3ed;
            font-weight: 700;
        }

        .footer-main strong:last-of-type {
            color: #68d391;
            font-weight: 700;
        }

        .footer-info {
            border-top: 1px solid #4a5568;
            padding-top: 1rem;
            font-size: 0.9rem;
            color: #cbd5e0;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .footer {
                padding: 2rem 0 1.5rem 0;
            }
            
            .footer-content {
                padding: 0 1rem;
            }
            
            .footer-main {
                font-size: 1rem;
            }
            
            .footer-info {
                font-size: 0.85rem;
            }
        }