/* =========================================
   1. PRZYCISKI (Hero i CTA)
========================================= */


.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 250ms ease; 
    cursor: pointer; 
    border: none; 
}
.btn--primary { 
    background: #3f62f0; 
    color: #ffffff; 
}
.btn--primary:hover { 
    background: #1cd469; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 12px -3px rgba(0,0,0,0.15); 
}
.btn--lg { 
    padding: 14px 28px; 
    font-size: 1.1rem; 
    border-radius: 12px; 
}

/* =========================================
   2. TŁA SEKCJI
========================================= */
.grey_bg {
    background-color: rgba(59, 130, 246, 0.08);
    background-image: 
        radial-gradient(circle at 20% 15%, rgba(201, 175, 28, 0.322) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(131, 12, 14, 0.249) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(17, 199, 236, 0.107) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(62, 59, 69, 0.779) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(229, 10, 249, 0.217) 0%, transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 64px 0; 
}

.white_bg { 
    padding: 64px 0; 
    background-color: #ffffff; 
}
/* =========================================
   3. SEKCJA KALKULATORÓW (Siatka 6 kart)
========================================= */
.features-grid { 
    display: grid; 
    /* Wymusza dokładnie 3 równe kolumny na dużych ekranach */
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    margin-top: 40px;
}

.feature-card { 
    display: flex;
    flex-direction: column;
    /* Zmiana tła na delikatny błękit (AliceBlue) */
    background-color: #f0f8ff; 
    padding: 32px 24px; 
    border-radius: 16px; 
    /* Subtelna, niebieskawa ramka pasująca do tła */
    border: 1px solid rgba(59, 130, 246, 0.15); 
    text-align: center; 
    transition: all 250ms ease;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feature-card:hover { 
    transform: translateY(-5px); 
    /* Niebieskawy cień i nieco ciemniejsze tło po najechaniu myszką */
    box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    background-color: #e6f2ff; 
}

.feature-icon { 
    font-size: 40px; 
    margin-bottom: 16px; 
    color: #3f62f0;
    transition: transform 250ms ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 { 
    margin-bottom: 12px; 
    color: #13343b; 
    font-size: 1.25rem;
}

.feature-card p { 
    color: #626c71; 
    margin-bottom: 24px; 
    flex-grow: 1;
}

.card-action {
    font-weight: 600;
    color: #3f62f0;
    font-size: 0.95rem;
    transition: color 250ms ease;
}

.feature-card:hover .card-action {
    color: #1cd469;
}

/* RESPONSYWNOŚĆ KAFELKÓW */
@media (max-width: 992px) {
    .features-grid { 
        /* Na tabletach robimy 2 kolumny, żeby nie było za ciasno */
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .features-grid { 
        /* Na telefonach kafelki układają się jeden pod drugim */
        grid-template-columns: 1fr; 
    }
}

/* =========================================
   4. SEKCJA HERO (Z obrazkiem)
========================================= */
.hero-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.hero-text h1 { 
    font-size: 2.5rem; 
    margin-bottom: 24px; 
    line-height: 1.2; 
    color: #13343b; 
}

.hero-subtitle { 
    font-size: 1.1rem; 
    margin-bottom: 32px; 
    line-height: 1.6; 
    color: #626c71;
}

.hero-cta { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start;
    gap: 12px; 
}

.trial-note { 
    color: #21808d; 
    font-weight: 500; 
    font-size: 0.9rem; 
    margin: 0; 
}

.hero-image img { 
    width: 100%; 
    max-width: 500px; 
    height: auto; 
    border-radius: 16px; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); 
    display: block; 
    margin: 0 auto; 
}

/* =========================================
   5. KONTENER OFERT (Widżet Ebroker)
========================================= */
.pricing-header { 
    text-align: center; 
    margin-bottom: 32px; 
}

.pricing-header h2 {
    color: #13343b;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #626c71;
    font-size: 1.1rem;
}

.pricing-card { 
    background-color: #ffffff; 
    padding: 32px; 
    border-radius: 16px; 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    max-width: 1000px; 
    margin: 0 auto; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); 
}

/* =========================================
   6. SEKCJA CTA (Dół strony)
========================================= */
.cta-content { 
    max-width: 600px; 
    margin: 0 auto; 
    text-align: center;
}

.cta-content h2 { 
    font-size: 2rem; 
    margin-bottom: 16px; 
    color: #13343b; 
}

.cta-content p { 
    font-size: 1.1rem; 
    color: #626c71; 
    margin-bottom: 32px; 
}

.cta-note { 
    color: #21808d; 
    font-weight: 500; 
    font-size: 0.9rem; 
    margin-top: 16px; 
}

/* =========================================
   7. WYGLĄD SUWAKÓW (Niebieska kropka, ciemniejsza linia)
========================================= */

/* Ciemniejsza linia (tor), po której porusza się suwak */
.dark-slider::-webkit-slider-runnable-track {
    background-color: #7ba1c2 !important; /* Ciemniejszy szary */
    border-radius: 4px;
}
.dark-slider::-moz-range-track {
    background-color: #6f91b0 !important; 
    border-radius: 4px;
}

/* Niebieska kropka (uchwyt) powiązana z Twoim głównym kolorem */
.dark-slider::-webkit-slider-thumb {
    background-color: #3f62f0 !important; /* Twój niebieski kolor przycisków */
    border: 2px solid #ffffff; /* Dodaje elegancką białą obwódkę */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.dark-slider::-moz-range-thumb {
    background-color: #3f62f0 !important;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Kolor kropki podczas kliknięcia/przesuwania */
.dark-slider::-webkit-slider-thumb:active {
    background-color: #1cd469 !important; /* Zmienia się na Twój zielony kolor przy przesuwaniu! */
}
.dark-slider::-moz-range-thumb:active {
    background-color: #1cd469 !important;
}

/* =========================================
   8. RESPONSYWNOŚĆ (Urządzenia Mobilne)
========================================= */
@media (max-width: 992px) {
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .hero-cta {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-image img { max-width: 100%; }
    .pricing-card { padding: 16px; }
}

