/* Trust Banner - Global Stats Display */
.trust-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.8125rem;
    position: relative;
    z-index: 99;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.trust-banner:hover {
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    color: #FFFFFF;
    text-decoration: none;
}

.trust-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 1.5rem;
}

.trust-banner-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trust-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.trust-stat i {
    font-size: 0.75rem;
    opacity: 1;
    color: #FFFFFF;
}

.trust-stat .stat-label {
    font-weight: 500;
    opacity: 1;
    color: #FFFFFF;
}

.trust-stat .stat-value {
    font-weight: 700;
    color: #FFFFFF;
}

.trust-stat .stat-record {
    color: #FFFFFF;
    opacity: 1;
    white-space: nowrap;
}

.trust-stat-divider {
    opacity: 0.7;
    font-weight: 300;
    color: #FFFFFF;
}

.trust-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.trust-banner:hover .trust-banner-cta {
    opacity: 1;
    transform: translateX(2px);
}

.trust-banner-cta i {
    font-size: 0.6875rem;
    transition: transform 0.2s ease;
}

.trust-banner:hover .trust-banner-cta i {
    transform: translateX(3px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .trust-banner {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .trust-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-banner-stats {
        gap: 0.75rem;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .trust-banner-stats::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

    .trust-stat .stat-label {
        display: none;
    }

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

    .trust-banner-cta {
        font-size: 0.6875rem;
    }
}

/* Hide banner on track-record page (it's redundant there) */
body.page-track-record .trust-banner {
    display: none;
}

/* Dark mode support */
[data-theme="dark"] .trust-banner {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

[data-theme="dark"] .trust-banner:hover {
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    color: #FFFFFF;
}

[data-theme="dark"] .trust-stat .stat-label,
[data-theme="dark"] .trust-stat .stat-value,
[data-theme="dark"] .trust-stat .stat-record,
[data-theme="dark"] .trust-stat i,
[data-theme="dark"] .trust-stat-divider,
[data-theme="dark"] .trust-banner-cta {
    color: #FFFFFF;
}

/* Loading state */
.trust-banner.loading .stat-value {
    animation: pulse-loading 1.5s infinite;
}

@keyframes pulse-loading {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
