/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 5;
}

.stat {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(var(--primary-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(var(--primary-rgb), 0.1);
}

.stat:hover::after {
    opacity: 1;
}

.stat-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(var(--primary-rgb), 0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover .stat-circle {
    box-shadow: 
        inset 0 0 0 1px rgba(var(--primary-rgb), 0.3),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
    background: rgba(var(--primary-rgb), 0.03);
}

.stat-circle svg {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 3px rgba(var(--primary-rgb), 0.3));
}

.stat-circle svg path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0.8;
    animation: progress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.stat-circle i {
    font-size: 2.25rem;
    color: white;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.stat:hover .stat-circle i {
    color: var(--primary);
    text-shadow: 0 2px 15px rgba(var(--primary-rgb), 0.5);
}

.stat-circle .number {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.stat:hover .stat-circle .number {
    color: var(--primary);
    text-shadow: 0 2px 15px rgba(var(--primary-rgb), 0.5);
}

.stat-circle .percent,
.stat-circle .plus {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: -5px;
    transition: all 0.3s ease;
}

.stat:hover .stat-circle .percent,
.stat:hover .stat-circle .plus {
    color: var(--primary);
}

.stat .label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.stat:hover .label {
    color: white;
}

@keyframes progress {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: 35;
        opacity: 0.8;
    }
}

@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stat-circle {
        width: 90px;
        height: 90px;
    }

    .stat-circle .number {
        font-size: 1.75rem;
    }

    .stat .label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
