/**
 * ==============================================================================
 * ALPHA CORE - STYLESHEET (ANTI-GOLPE / SCANNER I.A.)
 * Version: 2.0.0 (Enterprise UI)
 * Description: Core styling, Animations, and Layout for the AI Scanner Page.
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
 * 1. FONTES E BASE
 * ------------------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 162, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 162, 255, 0.02) 0px, transparent 50%);
    background-attachment: fixed;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Esconder scrollbar horizontal de navegações */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ------------------------------------------------------------------------------
 * 2. MENU MOBILE E OVERLAY (Navegação)
 * ------------------------------------------------------------------------------ */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 162, 255, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

/* Efeitos de Hover nos Links Sociais */
.social-link {
    transition: all 0.3s ease;
}
.social-link:hover {
    transform: translateY(-3px);
    background: #00a2ff !important;
    color: #ffffff !important;
    border-color: #00a2ff !important;
    box-shadow: 0 10px 20px rgba(0, 162, 255, 0.3);
}

/* ------------------------------------------------------------------------------
 * 3. ANIMAÇÕES DO SCANNER I.A. (O "Laser")
 * ------------------------------------------------------------------------------ */
.scan-container {
    position: relative;
}

/* O Laser azul que desce e sobe */
.scanner-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: #00a2ff;
    box-shadow: 0 0 20px #00a2ff, 0 0 40px #00a2ff, 0 0 60px #00a2ff;
    border-radius: 50%;
    opacity: 0.8;
    animation: scan 2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    z-index: 10;
}

/* Efeito de pulso nas bordas do radar */
.pulse-border {
    animation: pulse-ring 2s infinite;
}

@keyframes scan {
    0% {
        top: 0;
        transform: scaleX(0.8);
        opacity: 0.2;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        top: calc(100% - 10px);
        transform: scaleX(0.8);
        opacity: 0.2;
    }
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(0, 162, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 162, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 162, 255, 0); }
}

/* ------------------------------------------------------------------------------
 * 4. ANIMAÇÕES GERAIS DE UI (Entrada de Dados)
 * ------------------------------------------------------------------------------ */
.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de Delay para a lista de Feedbacks (Stagger effect) */
.delay-0 { animation-delay: 0.1s; }
.delay-100 { animation-delay: 0.2s; }
.delay-200 { animation-delay: 0.3s; }

/* ------------------------------------------------------------------------------
 * 5. GRID DE INFORMAÇÕES DA EMPRESA
 * ------------------------------------------------------------------------------ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-cell {
    transition: background-color 0.3s ease;
}

.info-cell:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* ------------------------------------------------------------------------------
 * 6. FAQ - ACORDEÃO ANIMADO
 * ------------------------------------------------------------------------------ */
.accordion-btn {
    transition: background-color 0.3s ease;
}

.accordion-btn:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content.active {
    max-height: 500px; /* Suficiente para o texto */
    padding-bottom: 1.25rem;
    opacity: 1;
}

.accordion-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-180 {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------------------------
 * 7. INPUTS E BOTÕES CUSTOMIZADOS
 * ------------------------------------------------------------------------------ */
input[type="url"]:-webkit-autofill,
input[type="url"]:-webkit-autofill:hover, 
input[type="url"]:-webkit-autofill:focus, 
input[type="url"]:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #111 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}