/* RESET E FONTES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores Futurista */
    --color-dark: #0A0A1F; /* Fundo principal (quase preto, com toque azul) */
    --color-light-dark: #1A1A3A; /* Fundos de seção secundários */
    --color-accent: #00FFFF; /* Ciano Neon (Glow) */
    --color-secondary-accent: #33CCFF; /* Azul Elétrico */
    --color-text-main: #E0E0FF; /* Texto principal (branco azulado) */
    --color-text-secondary: #AAAAAA;
    --font-primary: 'Orbitron', sans-serif; /* Títulos */
    --font-secondary: 'Roboto', sans-serif; /* Corpo */
}

body {
    background-color: var(--color-dark);
    color: var(--color-text-main);
    font-family: var(--font-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    text-transform: uppercase;
}

/* EFEITO GLOW PARA TÍTULOS E DESTAQUES */
.glow-text {
    text-shadow: 0 0 5px var(--color-accent), 0 0 10px var(--color-accent);
    color: var(--color-text-main);
}

/* NAV BAR */
.navbar {
    background-color: rgba(10, 10, 31, 0.9); /* Fundo semi-transparente */
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2); /* Borda sutil de neon */
    transition: background-color 0.3s;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5em;
    color: var(--color-accent);
    text-shadow: 0 0 8px var(--color-accent);
}

.navbar a {
    color: var(--color-text-main);
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 0;
    transition: color 0.3s, text-shadow 0.3s;
}

.navbar a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 5px var(--color-accent);
}

.cta-nav {
    border: 1px solid var(--color-secondary-accent);
    padding: 8px 15px;
    border-radius: 5px;
}

/* SEÇÕES GERAIS */
.content-section {
    padding: 100px 5%;
    text-align: center;
    min-height: 500px;
    position: relative;
    background-color: var(--color-dark);
}

.dark-bg {
    background-color: var(--color-light-dark);
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
}

/* HERO SECTION */
.hero-section {
    /* Usando grid sutil como background */
    background: var(--color-dark);
    background-image: repeating-linear-gradient(0deg, #1A1A3A 0, #1A1A3A 1px, transparent 1px, transparent 40px),
                      repeating-linear-gradient(90deg, #1A1A3A 0, #1A1A3A 1px, transparent 1px, transparent 40px);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px; /* Offset da navbar */
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
}

/* BOTÕES CTA (CHAMADA PARA AÇÃO) */
.cta-button, .cta-button-small, .cta-button-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--color-secondary-accent), var(--color-accent));
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.cta-button:hover, .cta-button-small:hover, .cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--color-accent);
}

.cta-button-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: none;
    margin-top: 30px;
}
.cta-button-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* GRID DE SERVIÇOS (MONITORAMENTO) */
.card-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px; 
}

.service-card {
    background-color: var(--color-light-dark);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    flex: 1;
    min-width: 280px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* TABELA DE PREÇOS (MK-AUTH) */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--color-dark);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
    border-color: var(--color-secondary-accent);
}

.pricing-card.popular {
    background-color: var(--color-light-dark);
    border-color: var(--color-accent);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.pricing-card h3 {
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}

.pricing-card .check {
    color: #39FF14; /* Verde Neon */
    margin-right: 10px;
}

/* STEPS (CONSULTORIA) */
.steps-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--color-light-dark);
    padding: 30px 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    text-align: left;
    position: relative;
    border-left: 3px solid var(--color-accent);
}

.step-number {
    font-family: var(--font-primary);
    font-size: 2em;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 5px var(--color-accent);
}

/* FORMULÁRIO DE CONTATO */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #0A0A1F;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--color-text-main);
    border-radius: 5px;
    font-family: var(--font-secondary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus, 
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* EFEITO PULSATE (BOTÃO ENVIAR) */
@keyframes pulsate {
    0% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 35px rgba(0, 255, 255, 0.4); }
    100% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); }
}

.pulsate-button {
    animation: pulsate 2s infinite ease-in-out;
}

/* FOOTER */
.footer {
    background-color: #00001A;
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    font-size: 0.9em;
}

.footer a {
    color: var(--color-accent);
    text-decoration: none;
    margin: 0 5px;
}

/* ESTILOS PARA IMAGENS DE DESTAQUE (GRÁFICOS E DASHBOARDS) */
.responsive-img {
    height: auto;
    border-radius: 8px;
}

.image-container {
    flex: 1 1 33%; 
    text-align: center;
}

/* Garante que a imagem preencha 100% do seu container flexível */
.image-container img {
    width: 100%; 
    height: auto;
    display: block; 
    margin: 0; 
}

/* Containers de 3 imagens (Monitoramento) */
.image-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px; 
    max-width: 1200px; /* Grande para telas de desktop */
    margin: 0 auto 50px auto;
}

/* NOVO: Containers de 2 imagens (MK-Auth) */
.image-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 900px; /* Menor que o de 3 imagens */
    margin: 0 auto 50px auto;
}
.image-row-2 .image-container {
    flex: 1 1 48%; /* Cada um ocupa metade da largura do container principal */
}

/* ESTILOS PARA IMAGENS ÚNICAS (Consultoria e Dashboard antigo) */
.dashboard-display, .mkauth-display, .consultoria-display {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.mkauth-display {
    max-width: 700px;
}

.consultoria-display {
    max-width: 600px; /* Limita o tamanho do container de Consultoria */
}

/* Garante que imagens únicas não quebrem o layout */
.dashboard-display img, .mkauth-display img, .consultoria-display img {
    max-width: 100%; 
    display: block;
}


.glow-border {
    /* Adiciona a borda neon sutil e box-shadow */
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.shadow-img {
    /* Sombra mais suave para o MK-Auth */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.image-caption {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin-top: 10px;
    font-style: italic;
}

/* ESTILOS PARA PÁGINAS DE TEXTO LONGO (Privacidade/Termos) */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 20px 0;
}
.policy-content h2, .policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-accent);
    text-shadow: 0 0 3px var(--color-accent);
    font-size: 1.8em;
}
.policy-content p, .policy-content ul {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}
.policy-content ul {
    padding-left: 20px;
}
.policy-content li {
    margin-bottom: 10px;
}
.update-date {
    font-style: italic;
    color: #555;
    display: block;
    margin-bottom: 40px;
}


/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2em;
    }
    .hero-section h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding-top: 10px;
    }
    .navbar nav {
        margin-top: 10px;
    }
    .navbar a {
        margin: 0 10px;
        font-size: 0.9em;
    }

    .hero-section {
        padding-top: 120px;
    }
    .hero-section h1 {
        font-size: 2em;
    }

    .card-grid, .pricing-table, .steps-grid {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card {
        max-width: 100%;
    }

    /* MUDANÇA ESSENCIAL PARA EMPILHAR AS LINHAS DE IMAGEM */
    .image-row-3, .image-row-2 { 
        flex-direction: column;
        max-width: 100%; 
    }
    .image-container {
        flex: 1 1 100%; 
        margin-bottom: 20px;
    }
}