/* --- 1. ZMIENNE I RESET --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #059669;
    --bg-body: #f1f5f9;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-secondary: #64748b;
    
    --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    
    --radius: 8px;
    --container: 1000px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- 2. PASEK NAWIGACJI (Szerszy i Pływający) --- */
.navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;             
    max-width: 1100px; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    padding: 0 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 35px; 
    width: auto;  
    display: block;
    transition: transform 0.2s;
}

.logo-link:hover .nav-logo-img {
    transform: scale(1.05); 
}

@media (max-width: 768px) {
    .nav-logo-img { height: 26px; }
}

.nav-links { display: flex; gap: 10px; }

.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 0.95rem;
    padding: 10px 20px; 
    border-radius: 25px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { 
    color: var(--primary); 
    background: rgba(37, 99, 235, 0.08); 
}

/* --- 3. ZMODERNIZOWANY NAGŁÓWEK (Hero - AirCashback Style) --- */
.hero {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(5, 150, 105, 0.03) 0px, transparent 50%);
    padding: 160px 20px 80px 20px;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: #0f172a;
    margin-bottom: 1.5rem; 
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero p { 
    font-size: 1.15rem; 
    color: var(--text-secondary); 
    max-width: 520px; 
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-cta-main {
    background: var(--primary);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.2s;
}

.hero-cta-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.5);
    color: white;
}

.hero-trust {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.hero-trust i { color: var(--accent); font-size: 1.1rem; }

/* Wizualizacja w Hero (Mockup i pływające karty) */
.hero-visual { position: relative; }
.hero-image-placeholder {
    background: #f8fafc;
    border-radius: 30px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #f1f5f9;
}

.hero-image-placeholder img {
    max-width: 85%;
    height: auto;
    z-index: 1; /* Mockup pod kartami */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.floating-card {
    position: absolute;
    background: white;
    padding: 14px 22px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 10; /* Karty zawsze na wierzchu */
    animation: float 5s ease-in-out infinite;
}

.floating-card i { color: var(--accent); font-size: 1.2rem; }
.floating-card.c1 { top: 15%; right: -25px; }
.floating-card.c2 { bottom: 20%; left: -35px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsywność Hero */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { gap: 40px; }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 95%; 
        padding: 0.6rem 0;
    }
    .nav-container { padding: 0 20px; }
    .nav-links a { padding: 8px 14px; font-size: 0.85rem; }
    
    .hero { padding: 130px 20px 60px 20px; text-align: center; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 2.1rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
    .hero p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
    .hero-cta-main { width: 100%; padding: 14px; font-size: 1rem; }
    
    .hero-visual { margin-top: 40px; max-width: 320px; margin-left: auto; margin-right: auto; }
    .floating-card { font-size: 0.8rem; padding: 10px 15px; }
    .floating-card.c1 { right: -10px; }
    .floating-card.c2 { left: -10px; }
}

/* --- NAGŁÓWEK RANKINGU (Manualny) --- */
.ranking-header-wrapper {
    max-width: var(--container);
    margin: 4rem auto 2rem auto; 
    padding: 0 20px;
}

#static-ranking-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    display: inline-block;
    position: relative;
}

#static-ranking-title::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin-top: 8px; border-radius: 2px;
}
.ranking-subtitle { color: var(--text-secondary); margin-top: 0.5rem; }

/* --- 4. RANKING (Karty) --- */
.ranking-container {
    max-width: var(--container);
    margin: 0 auto 4rem auto;
    padding: 0 20px;
    display: flex; flex-direction: column; gap: 20px;
    position: relative;
    z-index: 5; 
}

.promo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-card);
    padding: 24px;
    display: grid;
    grid-template-columns: 140px 1fr auto; 
    gap: 24px;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative; overflow: hidden;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.promo-card.top-pick::before {
    content: "POLECANE"; position: absolute; top: 0; left: 0; background: var(--accent); color: white; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; padding: 4px 10px; border-bottom-right-radius: 8px;
}
.bank-logo {
    width: 100px;        
    height: 60px;        
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;        
    background: transparent; 
    padding: 0;
    margin-right: 15px; 
    flex-shrink: 0;     
}

.bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.promo-details { display: flex; flex-direction: column; justify-content: center; }
.bonus-amount { color: var(--accent); font-weight: 800; font-size: 1.5rem; line-height: 1.2; margin-bottom: 4px; }
.bank-name { font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 12px; }

