/* ========== RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #000; font-family: 'Arial', sans-serif; color: #fff; overflow-x: hidden; }

/* ========== HERO ========== */
.hero-allaccess {
    background: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 20px 20px 20px;
}

/* FUNDO */
#tsparticles { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; background: #000; }
#particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ========== D DE PARTÍCULAS CIBERNÉTICAS (VIVO, COM GLOW E CORRIGIDO) ========== */
.d-particle, .d-wave {
    display: none !important;
}

.notebook-wrap {
    position: relative; /* Garante que elementos filhos absolutos sigam o notebook */
}

@keyframes milEfeitosDevClub {
    0% { filter: brightness(3.0) contrast(1.6) drop-shadow(0 0 25px #00ff88) drop-shadow(0 0 60px #00ff88); }
    33% { filter: brightness(3.0) contrast(1.6) drop-shadow(0 0 25px #00aaff) drop-shadow(0 0 60px #00aaff); }
    66% { filter: brightness(3.5) contrast(1.8) drop-shadow(0 0 25px #ffffff) drop-shadow(0 0 60px #00ff88); }
    100% { filter: brightness(3.0) contrast(1.6) drop-shadow(0 0 25px #00ff88) drop-shadow(0 0 60px #00ff88); }
}

@keyframes rodarEAtravessarTotal {
    0% { left: 15%; transform: translate(-50%, -50%) scale(1.5) rotate(0deg); }
    25% { left: 85%; transform: translate(-50%, -50%) scale(2.0) rotate(180deg); }
    50% { left: 85%; transform: translate(-50%, -50%) scale(1.7) rotate(360deg); }
    75% { left: 15%; transform: translate(-50%, -50%) scale(2.0) rotate(540deg); }
    100% { left: 15%; transform: translate(-50%, -50%) scale(1.5) rotate(720deg); }
}

.d-particle-container {
    position: fixed !important;
    top: 45% !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 35 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    mix-blend-mode: screen !important;
    
    /* Força o navegador a usar aceleração de hardware pura para não travar */
    will-change: transform, left, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    
    animation: rodarEAtravessarTotal 14s ease-in-out infinite, milEfeitosDevClub 5s linear infinite !important;
}

.d-particle-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Quando o mouse entra, o container vai para a direita do notebook */
.d-particle-container.invertido {
    left: 115%; 
    transform: translate(0, -50%);
}

.d-particle-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#canvas-d-particles {
    width: 100%;
    height: 100%;
}

/* ========== TEXTOS SUPERIORES ORGANIZADOS ========== */
.content-wrapper {
    position: relative;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-top: -300px;
    margin-bottom: 20px;
}

.titulo-allaccess {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 30px rgba(0,255,136,0.5);
    line-height: 1.15;
}

.titulo-allaccess span {
    display: inline-block;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0,255,136,0.9);
}

.sub-allaccess {
    color: #cbd5e1;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    max-width: 750px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* ========== NOTEBOOK TRANSPARENTE E INTERATIVO DE PONTA ========== */
.notebook-wrap {
    position: relative;
    z-index: 10;
    width: 480px;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.2;
    filter: drop-shadow(0 0 5px rgba(0,255,136,0.05));
}

.notebook-wrap:hover {
    opacity: 1;
    transform: scale(1.04);
    filter: drop-shadow(0 0 40px rgba(0,255,136,0.9)) drop-shadow(0 0 80px rgba(0,170,255,0.7));
}

/* TIRA TUDO DA TELA DO NOTE */
.screen {
    position: absolute;
    top: 7.8%;
    left: 12.6%;
    width: 74.8%;
    height: 71.5%;
    border-radius: 6px;
    background: transparent !important;
    overflow: visible !important;
}

.slider, 
.slide, 
.slide-info, 
.slide-info-centro,
.slide-central { 
    display: none !important; 
}

/* CONTAINER DAS PARTÍCULAS CIBERNÉTICAS */
.cyber-burst-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 99;
}

.cyber-particle {
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(circle, #ffffff 0%, #00ff88 40%, #00aaff 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00aaff, 0 0 45px #ffffff;
    animation: ultraBurst 0.8s cubic-bezier(0.05, 0.9, 0.1, 1) forwards;
}

@keyframes ultraBurst {
    0% {
        transform: translate(0, 0) scale(2);
        opacity: 1;
    }
    100% {
        transform: translate(var(--dx), var(--dy)) scale(0.1);
        opacity: 0;
    }
}

/* ========== IAS ORBITANDO TRANSPARENTES ========== */
.ia-icons {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 0; 
    height: 0;
    z-index: 8;
    pointer-events: auto;
}

.ia-link {
    position: absolute;
    display: block;
    animation: orbitar 20s linear infinite;
    opacity: 0.25;
    transition: 0.3s;
}

.ia-link:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px #00ff88);
}

.ia-icon {
    width: 55px; 
    height: 55px; 
    border-radius: 50%;
    border: 2px solid #00ff88;
    padding: 6px;
    object-fit: contain;
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(3px);
}

@keyframes orbitar { 
    from { transform: rotate(0deg) translateX(300px) rotate(0deg); } 
    to { transform: rotate(360deg) translateX(300px) rotate(-360deg); } 
}

.ia1 { animation-delay: 0s; } 
.ia2 { animation-delay: 4s; } 
.ia3 { animation-delay: 8s; } 
.ia4 { animation-delay: 12s; } 
.ia5 { animation-delay: 16s; }

/* ========== BOTOES + ALUNOS NA MESMA LINHA ========== */
.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.botoes-duplos {
    display: flex;
    gap: 15px;
}

.btn-verde {
    background: #00ff88;
    color: #000;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 25px rgba(0,255,136,0.9), 0 0 50px rgba(0,255,136,0.5);
    white-space: nowrap;
}

.btn-verde:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0,255,136,1), 0 0 80px rgba(0,255,136,0.6);
}

.btn-preto {
    background: rgba(0,0,0,0.3);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #555;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    white-space: nowrap;
}

.btn-preto:hover {
    border-color: #00ff88;
    color: #00ff88;
    background: rgba(0,255,136,0.1);
    transform: translateY(-3px);
}

.social-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #00ff88;
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,255,136,0.7);
    transition: 0.3s;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.avatar-stack img:hover {
    transform: scale(1.1);
    z-index: 10;
}

.social-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
}

.social-text strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

/* ========== CARROSSEL CORRIGIDO ========== */
.carousel-wrapper {
    width: 100vw;
    overflow: hidden;
    padding: 10px 0;
    background: rgba(0,0,0,0.2);
    margin-top: 20px;
    position: relative;
    z-index: 20;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    animation: scroll 12s linear infinite;
}

.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

.logo-item {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: 0.3s;
    position: relative;
    z-index: 25;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.15);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== CONTADOR E ANIMAÇÕES ========== */
.contador {
    display: inline-block;
    transition: transform 0.15s ease, opacity 0.15s ease, text-shadow 0.3s ease;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.contador.mudando {
    transform: translateY(-3px) scale(1.08);
    opacity: 0.7;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.9);
}

@keyframes flashAndGrow {
    0% {
        transform: scale(1);
        color: #00ff88;
        text-shadow: 0 0 10px #00ff88;
    }
    50% {
        transform: scale(1.2);
        color: #ffffff;
        text-shadow: 0 0 25px #ffffff, 0 0 40px #00ff88;
    }
    100% {
        transform: scale(1);
        color: #00ff88;
        text-shadow: 0 0 10px #00ff88;
    }
}

.contador-animando {
    display: inline-block;
    animation: flashAndGrow 0.15s linear; 
}

.social-text-animando {
    animation: flashAndGrow 0.15s linear;
}

.cyber-matrix-explosion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

@keyframes flyAcross {
    0% {
        transform: translate(0, 0) scale(0.3) rotate(0deg);
        opacity: 1;
        filter: drop-shadow(0 0 2px #00ff88);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px #00ff88);
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1.6) rotate(var(--rot));
        opacity: 0;
        filter: drop-shadow(0 0 25px #00ff88);
    }
}

.data-fragment {
    position: absolute;
    font-family: monospace;
    font-weight: 900;
    color: #00ff88;
    font-size: 18px;
    animation: flyAcross 1.2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes incendiarRedor {
    0% {
        box-shadow: 0 0 5px #00ff88, inset 0 0 5px #00ff88;
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 50px 15px #00ff88, 0 0 100px 30px rgba(0, 255, 136, 0.6);
        filter: brightness(1.8) contrast(1.3);
    }
    100% {
        box-shadow: 0 0 15px #00ff88;
        filter: brightness(1);
    }
}

.social-wrapper.incendio-ativo {
    animation: incendiarRedor 1.5s ease-in-out;
}

/* ========== REMOÇÃO DE ELEMENTOS ROXOS/MAGENTA ANTIGOS ========== */
.elementos-decorativos-fundo,
[class*="purple"],
[class*="magenta"] {
    display: none !important;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 900px) {
    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }
    .social-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .social-text { text-align: center; }
    .notebook-wrap { width: 90%; }
    .ia-icon { width: 45px; height: 45px; }
}

@media (max-width: 768px) {
    .notebook-wrap {
        max-width: 92%;
        margin: 20px auto;
    }
    :root { --raio: 55px; }
    @keyframes orbitar-note {
        from { transform: rotate(0deg) translateX(var(--raio)) rotate(0deg); }
        to { transform: rotate(360deg) translateX(var(--raio)) rotate(-360deg); }
    }
    .ia1 { transform: rotate(0deg) translateX(var(--raio)) rotate(0deg); }
    .ia2 { transform: rotate(72deg) translateX(var(--raio)) rotate(-72deg); }
    .ia3 { transform: rotate(144deg) translateX(var(--raio)) rotate(-144deg); }
    .ia4 { transform: rotate(216deg) translateX(var(--raio)) rotate(-216deg); }
    .ia5 { transform: rotate(288deg) translateX(var(--raio)) rotate(-288deg); }

    .hero-section, .sua-classe-container-pai {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        position: relative !important;
        padding: 20px 0 !important;
    }

    .notebook-wrap {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .notebook-wrap img {
        width: 95% !important;
        max-width: 380px !important;
        height: auto !important;
        display: block !important;
    }

    .content-wrapper {
        position: static !important;
        transform: none !important;
        margin-top: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .titulo-allaccess {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .sub-allaccess {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .botoes-duplos {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .botoes-duplos a {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .social-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .avatar-stack {
        display: flex !important;
        justify-content: center !important;
    }

    .social-text {
        font-size: 0.7rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 400px) {
    :root { --raio: 48px; }
    .ia-icon { width: 42px; height: 42px; }
    .titulo-allaccess { font-size: 1.7rem; }
    .sub-allaccess { font-size: 0.9rem; }
}
/* Container das IAs orbitando */
.ia-icons {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 0; 
    height: 0;
    z-index: 50;
    pointer-events: none;
    animation: orbitarContainer 20s linear infinite;
}

@keyframes orbitarContainer { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* Pausa a órbita inteira se qualquer ícone for focado/hovered */
.ia-icons:has(.ia-link:hover) {
    animation-play-state: paused !important;
    transition: animation 0.3s ease;
}

.ia-link {
    position: absolute;
    display: block;
    pointer-events: auto !important;
    animation: iaPulseEffect 2s infinite ease-in-out;
    opacity: 0.85;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

/* Distribuição das IAs */
.ia1 { transform: rotate(0deg) translateX(300px) rotate(0deg); } 
.ia2 { transform: rotate(72deg) translateX(300px) rotate(-72deg); } 
.ia3 { transform: rotate(144deg) translateX(300px) rotate(-144deg); } 
.ia4 { transform: rotate(216deg) translateX(300px) rotate(-216deg); } 
.ia5 { transform: rotate(288deg) translateX(300px) rotate(-288deg); }

@keyframes iaPulseEffect {
    0%, 100% { filter: brightness(0.9) drop-shadow(0 0 6px rgba(0, 255, 136, 0.3)); }
    50% { filter: brightness(1.5) drop-shadow(0 0 16px rgba(0, 255, 136, 0.9)); }
}

.ia-icon {
    width: 55px; 
    height: 55px; 
    border-radius: 50%;
    border: 2px solid #00ff88;
    padding: 6px;
    object-fit: contain;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(4px);
}

/* Efeito maluco no Hover: Super brilho, escala e alerta visual */
.ia-link:hover {
    transform: scale(1.5) !important;
    filter: brightness(2.8) drop-shadow(0 0 30px #00ff88) drop-shadow(0 0 60px #ff0055) !important;
    z-index: 99999 !important;
}

/* Alerta visual flutuante "maluco" que aparece ao encostar na IA */
.ia-link:hover::after {
    content: "⚡ ACESSANDO IA GLOBAL...";
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 136, 0.9);
    color: #000;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 0 20px #00ff88;
    animation: alertaPulsando 0.2s infinite alternate;
    pointer-events: none;
    z-index: 100000;
}

@keyframes alertaPulsando {
    from { transform: translateX(-50%) scale(1); filter: brightness(1); }
    to { transform: translateX(-50%) scale(1.1); filter: brightness(1.3); }
}
/* ========== TAMANHO PADRÃO IDÊNTICO EM TODAS AS TELAS ========== */

/* Defina o tamanho exato da imagem do avatar aqui. 
   Isso valerá para desktop e mobile. */
.ia-icon {
    width: 55px; /* Seu tamanho original */
    height: 55px;
    border-radius: 50%;
    border: 2px solid #00ff88;
    padding: 6px;
    object-fit: contain;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(4px);
    /* NOTA: SEM !IMPORTANT AQUI PARA NÃO QUEBRAR A CASCATA */
}

/* O contêiner do link (opcionalmente com animação de piscar) */
.ia-link {
    position: absolute;
    display: block;
    animation: iaPulseEffect 2s infinite ease-in-out;
    opacity: 0.85;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* ========== ÓRBITA RESPONSIVA (AJUSTE APENAS O RAIO) ========== */
@media (max-width: 768px) {
    /* Reduza APENAS O RAIO DA ÓRBITA (translateX) para caber na tela menor.
       O tamanho do .ia-icon (55px) permanece inalterado. */
    .ia1 { transform: rotate(0deg) translateX(120px) rotate(0deg) !important; } 
    .ia2 { transform: rotate(72deg) translateX(120px) rotate(-72deg) !important; } 
    .ia3 { transform: rotate(144deg) translateX(120px) rotate(-144deg) !important; } 
    .ia4 { transform: rotate(216deg) translateX(120px) rotate(-216deg) !important; } 
    .ia5 { transform: rotate(288deg) translateX(120px) rotate(-288deg) !important; }

    /* Ajuste o texto flutuante para acompanhar o tamanho do ícone */
    .ia-link:hover::after {
        font-size: 10px !important;
        top: -55px !important;
        padding: 4px 12px !important;
    }
}
