/* Zmienne CSS */
:root {
    --color-dark: #121212;
    --color-darker: #0a0a0a;
    --color-blue: #4682B4; /* SteelBlue */
    --color-purple: #9400D3; /* DarkViolet */
    --color-text: #f0f0f0;
    --color-text-muted: rgba(240, 240, 240, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset i podstawowe style */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-darker);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Tło Parallax i Struktura Strony */
#background-container { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; background: var(--color-darker); }
#particles-js { height: 100%; }
#page-content { position: relative; z-index: 2; background-color: transparent; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 25px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
p { font-family: 'Montserrat', sans-serif; }

/* Ulepszona Typografia */
h1 { font-size: 42px; font-weight: 600; line-height: 1.25; margin-bottom: 20px; }
h2 { font-size: 34px; font-weight: 600; line-height: 1.3; margin-bottom: 20px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.4; margin-bottom: 15px; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
h5, h6 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
p { font-size: 17px; font-weight: 400; line-height: 1.7; color: var(--color-text-muted); }

section { padding: 120px 0; }
.section-header { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; margin-bottom: 80px; }
.section-header h2 { margin-bottom: 15px; }
.section-header p { font-size: 18px; }

/* Przyciski */
.btn-primary { display: inline-block; padding: 16px 38px; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); cursor: pointer; background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%); color: white; text-decoration: none; border: none; box-shadow: 0 5px 20px rgba(148, 0, 211, 0.4); margin: 10px; }
.btn-primary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 30px rgba(148, 0, 211, 0.5); }
.btn-primary.btn-small { padding: 10px 24px; font-size: 14px; }
.header-cta .btn-primary { margin: 0; } 
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
.cta-wrapper { text-align: center; margin-top: 80px; }

/* Nagłówek */
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: 60px; display: flex; align-items: center; background: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); transition: var(--transition); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
#header .container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo-link { display: flex; align-items: center; padding: 0; margin: 0; }
.logo { width: 150px; display: flex; align-items: center; }
.logo img { width: 100%; height: auto; display: block; }
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.desktop-menu { display: flex; gap: 35px; list-style: none; }
.desktop-menu a { color: var(--color-text); text-decoration: none; font-weight: 500; font-size: 14px; }
.header-cta { display: flex; align-items: center; gap: 20px; }

/* Sekcja Hero */
#hero { min-height: 100vh; display: flex; align-items: center; text-align: center; padding-top: 60px; }
.hero-content { animation: fadeIn 1s ease-out; width: 100%; max-width: 1000px; margin: 0 auto; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content h1 { max-width: 1000px; margin-left: auto; margin-right: auto; background: linear-gradient(135deg, var(--color-text) 50%, var(--color-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { max-width: 800px; margin: 0 auto 40px; font-size: 18px; }

/* Styl Kafelków */
.step-card, .feature-card, .testimonial, .faq-item { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: var(--border-radius); padding: 25px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), -4px -4px 15px rgba(70, 130, 180, 0.1), 4px 4px 15px rgba(148, 0, 211, 0.1); transition: var(--transition); }
.step-card:hover, .feature-card:hover, .testimonial:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), -5px -5px 20px rgba(70, 130, 180, 0.15), 5px 5px 20px rgba(148, 0, 211, 0.15); }

/* Układ i Treść Kafelków */
.step-card, .feature-card { display: flex; align-items: center; text-align: left; gap: 20px; }
.step-icon, .feature-icon { flex-shrink: 0; width: 50px; height: 50px; display: grid; place-items: center; }
.step-icon { background: rgba(0,0,0,0.2); border-radius: 50%; font-size: 24px; color: var(--color-blue); }
.feature-icon svg { width: 32px; height: 32px; }
.feature-icon svg path { stroke: var(--color-blue); }
.step-text, .feature-text { display: flex; flex-direction: column; }
.step-text h4, .feature-text h3 { margin-bottom: 5px; }
.step-text p, .feature-text p { margin-bottom: 0; }

.step-card h4, .feature-card h3, .testimonial .author-info h4, .faq-question h3 { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--color-text); }
.step-card p, .feature-card p, .testimonial-content p, .testimonial .author-info p, .faq-answer p { font-size: 16px; }

