/**
 * GPCB Pay — Homepage Features
 *
 * Component: Features Section
 * Scope: .gpcb-home .gpcb-features
 *
 * Parent Theme: Blocksy
 * Design: Premium B2B Fintech
 */

/* ==========================================
   01. SECTION
========================================== */

.gpcb-home .gpcb-features {
    position: relative;
    isolation: isolate;

    padding: clamp(80px, 9vw, 132px) 0;

    color: #ffffff;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(37, 99, 235, 0.13),
            transparent 58%
        ),
        linear-gradient(
            180deg,
            #071329 0%,
            #091932 100%
        );
}

/* ==========================================
   02. SECTION HEADING
========================================== */

.gpcb-home .gpcb-features .gpcb-section__heading {
    max-width: 800px;
    margin: 0 auto 58px;

    text-align: center;
}

.gpcb-home .gpcb-features .gpcb-section__eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #67e8f9;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gpcb-home .gpcb-features .gpcb-section__title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 750;
    line-height: 1.17;
    letter-spacing: -0.04em;

    text-wrap: balance;
}

.gpcb-home .gpcb-features .gpcb-section__title-accent {
    color: #67e8f9;
}

.gpcb-home .gpcb-features .gpcb-section__description {
    max-width: 650px;

    margin: 23px auto 0;

    color: #b9c9de;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* ==========================================
   03. FEATURE GRID
========================================== */

.gpcb-home .gpcb-features__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}

/* ==========================================
   04. FEATURE CARD
========================================== */

.gpcb-home .gpcb-feature-card {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 290px;

    margin: 0;
    padding: 30px;

    overflow: hidden;

    border: 1px solid rgba(120, 166, 223, 0.19);
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        rgba(23, 48, 86, 0.84) 0%,
        rgba(10, 29, 58, 0.96) 100%
    );

    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.gpcb-home .gpcb-feature-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;
    pointer-events: none;

    background: radial-gradient(
        circle at 100% 0%,
        rgba(34, 211, 238, 0.10),
        transparent 55%
    );
}

.gpcb-home .gpcb-feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(96, 165, 250, 0.50);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.22);
}

/* ==========================================
   05. CARD TOP
========================================== */

.gpcb-home .gpcb-feature-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 34px;
}

.gpcb-home .gpcb-feature-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 13px;

    background: rgba(37, 99, 235, 0.13);

    color: #93c5fd;

    font-size: 15px;
    font-weight: 750;
    line-height: 1;
}

.gpcb-home .gpcb-feature-card__indicator {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #22d3ee;

    box-shadow:
        0 0 0 5px rgba(34, 211, 238, 0.08);
}

/* ==========================================
   06. CARD CONTENT
========================================== */

.gpcb-home .gpcb-feature-card__category {
    margin: 0 0 12px;

    color: #67e8f9;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.gpcb-home .gpcb-feature-card__title {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.gpcb-home .gpcb-feature-card__description {
    margin: 0;

    color: #bdcde2;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

/* ==========================================
   07. DISCLAIMER
========================================== */

.gpcb-home .gpcb-features__disclaimer {
    max-width: 760px;

    margin: 35px auto 0;

    color: #94a3b8;

    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* ==========================================
   08. TABLET
========================================== */

@media (max-width: 1024px) {

    .gpcb-home .gpcb-features__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .gpcb-home .gpcb-feature-card {
        min-height: 275px;
        padding: 26px;
    }
}

/* ==========================================
   09. MOBILE
========================================== */

@media (max-width: 767px) {

    .gpcb-home .gpcb-features {
        padding: 75px 0;
    }

    .gpcb-home .gpcb-features .gpcb-section__heading {
        margin-bottom: 40px;
    }

    .gpcb-home .gpcb-features .gpcb-section__title {
        font-size: clamp(30px, 7vw, 40px);
    }

    .gpcb-home .gpcb-features .gpcb-section__description {
        font-size: 15px;
        line-height: 1.75;
    }

    .gpcb-home .gpcb-features__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .gpcb-home .gpcb-feature-card {
        min-height: auto;
        padding: 25px;
    }

    .gpcb-home .gpcb-feature-card__top {
        margin-bottom: 25px;
    }

    .gpcb-home .gpcb-feature-card__title {
        font-size: 20px;
    }

    .gpcb-home .gpcb-features__disclaimer {
        margin-top: 27px;
    }
}

/* ==========================================
   10. ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .gpcb-home .gpcb-feature-card {
        transition: none;
    }

    .gpcb-home .gpcb-feature-card:hover {
        transform: none;
    }
}
