/* =========================================================
   ShivanyaTech
   PHASE 06 — PART 2
   TRUST / STATS
   LIGHT PREMIUM SECTION
   ========================================================= */


/* =========================================================
   TRUST SECTION
   ========================================================= */

.cs-trust {
    position: relative;

    padding: clamp(90px, 9vw, 145px) 0;

    overflow: hidden;

    background: var(--cs-light-bg);

    color: var(
        --cs-text,
        #111318
    );
}


/* =========================================================
   SUBTLE BACKGROUND
   ========================================================= */

.cs-trust::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -280px;
    right: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(117, 108, 255, 0.10),
            transparent 68%
        );

    pointer-events: none;
}


.cs-trust::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -250px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 195, 255, 0.07),
            transparent 68%
        );

    pointer-events: none;
}


/* =========================================================
   INTRO
   ========================================================= */

.cs-trust-intro {
    position: relative;

    max-width: 850px;

    margin-bottom: clamp(55px, 7vw, 90px);

    z-index: 2;
}


/* =========================================================
   SECTION EYEBROW
   ========================================================= */

.cs-section-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    font-family: var(
        --cs-font-heading,
        inherit
    );

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color:
        var(
            --cs-primary,
            #5d55e8
        );
}


.cs-section-eyebrow-line {
    width: 34px;
    height: 1px;

    display: block;

    background:
        currentColor;
}


/* =========================================================
   TITLE
   ========================================================= */

.cs-trust-title {
    max-width: 900px;

    margin: 0;

    font-family: var(
        --cs-font-heading,
        inherit
    );

    font-size: clamp(
        2.7rem,
        5vw,
        5.4rem
    );

    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -0.055em;

    color:
        var(
            --cs-heading,
            #101116
        );
}


/* =========================================================
   TITLE HIGHLIGHT
   ========================================================= */

.cs-text-highlight {
    background:
        linear-gradient(
            100deg,
            var(
                --cs-primary,
                #5d55e8
            ),
            var(
                --cs-secondary,
                #199bd1
            )
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.cs-trust-description {
    max-width: 650px;

    margin: 28px 0 0;

    font-family: var(
        --cs-font-body,
        inherit
    );

    font-size: clamp(
        1rem,
        1.3vw,
        1.15rem
    );

    line-height: 1.8;

    color:
        var(
            --cs-muted,
            #666b76
        );
}


/* =========================================================
   STATS WRAPPER
   ========================================================= */

.cs-trust-stats {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        #e2e2e3;

    border-bottom:
        1px solid
        #e2e2e3;

    z-index: 2;
}


/* =========================================================
   STAT ITEM
   ========================================================= */

.cs-trust-stat {
    position: relative;

    min-height: 230px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 45px 38px;
}


.cs-trust-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 25%;
    right: 0;

    width: 1px;
    height: 50%;

    background:#e2e2e3;
}


/* =========================================================
   STAT NUMBER
   ========================================================= */

.cs-trust-stat-number {
    display: flex;
    align-items: baseline;

    font-family: var(
        --cs-font-heading,
        inherit
    );

    font-size: clamp(
        3.5rem,
        5vw,
        5.8rem
    );

    line-height: 0.9;

    font-weight: 700;

    letter-spacing: -0.065em;

    color:
        var(
            --cs-heading,
            #101116
        );
}


/* =========================================================
   COUNTER
   ========================================================= */

.cs-counter {
    display: inline-block;
}


/* =========================================================
   STAT LABEL
   ========================================================= */

.cs-trust-stat-label {
    margin-top: 20px;

    font-family: var(
        --cs-font-body,
        inherit
    );

    font-size: 0.82rem;

    line-height: 1.5;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color:
        var(
            --cs-muted,
            #727681
        );
}


/* =========================================================
   STAT HOVER
   ========================================================= */

.cs-trust-stat {
    transition:
        background 0.35s ease;
}


.cs-trust-stat:hover {
    background:
        rgba(255, 255, 255, 0.55);
}


/* =========================================================
   BOTTOM TRUST LINE
   ========================================================= */

.cs-trust-bottom {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 32px;

    z-index: 2;
}


.cs-trust-bottom-item {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    font-family: var(
        --cs-font-body,
        inherit
    );

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color:#777;
}


/* =========================================================
   DOT
   ========================================================= */

.cs-trust-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background:
        var(
            --cs-primary,
            #5d55e8
        );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .cs-trust {
        padding:
            90px 0;
    }


    .cs-trust-intro {
        margin-bottom: 60px;
    }


    .cs-trust-title {
        font-size: clamp(
            2.7rem,
            7vw,
            4.5rem
        );
    }


    .cs-trust-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .cs-trust-stat:nth-child(2)::after {
        display: none;
    }


    .cs-trust-stat:nth-child(1),
    .cs-trust-stat:nth-child(2) {
        border-bottom:
            1px solid
            rgba(16, 17, 22, 0.10);
    }


    .cs-trust-stat {
        min-height: 210px;
    }


    .cs-trust-bottom {
        flex-wrap: wrap;

        justify-content: flex-start;

        gap: 18px 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .cs-trust {
        padding:
            75px 0;
    }


    .cs-section-eyebrow {
        margin-bottom: 20px;

        font-size: 0.65rem;
    }


    .cs-trust-title {
        font-size: clamp(
            2.45rem,
            12vw,
            3.6rem
        );

        line-height: 1;
    }


    .cs-trust-description {
        margin-top: 22px;

        font-size: 0.94rem;

        line-height: 1.7;
    }


    .cs-trust-intro {
        margin-bottom: 45px;
    }


    .cs-trust-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .cs-trust-stat {
        min-height: 175px;

        padding:
            28px 18px;
    }


    .cs-trust-stat-number {
        font-size: clamp(
            2.7rem,
            13vw,
            4rem
        );
    }


    .cs-trust-stat-label {
        margin-top: 14px;

        font-size: 0.62rem;

        letter-spacing: 0.06em;
    }


    .cs-trust-stat:nth-child(2)::after {
        display: block;
    }


    .cs-trust-stat:nth-child(even)::after {
        display: none;
    }


    .cs-trust-bottom {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 16px;

        padding-top: 25px;
    }


    .cs-trust-bottom-item {
        font-size: 0.61rem;

        letter-spacing: 0.08em;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .cs-trust-stats {
        grid-template-columns: 1fr;
    }


    .cs-trust-stat {
        min-height: auto;

        padding:
            28px 20px;
    }


    .cs-trust-stat:not(:last-child) {
        border-bottom:
            1px solid
            rgba(16, 17, 22, 0.10);
    }


    .cs-trust-stat::after {
        display: none !important;
    }


    .cs-trust-bottom {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cs-trust *,
    .cs-trust *::before,
    .cs-trust *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}