/* ==========================================================================
   MPTECH DIGITAL - STYLESHEET EXPANDIDO & BLINDADO
   Identidade Visual: Dark Mode Futurista / Cyberpunk Neon
   Fundo Preto Profundo: #070908 / #0b0b0b
   Verde Neon Vibrante: #39ff14 / #00ff66
   Acentos Metálicos: #ffffff / #e2e8f0
   ========================================================================== */

:root {
  /* Diretriz modern-web-guidance: Força color-scheme dark para elementos nativos */
  color-scheme: dark;
  --accent-color: #39ff14;
  --bg-dark: #070908;
  --bg-card: rgba(18, 24, 19, 0.78);
  --border-neon: rgba(57, 255, 20, 0.25);
  --border-neon-bright: rgba(57, 255, 20, 0.85);
  --neon-glow: 0 0 20px rgba(57, 255, 20, 0.45);
  --neon-glow-lg: 0 0 35px rgba(57, 255, 20, 0.7);
  accent-color: var(--accent-color);
  scrollbar-color: #39ff14 #0d120e;
}

/* Fallback para navegadores sem suporte a scrollbar-color nativo */
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-track {
    background: #0d120e;
  }
}

/* Efeito de grade cibernética no background */
.cyber-grid-bg {
  background-color: #070908;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Efeito Glassmorphism com borda neon */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: var(--border-neon-bright);
  box-shadow: 0 12px 40px 0 rgba(57, 255, 20, 0.18);
}

/* Botão Neon Principal */
.btn-neon {
  background: linear-gradient(135deg, #39ff14 0%, #10b981 100%);
  color: #030804;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
  transition: all 0.3s ease;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.8), 0 0 50px rgba(16, 185, 129, 0.5);
  color: #000000;
}

.btn-neon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(30deg);
  transition: transform 0.6s ease;
}

.btn-neon:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

/* Botão Neon Outline */
.btn-neon-outline {
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid var(--border-neon-bright);
  color: #39ff14;
  font-weight: 600;
  box-shadow: inset 0 0 10px rgba(57, 255, 20, 0.15);
  transition: all 0.3s ease;
}

.btn-neon-outline:hover {
  background: rgba(57, 255, 20, 0.18);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4), inset 0 0 15px rgba(57, 255, 20, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Efeito de brilho de texto neon */
.text-neon {
  color: #39ff14;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

.text-glow {
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.7), 0 0 40px rgba(16, 185, 129, 0.4);
}

/* Pulsação do ponto de status "Online" */
@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(57, 255, 20, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
  }
}

.status-pulse {
  animation: pulse-dot 2s infinite;
}

/* Efeito de borda pulsante para o plano em destaque */
@keyframes border-glow {
  0%, 100% {
    border-color: #39ff14;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.45);
  }
  50% {
    border-color: #10b981;
    box-shadow: 0 0 45px rgba(16, 185, 129, 0.7);
  }
}

.featured-plan {
  border: 2px solid #39ff14 !important;
  animation: border-glow 3s infinite ease-in-out;
}

/* Estilos nativos para acordeão <details> seguindo modern-web-guidance */
details.faq-item {
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 12px;
  background: rgba(18, 24, 19, 0.65);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  overflow: hidden;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: #f1f5f9;
  transition: color 0.2s ease;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary .faq-icon {
  transition: transform 0.3s ease, color 0.3s ease;
  color: #39ff14;
}

details.faq-item[open] {
  border-color: rgba(57, 255, 20, 0.7);
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.12);
  background: rgba(22, 32, 24, 0.85);
}

details.faq-item[open] summary .faq-icon {
  transform: rotate(180deg);
}

details.faq-item[open] summary {
  color: #39ff14;
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #cbd5e1;
  line-height: 1.7;
  border-top: 1px solid rgba(57, 255, 20, 0.1);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

/* Animação de Carrossel Contínuo */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Botão Flutuante WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
}

/* Estilo dos Balões de Depoimentos estilo WhatsApp */
.whatsapp-chat-bubble {
  background: #111b21;
  border: 1px solid #202c33;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-message-bubble {
  background: #005c4b;
  color: #e9edef;
  border-radius: 10px 10px 2px 10px;
  position: relative;
}

.whatsapp-message-bubble::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 8px;
  border-color: transparent transparent #005c4b transparent;
}

/* Balão de resposta da equipe */
.whatsapp-reply-bubble {
  background: #202c33;
  color: #e9edef;
  border-radius: 10px 10px 10px 2px;
  position: relative;
}

.whatsapp-reply-bubble::after {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent #202c33 transparent transparent;
}

/* Cards de Canais Interativos */
.channel-card {
  background: rgba(14, 20, 16, 0.7);
  border: 1px solid rgba(57, 255, 20, 0.2);
  transition: all 0.25s ease;
}

.channel-card:hover {
  border-color: #39ff14;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(57, 255, 20, 0.25);
}

/* Badges de Categoria Ativa */
.cat-filter-btn.active {
  background: #39ff14 !important;
  color: #000000 !important;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
  border-color: #39ff14 !important;
}

/* Modal Overlay */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Segurança: Campo Anti-Spam Honeypot (Invisível para humanos, armadilha para bots) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -100 !important;
  pointer-events: none !important;
}

/* Animação Suave Fade-In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}
