/* =========================================
   1. VARIÁVEIS E RESET
   ========================================= */
:root {
    --primary: #00f3ff; /* Ciano */
    --secondary: #bc13fe; /* Roxo */
    --dark-bg: #050510;
    --panel-bg: rgba(20, 20, 35, 0.95);
    --font-main: 'Segoe UI', Roboto, sans-serif;
    --font-tech: 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

body.noscroll { overflow: hidden; height: 100vh; }

/* =========================================
   2. ONBOARDING (INTRODUÇÃO)
   ========================================= */
#intro-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px; overflow-y: auto;
}

.intro-step {
    display: none; flex-direction: column; align-items: center; text-align: center;
    width: 100%; max-width: 800px; animation: fadeIn 0.5s ease;
}
.intro-step.active { display: flex; }

.intro-logo { font-size: 2.5rem; font-weight: bold; color: var(--primary); letter-spacing: 4px; margin-bottom: 10px; }
.intro-title { font-size: 1.8rem; color: #fff; margin-bottom: 30px; }

/* VÍDEO 9:16 (Vertical Pequeno) */
.ai-video-container {
    width: 100%; max-width: 320px; /* Tamanho de celular */
    aspect-ratio: 9 / 16;
    border: 2px solid var(--primary); border-radius: 20px;
    overflow: hidden; background: #000; margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    position: relative;
}
.ai-video-container video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* DIGITAÇÃO */
#typing-container {
    font-family: var(--font-tech); color: var(--primary); font-size: 1.2rem;
    height: 30px; margin-bottom: 20px; display: none;
}
.cursor { display: inline-block; width: 8px; height: 18px; background: var(--primary); animation: blink 0.8s infinite; }

/* BOTÃO FINALIZAR (Trava) */
#btn-finalize {
    opacity: 0; pointer-events: none;
    background: linear-gradient(45deg, #00ff00, #005500);
    color: #fff; padding: 15px 50px; font-size: 1rem; border: none; border-radius: 50px; 
    font-weight: bold; letter-spacing: 2px; transition: all 1s ease; transform: translateY(20px);
}
#btn-finalize.visible { opacity: 1; pointer-events: all; transform: translateY(0); box-shadow: 0 0 20px #00ff00; cursor: pointer; }

/* SELETORES */
.selector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; width: 100%; margin-bottom: 30px; }
.btn-option {
    background: rgba(255,255,255,0.05); border: 1px solid #333; color: #aaa;
    padding: 20px; font-weight: bold; cursor: pointer; transition: 0.3s; border-radius: 8px;
}
.btn-option:hover, .btn-option.selected {
    border-color: var(--primary); color: #fff; background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.action-bar { width: 100%; display: flex; justify-content: flex-end; margin-top: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.action-bar.visible { opacity: 1; pointer-events: all; }
.btn-next {
    background: linear-gradient(45deg, var(--secondary), var(--primary)); border: none; color: #000; 
    padding: 12px 40px; font-weight: bold; cursor: pointer; border-radius: 30px; font-size: 1rem; transition: 0.3s;
}
.btn-next:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--primary); }

/* REDES SOCIAIS & TERMOS */
.social-list { list-style: none; width: 100%; max-width: 400px; text-align: left; }
.social-list li {
    background: rgba(255,255,255,0.05); padding: 15px; margin-bottom: 10px; border-radius: 8px;
    display: flex; align-items: center; gap: 10px; border: 1px solid #333; transition: 0.3s;
}
.social-list li:hover { border-color: var(--secondary); transform: translateX(10px); }

.terms-box {
    background: rgba(0,0,0,0.5); border: 1px solid #444; padding: 20px; height: 200px; overflow-y: auto; 
    text-align: left; margin-bottom: 20px; font-size: 0.9rem; color: #ccc; border-radius: 5px;
}

/* =========================================
   3. LAYOUT GERAL
   ========================================= */
.page-wrapper { padding-top: 60px; min-height: 100vh; }

#traffic-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 50px;
    background: rgba(5, 5, 15, 0.98); border-bottom: 1px solid var(--primary);
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 2000; backdrop-filter: blur(10px);
}
.live-dot { width: 8px; height: 8px; background: #0f0; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px #0f0; animation: pulse 1.5s infinite; }
.traffic-text span { color: var(--primary); font-weight: bold; }
.hud-clock { font-family: var(--font-tech); text-align: right; display: flex; gap: 15px; font-size: 0.8rem; }

.mobile-nav {
    position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: #0a0a15; 
    border-right: 1px solid #333; z-index: 1500; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 80px;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.nav-link { display: block; padding: 15px 25px; color: #ccc; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); }

.main-header {
    position: sticky; top: 50px; z-index: 1000; background: rgba(5, 5, 10, 0.9); backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.hamburger span { display: block; width: 30px; height: 3px; background: var(--primary); margin-bottom: 5px; }
.logo { font-size: 1.5rem; font-weight: bold; color: #fff; text-decoration: none; }

.hero-section { height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('../assets/imagens/6biltis-hero.png') center/cover no-repeat; filter: brightness(0.3); z-index: -1;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 10px; text-shadow: 0 0 10px var(--primary); }

.card { background: var(--panel-bg); border: 1px solid #333; padding: 20px; border-radius: 10px; margin-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 40px 0; }

/* FUNDADORES (SOBRE) */
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.founder-card { text-align: center; background: rgba(255,255,255,0.03); padding: 20px; border-radius: 15px; border: 1px solid #333; }
.founder-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin-bottom: 15px; }

/* ASSISTENTE VIRTUAL */
.assistant-widget { position: fixed; bottom: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; align-items: flex-end; }
.assistant-avatar {
    width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--primary);
    overflow: hidden; cursor: pointer; box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transition: transform 0.3s; background: #000;
}
.assistant-avatar:hover { transform: scale(1.1); }
.assistant-avatar img { width: 100%; height: 100%; object-fit: cover; }

.assistant-modal {
    background: var(--panel-bg); border: 1px solid var(--primary); padding: 15px;
    border-radius: 15px 15px 0 15px; margin-bottom: 10px; width: 280px; display: none; text-align: left;
    animation: popIn 0.3s ease;
}
.assistant-modal.open { display: block; }
.assistant-btn {
    display: block; width: 100%; padding: 10px; margin-bottom: 5px; background: rgba(255,255,255,0.1);
    border: none; color: #fff; text-align: left; cursor: pointer; border-radius: 5px; font-size: 0.9rem;
}
.assistant-btn:hover { background: var(--primary); color: #000; }

footer { text-align: center; padding: 30px; background: #020205; border-top: 1px solid #333; color: #666; font-size: 0.8rem; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 768px) { .desktop-menu, .hud-location { display: none; } }