/* ==========================================
   VALUE SECTION
========================================== */

.value-section {
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* ==========================================
   Background glow
========================================== */

.value-section::before {
    content: "";

    position: absolute;
    left: -18%;
    top: 8%;
    width: 62%;
    height: 85%;

    background: radial-gradient(
        ellipse,
        rgba(77, 124, 255, .16),
        transparent 68%
    );

    filter: blur(35px);
    pointer-events: none;
}

.value-section::after {
    content: "";

    position: absolute;
    right: -20%;
    bottom: -20%;
    width: 55%;
    height: 70%;

    background: radial-gradient(
        ellipse,
        rgba(77, 124, 255, .06),
        transparent 70%
    );

    filter: blur(30px);
    pointer-events: none;
}

/* ==========================================
   Main grid
========================================== */

.value-grid {
    position: relative;
    z-index: 2;

    display: none;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 5rem;
}

/* ==========================================
   Intro
========================================== */

.value-intro {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

/* ==========================================
   Eyebrow
========================================== */

.value-intro .section-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;

    margin-bottom: 2rem;

    color: #55a2f6;
    font-size: 13.6px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.value-intro .section-eyebrow .accent-line {
    width: 36px;
    height: 2px;
    flex-shrink: 0;

    background: #F28C28;

    box-shadow:
        0 0 10px rgba(242, 140, 40, .3);
}

/* ==========================================
   Heading
========================================== */

.value-title {
    max-width: 570px;

    margin: 0 0 2rem;

    color: #fff;
    font-size: clamp(3.2rem, 4.7vw, 5.2rem);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.05em;
}

/* ==========================================
   Description
========================================== */

.value-description {
    max-width: 470px;

    margin: 0;

    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================
   Cards
========================================== */

.value-cards {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 1.4rem;
    row-gap: 1.25rem;

    padding: 1.5rem 0 2rem;
}

/* ==========================================
   Individual card
========================================== */

.value-card {
    position: relative;

    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 1rem;

    min-height: 168px;
    padding: 1.6rem 1.7rem;

    border: 1px solid rgba(77, 124, 255, .34);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(10, 27, 53, .72),
            rgba(3, 11, 22, .86)
        );

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .18),
        inset 0 0 30px rgba(77, 124, 255, .025);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

/* ==========================================
   Blue / Orange borders
========================================== */

.value-card-blue {
    border-color: rgba(77, 124, 255, .38);
}

.value-card-orange {
    border-color: rgba(242, 140, 40, .38);
}

/* ==========================================
   Asymmetrical layout
========================================== */

.value-card:nth-child(1) {
    transform: translate(-8px, -12px);
}

.value-card:nth-child(2) {
    transform: translate(8px, 4px);
}

.value-card:nth-child(3) {
    transform: translate(-14px, 2px);
}

.value-card:nth-child(4) {
    transform: translate(10px, 8px);
}

.value-card:nth-child(5) {
    transform: translate(-5px, 8px);
}

.value-card:nth-child(6) {
    transform: translate(14px, 14px);
}

/* ==========================================
   Hover
========================================== */

.value-card-blue:hover {
    border-color: rgba(77, 124, 255, .72);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .26),
        0 0 30px rgba(77, 124, 255, .1);
}

.value-card-orange:hover {
    border-color: rgba(242, 140, 40, .72);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .26),
        0 0 30px rgba(242, 140, 40, .1);
}

.value-card:nth-child(1):hover {
    transform: translate(-10px, -21px);
}

.value-card:nth-child(2):hover {
    transform: translate(8px, -1px);
}

.value-card:nth-child(3):hover {
    transform: translate(-22px, -1px);
}

.value-card:nth-child(4):hover {
    transform: translate(14px, -15px);
}

.value-card:nth-child(5):hover {
    transform: translate(-4px, 5px);
}

.value-card:nth-child(6):hover {
    transform: translate(20px, -5px);
}

/* ==========================================
   VALUE CARD ICON
========================================== */

.value-card-icon {
    position: relative;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(77, 124, 255, .75);
    border-radius: 50%;

    background: rgba(77, 124, 255, .025);
}


/* ==========================================
   BLUE CHECK
========================================== */

.value-check {
    display: block;

    width: 13px;
    height: 7px;

    border-left: 2px solid #55a2f6;
    border-bottom: 2px solid #55a2f6;

    transform: rotate(-45deg) translate(1px, -1px);

    filter:
        drop-shadow(0 0 3px rgba(85, 162, 246, .95))
        drop-shadow(0 0 7px rgba(85, 162, 246, .75))
        drop-shadow(0 0 12px rgba(85, 162, 246, .45));
}


/* ==========================================
   ORANGE CHECK
========================================== */

.value-card-orange .value-card-icon {
    border-color: rgba(242, 140, 40, .75);
    background: rgba(242, 140, 40, .025);
}

.value-card-orange .value-check {
    border-color: #f28c28;

    filter:
        drop-shadow(0 0 3px rgba(242, 140, 40, .95))
        drop-shadow(0 0 7px rgba(242, 140, 40, .75))
        drop-shadow(0 0 12px rgba(242, 140, 40, .45));
}

/* ==========================================
   Card typography
========================================== */

.value-card h3 {
    margin: 0 0 .75rem;

    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
}

.value-card p {
    margin: 0;

    color: var(--color-text-muted);
    font-size: .8rem;
    line-height: 1.6;
}

/* ==========================================
   Value Stats
========================================== */

.value-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;

    margin-top: 4rem;
    padding: 2.2rem 1.5rem;

    border: 1px solid rgba(77, 124, 255, .22);
    border-radius: 22px;

    background: transparent;

    overflow: hidden;
}

/* delikatna poświata na dole */

.value-stats::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -1px;

    width: 45%;
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(77, 124, 255, .9),
        transparent
    );

    box-shadow:
        0 0 18px rgba(77, 124, 255, .45),
        0 0 35px rgba(77, 124, 255, .18);

    pointer-events: none;
}


/* ==========================================
   Individual Stat
========================================== */

.value-stat {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100px;
    padding: .5rem 2rem;

    text-align: center;
}

/* separatory */

.value-stat + .value-stat::before {
    content: "";

    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;

    width: 1px;

    background: linear-gradient(
        180deg,
        transparent,
        rgba(120, 143, 184, .2),
        transparent
    );
}


/* ==========================================
   Number
========================================== */

