@tailwind base;
@tailwind components;
@tailwind utilities;

/* Efeitos Globais e Classes Utilitárias */

.gradient-text {
    background: linear-gradient(135deg, #06b6d4, #10b981, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ero-glow-text {
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.4)) drop-shadow(0 0 40px rgba(6, 182, 212, 0.2));
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(6, 182, 212, 0.1); }
    50% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.5), 0 0 60px rgba(6, 182, 212, 0.2); }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Animações Iniciais via JS (Intersection Observer) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(-40px);
    animation: slide-right 0.8s forwards 0.2s;
}
.anim-slide-left {
    opacity: 0;
    transform: translateX(40px);
    animation: slide-left 0.8s forwards 0.4s;
}

@keyframes slide-right {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-left {
    to { opacity: 1; transform: translateX(0); }
}

/* Delays para os cards */
.anim-delay-1 { transition-delay: 0s; }
.anim-delay-2 { transition-delay: 0.15s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.45s; }

/* Constelação Hover - O canvas controla isso mas garantimos o ponteiro do mouse */
#constellation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto; /* Permite interagir com as partículas */
}
.relative.z-10 {
    pointer-events: none; /* Deixa o mouse passar para o fundo */
}
.relative.z-10 * {
    pointer-events: auto; /* Reativa cliques nos elementos filhos (botões, inputs) */
}