/* About Page Specific Styles */

/* Ajustes para seções movidas para a página sobre */
.about-section .stats-section,
.about-section .testimonials-section {
    margin: 4rem 0;
    padding: 3rem 0;
}

/* Stats Section na página sobre */
.about-section .stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    padding: 4rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section .stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-section .stats-section .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-section .stats-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.about-section .stats-section .stats-container {
    max-width: 1040px;
    margin: 0 auto;
    gap: 1.5rem;
}

.about-section .stats-section .stat-item {
    min-height: 390px;
    padding: 2.25rem 2rem 2rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(102, 126, 234, 0.14);
    justify-content: flex-start;
}

.about-section .stats-section .stat-item::before {
    width: 4px;
    opacity: 1;
    background: linear-gradient(to bottom, #4f8bff 0%, #7c3aed 100%);
}

.about-section .stats-section .stat-icon {
    position: static;
    margin: 0 0 1.5rem;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4f8bff 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 1.45rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .stats-section .stat-icon i {
    color: inherit;
}

.about-section .stats-section .stat-number-wrapper {
    margin-bottom: 1rem;
}

.about-section .stats-section .stat-number {
    color: #667eea;
    font-size: 3.2rem;
    margin-bottom: 0;
}

.about-section .stats-section .stat-plus {
    color: #7aa2ff;
    font-size: 2rem;
    right: -1rem;
    top: 0.15rem;
}

.about-section .stats-section .stat-title {
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.about-section .stats-section .stat-description {
    color: #64748b;
    opacity: 1;
    margin-bottom: 0;
}

.about-section .community-features .feature-content h4 {
    color: #2d3748;
}

.about-section .community-features .feature-content p {
    color: #718096;
}

.about-section .community-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-section .community-cta {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.95), rgba(131, 56, 236, 0.95));
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 18px 40px rgba(102, 126, 234, 0.18);
}

.about-section .community-cta h3 {
    color: #111827;
    font-weight: 700;
}

.about-section .community-cta p {
    color: rgba(255, 255, 255, 0.96);
}

.about-section .community-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-section .about-cta {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 40%, #1a2332 100%);
    border: 1px solid rgba(0, 255, 65, 0.15);
}

.about-section .about-cta .cta-background-pattern {
    opacity: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.about-section .about-cta .cta-content {
    position: relative;
    z-index: 2;
}

.about-section .about-cta .cta-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    color: #00ff41;
}

.about-section .about-cta h4 {
    background: linear-gradient(135deg, #ffffff, #00ff41);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section .about-cta p {
    color: #b0bec5;
}

.about-section .about-cta .cta-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-section .about-cta .highlight-item {
    color: #cfd8dc;
}

.about-section .about-cta .highlight-item i {
    color: #00ff41;
}


/* Testimonials na página sobre */
.about-section .testimonials-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    margin: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section .testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: testimonialsBg 20s linear infinite;
}

@keyframes testimonialsBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-section .testimonials-section .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-section .testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.about-section .testimonials-section .testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Espaçamento geral para seções */
.about-section > div:not(:last-child) {
    margin-bottom: 4rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .about-section .stats-section,
    .about-section .testimonials-section {
        margin: 2rem 0;
        padding: 2rem 1rem;
    }

    .about-section .stats-section .stat-item {
        min-height: 0;
        padding: 2rem 1.5rem;
    }

    .about-section .about-cta .cta-highlights {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .about-section .stats-section,
    .about-section .testimonials-section {
        margin: 1.5rem 0;
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }
}

/* Animações específicas */
.about-section .stat-item,
.about-section .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .stat-item:hover,
.about-section .testimonial-card:hover {
    background: white !important;
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about-section .stat-item:hover::before {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color)) !important;
    width: 5px;
    opacity: 1 !important;
}

.about-section .stat-item:hover .stat-number,
.about-section .stat-item:hover .stat-plus {
    color: #667eea !important;
}

.about-section .stat-item:hover .stat-title {
    color: var(--dark-color) !important;
}

.about-section .stat-item:hover .stat-description {
    color: #64748b !important;
}

.about-section .stat-item:hover .stat-icon {
    color: #ffffff !important;
}

/* Melhorias visuais */
.about-section .section-header {
    position: relative;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Loading states */
.about-section [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-section [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {
    .about-section .stats-section,
    .about-section .testimonials-section {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }
}
