/* Home page trust component */

/* Trust & Statistics Section */
.trust-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(124, 76, 255, 0.08) 0%, rgba(40, 40, 90, 0.1) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 3rem 0;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    height: 128px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-interactive {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.trust-interactive:focus-visible {
    outline: 2px solid rgba(171, 148, 255, 0.95);
    outline-offset: 3px;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(124, 76, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.5rem;
    height: 128px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-primary);
    background: rgba(124, 76, 255, 0.05);
}

.trust-interactive.is-expanded {
    transform: scale(1.06) !important;
    border-color: var(--accent-primary);
    box-shadow: 0 16px 34px rgba(124, 76, 255, 0.32);
}

.badge-icon {
    width: 78px;
    height: 78px;
    background: linear-gradient(135deg, var(--accent-primary), #9333ea);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 34px;
    height: 34px;
    display: block;
    flex-shrink: 0;
    fill: white;
}

.badge-icon svg image {
    width: 100%;
    height: 100%;
}

.badge-text {
    flex: 1;
}

.badge-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-item.animate {
    animation: countUp 0.6s ease-out;
}

.badge-item.animate {
    animation: fadeInUp 0.6s ease-out;
}

.trust-verify-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(5.4rem, 11vh, 7rem) 1.2rem 1.8rem;
    background: rgba(10, 8, 28, 0.76);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.trust-verify-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.trust-verify-dialog {
    width: min(780px, 100%);
    max-height: min(760px, calc(100vh - 8.2rem));
    overflow-y: auto;
    background: linear-gradient(160deg, rgba(20, 15, 54, 0.98), rgba(17, 14, 44, 0.98));
    border: 1px solid rgba(171, 148, 255, 0.32);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(6, 4, 20, 0.56);
    position: relative;
}

.trust-verify-dialog::-webkit-scrollbar {
    width: 9px;
}

.trust-verify-dialog::-webkit-scrollbar-thumb {
    background: rgba(171, 148, 255, 0.35);
    border-radius: 99px;
}

.trust-verify-close {
    position: absolute;
    top: 0.95rem;
    right: 0.95rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.trust-verify-close:hover {
    background: rgba(171, 148, 255, 0.24);
    border-color: rgba(171, 148, 255, 0.8);
}

.trust-verify-body {
    padding: 1.45rem 1.55rem 1.55rem;
}

.trust-verify-brandmark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(124, 76, 255, 0.38), rgba(186, 107, 255, 0.22));
    border: 1px solid rgba(171, 148, 255, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

.trust-verify-brandmark svg {
    width: 24px;
    height: 24px;
    fill: #e8ddff;
}

.trust-verify-body h3 {
    font-size: clamp(1.4rem, 2.1vw, 1.9rem);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.72rem;
}

.trust-verify-intro {
    max-width: 760px;
    margin: 0 auto 1.1rem;
    text-align: center;
    color: rgba(234, 232, 255, 0.9);
    line-height: 1.55;
}

.trust-verify-subtitle {
    text-align: center;
    font-size: 1.24rem;
    margin-bottom: 0.85rem;
}

.trust-verify-steps {
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
}

.trust-verify-step {
    border: 1px solid rgba(171, 148, 255, 0.24);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 14px;
    padding: 0.78rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.trust-verify-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(124, 76, 255, 0.18);
    border: 1px solid rgba(171, 148, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-verify-step-icon svg {
    width: 18px;
    height: 18px;
    fill: #ddcbff;
}

.trust-verify-step-text h5 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.trust-verify-step-text p {
    margin: 0;
    color: rgba(231, 228, 255, 0.85);
    line-height: 1.48;
}

.trust-verify-highlight {
    margin-top: 0.95rem;
    border-radius: 18px;
    padding: 1rem 0.9rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(124, 76, 255, 0.18), rgba(171, 148, 255, 0.12));
    border: 1px solid rgba(171, 148, 255, 0.38);
}

.trust-verify-highlight h4 {
    margin-bottom: 0.44rem;
    font-size: clamp(1.14rem, 1.8vw, 1.36rem);
}

.trust-verify-highlight-main {
    font-size: 0.97rem;
    margin-bottom: 0.36rem;
}

.trust-verify-highlight-copy {
    color: rgba(232, 230, 255, 0.86);
    margin: 0 auto 0.74rem;
    max-width: 620px;
}

.trust-verify-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #211538;
    background: linear-gradient(135deg, #f7f2ff, #e9dcff);
    transition: var(--transition);
}

.trust-verify-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 11, 44, 0.35);
}

@media (max-width: 768px) {
    .trust-content { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
    .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .stat-item,
    .badge-item {
        height: 112px;
        padding: 0.9rem;
    }

    .stat-number { font-size: 1.65rem; margin-bottom: 0.35rem; }
    .stat-label { font-size: 0.78rem; line-height: 1.2; }

    .badge-item {
        flex-direction: column;
        justify-content: center;
        gap: 0.45rem;
        text-align: center;
    }

    .badge-text { text-align: center; }
    .badge-title { font-size: 0.9rem; margin-bottom: 0.15rem; line-height: 1.2; }
    .badge-subtitle { font-size: 0.75rem; line-height: 1.2; }
    .badge-icon { width: 44px; height: 44px; }
    .badge-icon svg { width: 20px; height: 20px; }

    .trust-verify-modal {
        padding: 4.35rem 0.65rem 0.95rem;
    }

    .trust-verify-dialog {
        border-radius: 16px;
        max-height: calc(100vh - 5.3rem);
    }

    .trust-verify-close {
        width: 34px;
        height: 34px;
        top: 0.65rem;
        right: 0.65rem;
        font-size: 1.35rem;
    }

    .trust-verify-body {
        padding: 1rem 0.85rem 1.05rem;
    }

    .trust-verify-subtitle {
        font-size: 1.18rem;
    }

    .trust-verify-step {
        padding: 0.8rem;
    }

    .trust-verify-step-text h5 {
        font-size: 0.96rem;
    }

    .trust-verify-step-text p {
        font-size: 0.88rem;
    }

    .trust-verify-highlight {
        padding: 1rem 0.8rem;
    }
}
