/* TraPay Stats Section - Minimal Design CSS */

/* Stats Cards Animation */
.stats-card {
    opacity: 0;
    transform: translateY(30px);
    animation: statsSlideUp 0.8s ease-out forwards;
}

.stats-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stats-card:nth-child(3) {
    animation-delay: 0.2s;
}

.stats-card:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes statsSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Features Animation */
.trust-feature {
    opacity: 0;
    transform: translateX(20px);
    animation: trustSlideIn 0.6s ease-out forwards;
}

.trust-feature:nth-child(2) {
    animation-delay: 0.15s;
}

.trust-feature:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes trustSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Counter Animation Enhancement */
[data-count] {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* Hover Effects for Better Interaction */
.stats-card:hover [data-count] {
    color: var(--trapay-primary);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .stats-card {
        animation-delay: 0s !important;
    }
    
    .trust-feature {
        animation-delay: 0s !important;
    }
}

/* Focus States for Accessibility */
.stats-card > div:focus-within {
    outline: 2px solid var(--trapay-primary);
    outline-offset: 4px;
}

/* Enhanced Shadow System */
.stats-card > div {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card > div:hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Trust Features Enhanced Styling */
.trust-feature > div {
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.trust-feature > div:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 6px 6px rgba(0, 0, 0, 0.05);
}