/* About Page Styles */
.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-box {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.stat-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.25rem;
    background: linear-gradient(45deg, #6366f1, #ec4899, #06b6d4, #a855f7, #6366f1);
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:nth-child(1)::before {
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #a855f7, #6366f1);
}

.stat-box:nth-child(2)::before {
    background: linear-gradient(45deg, #ec4899, #f472b6, #fb7185, #ec4899);
}

.stat-box:nth-child(3)::before {
    background: linear-gradient(45deg, #22c55e, #10b981, #06b6d4, #22c55e);
}

.stat-box:nth-child(4)::before {
    background: linear-gradient(45deg, #f59e0b, #f97316, #ef4444, #f59e0b);
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(99, 102, 241, 0.2);
}

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

.stat-number-lg {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix-lg {
    font-size: 2.5rem;
    font-weight: 800;
    color: #818cf8;
}

.stat-label-lg {
    display: block;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.team-section {
    padding: 4rem 0;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-member {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 50%;
    margin: 0 auto 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid transparent;
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6366f1, #ec4899, #06b6d4, #6366f1);
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.team-member:hover .team-avatar::before {
    opacity: 1;
}

.team-member h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-row,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