/* Sekcja "Jak to działa?" */
.how-it-works-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.vsl-container h2 { margin-top: 0; }
.vsl-container p { margin-bottom: 20px; }
.vsl-container .video-title { font-size: 15px; font-weight: 500; margin-bottom: 10px; text-align: right; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.vsl-cta-box { margin-top: 30px; text-align: center; }
.author-signature { margin-top: 15px; font-style: italic; opacity: 0.8; font-size: 15px; }
.steps-grid { display: flex; flex-direction: column; gap: 20px; }

/* Sekcje Problemy, Korzyści, Pakiet */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

#problems .features-grid { grid-template-columns: repeat(2, 1fr); }
#problems .feature-card { align-items: flex-start; }
#problems .feature-text h3 { margin-bottom: 10px; }

/* Animacje ikon */
.animated-icon svg { animation: float 4s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { translateY(0px); } }
.animated-icon:hover svg { animation-play-state: paused; }

/* Sekcja "O mnie" */
.story-content { display: flex; align-items: center; gap: 50px; }
.story-text { flex: 1.2; }
.story-chart { flex: 1; max-width: 500px; width: 100%; }
.signature-wrapper { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.author-photo { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--color-purple); }
.signature { margin: 0; font-style: italic; color: var(--color-purple); }

/* Animacja wykresu */
.chart-line-after { stroke-dasharray: 250; stroke-dashoffset: 250; animation: draw-line 2s ease-out forwards; animation-delay: 0.5s; stroke: var(--color-blue); }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* Sekcja "Jak to wygląda w praktyce?" */
.demo-video-container { max-width: 700px; margin: 0 auto; }

/* Sekcja Cena */
#pricing .section-header { margin-bottom: 0; }
.timer-description { text-align: center; font-size: 16px; margin-bottom: 15px; color: var(--color-text-muted); }

/* ZMIANA - Kafelek timera */
#countdown-timer-wrapper {
    margin: 80px auto;
}
#countdown-timer {
    width: fit-content; /* Dopasowanie szerokości do treści */
    margin: 0 auto;     /* Wyśrodkowanie kafelka */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 25px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-size: 22px; /* ZMIANA - Rozmiar H3 */
    font-weight: 600; /* ZMIANA - Waga H3 */
}
#timer {
    font-size: 22px; /* ZMIANA - Rozmiar H3 */
    color: #e53935; /* Czerwony kolor */
    line-height: 1;
    font-weight: 700;
}

.pricing-selector-header {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 80px; /* ZMIANA - Dodany odstęp górny */
    margin-bottom: 40px;
}
.pricing-selector-header b { color: var(--color-text); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(18,18,18,0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2); /* ZMIANA - Lżejsza ramka dla Basic */
}
.pricing-card.premium {
    border: 2px solid var(--color-blue); /* Silniejsza ramka dla Premium */
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(70, 130, 180, 0.4);
}
.best-choice-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--color-blue); color: white; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pricing-header { flex-grow: 0; }
.pricing-header h3 { font-size: 24px; text-transform: uppercase; }
.package-description { font-size: 15px; margin-top: -10px; margin-bottom: 20px; min-height: 40px; }
.price { margin: 20px 0 10px; }
.old-price { font-size: 20px; text-decoration: line-through; opacity: 0.5; font-weight: 500; }
.current-price { font-size: 48px; color: var(--color-blue); font-weight: 700; }
.savings { font-size: 16px; color: #4CAF50; margin-bottom: 30px; font-weight: 500; }
.pricing-bullets { list-style: none; padding: 0; margin: 30px 0; text-align: left; flex-grow: 1; }
.pricing-bullets li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 16px; color: var(--color-text-muted); }
.pricing-bullets .fa-check-circle, .pricing-bullets .fa-plus-circle { color: var(--color-blue); margin-top: 3px; }
.pricing-bullets .bonus-item { color: var(--color-text); }
.pricing-footer { flex-grow: 0; }
.pricing-footer .btn-primary { width: 100%; padding: 16px; }
.payment-logos { margin-top: 25px; opacity: 0.8; }
.payment-logos img { max-width: 280px; height: auto; }
.pricing-guarantee { display: flex; align-items: center; background: rgba(30, 30, 40, 0.5); border-radius: var(--border-radius); padding: 30px; margin: 80px auto 0; gap: 30px; max-width: 900px; }
.guarantee-icon { flex-shrink: 0; width: 80px; }
.guarantee-svg circle, .guarantee-svg path { stroke: var(--color-blue); }

