/* =========================================================
   Trust / Quick Stats
   File: trust_quick_stats.css
   ========================================================= */

.trust-quick-stats {
    position: relative;
    overflow: hidden;
    padding: 92px 0 88px;
    background:
        radial-gradient(circle at 80% 15%, rgba(13, 110, 253, .08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.trust-quick-stats::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,0), rgba(223,239,255,.42)),
        linear-gradient(rgba(13,110,253,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,110,253,.025) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
}

.trust-quick-content {
    position: relative;
    z-index: 3;
    padding-right: 34px;
}

.trust-quick-badge {
    margin-bottom: 18px;
    color: #40577e;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .18em;
}

.trust-quick-content h2 {
    max-width: 780px;
    margin: 0;
    color: #0b1738;
    font-size: clamp(42px, 5vw, 70px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.045em;
}

.trust-quick-content h2::first-line {
    color: #0b1738;
}

.trust-quick-line {
    width: 86px;
    height: 5px;
    margin: 22px 0 18px;
    border-radius: 20px;
    background: #087df5;
}

.trust-quick-description {
    max-width: 730px;
    margin: 0 0 34px;
    color: #5b6b86;
    font-size: 18px;
    line-height: 1.7;
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 38px;
}

.trust-stat-card {
    min-height: 242px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    text-align: center;
    border: 1px solid rgba(225, 234, 246, .92);
    border-radius: 19px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 34px rgba(29, 70, 120, .07);
}

.trust-stat-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 50%;
    color: #fff;
    background: #1688f8;
    box-shadow: 0 12px 25px rgba(22, 136, 248, .23);
    font-size: 30px;
}

.trust-stat-card:nth-child(2) .trust-stat-icon {
    background: #22b83d;
    box-shadow: 0 12px 25px rgba(34, 184, 61, .20);
}

.trust-stat-card:nth-child(3) .trust-stat-icon {
    background: #ff7417;
    box-shadow: 0 12px 25px rgba(255, 116, 23, .20);
}

.trust-stat-card:nth-child(4) .trust-stat-icon {
    background: #7551e8;
    box-shadow: 0 12px 25px rgba(117, 81, 232, .20);
}

.trust-stat-value {
    color: #0a1738;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.025em;
}

.trust-stat-label {
    margin-top: 9px;
    color: #263b61;
    font-size: 16px;
    line-height: 1.35;
}

.trust-stat-mini-line {
    width: 58px;
    height: 4px;
    margin-top: 16px;
    border-radius: 10px;
    background: #1688f8;
}

.trust-stat-card:nth-child(2) .trust-stat-mini-line {
    background: #22b83d;
}

.trust-stat-card:nth-child(3) .trust-stat-mini-line {
    background: #ff7417;
}

.trust-stat-card:nth-child(4) .trust-stat-mini-line {
    background: #7551e8;
}

.trust-features {
    display: flex;
    align-items: center;
    gap: 21px;
}

.trust-feature {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.trust-feature-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #087df5;
    font-size: 32px;
}

.trust-feature-title {
    max-width: 120px;
    color: #172746;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}

.trust-feature-divider {
    flex: 0 0 1px;
    width: 1px;
    height: 55px;
    background: #cbd5e1;
}

.trust-quick-visual {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-right: -60px;
}

.trust-quick-visual img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 25px 35px rgba(31, 62, 100, .12));
}

.trust-quick-placeholder {
    min-height: 480px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(219,236,255,.75), rgba(255,255,255,.4));
}

.trust-placeholder-arrow {
    position: absolute;
    top: 70px;
    right: 70px;
    color: #087df5;
    font-size: 76px;
    transform: rotate(-18deg);
}

.trust-placeholder-bars {
    width: 72%;
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.trust-placeholder-bars span {
    flex: 1;
    border-radius: 10px 10px 0 0;
    background: #1688f8;
    opacity: .75;
}

.trust-placeholder-bars span:nth-child(1) { height: 35%; }
.trust-placeholder-bars span:nth-child(2) { height: 50%; }
.trust-placeholder-bars span:nth-child(3) { height: 70%; }
.trust-placeholder-bars span:nth-child(4) { height: 92%; }

@media (max-width: 1399.98px) {
    .trust-quick-content {
        padding-right: 20px;
    }

    .trust-stats-grid {
        gap: 14px;
    }

    .trust-stat-card {
        min-height: 225px;
    }

    .trust-feature {
        gap: 8px;
    }

    .trust-features {
        gap: 12px;
    }

    .trust-quick-visual {
        margin-right: -25px;
    }
}

@media (max-width: 1199.98px) {
    .trust-quick-content h2 {
        font-size: 52px;
    }

    .trust-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .trust-feature-divider {
        display: none;
    }

    .trust-quick-visual {
        min-height: 540px;
    }
}

@media (max-width: 991.98px) {
    .trust-quick-stats {
        padding: 72px 0;
    }

    .trust-quick-content {
        padding-right: 0;
    }

    .trust-quick-content h2 {
        max-width: 700px;
        font-size: clamp(40px, 7vw, 58px);
    }

    .trust-quick-description {
        font-size: 17px;
    }

    .trust-quick-visual {
        min-height: 430px;
        margin: 35px 0 0;
    }

    .trust-quick-visual img {
        max-height: 500px;
    }
}

@media (max-width: 767.98px) {
    .trust-quick-stats {
        padding: 58px 0;
    }

    .trust-quick-badge {
        font-size: 12px;
        letter-spacing: .13em;
    }

    .trust-quick-content h2 {
        font-size: 40px;
        line-height: 1.04;
    }

    .trust-quick-description {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 26px;
    }

    .trust-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 28px;
    }

    .trust-stat-card {
        min-height: 190px;
        padding: 16px 10px;
        border-radius: 15px;
    }

    .trust-stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 11px;
        font-size: 24px;
    }

    .trust-stat-value {
        font-size: 32px;
    }

    .trust-stat-label {
        font-size: 13px;
    }

    .trust-feature-title {
        font-size: 13px;
    }

    .trust-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 27px;
    }

    .trust-quick-visual {
        min-height: 350px;
    }
}

@media (max-width: 479.98px) {
    .trust-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trust-feature {
        padding: 5px 0;
    }

    .trust-quick-visual {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-quick-stats * {
        scroll-behavior: auto !important;
    }
}
