html { scroll-behavior: smooth; }

body {
    background-color: #05070d;
    color: #e2e8f0;
}

.bg-scene {
    position: fixed; inset: 0; z-index: -10; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 15% 0%, rgba(37,99,235,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 85% 100%, rgba(16,185,129,0.07) 0%, transparent 55%),
        linear-gradient(180deg, #05080f 0%, #05070d 45%, #060a14 100%);
}
.bg-scene::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
    opacity: .5;
}

.particle { position: absolute; border-radius: 50%; pointer-events: none; animation: float-particle linear infinite; }
@keyframes float-particle {
    0%   { transform: translateY(0) scale(1); opacity: .8; }
    100% { transform: translateY(-140px) scale(.3); opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn-primary {
    display: inline-flex; align-items: center; gap: .6rem;
    background: linear-gradient(135deg,#2563eb,#4f46e5);
    color: #fff; font-weight: 700; transition: all .3s;
    box-shadow: 0 0 30px rgba(59,130,246,.3);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 40px rgba(59,130,246,.5); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: .6rem;
    border: 1px solid rgba(255,255,255,.2); color: #cbd5e1;
    font-weight: 600; transition: all .3s;
}
.btn-secondary:hover { border-color: rgba(34,197,94,.5); color: #4ade80; background: rgba(34,197,94,.05); transform: translateY(-2px); }

.glow-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.glow-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(34,197,94,.12); border-color: rgba(34,197,94,.4); }

.icon-float { animation: icon-float 4s ease-in-out infinite; }
@keyframes icon-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.nav-underline { position: relative; }

/* Cabecalho mobile: fundo solido, sem transparencia nem blur.
   Garante que o conteudo nunca apareca por tras da barra ao rolar. */
.header-mobile {
    background-color: #05070d !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}

#mobileMenu {
    background-color: #05070d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
