/* css/components.css - Versão Final Limpa */

/* =========================================
   1. ESTILOS GERAIS E DESKTOP (MANTIDOS)
   ========================================= */
.glass-nav { background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.nav-link { position: relative; transition: all 0.3s ease; }
.nav-link:hover { color: #a855f7; text-shadow: 0 0 10px rgba(168, 85, 247, 0.6); }
.nav-link.active-link { color: #a855f7; text-shadow: 0 0 8px rgba(168, 85, 247, 0.4); }
@media (min-width: 768px) {
    .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 50%; transform: translateX(-50%); background-color: #a855f7; box-shadow: 0 0 8px rgba(168, 85, 247, 0.8); transition: width 0.3s ease; }
    .nav-link:hover::after, .nav-link.active-link::after { width: 100%; }
}
.glass-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; transition: all 0.3s ease; }
@media (hover: hover) {
    .glass-card:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(139, 92, 246, 0.3); transform: translateY(-5px); box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2); }
}
.btn-animate { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-animate:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4); }
.btn-animate-white:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1); }

/* =========================================
   2. CENA HOLOGRÁFICA (3D) - DESKTOP PADRÃO (MANTIDO)
   ========================================= */
.holo-scene { perspective: 1500px; width: 100%; height: 500px; display: flex; align-items: center; justify-content: center; margin-top: 20px; }
.holo-stack { position: relative; width: 420px; height: 300px; transform-style: preserve-3d; transform: rotateX(20deg) rotateY(-25deg) rotateZ(5deg); animation: holo-float 8s ease-in-out infinite; }
@media (hover: hover) {
    .holo-scene:hover .holo-stack { animation-play-state: paused; transform: rotateX(10deg) rotateY(-15deg) rotateZ(5deg) scale(1.05); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
.holo-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 16px; background: rgba(20, 20, 20, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 0 30px rgba(139, 92, 246, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05); transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1); display: flex; flex-direction: column; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translate3d(0,0,0); }
.bg-tech-pattern { background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 8px 8px; }
.card-top { transform: translateZ(60px) translateY(-85px) translateX(-55px); background: linear-gradient(135deg, rgba(30, 30, 40, 0.98), rgba(20, 20, 30, 0.98)); border: 1px solid rgba(236, 72, 153, 0.6); z-index: 3; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.card-middle { transform: translateZ(0px); background: linear-gradient(135deg, rgba(25, 25, 35, 0.98), rgba(15, 15, 25, 0.98)); border: 1px solid rgba(139, 92, 246, 0.6); z-index: 2; }
.card-bottom { transform: translateZ(-60px) translateY(85px) translateX(55px); background: linear-gradient(135deg, rgba(15, 15, 25, 0.98), rgba(5, 5, 15, 0.98)); border: 1px solid rgba(59, 130, 246, 0.6); z-index: 1; }
@media (hover: hover) {
    .holo-scene:hover .card-top { border-color: rgba(236, 72, 153, 0.8); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.3); }
    .holo-scene:hover .card-middle { border-color: rgba(139, 92, 246, 0.7); }
    .holo-scene:hover .card-bottom { border-color: rgba(59, 130, 246, 0.7); }
}
.card-header { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-family: 'Space Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.card-body { padding: 16px; flex: 1; font-family: 'Space Mono', monospace; font-size: 12px; line-height: 1.6; color: #a0aec0; display: flex; flex-direction: column; -webkit-font-smoothing: subpixel-antialiased; }

/* =========================================
   3. SISTEMA DE ABAS E UTILITÁRIOS (MANTIDO)
   ========================================= */
.tab-btn { position: relative; padding: 12px 24px; color: #94a3b8; font-weight: 600; transition: all 0.3s ease; background: transparent; border: none; cursor: pointer; }
.tab-btn:hover, .tab-btn.active { color: #fff; }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #8b5cf6, #3b82f6); border-radius: 3px 3px 0 0; box-shadow: 0 -2px 10px rgba(139, 92, 246, 0.5); }
.tab-content { display: none; animation: fadeIn 0.5s ease-out forwards; }
.tab-content.active { display: block; }
#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 10000; }
.toast { background: rgba(20, 20, 20, 0.95); border: 1px solid rgba(139, 92, 246, 0.3); color: #fff; padding: 16px 24px; border-radius: 12px; margin-top: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 12px; backdrop-filter: blur(10px); animation: slideIn 0.3s ease-out forwards; min-width: 300px; }
.toast.hiding { animation: slideOut 0.3s ease-in forwards; }
.toast i { color: #8b5cf6; font-size: 1.2rem; }
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: rgba(139, 92, 246, 0.2); backdrop-filter: blur(5px); border: 1px solid rgba(139, 92, 246, 0.5); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; z-index: 50; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; pointer-events: none; }
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }

/* =========================================
   4. RESPONSIVIDADE (MOBILE) - LIMPO
   ========================================= */

@media (max-width: 768px) {
    /* NOTA: Os estilos dos cards 3D foram removidos desta seção mobile 
       porque eles estão ocultos no HTML com a classe 'hidden'.
       Isso garante que o layout fique limpo e centralizado como na imagem de referência.
    */

    /* UI GERAL MOBILE (Mantido apenas o essencial) */
    #toast-container { 
        width: 90%; 
        left: 50%; 
        transform: translateX(-50%); 
        bottom: 20px; 
    }
    
    #back-to-top { 
        bottom: 20px; 
        right: 20px; 
        width: 40px; 
        height: 40px; 
        background: rgba(139, 92, 246, 0.9); 
    }
}