/* --- HERO SECTION --- */
.section-hero-value {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #528ad7;
    padding: 0;
    height: 70vh;
    overflow: hidden;
}

.section-hero-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    background-size: cover;
    background-position: center;
    transform: scaleX(-1);
    z-index: 0;
}

.section-hero-value.bg-loaded::before {
    background-image: url("/IMG/hero-value-img.webp");
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 45, 99, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    /* padding: 9.6rem 0; */
}

.hero-eyebrow {
    display: inline-block;
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 500;
    color: #7da7e1;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    margin-bottom: 2.4rem;
}

.hero-title-value {
    font-size: 8.6rem;
    /* Very large heading */
    font-weight: 800;
    line-height: 1.05;
    color: #D9E1EC;
    margin-bottom: 3.2rem;
    letter-spacing: -1.05px;
}

.hero-description {
    font-size: 2.4rem;
    line-height: 1.6;
    color: #D9E1EC;
    max-width: 70rem;
    /* Keep line length readable */
    margin-bottom: 4.8rem;
    font-weight: 400;
}

.hero-cta-btn:link,
.hero-cta-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 1.8rem;
    font-weight: 700;
    background-color: #276DCD;
    color: #D9E1EC;
    text-decoration: none;
    padding: 2.4rem 4.8rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover,
.hero-cta-btn:active {
    background-color: #1a4f9c;
    /* Darker blue */
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.5);
}

.hero-cta-btn span {
    font-size: 2.4rem;
    line-height: 1;
}

/* --- STICKY SCROLL SECTION --- */
.section-sticky-scroll {
    background-color: #102c52;
    padding: 10rem 0;
    color: #D9E1EC;
    font-family: 'Inter', sans-serif;
}

.sticky-container {
    padding: 4.8rem 3.2rem;
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 6.4rem;
    align-items: start;
}

.sticky-left {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.sticky-heading {
    font-size: 4.8rem;
    font-weight: 800;
    color: #4a6b9c;
    /* wyszarzony */
    margin: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    transform: scale(0.8);
    transform-origin: left center;
    opacity: 0.5;
}

.sticky-heading a:link,
.sticky-heading a:visited,
.sticky-heading a:hover,
.sticky-heading a:active {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

/* Aktywne stany nagłówków */
.sticky-heading.active {
    transform: scale(1);
    opacity: 1;
}

#heading-problem.active {
    color: #d63031;
}

#heading-value.active {
    color: #f39c12;
}

#heading-effect.active {
    color: #3DAB6A;
}

.scroll-right {
    display: flex;
    flex-direction: column;
    gap: 20vh;
    padding: 20vh 0;
}

.scroll-card {
    min-height: 60vh;
    background-color: #17417b;
    border: 2px solid #1f57a4;
    border-radius: 12px;
    padding: 6.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 16px 16px 10px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2.4rem;
    color: #D9E1EC;
}

.card-description {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #a9c5eb;
}

/* Responsywność dla Sticky Scroll */
@media (max-width: 992px) {
    .sticky-container {
        grid-template-columns: 1fr;
    }

    .sticky-left {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 6.4rem;
        position: sticky;
        top: 0;
        background-color: #102c52;
        padding: 2.4rem 0;
        z-index: 10;
        border-bottom: 2px solid #1a4f9c;
    }

    .sticky-heading {
        font-size: 2.4rem;
        transform: scale(0.9);
        transform-origin: center center;
    }

    .sticky-heading.active {
        transform: scale(1);
    }

    .scroll-right {
        gap: 10rem;
        padding-bottom: 10rem;
        padding-top: 5rem;
    }

    .scroll-card {
        min-height: 50vh;
        padding: 3.2rem;
    }
}

/* --- COMPARISON SECTION --- */
.section-comparison {
    background-color: #262d63;
}

.comparison-header {
    text-align: center;
    margin-bottom: 6.4rem;
}

.comparison-eyebrow {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #7da7e1;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.comparison-title {
    font-size: 4.4rem;
    font-weight: 800;
    color: #D9E1EC;
    margin-bottom: 1.6rem;
}

.text-blue {
    color: #276DCD;
}

.comparison-subtitle {
    font-size: 2.2rem;
    color: #A0A0A0;
    font-weight: 400;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}

.comparison-card {
    padding: 4.8rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

/* Left Card */
.card-negative {
    background-color: #0f1228;
    border: 1px solid #ffa8a8;
    border-top: 8px solid #ffa8a8;
}

.card-negative .card-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #D9E1EC;
    margin-bottom: 4.8rem;
    text-align: center;
}

.card-negative .comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.card-negative .comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    color: #A0A0A0;
    font-size: 1.8rem;
    line-height: 1.6;
}

.icon-negative {
    font-size: 2.8rem;
    color: #ffa8a8;
    flex-shrink: 0;
}

/* Right Card */
.card-positive {
    background-color: #0f1228;
    border: 1px solid #276dcd;
    border-top: 8px solid #276dcd;
    box-shadow: 0 8px 32px rgba(39, 109, 205, 0.6);
}

.card-positive .card-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #D9E1EC;
    margin-bottom: 4.8rem;
    text-align: center;
}

.card-positive .comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.card-positive .comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    line-height: 1.6;
}

.card-positive .comparison-list li strong {
    color: #FFFFFF;
    font-weight: 700;
}

.icon-positive {
    font-size: 2.8rem;
    color: #3DAB6A;
    /* Użycie zielonego dla jasnego kontrastu pozytywnego */
    flex-shrink: 0;
    margin-top: -0.2rem;
}

@media (max-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}