/* --- VARIÁVEIS --- */
:root {
    --black: #050505;
    --white: #ffffff;
    --gray: #a1a1a1;
    --dark-card: #0f0f0f;
    --line: #262626;
    --accent: linear-gradient(135deg, #7B68EE 0%, #b9aaff 100%);
    --fire-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    --footer-gradient: linear-gradient(90deg, #7B68EE, #da7bee);
    --soft-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

body { 
    background: var(--black); 
    color: var(--white); 
    overflow-x: hidden; 
    padding-bottom: 0;
}

/* --- MENU LIQUID GLASS --- */
.nav-wrapper {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: auto;
    white-space: nowrap;
}

.nav-links { display: flex; position: relative; }

.nav-item {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
    z-index: 2;
    transition: color 0.4s;
}

.nav-item.active { color: var(--black); font-weight: 600; }

.nav-indicator {
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 99px;
    z-index: 1;
    transition: all 0.5s var(--soft-ease);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* --- TIPOGRAFIA --- */
.gradient-text { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-icon { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 24px; }

/* ANIMAÇÃO DO FOGO */
@keyframes fireWiggle {
    0% { transform: rotate(-4deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.1); }
    100% { transform: rotate(-4deg) scale(1); }
}

.fire-icon {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: fireWiggle 2s ease-in-out infinite;
}

section { padding: 120px 8vw; position: relative; }

.alt { 
    background: var(--black); 
    color: var(--white); 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

.badge {
    background: rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--white);
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.1; margin-bottom: 30px; letter-spacing: -1.5px; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 50px; letter-spacing: -0.5px; }

/* --- HERO SECTION --- */
.hero { 
    min-height: 100vh; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    align-items: center; 
    gap: 60px; 
    position: relative;
}

.hero::after {
    content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 104, 238, 0.3), transparent);
}

.hero-content p { font-size: 1.15rem; color: var(--gray); line-height: 1.6; max-width: 520px; }

.actions { display: flex; gap: 24px; align-items: center; }

.visual { 
    position: relative; display: flex; justify-content: center; height: 100%; align-items: center;
}

.logo-main { 
    width: 420px; 
    z-index: 5; 
    filter: drop-shadow(0 0 40px rgba(123, 104, 238, 0.15)); 
    animation: floatLogo 6s ease-in-out infinite;
}

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

/* --- BOTÕES --- */
.btn {
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.primary { 
    background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2);
}
.btn.primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--white); z-index: -1; transition: width 0.4s var(--soft-ease);
}
.btn.primary:hover { color: var(--black); transform: translateY(-3px); border-color: transparent; }
.btn.primary:hover::before { width: 100%; }

.btn.secondary { 
    background: #fff; color: var(--black); border: 1px solid #fff;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}
.btn.secondary:hover { 
    background: #e6e6e6; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

/* --- FUNCIONALIDADES & IMAGENS --- */
.section-split { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; 
}

.text-side { display: flex; flex-direction: column; }
.text-side:hover .feat-card { opacity: 0.4; transform: scale(0.95); filter: blur(2px); }
.text-side .feat-card:hover {
    opacity: 1; transform: scale(1.05) translateX(10px); filter: blur(0);
    background: rgba(255,255,255,0.08); border-color: rgba(123, 104, 238, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feat-card { 
    display: flex; gap: 20px; margin-bottom: 15px; padding: 25px; border-radius: 20px; 
    background: rgba(255,255,255,0.03); border: 1px solid transparent;
    transition: all 0.4s var(--soft-ease); cursor: default; align-items: flex-start;
}
.feat-card h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.feat-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.5; }

/* --- MOCKUP E ANIMAÇÃO DA IMAGEM --- */
.mockup-container {
    background: var(--dark-card);
    padding: 0; 
    border-radius: 24px;
    border: 1px solid var(--line);
    position: relative;
    width: 100%;
    
    /* REMOVIDO: min-height fixa e height 100% */
    /* ADICIONADO: Transição suave de altura */
    transition: height 0.5s var(--soft-ease);
    overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    display: block; /* Garante bloco para altura funcionar */
}

.carousel-wrapper {
    padding: 10px;
    position: relative; /* Volta a ser relative para termos base */
    width: 100%;
    /* Altura será controlada pelo JS no pai */
    z-index: 5; 
}

/* Estilo das imagens */
.bot-img {
    width: 100%;
    height: auto; /* A imagem mantém a proporção, sem cortes */
    
    position: absolute;
    top: 0;
    left: 0;
    
    opacity: 0;
    /* Começa um pouco menor para dar efeito de surgir */
    transform: scale(0.95); 
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 0;
}

/* Estado ativo: visível */
.bot-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    position: relative; /* Truque: A imagem ativa ocupa espaço físico */
}

/* --- COMANDOS --- */
.commands-section {
    position: relative;
    padding-top: 10%;
    padding-bottom: 10%;
}

.commands-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 104, 238, 0.5), transparent);
}

