﻿.wl-features-hero,
.wl-features-section,
.wl-features-cta {
    font-family: 'Poppins', sans-serif;
}

.wl-features-hero {
    background: linear-gradient(135deg, #101b30 0%, #172d4c 100%);
    color: #fff;
    padding: 88px 0 94px;
    text-align: center;
}

.wl-features-hero-inner {
    max-width: 950px;
    margin: 0 auto;
}

.wl-features-eyebrow {
    color: #69b6ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.wl-features-hero h1 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.wl-features-hero p {
    max-width: 790px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.85;
    color: #cdd9e8;
}

.wl-features-hero-actions,
.wl-features-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.wl-features-btn-primary,
.wl-features-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 25px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}

.wl-features-btn-primary {
    background: #2679e8;
    color: #fff !important;
    border: 1px solid #2679e8;
}

    .wl-features-btn-primary:hover {
        background: #1465ce;
        border-color: #1465ce;
        transform: translateY(-2px);
    }

.wl-features-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff !important;
}

    .wl-features-btn-secondary:hover {
        border-color: #fff;
        background: rgba(255,255,255,.08);
    }

.wl-features-section {
    background: #f5f7fb;
    padding: 80px 0 72px;
}

.wl-features-section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

    .wl-features-section-heading .wl-features-eyebrow {
        color: #2679e8;
    }

    .wl-features-section-heading h2 {
        font-size: clamp(27px, 3vw, 37px);
        font-weight: 700;
        color: #17263d;
        margin-bottom: 17px;
    }

    .wl-features-section-heading p {
        color: #59687c;
        font-size: 16px;
        line-height: 1.85;
    }

.wl-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 13px;
    padding: 32px 28px 27px;
    color: #24344a;
    text-decoration: none !important;
    box-shadow: 0 3px 14px rgba(15,35,65,.035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .wl-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(15,35,65,.10);
        border-color: #a8c9f5;
        color: #24344a;
    }

    .wl-feature-card:focus-visible {
        outline: 3px solid #2679e8;
        outline-offset: 3px;
    }

.wl-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #eaf3ff;
    border-radius: 12px;
    color: #2679e8;
    font-size: 25px;
    margin-bottom: 23px;
}

.wl-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #17263d;
    margin-bottom: 14px;
}

.wl-feature-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #59687c;
    margin-bottom: 19px;
}

.wl-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.wl-feature-card li {
    position: relative;
    padding-left: 21px;
    margin-bottom: 11px;
    color: #40536a;
    font-size: 13px;
    line-height: 1.6;
}

    .wl-feature-card li::before {
        content: "\f00c";
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 1px;
        color: #2679e8;
        font-size: 11px;
    }

.wl-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #2679e8;
    font-size: 14px;
    font-weight: 600;
}

    .wl-feature-link i {
        transition: transform .2s ease;
    }

.wl-feature-card:hover .wl-feature-link i {
    transform: translateX(4px);
}

.wl-features-cta {
    background: #101b30;
    color: #fff;
    padding: 75px 0 80px;
    text-align: center;
}

.wl-features-cta-inner {
    max-width: 820px;
    margin: 0 auto;
}

.wl-features-cta h2 {
    font-size: clamp(28px, 3.3vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 19px;
}

.wl-features-cta p {
    max-width: 690px;
    margin: 0 auto;
    color: #cdd9e8;
    font-size: 16px;
    line-height: 1.85;
}

@media (max-width: 767px) {
    .wl-features-hero {
        padding: 58px 0 64px;
    }

        .wl-features-hero p {
            font-size: 15px;
        }

    .wl-features-section {
        padding: 55px 0 47px;
    }

    .wl-feature-card {
        padding: 27px 24px;
    }

    .wl-features-cta {
        padding: 55px 0 60px;
    }

    .wl-features-btn-primary,
    .wl-features-btn-secondary {
        width: 100%;
        max-width: 290px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wl-feature-card,
    .wl-feature-link i,
    .wl-features-btn-primary,
    .wl-features-btn-secondary {
        transition: none;
    }
}

/* Remove unwanted gap between Features CTA and shared footer */
.wl-features-cta {
    margin-bottom: 0 !important;
}

main:has(.wl-features-cta) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}