/* --- Globalne Style i Reset --- */
:root {
    --primary-color: #4A90E2; /* Główny kolor marki (niebieski) */
    --secondary-color: #50E3C2; /* Kolor akcentujący (turkusowy/zielony) */
    --dark-color: #333;
    --light-gray-color: #f4f7f6;
    --text-color: #555;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center;}
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
}

section {
    padding: 60px 0;
}

/* --- Navbar --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
}

.cta-nav-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.cta-nav-button:hover {
    background-color: #3a7ac0; /* Ciemniejszy odcień primary */
}


/* --- Sekcja Hero --- */
.hero-section {
    background-color: var(--light-gray-color); /* Delikatne tło */
    text-align: center;
    padding: 80px 0;
}

.hero-section h1 {
    color: var(--dark-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 1.5rem auto 2.5rem auto;
}

.cta-button {
    display: block;
    max-width: 460px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: bold;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-button:hover {
    background-color: #45ccb0; /* Ciemniejszy odcień secondary */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cta-button.large {
    padding: 18px 35px;
    font-size: 1.2rem;
}

.hero-image-placeholder {
    width: 80%;
    max-width: 600px;
    height: 350px;
    background-color: #e0e0e0;
    margin: 40px auto 0 auto;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    border: 1px dashed #ccc;
}

/* --- Sekcja Problem --- */
.problem-section {
    background-color: #fff;
}

.pain-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.pain-points .point {
    flex-basis: calc(33.333% - 20px);
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}
.icon-placeholder { /* Placeholder dla ikon */
    display: block;
    margin: 0 auto 10px auto;
    font-size: 1.5rem;
    color: var(--primary-color);
}


/* --- Sekcja Rozwiązanie (How it works) --- */
.solution-section {
    background-color: var(--light-gray-color);
}
.solution-section > .container > p {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.how-it-works {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.how-it-works .step {
    flex-basis: calc(25% - 25px); /* 4 kolumny z odstępami */
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}
.how-it-works .step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px auto;
}
.how-it-works .step h3 {
    margin-bottom: 10px;
}

/* --- Sekcja Korzyści --- */
.features-section {
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background-color: var(--light-gray-color);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.icon-placeholder-large { /* Placeholder dla większych ikon korzyści */
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 auto 15px auto;
}

/* --- Sekcja Showcase --- */
.showcase-section {
    background-color: var(--light-gray-color);
}
.showcase-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}
.showcase-step {
    flex-basis: 31%;
    text-align: center;
}
.showcase-image-placeholder {
    height: 200px;
    background-color: #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 1px dashed #ccc;
}

/* --- Sekcja Cennik --- */
.pricing-section {
    background-color: #fff;
}
.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.pricing-table {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Aby karty miały tę samą wysokość, jeśli content różny */
    flex-wrap: wrap;
    gap: 30px;
}
.pricing-card {
    flex-basis: calc(33.333% - 25px);
    min-width: 280px; /* Minimalna szerokość karty */
    background-color: var(--light-gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05); /* Lekkie powiększenie popularnego planu */
}
.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 20px;
}

.pricing-card h3 {
    margin-top: 0;
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}
.pricing-card .price span {
    font-size: 3rem;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1; /* Aby przycisk był na dole */
}
.pricing-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.icon-placeholder-tick { /* Placeholder dla ikony "tick" */
    color: var(--secondary-color);
    margin-right: 8px;
    font-weight: bold; /* Zamiast prawdziwej ikony */
}
.cta-button-secondary { /* Przycisk dla mniej ważnych planów */
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto; /* Wypycha przycisk na dół */
}
.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}
.pricing-card .cta-button { /* Dostosowanie głównego CTA w cenniku */
    margin-top: auto; /* Wypycha przycisk na dół */
    width: 100%;
}
.annual-discount {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Sekcja Dowód Społeczny --- */
.social-proof-section {
    background-color: var(--light-gray-color);
}
.testimonials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}
.testimonial {
    flex-basis: calc(50% - 20px);
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial cite {
    font-weight: bold;
    color: var(--dark-color);
}

/* --- Sekcja FAQ --- */
.faq-section {
    background-color: #fff;
}
.faq-list {
    max-width: 700px;
    margin: 30px auto 0 auto;
}
.faq-list details {
    background-color: var(--light-gray-color);
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    padding: 15px;
}
.faq-list details summary {
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none; /* Usuwa domyślny trójkąt w niektórych przeglądarkach */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-list details summary::-webkit-details-marker { /* Dla Chrome/Safari */
    display: none;
}
.faq-list details summary::after { /* Dodaje własny wskaźnik +/- */
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}
.faq-list details[open] summary::after {
    content: '−';
}
.faq-list details p {
    margin-top: 10px;
    padding-left: 5px;
}

/* --- Sekcja Final CTA --- */
.final-cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}
.final-cta-section h2 {
    color: white;
}
.final-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta-section .cta-button {
    background-color: white;
    color: var(--primary-color);
}
.final-cta-section .cta-button:hover {
    background-color: #f0f0f0;
}

/* --- Stopka --- */
.footer-section {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}
.footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section p {
    margin-bottom: 10px;
}
.footer-nav a {
    color: #aaa;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: white;
}


/* --- Media Queries dla responsywności --- */
@media (max-width: 992px) {
    .pricing-card {
        flex-basis: calc(50% - 20px); /* Dwie karty w rzędzie na tabletach */
    }
    .how-it-works .step {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .navbar .container {
        flex-direction: column;
    }
    .navbar nav ul {
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }
    .navbar nav ul li {
        margin: 10px 0;
    }
    .cta-nav-button {
        display: block;
        text-align: center;
        width: 100%;
    }


    .pain-points .point,
    .how-it-works .step,
    .showcase-step,
    .testimonial {
        flex-basis: 100%; /* Pełna szerokość na mniejszych ekranach */
    }
    .pricing-card {
        flex-basis: 80%; /* Jedna karta, ale nie na całą szerokość */
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.popular {
      transform: scale(1); /* Reset scale na mobile */
    }
     .pricing-card.popular:hover {
      transform: translateY(-5px) scale(1.02); /* Mniejszy efekt hover */
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Jedna kolumna dla korzyści */
    }
    .showcase-steps {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    .hero-section .subtitle {
        font-size: 1rem;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .pricing-card {
        flex-basis: 100%;
    }
}