/* =========================================================
   EARNING STREET - BENEFITS PAGE STYLES
   Load after style.css and mobile-enhance.css
========================================================= */


/* =========================================================
   HERO
========================================================= */

.benefits-hero {
    padding: 46px 0;
    background: linear-gradient(135deg, #f3f9ff, #ffffff 55%, #f3fff7);
}

.benefits-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.benefits-eyebrow {
    display: inline-block;
    color: #16843a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.benefits-hero-content h1 {
    color: #07194c;
    font-size: clamp(32px, 4.5vw, 50px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0 0 16px;
}

    .benefits-hero-content h1 span {
        color: #16843a;
    }

.benefits-hero-content p {
    max-width: 520px;
    color: #536078;
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 22px;
}


/* PRIMARY BUTTON */

.benefits-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 30px;
    background: #07194c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(7, 25, 76, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .benefits-primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(7, 25, 76, .24);
    }

    .benefits-primary-btn span {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f5b400;
        color: #07194c;
        font-size: 12px;
    }


/* =========================================================
   HERO VISUAL
========================================================= */

.benefits-hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .benefits-hero-visual::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: radial-gradient(circle, #e7f5ea, #f6fbff 65%, transparent 66%);
    }

    .benefits-hero-visual img {
        position: relative;
        z-index: 2;
        width: 165px;
        height: 190px;
        object-fit: contain;
        filter: drop-shadow(0 9px 13px rgba(7, 25, 76, .16));
    }

.benefit-floating {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 64px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    box-shadow: 0 5px 14px rgba(7, 25, 76, .1);
}

    .benefit-floating strong {
        color: #07194c;
        font-size: 18px;
        line-height: 1;
    }

    .benefit-floating span {
        color: #66738a;
        font-size: 10px;
        margin-top: 4px;
    }

.benefit-float-one {
    top: 30px;
    left: 12%;
}

.benefit-float-two {
    right: 10%;
    top: 100px;
}

.benefit-float-three {
    bottom: 30px;
    left: 20%;
}


/* =========================================================
   BENEFITS LIST
========================================================= */

.benefits-list-section {
    background: #ffffff;
    padding: 46px 0;
}

.benefits-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 30px;
}

    .benefits-heading > span {
        color: #16843a;
        font-size: 24px;
    }

    .benefits-heading h2 {
        color: #07194c;
        font-size: 26px;
        font-weight: 900;
        margin: 0 0 5px;
    }

    .benefits-heading p {
        color: #66738a;
        font-size: 13px;
        margin: 0;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    padding: 26px 24px;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(7, 25, 76, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .benefit-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(7, 25, 76, .11);
    }

.benefit-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
}

    .benefit-card-icon.blue {
        background: #e7f2ff;
        color: #0876d1;
    }

    .benefit-card-icon.green {
        background: #e5f5e9;
        color: #16843a;
    }

    .benefit-card-icon.orange {
        background: #fff0e8;
        color: #ed4820;
    }

    .benefit-card-icon.purple {
        background: #f0eaff;
        color: #5422b7;
    }

    .benefit-card-icon.navy {
        background: #e7ebf5;
        color: #07194c;
    }

    .benefit-card-icon.teal {
        background: #e3f8f6;
        color: #087f79;
    }

.benefit-card h3 {
    color: #07194c;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 9px;
}

.benefit-card p {
    color: #59657a;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   BENEFIT JOURNEY
========================================================= */

.how-benefit-section {
    padding: 46px 0;
    background: #f5f9ff;
}

.how-benefit-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

    .how-benefit-heading span {
        color: #16843a;
        font-size: 24px;
    }

    .how-benefit-heading h2 {
        color: #07194c;
        font-size: 26px;
        font-weight: 900;
        margin: 0;
    }

.benefit-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.journey-item {
    width: 210px;
    min-height: 140px;
    text-align: center;
    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(7, 25, 76, .05);
}

.journey-number {
    color: #16843a;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
}

.journey-item h3 {
    color: #07194c;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 7px;
}

.journey-item p {
    color: #66738a;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

.journey-arrow {
    color: #f5b400;
    font-size: 28px;
    font-weight: 900;
}


/* =========================================================
   BIG MESSAGE
========================================================= */

.benefit-message {
    background: linear-gradient(110deg, #061542, #0a2d72);
    color: #ffffff;
    padding: 46px 0;
}

.benefit-message-inner {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 30px;
    align-items: center;
}

    .benefit-message-inner > div > span {
        color: #f5c21a;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 1.5px;
    }

.benefit-message h2 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    margin: 10px 0 12px;
}

    .benefit-message h2 strong {
        color: #f5c21a;
    }

.benefit-message p {
    color: #dce5f4;
    max-width: 460px;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.benefit-message img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}


/* =========================================================
   CTA
========================================================= */

.benefits-cta {
    background: #16843a;
    color: #ffffff;
    padding: 34px 0;
}

.benefits-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.benefits-cta h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 5px;
}

.benefits-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, .92);
    margin: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-hero-grid,
    .benefit-message-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .benefits-hero-content {
        text-align: center;
    }

        .benefits-hero-content p {
            margin-left: auto;
            margin-right: auto;
        }
}


@media (max-width: 768px) {

    .benefits-hero,
    .benefits-list-section,
    .how-benefit-section,
    .benefit-message {
        padding: 34px 0;
    }

    .benefit-journey {
        flex-direction: column;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

    .journey-item {
        width: 100%;
        max-width: 360px;
    }

    .benefits-primary-btn {
        min-height: 48px;
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
}


@media (max-width: 560px) {

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-hero-visual {
        min-height: 260px;
    }

    .benefit-message h2 {
        font-size: 24px;
    }

    .benefits-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}
