body { 
    font-family: 'Inter', sans-serif; 
    margin: 0;
}

html, body {
    min-height: 100%;
    background-color: #0f172a;
    scroll-behavior: smooth;
}

.glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efeito de Flutuar nos Cards */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.card-hover:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.5) !important;
}

/* Fundo Animado */
.bg-gradient-animate {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0f172a, #1e1b4b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header, section {
    position: relative;
    z-index: 10;
}
/* Aproxima as seções */
header + section {
    margin-top: -5vh; /* Puxa o "Sobre" um pouco para cima */
}

/* Animação suave para os glows de fundo */
@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

/* Melhoria no título */
h1 {
    letter-spacing: -0.02em;
    line-height: 1.1 !important;
}
/* Ajuste de Proporção e Tipografia */
header {
    padding-top: 60px;
}

h1 {
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Evita quebras de linha em telas grandes */
@media (min-width: 1024px) {
    .hero-title {
        white-space: nowrap;
    }
}

/* Manchas de luz ao fundo (Glows) */
.glow-1 {
    top: 20%;
    left: 15%;
    background: rgba(59, 130, 246, 0.15);
}

.glow-2 {
    bottom: 20%;
    right: 15%;
    background: rgba(16, 185, 129, 0.15);
}

.glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-bounce {
    animation: bounce ease-in-out infinite;
}