:root {
    /* Web 3.0 Palette */
    --bg-dark: #0a0a12;
    --bg-panel: rgba(255, 255, 255, 0.05);
    --primary-neon: #00f3ff; /* Cyan */
    --secondary-neon: #bc13/* Mobile adjustments for sessao1 - raise console and button by ~30px */
@media (max-width: 767px) {
    .scroll-down-button {
        bottom: 100px !important;
    }
    
    .console-container {
        margin-top: -33px !important;
    }
}ple */
    --accent-neon: #4d4dff; /* Blue */
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    
    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --neon-glow: 0 0 10px rgba(0, 243, 255, 0.5);
    
    /* Fonts */
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar Personalizado - Tema Neon */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f3ff, #bc13fe);
    border-radius: 10px;
    border: 2px solid rgba(10, 10, 18, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00f3ff, #9c0cdc);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* Section Management */
section {
    position: relative;
    z-index: 1;
}

section:first-child {
    z-index: 2;
}

/* Ensure sections don't overlap */
#sessao1, #sessao2 {
    position: relative;
    clear: both;
    overflow: visible !important;
}

#sessao3 {
    position: relative;
    clear: both;
    overflow: visible !important;
    margin-top: -150px;
    padding-top: 150px;
}

/* NUCLEAR FIX: Force visible overflow on all wrapper elements */
.flow-section-wrapper,
.cta-section-wrapper {
    overflow: hidden !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

/* Remove any shadows from section 3 that create visible marks */
#sessao3 {
    box-shadow: none !important;
}

#sessao3 * {
    box-shadow: none !important;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.neon-text {
    text-shadow: 0 0 5px var(--primary-neon);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-neon), var(--secondary-neon));
    border: none;
    padding: 12px 24px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--secondary-neon);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Increased z-index */
    opacity: 1;
    transition: opacity 0.5s ease-out;
    backdrop-filter: blur(10px); /* Add blur for better coverage */
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 243, 255, 0.1);
    border-top: 4px solid var(--primary-neon);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: glitch 2s infinite;
}

.loading-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-family: var(--font-mono);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* Mobile adjustments for sessao1 - raise console and button by ~30px */
@media (max-width: 767px) {
    .scroll-down-button {
        bottom: 100px !important;
    }
    
    .console-container {
        margin-top: -33px !important;
    }
}