.value-stats strong {
    display: block;
    margin: 0;

    background: linear-gradient(
        180deg,
        #dcecff 0%,
        #78b8ff 45%,
        #4d7cff 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;

    filter: drop-shadow(0 0 14px rgba(77, 124, 255, .12));
}


/* ==========================================
   Orange Accent Dot
========================================== */

.value-stats strong::after {
    content: "";

    display: block;

    width: 7px;
    height: 7px;

    margin: .8rem auto .65rem;

    border-radius: 50%;

    background: var(--color-accent);

    box-shadow:
        0 0 8px rgba(242, 140, 40, .5),
        0 0 18px rgba(242, 140, 40, .2);
}


/* ==========================================
   Description
========================================== */

.value-stats span {
    display: block;

    color: rgba(255, 255, 255, .62);

    font-size: .9rem;
    font-weight: 400;
    line-height: 1.45;

    text-align: center;
}


/* ==========================================
   VALUE SECTION — RESPONSIVE
========================================== */


/* ==========================================
   TABLET / MOBILE — 991px
========================================== */

@media (max-width: 991px) {

    /* ==========================================
       MAIN VALUE LAYOUT
    ========================================== */

    .value-grid {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 3rem !important;

        box-sizing: border-box !important;
    }


    /* ==========================================
       INTRO
    ========================================== */

    .value-intro {
        width: 100% !important;
        max-width: 700px !important;

        margin: 0 auto !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }

    .value-intro .section-eyebrow {
        justify-content: center !important;
    }

    .value-title {
        width: 100% !important;
        max-width: 620px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .value-description {
        width: 100% !important;
        max-width: 540px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* ==========================================
       VALUE CARDS
    ========================================== */

    .value-cards {
        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 1.2rem !important;

        padding: 0 !important;

        box-sizing: border-box !important;
    }

    .value-card {
        width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }

}


/* ==========================================
   MOBILE — 600px
========================================== */

@media (max-width: 600px) {

    .value-section {
        width: 100% !important;
        max-width: 100% !important;
		padding: 2rem 0 0rem;
        overflow: hidden !important;
    }


    /* ==========================================
       MAIN LAYOUT
    ========================================== */

    .value-grid {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 2.5rem !important;

        box-sizing: border-box !important;
    }


    /* ==========================================
       INTRO
    ========================================== */

    .value-intro {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        text-align: center !important;
    }

    .value-intro .section-eyebrow {
        justify-content: center !important;
    }

    .value-title {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .value-description {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* ==========================================
       CARDS — ONE COLUMN
    ========================================== */

    .value-cards {
        display: grid !important;

        grid-template-columns: minmax(0, 1fr) !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 1rem !important;

        padding: 0 !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    .value-card {
        display: grid !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        /* RESET DESKTOP OFFSET */
        transform: none !important;
    }


    /* RESET ALL CARD OFFSETS */

    .value-card:nth-child(1),
    .value-card:nth-child(2),
    .value-card:nth-child(3),
    .value-card:nth-child(4),
    .value-card:nth-child(5),
    .value-card:nth-child(6) {
        transform: none !important;
    }


    /* RESET HOVER OFFSETS */

    .value-card:nth-child(1):hover,
    .value-card:nth-child(2):hover,
    .value-card:nth-child(3):hover,
    .value-card:nth-child(4):hover,
    .value-card:nth-child(5):hover,
    .value-card:nth-child(6):hover {
        transform: translateY(-3px) !important;
    }


    /* ==========================================
       STATS — 2 × 2
    ========================================== */

    .value-stats {
        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, auto) !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 2.5rem 0 0 !important;

        padding: 1.5rem .75rem !important;

        gap: 0 !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    .value-stats > .value-stat {
        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding: 1.25rem .5rem !important;

        box-sizing: border-box !important;

        align-items: center !important;
        justify-content: flex-start !important;

        flex-direction: column !important;

        text-align: center !important;
    }


    /* Vertical separator */

    .value-stats > .value-stat:nth-child(odd) {
        border-right: 1px solid rgba(77,124,255,.18);
    }


    /* Horizontal separator */

    .value-stats > .value-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(77,124,255,.18);
    }


    /* Numbers */

    .value-stats > .value-stat strong {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;

        font-size: 2.25rem !important;
        line-height: 1 !important;

        white-space: nowrap;
    }


    /* Descriptions */

    .value-stats > .value-stat span {
        display: block !important;

        width: 100% !important;
        max-width: 110px !important;

        margin: .7rem auto 0 !important;

        font-size: .78rem !important;
        line-height: 1.35 !important;

        text-align: center !important;
    }

}


/* ==========================================
   VERY SMALL MOBILE — 400px
========================================== */

@media (max-width: 400px) {

    .value-grid {
        gap: 2rem !important;
    }

    .value-cards {
        gap: .8rem !important;
    }

    .value-card {
        padding: 1.25rem !important;
    }


    /* STATS */

    .value-stats {
        margin-top: 2rem !important;
        padding: 1.25rem .5rem !important;
    }

    .value-stats > .value-stat {
        padding: 1rem .35rem !important;
    }

    .value-stats > .value-stat strong {
        font-size: 2rem !important;
    }

    .value-stats > .value-stat span {
        font-size: .74rem !important;
        max-width: 95px !important;
    }

}