/* Estilos específicos para a página de Recursos */

.performance-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary-black) 100%);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.performance-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--neon-purple);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.performance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--matrix-green);
}

.performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.performance-card:hover::before {
    left: 100%;
}

.performance-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 2s ease-in-out infinite;
}

.performance-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.improvement-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-item .stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--matrix-green);
    text-shadow: 0 0 15px var(--matrix-green);
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.performance-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-category:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
    transform: translateY(-5px);
}

.feature-category h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.8rem 0;
    color: var(--white);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--matrix-green);
    padding-left: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Compatibility Section */
.compatibility-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a2e 100%);
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.compatibility-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.compatibility-item:hover {
    border-color: var(--matrix-green);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.compatibility-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--matrix-green);
}

.compatibility-item ul {
    list-style: none;
}

.compatibility-item li {
    padding: 0.5rem 0;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.compatibility-item li:hover {
    color: var(--matrix-green);
    padding-left: 1rem;
}

/* Benchmarks Section */
.benchmarks-section {
    padding: 6rem 0;
    background: var(--primary-black);
}

.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benchmark-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--neon-pink);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.benchmark-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 128, 0.3);
    border-color: var(--gold);
}

.benchmark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.benchmark-card:hover::before {
    left: 100%;
}

.benchmark-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.benchmark-stats {
    margin-bottom: 1rem;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.before, .after {
    text-align: center;
    flex: 1;
}

.before .label, .after .label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.before .fps, .after .fps {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
}

.before .fps {
    color: #ff4444;
    text-shadow: 0 0 15px #ff4444;
}

.after .fps {
    color: var(--matrix-green);
    text-shadow: 0 0 15px var(--matrix-green);
}

.arrow {
    font-size: 2rem;
    color: var(--gold);
    animation: pulse 1s ease-in-out infinite;
}

.improvement {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--gold);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary-black) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-purple);
    text-shadow: 0 0 20px var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-purple), var(--electric-blue));
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    animation: glow 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    color: var(--white);
    text-decoration: none;
}

/* Navbar active state */
.nav-links a.active {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .compatibility-grid {
        grid-template-columns: 1fr;
    }
    
    .benchmarks-grid {
        grid-template-columns: 1fr;
    }
    
    .improvement-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .before-after {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .performance-card,
    .feature-category,
    .compatibility-item,
    .benchmark-card {
        padding: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .before .fps, .after .fps {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}
