/* app/static/css/pages/about.css */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Section */
.mission-section {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.mission-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--text-dark);
}

.mission-content p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    color: var(--text-soft);
    line-height: 1.7;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.point {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.point i {
    width: 50px;
    height: 50px;
    background: var(--primary-blue-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.point h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.point p {
    margin: 0;
    font-size: 1rem;
}

/* Mission Visual */
.mission-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 300px;
    overflow: hidden;
}

.card-header {
    background: var(--background);
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.card-dots {
    display: flex;
    gap: var(--space-sm);
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.card-dots span:first-child {
    background: var(--error);
}

.card-dots span:nth-child(2) {
    background: var(--warning);
}

.card-dots span:last-child {
    background: var(--success);
}

.card-content {
    padding: var(--space-xl);
}

.code-line {
    height: 12px;
    background: var(--background);
    border-radius: 6px;
    margin-bottom: var(--space-md);
    animation: pulse 2s ease-in-out infinite;
}

.code-line.short {
    width: 60%;
}

.code-line.medium {
    width: 80%;
}

.code-line:nth-child(2) {
    animation-delay: 0.3s;
}

.code-line:nth-child(3) {
    animation-delay: 0.6s;
}

.code-line:nth-child(4) {
    animation-delay: 0.9s;
}

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

.progress-indicator {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
    border-radius: 3px;
    width: 75%;
    animation: progressFill 2s ease-in-out infinite;
}

@keyframes progressFill {
    0%, 100% { width: 70%; }
    50% { width: 80%; }
}

/* Features Showcase */
.features-showcase {
    padding: var(--space-3xl) 0;
    background: var(--background);
}

.features-showcase h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--text-dark);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.showcase-item {
    background: var(--surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition-normal);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 2rem;
}

.showcase-item h3 {
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.showcase-item p {
    color: var(--text-soft);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.team-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--text-dark);
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.vision-text p {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: var(--text-soft);
    line-height: 1.7;
}

.vision-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.vision-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-soft);
}

.vision-feature i {
    color: var(--success);
    width: 20px;
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.stat-card {
    background: var(--background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.stat-card i {
    width: 40px;
    height: 40px;
    background: var(--primary-blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-card .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-soft);
    text-transform: none;
    letter-spacing: 0;
}

/* CTA Section */
.about-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: white;
    text-align: center;
}

.about-cta h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.about-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .btn-primary {
    background: white;
    color: var(--primary-blue);
}

.about-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.about-cta .btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
/* Academy Section Styles */
.academy-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, rgba(42, 104, 255, 0.1), rgba(124, 97, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.academy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232A68FF' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.academy-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.academy-header h2 {
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.academy-feature {
    background: var(--surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.academy-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.academy-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.academy-feature:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.75rem;
    color: white;
}

.academy-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.partner-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.project-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.streak-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.academy-feature h3 {
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    font-size: 1.25rem;
}

.academy-feature p {
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 0.95rem;
}

.academy-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.stat-number-large {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.5;
}

/* Updated CTA Actions */
.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.about-cta .btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* Update existing styles */
.features-showcase .showcase-item:nth-child(3) p {
    /* Update the language count text */
    content: "Join live coding drills or practice at your own pace with our extensive question library across 30+ languages.";
}

/* Team Section update */
.team-section .vision-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.stat-card:nth-child(1) .stat-number {
    content: "30+";
}

.stat-card:nth-child(2) .stat-number {
    content: "50000+";
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number-large {
        font-size: 2.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .academy-feature {
        padding: var(--space-lg);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}