.about {
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(147, 51, 234, 0.1), transparent 40%);
    z-index: 0;
}

.about h2 {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    left: auto;
    transform: none;
    margin-bottom: 2rem;
}

.about p {
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
    transition: transform 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Count up animation for stats */
.stat-value {
    position: relative;
}

.stat-value.counting::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--pink));
    animation: loadingBar 2s ease-out;
}

@keyframes loadingBar {
    from { width: 0; }
    to { width: 100%; }
}