.command-grid { padding-top: 2%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

.command-box {
    background: var(--dark-card); 
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.command-box:hover { 
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    border-color: rgba(123, 104, 238, 0.3);
}

.command-box i{ transition: 1s ease-out; }
.command-box:hover i { transform: scale(1.2) rotate(15deg); }

.cmd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cmd-tag { 
    background: rgba(255,255,255,0.1); 
    color: var(--white); padding: 6px 14px; 
    border-radius: 8px; font-family: monospace; font-weight: bold; font-size: 0.9rem;
}
.command-box p { font-size: 0.95rem; color: var(--gray); line-height: 1.6; }

/* --- CTA --- */
.cta {
    text-align: center;
    background: radial-gradient(circle at center, rgba(123, 104, 238, 0.15) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 150px;
}

.cta h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 20px; max-width: 800px; }
.cta p { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; max-width: 600px; }

/* --- FOOTER (Igual ao da Ativação/Docs) --- */
footer {
    position: relative;
    z-index: 10;
    margin: 80px auto 40px auto; 
    width: fit-content;
    min-width: 300px;
    
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

footer img { width: 24px; height: 24px; border-radius: 5px; }
footer a {
    color: #a1a1a1; text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: color 0.3s ease, transform 0.2s;
}
footer a:hover { color: #ffffff; transform: translateY(-1px); }
footer .sep { color: #444; font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: 1s var(--soft-ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- BOTÃO DISCORD FLUTUANTE --- */
.discord-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 30px;
    z-index: 99999 !important; /* Sempre no topo */
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: transform 0.3s;
}

.discord-float:hover {
    transform: translateY(-5px);
}

.pulse-dot {
    position: absolute;
    top: 13px; right: 13px;
    width: 10px; height: 10px;
    background: #00bcd4;
    border: 2px solid #5865F2;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 188, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0); }
}

/* =========================================
   MEDIA QUERIES (RESPONSIVIDADE OTIMIZADA)
   ========================================= */

@media (max-width: 900px) {
    /* --- AJUSTES GERAIS MOBILE --- */
    section { padding: 80px 6vw; }
    h1 { font-size: 36px; margin-bottom: 20px; }
    h2 { font-size: 28px; }
    p { font-size: 1rem; }

    /* --- MENU MOBILE (FIXO EMBAIXO) --- */
    .nav-wrapper {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 92% !important;
        max-width: 400px;
        padding: 6px;
        background: rgba(15, 15, 15, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 99px;
        display: flex;
        justify-content: center;
        z-index: 1000;
    }
    .nav-item { padding: 10px 18px; font-size: 13px; }

    /* --- HERO MOBILE --- */
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 80px;
        padding-bottom: 60px;
        gap: 30px;
        min-height: auto;
    }
    
    .hero-content { display: flex; flex-direction: column; align-items: center; order: 2; }
    .hero-content p { margin: 0 auto; font-size: 1rem; }
    .actions { flex-direction: column; width: 100%; gap: 12px; }
    .btn { width: 100%; text-align: center; padding: 14px 24px; }
    
    .visual { order: 1; margin-bottom: 20px; }
    .logo-main { width: 180px; margin-top: 0; }

    /* --- FUNCIONALIDADES MOBILE --- */
    .section-split { grid-template-columns: 1fr; gap: 40px; }
    .feat-card { padding: 20px; margin-bottom: 10px; text-align: left; }
    .feat-card:hover { transform: scale(1.02); }
    
    /* --- INFO ROWS MOBILE --- */
    .info-section { gap: 60px; padding: 60px 6vw; }
    .info-row { grid-template-columns: 1fr; text-align: center; gap: 25px; }
    .info-row.reverse { direction: ltr; }
    .info-text h2 { font-size: 24px; }
    .info-text p { font-size: 1rem; }
    
    /* --- COMANDOS MOBILE --- */
    .command-grid { grid-template-columns: 1fr; gap: 20px; }
    .command-box { padding: 25px; }

    /* --- CTA MOBILE --- */
    .cta { padding-bottom: 120px; }
    .cta h2 { font-size: 28px; }

    /* --- FOOTER MOBILE --- */
    footer {
        flex-direction: column;
        border-radius: 24px;
        width: 90%;
        margin: 40px auto 120px auto; /* Espaço para o menu fixo embaixo */
        gap: 12px;
        padding: 20px;
    }
    footer .sep { display: none; }

    /* --- BOTÃO DISCORD MOBILE --- */
    .discord-float {
        bottom: 100px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
        box-shadow: 0 8px 20px rgba(123, 104, 238, 0.3);
    }
}
/* --- NOVAS SEÇÕES ADICIONADAS --- */

/* --- SEÇÃO DE INFORMAÇÕES ALTERNADAS --- */
.info-section {
    padding: 80px 8vw;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-row.reverse {
    direction: rtl;
}

.info-row.reverse .info-text {
    direction: ltr;
}

.info-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.5s var(--soft-ease);
}

.info-image img {
    width: 100%;
    display: block;
}

.info-row:hover .info-image {
    transform: scale(1.02);
}

.info-text h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 20px;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- SEÇÃO DE DIVULGAÇÃO COM PAINEL 3D --- */
.divulgacao-section {
    padding: 100px 8vw;
    text-align: center;
    /* background: ; */
}

.divulgacao-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.panel-3d-wrapper {
    perspective: 1500px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.panel-3d {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.panel-3d-inner {
    background: var(--dark-card);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: rotateX(15deg) rotateY(-10deg) rotateZ(2deg);
    transition: transform 0.6s var(--soft-ease), box-shadow 0.6s var(--soft-ease), border-color 0.4s;
    overflow: hidden;
    position: relative;
    border-color: var(--card-color, rgba(255,255,255,0.1));
}

.panel-3d:hover .panel-3d-inner {
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border-color: var(--card-color);
}

.panel-3d img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform 0.6s var(--soft-ease);
    /* Efeito 3D na imagem também */
    transform: translateZ(20px);
}

.panel-3d:hover img {
    transform: translateZ(40px) scale(1.02);
}

.tag-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #aaa;
}

.btn-mini {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-mini:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.panel-content {
    margin-top: 20px;
    text-align: left;
    padding: 0 10px;
}

.panel-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.panel-content p {
    color: var(--gray);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .info-row, .info-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
    
    .info-row.reverse .info-text {
        order: 2;
    }
    
    .info-image {
        order: 1;
    }
    
    .panel-3d {
        transform: rotateX(10deg) rotateY(-5deg);
    }
}