.info-list { display: flex; flex-direction: column; gap: 8px; }
.info-item { display: flex; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }
.info-item strong { color: var(--text-main); font-weight: 600; }

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    border: none; 
    padding: 0;   
    background: transparent; 
    box-shadow: none; 
}

.cta-btn {
    background-color: var(--primary); 
    color: white;                     
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    width: 100%;
    display: block;
    white-space: nowrap;
    border: none;                     
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2); 
    font-size: 1.1rem;
    transition: background 0.2s;
}

.cta-btn:hover { 
    background-color: var(--primary-dark); 
    color: white;
}

.cta-note { 
    font-size: 0.7rem; 
    margin-top: 8px; 
    color: var(--text-secondary); 
}

/* Responsywność Kart (Mobile) */
@media (max-width: 768px) {
    .promo-card { grid-template-columns: 1fr; text-align: center; gap: 15px; padding: 20px; }
    .bank-logo { width: 140px; height: 70px; margin: 0 auto; }
    .promo-details { align-items: center; text-align: center; }
    .info-list { align-items: center; width: 100%; }
    .info-item { text-align: left; width: 100%; max-width: 300px; }
    .cta-wrapper { width: 100%; }
    .cta-btn { padding: 12px 16px; font-size: 0.95rem; }
}

/* --- 5. SEKCJA TEKSTOWA --- */
.guide-section { background: #fff; padding: 4rem 20px; border-top: 1px solid #e2e8f0; margin-top: 3rem; }
.guide-content { max-width: 800px; margin: 0 auto; }
.guide-content h2 { margin-bottom: 1rem; color: var(--text-main); font-size: 1.5rem; }
.guide-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--text-main); font-size: 1.25rem; }
.guide-content p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* --- STOPKA --- */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding-top: 3rem; 
    padding-bottom: 2rem;
    color: var(--text-main);
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto; 
    gap: 60px; 
    margin-bottom: 3rem;
    align-items: start; 
}

.footer-logo img { height: 36px; width: auto; margin-bottom: 15px; }

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px; 
}

.contact-col-right { text-align: right; }
.contact-col-right .contact-item { justify-content: flex-end; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--text-main); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 12px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-item svg { color: var(--primary); }
.contact-item:hover { color: var(--primary); }
.working-hours { font-size: 0.85rem; color: #94a3b8; margin-top: 10px; }

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .contact-col-right { text-align: center; }
    .contact-col-right .contact-item { justify-content: center; }
    .footer-desc { margin: 0 auto; }
    .footer-logo { display: inline-block; }
}

/* --- 6. SEKCJA KOMENTARZY (Q&A) --- */
.comments-section {
    background-color: var(--bg-body);
    padding: 0 20px 4rem 20px;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.comments-container { max-width: 800px; margin: 0 auto; }
.comments-container h2 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 0.5rem; }
.comments-subtitle { color: var(--text-secondary); margin-bottom: 2rem; }
.comments-list { display: flex; flex-direction: column; gap: 20px; }

.comment-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #cbd5e1; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 24px;
}

.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 40px; height: 40px; background-color: #f1f5f9; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; border: 1px solid #e2e8f0; }
.user-name { font-weight: 700; color: var(--text-main); font-size: 1rem; }
.comment-date { font-size: 0.85rem; color: var(--text-secondary); }
.comment-text { color: var(--text-main); font-size: 1rem; line-height: 1.6; }

