/* --- Variáveis Dark Studio --- */
:root {
    --bg-dark: #050505;       /* Preto quase absoluto */
    --primary: #3b82f6;       /* Azul Tech */
    --accent: #8b5cf6;        /* Roxo Neon */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-tech: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: #e2e8f0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Tipografia */
.font-tech { font-family: var(--font-tech); letter-spacing: -1px; }
.ls-2 { letter-spacing: 2px; }
.z-index-2 { position: relative; z-index: 2; }

/* Fundo Grid Tech */
.tech-background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: linear-gradient(var(--glass-border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.3;
}

/* Orbes Brilhantes de Fundo */
.glow-orb {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(120px); z-index: 0; opacity: 0.4;
}
.glow-orb.top-left { top: -200px; left: -200px; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); }
.glow-orb.bottom-right { bottom: -200px; right: -200px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }

/* Logo Box */
.logo-box {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center; color: white;
}

/* Utilitários Glassmorphism */
.bg-glass { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.border-glass { border: 1px solid var(--glass-border); }
.hover-white:hover { background-color: white !important; color: var(--bg-dark) !important; border-color: white !important; }

/* --- Filtros / Abas --- */
.custom-pills .nav-link { color: #94a3b8; transition: all 0.3s ease; }
.custom-pills .nav-link:hover { color: white; }
.custom-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    color: white; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

/* --- Cards de Projetos --- */
.project-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}
.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(59, 130, 246, 0.1); /* Brilho sutil */
}

/* Imagem e Overlay do Botão */
.overlay-hover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px);
    opacity: 0; transition: all 0.3s ease;
}
.project-image:hover .overlay-hover { opacity: 1; }
.project-image img { transition: transform 0.6s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }

/* Tags de Tecnologias */
.tech-tags span {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Animações de Entrada */
.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 1, 0.2, 1) forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }