/* Reset Básico e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores Cyber/Tech */
    --bg-dark: #0a0f1f; /* Azul/Preto bem escuro */
    --bg-medium: #101a35; /* Azul escuro secundário */
    --bg-light: #1a2a4f; /* Azul um pouco mais claro para cards */
    --accent-neon: #00f7ff; /* Ciano Neon Vibrante */
    --accent-secondary: #a855f7; /* Roxo Neon (opcional) */
    --text-light: #e2e8f0; /* Branco/Cinza claro */
    --text-medium: #94a3b8; /* Cinza médio */
    --text-dark: #1e293b;  /* Texto escuro para fundos claros (se houver) */
    --status-ok: #00ff8a; /* Verde Neon para status OK */
    --status-warning: #ffdd00; /* Amarelo Neon para aviso */
    --status-error: #ff3b3b; /* Vermelho Neon para erro */

    /* Fontes */
    --font-display: 'Orbitron', sans-serif; /* Fonte Tech para títulos */
    --font-body: 'Poppins', sans-serif; /* Fonte limpa para corpo */

    /* Transições e Animações */
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Previne scroll horizontal */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative; /* Para efeitos de fundo */
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-light);
    margin-bottom: 15px;
    text-shadow: 0 0 3px rgba(0, 247, 255, 0.3); /* Leve brilho neon */
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent-neon); /* Título da seção com destaque */
}

p {
    color: var(--text-medium);
    margin-bottom: 15px;
    max-width: 700px; /* Limita largura do texto */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 30px;
}

/* --- Cabeçalho --- */
.main-header {
    background-color: rgba(10, 15, 31, 0.85); /* Fundo semi-transparente */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 247, 255, 0.1); /* Linha neon sutil */
}

.main-header nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
    position: relative;
}
.main-header nav a::after { /* Linha animada embaixo */
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-neon);
    transition: width var(--transition-speed) ease;
}
.main-header nav a:hover {
    color: var(--accent-neon);
    text-shadow: 0 0 5px var(--accent-neon);
}
.main-header nav a:hover::after {
    width: 100%;
}

/* --- Botão CTA Principal --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-secondary));
    color: var(--bg-dark);
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background var(--transition-speed) ease;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Para efeito de brilho */
}
.cta-button::before { /* Efeito de brilho animado */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}
.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.4);
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-neon));
}
.cta-button:hover::before {
    left: 150%;
}

/* --- Seção Hero --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
    position: relative; /* Necessário para o overlay funcionar bem */
    color: var(--text-light); /* Garante cor do texto */

    /* Propriedades do Background */
    background-image: url('./image1.jpg'); /* <-- AJUSTE O CAMINHO se necessário */
    background-size: cover; /* Faz a imagem cobrir toda a área */
    background-position: center center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Não repete a imagem */
    /* background-attachment: fixed; */ /* Descomente para efeito parallax (pode impactar performance) */
}

/* Overlay Escuro Semi-Transparente */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradiente escuro - ajuste a opacidade (0.7 = 70%) conforme necessário */
    background: linear-gradient(rgba(10, 15, 31, 0.75), rgba(16, 26, 53, 0.85)); /* Combina com --bg-dark e --bg-medium */
    z-index: 1; /* Fica entre o fundo e o conteúdo */
}

/* Garante que o conteúdo fique ACIMA do overlay */
.hero-section .container {
    position: relative; /* Ou use 'isolation: isolate;' no .hero-section */
    z-index: 2;
}

/* Ajuste opcional no brilho do H1 para se destacar mais sobre o fundo */
.hero-section h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    /* Aumentar um pouco o brilho do texto */
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.5), 0 0 15px rgba(226, 232, 240, 0.3);
}

/* --- Seção Visão Geral --- */
.overview-section {
    background-color: var(--bg-medium);
}
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.overview-card {
    background-color: var(--bg-light);
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 247, 255, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
.overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
}
.overview-card .icon {
    margin-bottom: 20px;
    transition: transform var(--transition-speed) ease;
}
.overview-card.problem .icon { color: var(--status-warning); }
.overview-card.solution .icon { color: var(--status-ok); }

.overview-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
}
.overview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-body); /* Usar fonte normal aqui */
    font-weight: 600;
    color: var(--text-light);
}
.overview-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 0;
}


/* --- Seção Painel de Pulso --- */
.pulse-panel-section {
    background-color: var(--bg-dark); /* Fundo escuro para destacar painel */
     padding-bottom: 100px; /* Mais espaço */
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}
.dashboard-widget {
    background-color: var(--bg-medium);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    position: relative; /* Para efeitos como scan line */
    overflow: hidden; /* Para conter scan line */
    transition: box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
.dashboard-widget:hover {
    border-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.25);
}
.dashboard-widget h4 {
    font-size: 1.1rem;
    color: var(--accent-neon);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.widget-subtitle {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Widget de Status */
.status-widget {
    text-align: center;
}
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}
.status-indicator span {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--status-ok);
    text-shadow: 0 0 8px var(--status-ok);
}
.pulse-circle {
    width: 30px;
    height: 30px;
    background-color: var(--status-ok);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--status-ok);
}
/* Animação de Pulso */
.pulse-circle::before, .pulse-circle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--status-ok);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-animation 2s infinite ease-out;
}
.pulse-circle::after {
    animation-delay: 0.5s; /* Segundo anel com delay */
}
@keyframes pulse-animation {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Widget de Métricas */
.metrics-widget .metric-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
    border-bottom: 1px dashed rgba(0, 247, 255, 0.1);
    padding-bottom: 10px;
}
.metrics-widget .metric-label {
    color: var(--text-medium);
}
.metrics-widget .metric-label i {
    margin-right: 8px;
    color: var(--accent-neon);
    opacity: 0.7;
}
.metrics-widget .metric-value {
    font-weight: 600;
    color: var(--text-light);
}
.metrics-widget .metric-value.status-ok {
    color: var(--status-ok);
    text-shadow: 0 0 5px var(--status-ok);
}
/* Scan Line Effect (Opcional) */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
    animation: scan-animation 4s linear infinite;
    opacity: 0.6;
}
@keyframes scan-animation {
    0% { top: 5%; }
    50% { top: 95%; }
    100% { top: 5%; }
}


/* Widget de Gráfico Falso */
.chart-widget .fake-chart {
    height: 100px;
    background:
        linear-gradient(rgba(0, 247, 255, 0.1), rgba(0, 247, 255, 0.01)); /* Fundo do gráfico */
    position: relative;
    border-radius: 5px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    margin-top: 10px;
}
/* Linha do gráfico falsa (SVG seria melhor para real) */
.chart-widget .fake-chart::before {
     content: '';
     position: absolute;
     left: 0;
     bottom: 30%;
     width: 100%;
     height: 40px;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpolyline points='0,15 10,10 20,12 30,8 40,10 50,6 60,8 70,12 80,10 90,14 100,10' fill='none' stroke='%2300f7ff' stroke-width='1' /%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-size: contain;
     background-position: bottom left;
     opacity: 0.8;
}

/* Widget de Alertas */
.alerts-widget .alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.alerts-widget .alert-indicator {
    font-size: 1.1rem;
     animation: subtle-blink 2s infinite;
}
.alerts-widget .alert-indicator.ok { color: var(--status-ok); animation: none; }
.alerts-widget .alert-indicator.warning { color: var(--status-warning); }
.alerts-widget .alert-indicator.error { color: var(--status-error); }

@keyframes subtle-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}


/* --- Seção Benefícios --- */
.benefits-section {
    background-color: var(--bg-medium);
}
.benefits-grid {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}
.benefit-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid transparent; /* Borda inicial transparente */
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 247, 255, 0.5);
}
.benefit-card .icon {
    color: var(--accent-neon);
    margin-bottom: 15px;
    opacity: 0.8;
}
.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
     font-family: var(--font-body);
     font-weight: 600;
}
.benefit-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Seção Contato --- */
.contact-section {
    background: linear-gradient(var(--bg-dark), var(--bg-medium));
}
.contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
    background-color: var(--bg-light);
    padding: 30px 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 247, 255, 0.2);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-medium);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.form-group input::placeholder {
    color: var(--text-medium);
    opacity: 0.7;
}
.form-group input:focus {
    outline: none;
    border-color: var(--accent-neon);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}
.contact-submit {
    width: 100%;
    margin-top: 10px;
    padding: 18px; /* Botão maior */
}

/* --- Rodapé --- */
.main-footer {
    background-color: var(--bg-dark);
    text-align: center;
    padding: 25px 0;
    margin-top: 0;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
}
.main-footer p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0;
}


/* --- Responsividade (Básica) --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .dashboard-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    .main-header nav { gap: 20px; }
     .overview-grid, .benefits-grid { grid-template-columns: 1fr 1fr; } /* 2 colunas */
     .dashboard-grid { grid-template-columns: 1fr; } /* Empilha widgets */
     .contact-form { padding: 25px; }
}

@media (max-width: 480px) {
     h1 { font-size: 2rem; }
     .subtitle { font-size: 1rem; }
     .main-header nav { gap: 10px; font-size: 0.9rem; }
     .overview-grid, .benefits-grid { grid-template-columns: 1fr; } /* 1 coluna */
      .cta-button { padding: 15px 25px; font-size: 1rem; }
}