.admin-reply { margin-top: 20px; background-color: #eff6ff; padding: 20px; border-radius: 8px; border-left: 4px solid var(--primary); position: relative; }
.reply-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 700; color: var(--primary-dark); }
.admin-badge { background: var(--primary); color: white; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.05em; }
.reply-text { color: #334155; line-height: 1.6; font-size: 0.95rem; }

@media (max-width: 768px) {
    .comment-header { align-items: flex-start; flex-direction: column; gap: 8px; }
    .comment-card { padding: 16px; }
}

/* --- STYLE PODSTRONY PROMOCJI --- */
.promo-header { background-color: #fff; padding: 140px 20px 3rem 20px; text-align: center; border-bottom: 1px solid #e2e8f0; }
.promo-header-content { max-width: 800px; margin: 0 auto; }
.promo-bank-logo { margin-bottom: 20px; }
.promo-hero-logo { width: 80px; height: 80px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.promo-hero-logo img { max-width: 60%; max-height: 60%; object-fit: contain; }
.promo-intro { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; }
.promo-main-container { max-width: 800px; margin: 3rem auto; padding: 0 20px; }

.info-box { background: #f8fafc; border-radius: var(--radius); padding: 0; margin-bottom: 3rem; border: 1px solid #e2e8f0; overflow: hidden; }
.info-row { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid #e2e8f0; }
.info-row:last-child { border-bottom: none; }
.info-icon { font-size: 1.3rem; min-width: 45px; color: #64748b; display: flex; align-items: center; justify-content: center; }
.info-content { display: flex; flex-direction: column; }
.info-label { font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.info-value { color: var(--text-secondary); font-size: 0.95rem; }
.info-cta { padding: 20px; background: #fff; border-top: 1px solid #e2e8f0; }
.full-width-btn { display: block; width: 100%; text-align: center; font-size: 1.1rem; padding: 16px; }

.promo-description { margin-bottom: 3rem; }
.promo-description h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.promo-description p { color: var(--text-secondary); margin-bottom: 1rem; }

.steps-section h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.accordion-item { background: #fff; border: 1px solid #e2e8f0; margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.accordion-header { background-color: #f8fafc; color: var(--text-main); cursor: pointer; padding: 20px; width: 100%; border: none; text-align: left; outline: none; display: flex; align-items: center; transition: background-color 0.2s; font-family: 'Inter', sans-serif; }
.accordion-header:hover { background-color: #f1f5f9; }
.step-number { font-weight: 800; color: var(--text-main); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; margin-right: 15px; white-space: nowrap; }
.step-title { font-weight: 600; flex-grow: 1; font-size: 0.95rem; }
.accordion-icon { font-size: 0.8rem; color: var(--text-secondary); transition: transform 0.3s ease; }
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-header.active { background-color: #eff6ff; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: #fff; }
.content-inner { padding: 25px; color: var(--text-secondary); line-height: 1.6; border-top: 1px solid #e2e8f0; }
.content-inner ul { margin-left: 20px; margin-top: 10px; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: none; margin-top: 10px; display: inline-block; }

@media (max-width: 768px) {
    .promo-header h1 { font-size: 1.6rem; }
    .accordion-header { align-items: flex-start; flex-wrap: wrap; }
    .step-number { margin-bottom: 5px; display: block; }
    .accordion-icon { position: absolute; right: 20px; top: 20px; }
    .accordion-item { position: relative; }
}

/* --- STYLE PODSTRONY PROMOCJI (Wersja Poster) --- */

/* 1. TŁO SEKCJI - jasnoniebieski gradient */
.hero.promo-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%);
    padding: 160px 20px 10rem 20px; 
    border-bottom: 1px solid #93c5fd; 
    z-index: 1;
}

/* 2. NAPRAWA KONTENERA - wymuszamy pełną szerokość i BLOKUJEMY kolumny z głównej strony! */
.hero.promo-hero .hero-container {
    display: block !important; 
    width: 100%;
    text-align: center;
}

/* 3. KONTENER NA PLAKAT - wyśrodkowany, powiększony */
.poster-wrapper {
    display: block; 
    position: relative;
    z-index: 20;
    margin: 0 auto -150px auto;
    background: transparent; /* USUNIĘTO BIAŁE TŁO */
    padding: 0; /* USUNIĘTO RAMKĘ */
    width: 100%; /* Rozciąga się na full na mobile */
    max-width: 700px;
}

/* 4. SAM PLAKAT */
.promo-poster {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* 5. TEKST POD PLAKATEM */
.promo-main-container {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.promo-text-section {
    text-align: center;
    margin-top: 11rem; 
    margin-bottom: 3rem;
}

.promo-text-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promo-text-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

/* 6. TELEFONY (MOBILE) */
@media (max-width: 768px) {
    .hero.promo-hero {
        padding: 130px 20px 6rem 20px;
    }
    
    .poster-wrapper {
        margin-bottom: -70px; 
        width: 100vw; /* Zajmuje całą szerokość viewportu na mobile */
        margin-left: -20px; /* Kompensuje padding body/sekcji */
        padding: 0; 
        border-radius: 0 !important; /* Usuwa zaokrąglenie na krawędziach ekranu */
    }
    
    .promo-poster {
        border-radius: 0; /* Usuwa zaokrąglenie obrazka na mobile */
    }
    
    .promo-text-section {
        margin-top: 6rem;
    }
    
    .promo-text-section h1 {
        font-size: 1.6rem;
        margin-top: 0;
        line-height: 1.3;
    }
}

/* --- SEKCJA WIDEO --- */
.video-section { margin-bottom: 4rem; }
.video-section h3 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 0.5rem; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 4px 12px rgba(0,0,0,0.1); background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- PASEK COOKIES --- */
.cookie-banner { position: fixed; bottom: -300px; left: 20px; right: 20px; max-width: 900px; margin: 0 auto; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); color: white; padding: 24px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; gap: 30px; z-index: 10000; transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.cookie-banner.show { bottom: 20px; }
.cookie-content h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cookie-content p { font-size: 0.9rem; line-height: 1.5; color: #cbd5e1; margin: 0; }
.cookie-content a { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn { padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-filled { background-color: var(--primary); color: white; border: none; }
.btn-filled:hover { background-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background-color: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); border-color: white; }

@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; width: 94%; left: 3%; right: 3%; gap: 20px; }
    .cookie-buttons { width: 100%; flex-direction: column-reverse; }
    .cookie-btn { width: 100%; text-align: center; padding: 12px; }
}

/* --- MODAL KONTAKTOWY --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 10001; opacity: 0; visibility: hidden; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content { background: white; padding: 2.5rem; border-radius: 16px; width: 90%; max-width: 450px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.3s ease; text-align: center; }
.modal-overlay.open .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; cursor: pointer; color: #94a3b8; transition: color 0.2s; }
.modal-close:hover { color: var(--text-main); }
.modal-content h3 { margin-bottom: 0.5rem; font-size: 1.5rem; color: var(--text-main); }
.modal-content p { color: var(--text-secondary); margin-bottom: 2rem; }
.modal-options { display: flex; flex-direction: column; gap: 15px; }
.modal-option-btn { display: flex; align-items: center; padding: 15px; border-radius: 12px; text-decoration: none; border: 1px solid #e2e8f0; transition: all 0.2s; background: #f8fafc; }
.modal-option-btn:hover { background: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); transform: translateY(-2px); }
.modal-icon { font-size: 1.5rem; margin-right: 15px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 50%; color: var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.whatsapp-btn .modal-icon { color: #25D366; }
.modal-text { text-align: left; }
.modal-text .label { display: block; font-size: 0.8rem; color: var(--text-secondary); }
.modal-text .value { display: block; font-weight: 600; color: var(--text-main); }

@media (max-width: 768px) {
    .modal-overlay { align-items: center; padding-bottom: 0; }
    .modal-content { width: 90%; margin: 0 auto; padding: 1.5rem; max-height: 90vh; overflow-y: auto; }
    .modal-content h3 { font-size: 1.3rem; margin-top: 5px; }
    .modal-option-btn { padding: 12px; }
    .modal-icon { width: 32px; height: 32px; font-size: 1.2rem; margin-right: 10px; }
    .modal-text .value { font-size: 0.9rem; word-break: break-all; }
}

/* --- POPRAWKI ODSTĘPÓW (RANKING + LEGENDA) --- */
.ranking-container { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.ranking-container article:last-child, .ranking-container .promo-card:last-child { margin-bottom: 0 !important; }
.ranking-legend { width: 100%; max-width: 900px; margin: 15px auto 30px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 30px; box-sizing: border-box; text-align: left; color: #64748b; font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 768px) {
    .ranking-legend { max-width: 90%; margin: 15px auto 30px; padding: 15px; }
}

/* --- ACTION BOXES --- */
.action-boxes-section { max-width: 680px; margin: 30px auto; display: flex; flex-direction: column; gap: 15px; padding: 0 15px; }
.action-banner { display: flex; align-items: center; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.action-banner:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.action-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-right: 15px; flex-shrink: 0; }
.action-text { flex-grow: 1; margin-right: 15px; }
.action-text h4 { margin: 0 0 2px 0; font-size: 0.95rem; font-weight: 700; }
.action-text p { margin: 0; font-size: 0.8rem; opacity: 0.85; line-height: 1.3; }
.action-btn { padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: 0.8rem; text-decoration: none; white-space: nowrap; transition: opacity 0.2s; }
.action-btn:hover { opacity: 0.85; }

.download-style { background-color: #f8fafc; border: 1px solid #e2e8f0; }
.download-style .action-icon { background-color: #e0f2fe; color: #0284c7; }
.download-style .action-text h4 { color: #334155; }
.download-style .action-text p { color: #64748b; }
.download-style .btn-download { background-color: #fff; color: #0284c7; border: 1px solid #bae6fd; }
.download-style .btn-download:hover { background-color: #f0f9ff; }

.whatsapp-style { background-color: #f0fdf4; border: 1px solid #bbf7d0; }
.whatsapp-style .action-icon { background-color: #25d366; color: white; }
.whatsapp-style .action-text h4 { color: #14532d; }
.whatsapp-style .action-text p { color: #15803d; }
.whatsapp-style .btn-whatsapp { background-color: #25d366; color: white; box-shadow: 0 2px 5px rgba(37, 211, 102, 0.2); }

.badge-live { background-color: #ef4444; color: white; font-size: 0.6rem; padding: 1px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px; text-transform: uppercase; font-weight: normal; letter-spacing: 0.5px; }

@media (max-width: 600px) {
    .action-boxes-section { margin: 20px auto; }
    .action-banner { flex-direction: column; text-align: center; padding: 15px; }
    .action-icon { margin-right: 0; margin-bottom: 10px; width: 36px; height: 36px; }
    .action-text { margin-right: 0; margin-bottom: 12px; }
    .action-btn { width: 100%; text-align: center; padding: 10px; }
}

/* --- KROKI I WAŻNE WSKAZÓWKI --- */
.step-intro { font-size: 0.9rem; line-height: 1.5; color: #334155; margin-bottom: 12px; }
.step-subheading { font-size: 0.95rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; margin-top: 0; }
.step-list { margin-left: 15px; margin-bottom: 20px; padding-left: 0; }
.step-list li { font-size: 0.9rem; line-height: 1.5; color: #475569; margin-bottom: 8px; padding-left: 5px; }
.step-list li strong { color: #1e293b; font-weight: 600; }

.section-intro { margin-bottom: 25px; color: #475569; }
.faq-item { margin-bottom: 30px; }
.faq-question { font-weight: 700; color: #111827 !important; margin-bottom: 10px; font-size: 1.1rem; margin-top: 0; }
.faq-answer { color: #334155; line-height: 1.6; margin-bottom: 12px; }

.excluded-list { list-style: none; padding-left: 0; margin-top: 10px; }
.excluded-list li { background-color: #f8fafc; border-left: 3px solid #3d3d3d; padding: 10px 15px; border-radius: 0 6px 6px 0; color: #0e0e0e; font-size: 0.9rem; line-height: 1.5; }
.x-mark { color: #dc2626; font-weight: 800; margin-right: 5px; font-size: 1.1rem; }
.bullet-list { margin-left: 20px; padding-left: 0; margin-top: 5px; }
.bullet-list li { margin-bottom: 6px; color: #334155; line-height: 1.5; font-size: 1.0rem; }

/* --- ZAMYKANIE KONTA --- */
.closing-section { max-width: 800px; margin: 20px auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); overflow: hidden; }
.closing-header { width: 100%; background: none; border: none; outline: none; text-align: left; padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.2s; }
.closing-header:hover { background-color: #f8fafc; }
.closing-header h3 { margin: 0; font-size: 1.25rem; color: #1e293b; font-weight: 700; }
.closing-header .accordion-icon { font-size: 0.8rem; color: #94a3b8; transition: transform 0.3s ease; }
.closing-header.active .accordion-icon { transform: rotate(180deg); }
.closing-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: #fff; }
.closing-content .content-inner { padding: 20px 25px 25px 25px; color: #475569; line-height: 1.6; }

/* --- STRATEGIE --- */
.strategies-section-simple { max-width: 1000px; margin: 50px auto 30px; padding: 0 20px; text-align: center; }
.section-intro-simple { margin-bottom: 25px; color: #64748b; font-size: 0.95rem; }
.strategies-grid-simple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.strategy-card-simple { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; font-size: 0.9rem; }
.strategy-quote { margin: 0 0 15px 0; line-height: 1.5; color: #334155; font-style: italic; }
.strategy-author-simple { margin-top: auto; text-align: right; font-weight: 600; color: #64748b; font-size: 0.85rem; }

@media (max-width: 768px) {
    .strategies-grid-simple { grid-template-columns: 1fr; gap: 15px; }
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--accent); /* Wykorzystuje Twój zielony kolor #059669 */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); /* Poświata rozchodzi się i znika */
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
	}
	