/* Sekcja FAQ */
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 25px; }
.faq-question h3 { margin-bottom: 0; font-size: 18px; }
.faq-toggle { font-size: 20px; color: var(--color-purple); transition: transform 0.3s ease; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-item.active .faq-answer { max-height: 400px; padding-top: 0px; }
.faq-answer p { padding-bottom: 25px; margin-bottom: 0; }
.faq-item .faq-question { padding: 0; }

/* Stopka */
#footer { background: var(--color-dark); padding: 80px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 50px; gap: 40px; }
.footer-logo-col { flex-basis: 250px; padding: 0; margin: 0; }
.footer-logo-col img { width: 200px; height: auto; }
.footer-column { flex: 1; min-width: 150px; }
.footer-column h4 { margin-bottom: 20px; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition); font-size: 14px; }
.footer-column a:hover { color: var(--color-purple); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { opacity: 0.7; font-size: 14px; margin: 0; }

/* PRZYKLEJONY PRZYCISK DEMO */
#sticky-demo-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(229, 57, 53, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
#sticky-demo-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(229, 57, 53, 0.5);
}
#sticky-demo-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
}

/* Media Queries */
@media (min-width: 1024px) {
    .vsl-cta-box {
        text-align: right;
    }
}

@media (max-width: 1023px) { /* Tablet */
    h1 { font-size: 38px; }
    h2 { font-size: 32px; }
    h3 { font-size: 20px; }
    p { font-size: 16px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { max-width: 100%;}
    .pricing-guarantee { max-width: 100%;}
    .how-it-works-container { grid-template-columns: 1fr; }
    .vsl-container { order: -1; margin-bottom: 40px; }
    .story-content { flex-direction: column; }
    .signature-wrapper { justify-content: center; }
    .story-chart { margin-top: 40px; }
    .desktop-nav { display: none; }
    .header-cta { margin-left: 0; }
    
    #problems .section-header,
    #benefits .section-header,
    #package-details .section-header {
        text-align: left;
    }
    .story-content, .story-text {
        text-align: left;
    }
}

@media (max-width: 767px) { /* Mobile */
    section { padding: 80px 0; }
    .section-header { margin-bottom: 60px; }
    .cta-wrapper { margin-top: 60px; }
    .pricing-guarantee { margin-top: 60px; }

    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 18px; }
    h4, h5, h6 { font-size: 16px; }
    p { font-size: 16px; }
    
    .container {
        padding: 0 20px;
    }

    .logo { 
        width: 130px;
    }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.premium { transform: scale(1); }
    .pricing-guarantee { flex-direction: column; text-align: center; }
    .footer-content { flex-direction: column; text-align: left; }
    .footer-logo-col { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    #problems .features-grid { grid-template-columns: 1fr; }
    #sticky-demo-btn { padding: 10px 18px; font-size: 13px; bottom: 20px; right: 20px; }
}
/* Style dla ikon */
.benefits-list { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.benefits-list .feature-card, .package-bonus-card-wrapper .feature-card { align-items: flex-start; }
.benefits-list .feature-icon, .package-bonus-card-wrapper .feature-icon { font-size: 28px; color: var(--color-blue); margin-top: 5px; }
.benefits-list .feature-text h3, .package-bonus-card-wrapper .feature-text h3 { margin-bottom: 10px; }

/* Styl dla nowego, wyróżnionego kafelka w sekcji "Co znajdziesz w pakiecie?" */
.package-bonus-card-wrapper { display: flex; max-width: 900px; margin: 60px auto 0; }
.package-bonus-card-wrapper .feature-text p { margin-bottom: 0; }

/* Zamykający tekst sekcji Problemy */
.problems-closing-text { text-align: left; max-width: 800px; margin: 60px auto 0; font-size: 18px; color: var(--color-text-muted); }
.problems-closing-text p { margin-bottom: 25px; line-height: 1.7; }
.problems-closing-text b { color: var(--color-text); font-weight: 600; }

/* ZMIANY - Dostosowanie przestrzeni sekcji */
#problems,
#benefits {
    padding-bottom: 0;
}
#story,
#testimonials,
#package-details {
    padding-top: 80px;
}