:root {
    --primary: #00a8cc; /* Um azul mais brilhante para contrastar com o escuro */
    --secondary: #005f73;
    --accent: #0a9396;
    --success: #94d2bd;
    --dark-bg: #0b0f19; /* Um preto azulado profundo */
    --dark-surface: #161b22;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--dark-bg);
    color: #e6edf3;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

.main-container {
    overflow: visible !important;
}

/* Glassmorphism Permanente para modo escuro */
.glass {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animações Avançadas */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.animate-fade-in {
    animation: fade-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-fade-out {
    animation: fade-out 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

.hero-mesh {
    background: linear-gradient(-45deg, #0b0f19, #003366, #005f73, #001219);
    background-size: 400% 400%;
    animation: mesh-gradient 15s ease infinite;
}

.hero-gradient {
    background: linear-gradient(135deg, #003366 0%, #005f73 50%, #0a9396 100%);
    transition: background-image 0.5s ease-in-out;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Premium */
.card-premium {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: var(--dark-surface);
}

.card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}

.card-premium:hover::after {
    left: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0f19;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent));
    border-radius: 5px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 6s ease-in-out infinite;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--dark-bg);
}

.mobile-menu:not(.hidden) {
    transform: translateX(0);
}
/* Instagram Brand Gradient */
.instagram-gradient {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
