:root {
    --primary-color: #0f172a;
    /* Ciemny granat dla nagłówków */
    --accent-color: #2563eb;
    /* Soczysty niebieski */
    --accent-glow: #60a5fa;
    --text-color: #334155;
    /* Ciemny szary dla tekstu */
    --text-muted: #64748b;
    /* Szary */
    --bg-color: #f8fafc;
    /* Bardzo jasne tło (prawie białe) */
    --card-bg: rgba(255, 255, 255, 0.7);
    /* Białe szkło */
    --glass-border: rgba(148, 163, 184, 0.2);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: rgba(0, 0, 0, 0.02);
    /* Minimalnie ciemniejsze od tła */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Stary gradient usunięty - patrz dół pliku */

/* Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background: white;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    /* Jasne tło nawigacji */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Adjust height to fit navbar */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

/* Specjalna poprawka dla przycisku Kontakt w menu */
.nav-links li a.btn-primary {
    color: white !important;
    padding: 10px 24px;
    display: inline-flex;
    /* Użycie flexboxa dla idealnego środkowania */
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    /* Reset wysokości linii dla przycisku */
    font-weight: 600;
}

.nav-links li a.btn-primary:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    /* Nieco mocniejszy cień dla efektu */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}



/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    /* Tło z grafiką i nakładką rozjaśniającą */
    background: linear-gradient(rgba(248, 250, 252, 0.5), rgba(248, 250, 252, 0.6)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    display: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Delikatny cień */
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
}

.card-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
}

.card-icon i {
    width: 100%;
    height: 100%;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    gap: 10px;
}

/* About Section */
.align-center {
    align-items: center;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.check-list i {
    color: var(--accent-color);
    width: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Lżejszy cień */
}

/* Nowa lista usług w sekcji O nas */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-icon {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    /* Wyrównanie optyczne z pierwszą linią tekstu */
}

.service-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 2px;
    font-size: 1rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 10px 0;
}

/* Contact Form */
.cta-box {
    background: linear-gradient(to right, #ffffff, #f0f9ff);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--primary-color);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Footer */
footer {
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 20px;
    background: #fff;
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

/* Animations */
/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Usunięcie starej animacji keyframes, teraz sterujemy przez klasę .visible */

/* Course Cards */
.course-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.course-image {
    height: 200px;
    background-color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.course-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.course-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Course Details Page */
.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.course-banner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Syllabus List */
.syllabus-list li {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: var(--transition);
}

.syllabus-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.module-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.5;
}

.module-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.module-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Sidebar & Order Form */
.sticky-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    /* Sticks when scrolling */
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tax-info {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.features-list i {
    color: var(--accent-color);
    width: 18px;
}

.divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}

.order-form .form-group {
    margin-bottom: 15px;
}

.order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px;
    color: var(--text-muted);
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    color: #10b981;
    /* Green */
    margin-bottom: 15px;
}

/* Responsive Course Page */
@media (max-width: 900px) {
    .course-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
        margin-top: 30px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 40px;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .grid-2,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Lead Magnet Section */
.lead-magnet {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.lead-magnet h2 {
    color: white;
    margin-bottom: 20px;
}

.magnet-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 30px auto 0;
}

.magnet-form input {
    border: none;
    padding: 15px 20px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: var(--transition);
}

.syllabus-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.module-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.5;
}

.module-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.module-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Sidebar & Order Form */
.sticky-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    /* Sticks when scrolling */
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tax-info {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.features-list i {
    color: var(--accent-color);
    width: 18px;
}

.divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}

.order-form .form-group {
    margin-bottom: 15px;
}

.order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px;
    color: var(--text-muted);
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    color: #10b981;
    /* Green */
    margin-bottom: 15px;
}

/* Responsive Course Page */
@media (max-width: 900px) {
    .course-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
        margin-top: 30px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 40px;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .grid-2,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Lead Magnet Section */
.lead-magnet {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.lead-magnet h2 {
    color: white;
    margin-bottom: 20px;
}

.magnet-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 30px auto 0;
}

.magnet-form input {
    border: none;
    padding: 15px 20px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
    /* Adjust if content is very long */
}

/* Responsywność dla formularza Lead Magnet */
@media (max-width: 600px) {
    .magnet-form {
        flex-direction: column;
    }

    .magnet-form button {
        width: 100%;
    }
}

/* --- WODOTRYSKI (Efekty Specjalne) --- */

/* 1. Pływający Gradient Tekstu */
.gradient-text {
    background: linear-gradient(90deg, #2563eb, #3b82f6, #0ea5e9, #2563eb);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* 2. Efekt Lśnienia (Shine) na Kartach */
.card,
.glass-card,
.resource-card {
    position: relative;
    overflow: hidden;
    /* Ważne, żeby błysk nie wychodził poza kartę */
}

/* Tworzymy wirtualny "pas świetlny" */
.card::after,
.glass-card::after,
.resource-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    /* Reset tranzycji, żeby powrót był natychmiastowy */
    pointer-events: none;
}

/* Uruchamiamy błysk po najechaniu */
.card:hover::after,
.glass-card:hover::after,
.resource-card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* 3. Pasek Postępu Scrollowania */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10001;
    /* Musi być nad wszystkim, nawet nad menu */
}

#scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    width: 0%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    border-radius: 0 2px 2px 0;
}
/* --- Sekcja Opinii (Testimonials) --- */
.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 40px auto 0;
    align-items: center;
    min-height: 220px;
}

.testimonial-item {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    transition: all 0.8s ease;
    transform: translateY(20px);
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    pointer-events: auto;
}

.stars {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
    line-height: 1.6;
}

.author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

