:root {
  --bg: #000;
  --bg2: #0d1a15;
  --bg3: #0b1613;
  --sf: #162a22;
  --bd: rgba(255, 255, 255, 0.07);
  --bd2: rgba(255, 255, 255, 0.13);
  --tx: #f4f4f4;
  --tx2: #096838;
  --tx3: #096838;
  --pur: #0e914f;
  --blu: #e3f5ee;
  --grad: linear-gradient(135deg, #0e8f4e, #096838);
  --nav: 80px;
  --dsb: 240px;
}
.lm {
  --bg: #d2e2dc;
  --bg2: #d9e7e2;
  --bg3: #e9f3ef;
  --sf: #fff;
  --bd: rgba(71, 246, 109, 0.1);
  --bd2: rgba(71, 246, 80, 0.2);
  --tx: #0f1a0f;
  --tx2: #3d5c3f;
  --tx3: #79a078;
  --blu: #e9f3ef;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

.team-card {
    position: relative;
    padding: 20px;
}

.img-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 5%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 135, 84, 0.322);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5%;
}

.overlay a {
    color: #fff;
}

.img-wrapper:hover .overlay {
    opacity: 1;
}

@keyframes fomo-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(25, 135, 84, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

#fomo-dynamic-text {
  transition: opacity 0.3s ease-in-out;
}

.map-wrapper.map-rendered {
  opacity: 1;
}

/* Camada SVG de linhas e traçados neon */
.night-svg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
  /* Unificação do translate3d para ativar a GPU sem conflito */
  transform: translate3d(-1.6%, -1.8%, 0);
  will-change: transform;
}

.tracer-base-line {
  stroke: rgba(74, 222, 128, 0.12);
  stroke-width: 0.15;
}

/* Traçados animados sem filter: drop-shadow para eliminar o glitch */
.tracer-bullet-beam {
  stroke: #4ade80; /* Verde neon de alta visibilidade */
  stroke-width: 0.25;
  stroke-linecap: round;
  stroke-dasharray: 2, 30;
  animation: neonShortFlow linear infinite;
  will-change: stroke-dashoffset, opacity;
}

@keyframes neonShortFlow {
  0% {
    stroke-dashoffset: 43;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.night-city-node {
  position: absolute;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: auto;
  z-index: 5;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.night-city-node:hover {
  z-index: 9999 !important;
}

/* Ponto central brilhante e pulsante otimizado */
.night-city-dot {
  width: 6px;
  height: 6px;
  background-color: #0adf98;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80, 0 0 12px #22c55e;
  position: relative;
  z-index: 2;
  animation: greenPulse 3.5s infinite ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

@keyframes greenPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.5);
    opacity: 1.7;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Halo de luz suave estático para não sobrecarregar a GPU */
.night-soft-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.35) 0%, rgba(22, 163, 74, 0.12) 50%, rgba(0, 0, 0, 0) 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Card / Tooltip ao passar o mouse */
.city-hover-card {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translate3d(-50%, 4px, 0);
  background: #040805 !important;
  border: 1px solid rgba(74, 222, 128, 0.7);
  padding: 10px 16px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 99999 !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.99), 0 0 20px rgba(0, 0, 0, 0.95);
  isolation: isolate;
  will-change: opacity, transform;
}

.night-city-node:hover .city-hover-card {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}

.night-city-node:hover .night-city-dot {
  transform: scale(1.5);
  animation: none;
  background-color: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #4ade80;
}

/* Ajustes Mobile */
@media (max-width: 768px) {
  .tracer-bullet-beam {
    stroke-width: 0.25;
  }
  
  .night-city-dot {
    box-shadow: 0 0 5px #4ade80 !important;
  }

  .city-hover-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8) !important;
  }
}

/* Base para desktop */
.dgrid { 
    display: grid; 
    grid-template-columns: 185px 1fr; 
}

/* Regra para Mobile (Telas até 991px) */
@media (max-width: 991px) {
    .dgrid { 
        display: flex !important; 
        flex-direction: column !important; 
    }
    
    .dside { 
        display: block !important; /* Força a exibição */
        width: 100% !important; 
        border-right: none !important; 
        border-bottom: 1px solid var(--bd); 
        padding: 15px !important;
        text-align: center;
    }

    .dsi { 
        width: 100% !important; 
        justify-content: center !important; 
        padding: 12px !important;
    }
}
 
.video-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.clients-swiper {
    width: 100%;
    overflow: hidden; /* Obrigatorio para esconder o que sai da tela */
  }
  .clients-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
  }

/* Seletor que pega tanto a logo única quanto as do carrossel */
  .client-logo img, 
  .swiper-slide img {
    /* filter: grayscale(100%); */
    /* opacity: 0.6; */
    transition: all 0.4s ease-in-out;
    display: inline-block; /* Importante para o scale funcionar bem */
  }

  .client-logo img:hover, 
  .swiper-slide img:hover {
    /* filter: grayscale(0%); */
    /* opacity: 1; */
    transform: scale(1.2);
  }

/* BOX EM VOLTA DE CADA LOGO */
.clients-slider .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;                  
  height: 100px; 
  width: 180px !important; 
  
  /* Usa o fundo padrão do Bootstrap (Branco no light, Grafite no dark) */
  background-color: var(--bs-body-bg) !important;
  
  /* Cria uma borda bem sutil que muda de cor conforme o tema para destacar o card */
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  cursor: pointer;
  
  /* IMPEDIR QUE A IMAGEM SEJA CORTADA: Permite que a logo passe da borda ao crescer */
  overflow: visible !important; 
}

/* AJUSTE INICIAL PARA AS IMAGENS DENTRO DO BOX */
.clients-slider .client-logo img {
  max-height: 50px;                    
  width: auto;
  object-fit: contain;
  
  /* ANIMAÇÃO NA IMAGEM: Prepara a logo para crescer suavemente */
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* NOVO EFEITO HOVER: Ao passar o mouse no BOX, APENAS a IMAGEM aumenta */
.clients-slider .client-logo:hover img {
  transform: scale(1.7); /* Aumenta a logo em 35% (ajuste se quiser mais ou menos) */
}

/* Opcional: Uma sombra sutil no box apenas para dar profundidade no hover, sem mudar o tamanho dele */
.clients-slider .client-logo:hover {
  z-index: 10; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

/* Estilização do Botão */
.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #f4f4f4; /* Fundo cinza claro para combinar com o design dos cards */
  color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%; /* Totalmente redondo */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Garante que fica por cima de tudo */
  
  /* Estado inicial: oculto e transparente */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efeito Hover */
.btn-back-to-top:hover {
  transform: translateY(-5px); /* Sobe de leve ao passar o mouse */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background-color: #f4f4f4;
}

/* Classe que o JavaScript vai injetar quando o usuário rolar a tela */
.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Ajuste automático para Dark Mode (caso o seu template use data-bs-theme ou similar) */
[data-bs-theme="dark"] .btn-back-to-top,
html.dark .btn-back-to-top,
body.dark-mode .btn-back-to-top {
  background-color: #1e1e1e;
  color: #f4f4f4;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-bs-theme="dark"] .btn-back-to-top:hover,
html.dark .btn-back-to-top:hover,
body.dark-mode .btn-back-to-top:hover {
  background-color: #2a2a2a;
}

/* =======================================================
   CONTROLE DEFINITIVO VIA INVERSÃO DINÂMICA (EXPANDIDO)
   ======================================================= */

/* PADRÃO GERAL (Para telas normais / Modo Claro) - Abarca todos os títulos */
.sp .stitle,
body:not(.dark):not(.night) h1:not(.keep-white),
body:not(.dark):not(.night) h2:not(.keep-white),
body:not(.dark):not(.night) h3:not(.keep-white) {
  color: #096838 !important; /* Cor escura/verde forte para o Modo Claro */
}

.sp .stitle .gt {
  color: #096838 !important; 
}

.metric-number,
.metric-label {
  color: #096838 !important; 
}

.sp .gc hr {
  border-color: #000 !important;
}

/* DETECÇÃO INTELIGENTE DE FUNDO ESCURO */
@media (prefers-color-scheme: dark) {
  .sp .stitle,
  h1, h2, h3 { 
    color: #f4f4f4 !important; 
  }
  .sp .stitle .gt { 
    color: #096838 !important; 
  }
  .metric-number { color: #f4f4f4 !important; }
  .metric-label { color: #f4f4f4 !important; opacity: 0.9; }
  .sp .gc hr { border-color: rgba(255, 255, 255, 0.15) !important; }
}

/* FORÇAGEM PARA TEMAS ESCUROS ATIVOS NO SITE/BODY */
@media screen and (min-color-index: 0), (-webkit-min-device-pixel-ratio: 0) {
  body[style*="background"] .sp .stitle,
  body[class*="dark"] .sp .stitle,
  body[class*="night"] .sp .stitle,
  body[style*="background"] h1, body[style*="background"] h2, body[style*="background"] h3,
  body[class*="dark"] h1, body[class*="dark"] h2, body[class*="dark"] h3,
  body[class*="night"] h1, body[class*="night"] h2, body[class*="night"] h3 {
    color: #f4f4f4 !important;
  }
  
  body[style*="background"] .sp .stitle .gt,
  body[class*="dark"] .sp .stitle .gt,
  body[class*="night"] .sp .stitle .gt {
    color: #096838 !important;
  }
}

  /* =======================================================
   SISTEMA GLOBAL DE ALTERNÂNCIA DE LOGO (NAVBAR & FOOTER)
   ======================================================= */

/* MODO ESCURO PADRÃO (Início do site) */
.logo-auto-white { 
    display: inline-block !important; 
}
.logo-auto-black { 
    display: none !important; 
}

/* MODO CLARO (.lm): Ativado quando o botão injeta a classe no HTML/Body */
.lm .logo-auto-white,
html.lm .logo-auto-white,
body.lm .logo-auto-white,
[class*="lm"] .logo-auto-white {
    display: none !important;
}

.lm .logo-auto-black,
html.lm .logo-auto-black,
body.lm .logo-auto-black,
[class*="lm"] .logo-auto-black {
    display: inline-block !important;
}

/* Cor padrão (Modo Escuro / Dark Theme) */
.nav-links-group .nav-link {
  color: var(--tx1) !important;
  transition: color 0.3s ease;
}

.nav-links-group .nav-link:hover {
  color: #096838 !important; /* Verde neon ao passar o mouse */
}

/* Cor alternada para Modo Claro (Light Mode) */
/* Caso o seu projeto use a classe .light-mode ou data-theme="light" no body/html */
body.light-mode .nav-links-group .nav-link,
[data-theme="light"] .nav-links-group .nav-link {
  color: #1e293b !important; /* Escuro no tema claro */
}

body.light-mode .nav-links-group .nav-link:hover,
[data-theme="light"] .nav-links-group .nav-link:hover {
  color: #096838 !important;
}

   /* =======================================================
      CONTROLE DE LOGO SINCRONIZADO COM A CLASSE DO SEU TEMA (.lm)
      ======================================================= */
   /* MODO ESCURO PADRÃO (Início do site) */
   .logo-theme-white { display: inline-block !important; }
   .logo-theme-black { display: none !important; }

   /* MODO CLARO (.lm): Ativado quando a classe '.lm' entra na árvore do site */
   .lm .logo-theme-white,
   html.lm .logo-theme-white,
   body.lm .logo-theme-white,
   [class*="lm"] .logo-theme-white {
      display: none !important;
   }

   .lm .logo-theme-black,
   html.lm .logo-theme-black,
   body.lm .logo-theme-black,
   [class*="lm"] .logo-theme-black {
      display: inline-block !important;
   }

/* Força exibição independente de scripts de scroll */
.pricing * {
  visibility: visible !important;
  opacity: 1 !important;
}

.roi-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
/* Estilos essenciais para garantir que o modal apareça */
.roi-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999 !important; /* Prioridade máxima */
  display: none; /* Inicia oculto */
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.roi-modal-card {
  background-color: var(--bs-body-bg, #f4f4f4);
  border: 1px solid var(--bs-border-color, #e0e0e0);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.roi-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: none; border: 0;
  font-size: 28px; color: #666;
  cursor: pointer;
}
.btn-roi-calculate:hover {
  background-color: #096838 !important;
}

/* MODO CLARO PADRÃO */
.pricing .pricing-title, 
.pricing .pricing-subtitle, 
.pricing .pricing-package-title,
.pricing .pricing-package-price,
.pricing .comparison-title,
.pricing .comparison-value,
.modal-headline {
  color: #096838 !important;
}
.style-output-box {
  background-color: #f8f9fa;
  border-color: #dee2e6 !important;
}

/* MODO ESCURO FORÇADO */
[class*="dark"] .pricing .pricing-title,
[class*="dark"] .pricing .pricing-subtitle,
[class*="dark"] .pricing .pricing-package-title,
[class*="dark"] .pricing .pricing-package-price,
[class*="dark"] .comparison-title,
[class*="dark"] .comparison-value,
[class*="dark"] .modal-headline,
[data-theme*="dark"] .pricing .pricing-title,
[data-theme*="dark"] .pricing .pricing-subtitle,
[data-bs-theme="dark"] .pricing .pricing-title,
[data-bs-theme="dark"] .pricing .pricing-subtitle {
  color: #f4f4f4 !important;
}

[class*="dark"] .style-output-box,
[data-theme*="dark"] .style-output-box {
  background-color: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1) !important;
}

/* ============================================================
   ESTILOS DO FAQ COMPATÍVEIS COM DARK E LIGHT MODE
   ============================================================ */

/* Aplicando a fonte Manrope em toda a seção FAQ */
#faq, 
#faq h2, 
#faq span, 
#faq .accordion-button, 
#faq .accordion-body {
  font-family: 'Manrope', sans-serif !important;
}

/* --- 1. MODO ESCURO (DEFAULT: body sem classe .lm) --- */
body:not(.lm) #faqAcc .accordion-item {
  background-color: #13271e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body:not(.lm) #faqAcc .accordion-button {
  color: #f4f4f4 !important;
}

body:not(.lm) #faqAcc .accordion-button:not(.collapsed) {
  color: #f4f4f4 !important;
  background-color: rgba(59, 246, 153, 0.05) !important;
}

body:not(.lm) #faqAcc .accordion-body {
  color: #f4f4f4 !important;
}

body:not(.lm) #faqAcc .accordion-button::after {
  filter: invert(1) brightness(200%);
}


/* --- 2. MODO CLARO (body.lm) --- */
body.lm #faqAcc .accordion-item {
  background-color: #f4f4f4 !important;
  border: 1px solid #d1d5db !important;
}

body.lm #faqAcc .accordion-button {
  color: #0f172a !important; /* Texto escuro de alto contraste */
}

body.lm #faqAcc .accordion-button:not(.collapsed) {
  color: #096838 !important; /* Verde escuro do Guthrie AI */
  background-color: rgba(9, 104, 56, 0.06) !important;
}

body.lm #faqAcc .accordion-body {
  color: #334155 !important; /* Cinza escuro legível */
  background-color: #ffffff !important;
}

body.lm #faqAcc .accordion-button::after {
  filter: none; /* Seta padrão escura no modo claro */
}

/* =========================================
   CLIENTES - SWIPER / CARROSSEL DE LOGOS
   ========================================= */

.clients-swiper {
  width: 100%;
  overflow: hidden; /* Obrigatório para esconder o que sai da tela */
}

.clients-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

/* Seletor que pega tanto a logo única quanto as do carrossel */
.client-logo img,
.swiper-slide img {
  /* filter: grayscale(100%); */
  /* opacity: 0.6; */
  transition: all 0.4s ease-in-out;
  display: inline-block; /* Importante para o scale funcionar bem */
}

.client-logo img:hover,
.swiper-slide img:hover {
  /* filter: grayscale(0%); */
  /* opacity: 1; */
  transform: scale(1.2);
}

/* =========================================
   BOX EM VOLTA DE CADA LOGO
   ========================================= */

/* Cobre os dois nomes de classe possíveis: clients-swiper E clients-slider */
.clients-swiper .client-logo,
.clients-slider .client-logo,
.clients-swiper .swiper-slide.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  height: 100px;
  width: 180px !important;

  /* 🌞 MODO CLARO (padrão): Fundo cinza claro (#f4f4f4) */
  background-color: #f4f4f4 !important;

  /* Borda sutil que muda de cor conforme o tema para destacar o card */
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  cursor: pointer;

  /* IMPEDIR QUE A IMAGEM SEJA CORTADA: Permite que a logo passe da borda ao crescer */
  overflow: visible !important;

  /* Suaviza a troca de cor entre os temas */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* 🌙 MODO DARK: Fundo verde mais claro */
/* No seu projeto o dark é o padrão e o light adiciona a classe .lm no <body>.
   Portanto, o dark é quando o body NÃO tem a classe .lm. */
body:not(.lm) .clients-swiper .client-logo,
body:not(.lm) .clients-slider .client-logo,
body:not(.lm) .clients-swiper .swiper-slide.client-logo {
  background-color: #2e7d52 !important;
  border-color: #3a9a60 !important;
}

/* =========================================
   IMAGENS DENTRO DO BOX
   ========================================= */

.clients-swiper .client-logo img,
.clients-slider .client-logo img,
.clients-swiper .swiper-slide.client-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;

  /* ANIMAÇÃO NA IMAGEM: Prepara a logo para crescer suavemente */
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* =========================================
   EFEITO HOVER
   ========================================= */

/* Ao passar o mouse no BOX, APENAS a IMAGEM aumenta */
.clients-swiper .client-logo:hover img,
.clients-slider .client-logo:hover img,
.clients-swiper .swiper-slide.client-logo:hover img {
  transform: scale(1.7);
}

/* Sombra sutil no box apenas para dar profundidade no hover */
.clients-swiper .client-logo:hover,
.clients-slider .client-logo:hover,
.clients-swiper .swiper-slide.client-logo:hover {
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* CÓDIGO COMPLETO */
html {
  scroll-behavior: smooth;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  padding-top: 60px; /* Mesma altura definida na propriedade style da div interna da nav */
}
a {
  text-decoration: none;
  color: inherit;
}
.gt {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #096838;
  margin-bottom: 14px;
}
.slbl::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--grad);
}
.stitle {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.ssub {
  font-size: 1rem;
  color: var(--tx2);
  max-width: 560px;
}
.aur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.aur-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(13, 119, 54, 0.22),
    transparent 70%
  );
}
.aur-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(59, 246, 159, 0.18),
    transparent 70%
  );
}
.gc {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  transition: 0.3s;
}
.gc:hover {
  border-color: rgba(92, 246, 182, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}
.bgrd {
  background: var(--grad);
  border: none;
  color: #f4f4f4;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.bgrd:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(92, 246, 195, 0.4);
  color: #f4f4f4;
}
.boc {
  background: transparent;
  border: 1px solid var(--tx2);
  color: var(--tx);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.boc:hover {
  border-color: var(--tx2);
  background: rgba(92, 246, 174, 0.08);
  color: var(--tx);
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.sp {
  padding: 90px 0;
}
/* NAVBAR */
#nbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--nav);
  background: rgba(8, 15, 11, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
  max-width: 100% !important;
  box-sizing: border-box;
  padding: 0 10px; /* Aumenta o respiro lateral interno */
}
#nbar .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.lm #nbar {
  background: #f4f4f4;
}
#nbar.scr {
  background: rgba(8, 15, 12, 0.96);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}
.lm #nbar.scr {
  background: rgba(250, 254, 252, 0.97);
}
.logo-i {
  width: 44px; /* Aumentado de 34px para 44px */
  height: 44px;
  background: var(--grad);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem; /* Fonte levemente maior */
  flex-shrink: 0;
}

/* Aumenta a logo no desktop (telas a partir de 992px) */
@media (min-width: 992px) {

  /* Se a sua logo for a imagem da marca (ex: <img src="logo.svg" class="logo-img">) */
  #nbar .logo-img,
  #nbar img {
    height: 38px !important; /* Ajuste a altura desejada (padrão costuma ser ~32px-36px) */
    width: auto !important;  /* Mantém a proporção da imagem sem distorcer */
    max-height: calc(var(--nav) - 20px); /* Garante que a logo não estoure a altura do navbar */
  }

  /* Se a sua logo utilizar a classe .logo-i do seu CSS (caixa do ícone) */
  #nbar .logo-i {
    width: 48px !important;  /* Aumentado de 34px para 48px */
    height: 48px !important;
    font-size: 1.25rem !important; /* Aumenta o tamanho do ícone interno */
    border-radius: 12px;
  }

}

.nav-link {
  color: var(--tx2) !important;
  font-weight: 500;
  font-size: 1rem; /* Aumentado de 0.9rem para 1rem */
  padding: 10px 18px !important; /* Aumentado o padding vertical e horizontal */
  border-radius: 8px;
  transition: 0.2s !important;
}
.nav-link:hover {
  color: var(--tx) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.lm .nav-link:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}
#mbmenu {
  position: fixed;
  top: var(--nav);
  left: 0;
  right: 0;
  z-index: 1049;
  background: rgba(8, 15, 12, 0.98);
  backdrop-filter: blur(20px);
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--bd);
  display: none;
}
.lm #mbmenu {
  background: #f4f4f4;
}
#mbmenu.open {
  display: block;
}

@media (max-width: 991px) {
  :root {
    --nav: 80px; /* Ajuste opcional para mobile/tablet não ocupar espaço excessivo */
  }
  
  .logo-i {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* HERO */
#hero {
  min-height: 100vh;
  padding-top: var(--nav);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 100px;
  background: rgba(92, 246, 182, 0.12);
  border: 1px solid #096838;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tx1);
  margin-bottom: 22px;
}
.bdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pur);
  animation: bpls 2s infinite;
  flex-shrink: 0;
}
.h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.tlog {
  opacity: 0.4;
  filter: grayscale(1);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tx2);
  transition: 0.3s;
}
.tlog:hover {
  opacity: 0.75;
  filter: none;
}
.dwrap {
  border-radius: 26px;
  overflow: hidden;
  background: var(--sf);
  border: 1px solid var(--bd2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 40px rgba(92, 246, 125, 0.2);
}
.dtbar {
  background: #162a22;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--bd);
}
.dd {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dgrid {
  display: grid;
  grid-template-columns: 185px 1fr;
}
.dside {
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  padding: 14px 10px;
}
.dsi {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.81rem;
  color: var(--tx3);
  margin-bottom: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
}
.dsi i {
  width: 16px;
  text-align: center;
}
.dsi.on,
.dsi:hover {
  background: rgba(92, 246, 138, 0.14);
  color: #109e57;
}
.stpill {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.stpill::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}
.bbar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, #5cf676, #3bf644);
  transform-origin: bottom;
  animation: bgrow 0.8s ease forwards;
}
.cbbl {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.45;
  max-width: 88%;
}
.cbai {
  background: rgba(92, 246, 156, 0.14);
  border: 1px solid rgba(92, 246, 161, 0.2);
  color: var(--tx2);
  align-self: flex-start;
}
.cbus {
  background: var(--grad);
  color: #f4f4f4;
  align-self: flex-end;
}
.tdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pur);
  animation: tbounce 0.9s infinite;
  display: inline-block;
}
@media (max-width: 991px) {
  .dgrid {
    grid-template-columns: 1fr;
  }
  .dside {
    display: none;
  }
}
/* PROOF */
#proof {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: 44px 0;
}
.pnum {
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.plbl {
  font-size: 0.77rem;
  color: var(--tx3);
  margin-top: 3px;
}
.lscroll {
  overflow: hidden;
  margin-top: 28px;
}
.ltrack {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: lscr 18s linear infinite;
}
.lbr {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--tx3);
  opacity: 0.5;
  white-space: nowrap;
}
/* FEATURES */
.ftico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f4;
  font-size: 1rem;
  margin-bottom: 16px;
}
.ftag {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(92, 246, 143, 0.12);
  color: #096838;
  border: 1px solid rgba(92, 246, 151, 0.2);
}
/* BENTO */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bs2 {
  grid-column: span 2;
}
.bt2 {
  grid-row: span 2;
}
.bvis {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.bvis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 246, 169, 0.14),
    rgba(59, 246, 121, 0.08)
  );
}
@media (max-width: 767px) {
  .bgrid {
    grid-template-columns: 1fr;
  }
  .bs2,
  .bt2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* PRODUCT PREVIEW */
.dprev {
  background: var(--sf);
  border: 1px solid var(--bd2);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}
.dpbody {
  display: grid;
  grid-template-columns: 205px 1fr;
  min-height: 430px;
}
.dpside {
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  padding: 16px 12px;
}
.dpnl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--tx3);
  margin-bottom: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
}
.dpnl i {
  width: 16px;
  text-align: center;
}
.dpnl.on,
.dpnl:hover {
  background: rgba(92, 246, 174, 0.14);
  color: #8bfaa3;
}
.dpc {
  padding: 22px;
}
.dpane {
  display: none;
}
.dpane.on {
  display: block;
}
.dpst {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dps {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.dps::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}
.dpsv {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.dpsl {
  font-size: 0.67rem;
  color: var(--tx3);
}
.dpsd {
  font-size: 0.67rem;
  color: #34d399;
  font-weight: 600;
}
.dpbars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
}
.dpbar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, #5cf6a1, #3bf68f);
  opacity: 0.75;
  animation: bgrow 0.7s ease forwards;
  transform-origin: bottom;
}
.arow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.adot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gon {
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}
.gpu {
  background: #5cf69c;
  box-shadow: 0 0 6px #5cf68a;
}
.gor {
  background: #f59e0b;
}
.bst {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}
.son {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.sbz {
  background: rgba(92, 246, 174, 0.12);
  color: #8bfac6;
  border: 1px solid rgba(92, 246, 195, 0.2);
}
.sid {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.cit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.81rem;
}
.cav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.arl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.ari {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .dpbody {
    grid-template-columns: 1fr;
  }
  .dpside {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid var(--bd);
  }
  .dpnl {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
  }
  .dpst {
    grid-template-columns: 1fr 1fr;
  }
}
/* HOW */
.hnum {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(92, 246, 182, 0.35);
}
/* ANALYTICS */
.anst {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px;
}
.atrnd {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}
.tup {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}
.rtbar {
  height: 4px;
  background: var(--bg3);
  border-radius: 100px;
  overflow: hidden;
}
.rtfill {
  height: 100%;
  border-radius: 100px;
  background: var(--grad);
}
/* PRICING */
.pcard {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 30px;
  transition: 0.3s;
  position: relative;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.pcard.pop {
  border: 1px solid rgba(92, 246, 195, 0.4);
  background: linear-gradient(
    135deg,
    rgba(92, 246, 174, 0.06),
    rgba(59, 246, 184, 0.03)
  );
  box-shadow: 0 0 40px rgba(92, 246, 187, 0.12);
}
.pbadge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #f4f4f4;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pamt {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
}
.pamt sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 9px;
  display: inline-block;
}
.pfl {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.pchk {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--tx1);
  margin-top: 1px;
}
.tav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bd2);
}
/* FAQ */
.acco .accordion-item {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.acco .accordion-button {
  background: var(--sf);
  color: var(--tx);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: none;
  border-radius: 18px !important;
  padding: 18px 22px;
}
.acco .accordion-button:not(.collapsed) {
  background: rgba(92, 246, 182, 0.06);
  color: #096838;
}
.acco .accordion-button::after {
  filter: invert(1) hue-rotate(220deg);
}
.lm .acco .accordion-button::after {
  filter: none;
}
.acco .accordion-body {
  color: var(--tx2);
  font-size: 0.875rem;
  line-height: 1.7;
  padding: 0 22px 18px;
}
/* CTA */
#cta {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  text-align: center;
}
/* FOOTER */
#foot {
  background: var(--bg);
  border-top: 1px solid var(--bd);
  padding: 60px 0 28px;
}
.fcol h5 {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx3);
  margin-bottom: 14px;
}
.fcol a {
  display: block;
  font-size: 0.875rem;
  color: var(--tx2);
  padding: 3px 0;
  transition: 0.2s;
}
.fcol a:hover {
  color: var(--pur);
}
.nli {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.83rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  flex: 1;
}
.nli:focus {
  border-color: var(--pur);
}
.sico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #0f5132;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #094b2c;
  transition: 0.2s;
  font-size: 0.88rem;
}
.sico:hover {
  border-color: var(--pur);
  color: var(--pur);
}

/* OFFCANVAS LOGIN */
#lofc {
  width: 420px;
  background: var(--bg2);
  border-left: 1px solid var(--bd2);
}
.lm #lofc {
  background: #f4f4f4;
}
.offcanvas-header {
  border-bottom: 1px solid var(--bd);
  padding: 20px 24px;
}
.offcanvas-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--tx);
}
.header-fixed {
  background-color: var(--bg) !important;
  border-bottom: 1px solid var(--bd) !important;
  backdrop-filter: blur(8px); /* Efeito moderno opcional de vidro */
  z-index: 10000 !important;  /* Garante que fique acima de tudo, exceto modais */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.olbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tx2);
  margin-bottom: 6px;
  display: block;
}
.oinp {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  transition: 0.2s;
  margin-bottom: 14px;
}
.oinp:focus {
  border-color: var(--pur);
  box-shadow: 0 0 0 3px rgba(92, 246, 182, 0.15);
}
.odiv {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tx3);
  font-size: 0.8rem;
  margin: 16px 0;
}
.odiv::before,
.odiv::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bd);
}
.oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: 0.2s;
  cursor: pointer;
  margin-bottom: 8px;
}
.oauth:hover {
  border-color: var(--pur);
  color: var(--tx);
}
.tab-switch {
  display: flex;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.tab-sw-btn {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: 0.2s;
  background: transparent;
  color: var(--tx3);
}
.tab-sw-btn.on {
  background: var(--grad);
  color: #f4f4f4;
}
.err-msg {
  background: rgba(113, 248, 203, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #f87171;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: none;
}
/* MAGNIFIC */
.mfp-bg {
  background: #000;
  opacity: 0.9;
}
.mfp-iframe-holder .mfp-content {
  max-width: 900px;
}
/* ======================== DASHBOARD ======================== */
#dashboard {
  display: none;
  min-height: 100vh;
  background: var(--bg);
}
/* DB TOPBAR */
.db-top {
  position: fixed;
  top: 0;
  left: var(--dsb);
  right: 0;
  height: var(--nav);
  background: rgba(8, 15, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  transition: left 0.3s;
}
.lm .db-top {
  background: rgba(250, 250, 254, 0.9);
}
.db-top-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.db-top-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: 10px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
}
.db-top-search input:focus {
  border-color: var(--pur);
}
.db-top-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tx3);
  font-size: 0.85rem;
}
.db-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  cursor: pointer;
  transition: 0.2s;
}
.db-user-pill:hover {
  border-color: var(--pur);
  background: rgba(92, 246, 200, 0.06);
}
.db-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f4;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
/* DB SIDEBAR */
.db-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--dsb);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  z-index: 950;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.3s;
}
.db-logo {
  padding: 18px 20px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tx);
}
.db-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.db-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tx3);
  padding: 0 10px;
  margin: 16px 0 8px;
}
.db-nl {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--tx2);
  margin-bottom: 3px;
  cursor: pointer;
  border: none;
  width: 100%;
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
  position: relative;
}
.db-nl i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.db-nl:hover {
  background: rgba(92, 246, 208, 0.1);
  color: var(--tx);
}
.db-nl.active {
  background: rgba(92, 246, 220, 0.15);
  color: #096838;
  font-weight: 600;
}
.db-nl.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--grad);
  border-radius: 0 3px 3px 0;
}
.db-badge {
  margin-left: auto;
  background: var(--pur);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.db-bottom {
  padding: 16px 12px;
  border-top: 1px solid var(--bd);
}
/* DB MAIN */
.db-main {
  margin-left: var(--dsb);
  padding-top: var(--nav);
  min-height: 100vh;
}
.db-content {
  padding: 28px;
}
/* DB SECTIONS */
.db-section {
  display: none;
}
.db-section.active {
  display: block;
}
/* STAT CARDS */
.db-stat-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.db-stat-card:hover {
  border-color: rgba(92, 246, 200, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.db-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}
.db-stat-val {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.db-stat-lbl {
  font-size: 0.78rem;
  color: var(--tx3);
  margin-bottom: 6px;
}
.db-stat-delta {
  font-size: 0.75rem;
  font-weight: 600;
}
.delta-up {
  color: #096838;
}
.delta-dn {
  color: #f87171;
}
/* AI CHAT */
.chat-wrap {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f4;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #096838;
  font-weight: 600;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar {
  width: 4px;
}
.chat-body::-webkit-scrollbar-track {
  background: transparent;
}
.chat-body::-webkit-scrollbar-thumb {
  background: var(--bd2);
  border-radius: 4px;
}
.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}
.msg-ai {
  background: var(--bg3);
  border: 1px solid var(--bd);
  color: var(--tx);
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}
.msg-user {
  background: var(--grad);
  color: #f4f4f4;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.msg-time {
  font-size: 0.68rem;
  color: var(--tx3);
  margin-top: 4px;
}
.typing-ind {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
  align-items: center;
}
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pur);
  animation: tbounce 0.9s infinite;
}
.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}
.chat-input-wrap {
  padding: 14px 16px;
  border-top: 1px solid var(--bd);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.chat-inp {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--bg3);
  color: var(--tx);
  font-size: 0.875rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  resize: none;
  max-height: 100px;
  line-height: 1.5;
  transition: 0.2s;
}
.chat-inp:focus {
  border-color: var(--pur);
}
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  border: none;
  color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(92, 246, 200, 0.4);
}
.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
/* AGENT CARD */
.agent-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px;
  transition: 0.3s;
}
.agent-card:hover {
  border-color: rgba(92, 246, 200, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.agent-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-online {
  background: #096838;
  box-shadow: 0 0 8px #0ea559;
}
.ag-busy {
  background: #063a26;
  box-shadow: 0 0 8px #096838;
}
.ag-offline {
  background: #6b8a81;
}
/* TABLE */
.db-table {
  width: 100%;
  border-collapse: collapse;
}
.db-table th {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--bd);
  text-align: left;
}
.db-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bd);
  font-size: 0.875rem;
  color: var(--tx2);
}
.db-table tr:last-child td {
  border-bottom: none;
}
.db-table tr:hover td {
  background: rgba(139, 92, 246, 0.04);
}
/* SETTINGS */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--bd);
}
.setting-row:last-child {
  border-bottom: none;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-thumb {
  position: absolute;
  inset: 0;
  background: var(--bd2);
  border-radius: 100px;
  cursor: pointer;
  transition: 0.3s;
}
.toggle-thumb::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #f4f4f4;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-thumb {
  background: var(--grad);
}
.toggle-switch input:checked + .toggle-thumb::before {
  transform: translateX(20px);
}
/* NOTIFICATION */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sf);
  border: 1px solid var(--bd);
  margin-bottom: 10px;
  transition: 0.2s;
}
.notif-item:hover {
  border-color: rgba(92, 246, 200, 0.2);
}
.notif-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* DROPDOWN PANELS */
.db-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2000;
  background: var(--bg2);
  border: 1px solid var(--bd2);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  min-width: 340px;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
  display: none;
}
.db-dropdown.open {
  display: block;
}
.dd-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dd-header-title {
  font-weight: 700;
  font-size: 0.95rem;
}
.dd-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--bd2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx3);
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
}
.dd-close:hover {
  border-color: var(--pur);
  color: var(--pur);
}
.dd-body {
  padding: 14px;
  max-height: 380px;
  overflow-y: auto;
}
.dd-body::-webkit-scrollbar {
  width: 4px;
}
.dd-body::-webkit-scrollbar-thumb {
  background: var(--bd2);
  border-radius: 4px;
}
.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #096838;
  flex-shrink: 0;
  margin-top: 5px;
}
.notif-dot.read {
  background: var(--bd2);
}
.notif-unread {
  background: rgba(92, 246, 208, 0.06);
  border-color: rgba(92, 246, 195, 0.2);
}
/* PROFILE DROPDOWN */
.profile-dd {
  min-width: 260px;
}
.profile-dd-top {
  padding: 18px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--tx2);
  cursor: pointer;
  transition: 0.2s;
  border-radius: 10px;
  margin: 2px 8px;
  border: none;
  background: transparent;
  width: calc(100% - 16px);
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
}
.profile-menu-item i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.profile-menu-item:hover {
  background: rgba(92, 246, 213, 0.1);
  color: var(--tx);
}
.profile-menu-item.danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}
.profile-dd-footer {
  padding: 10px 8px;
  border-top: 1px solid var(--bd);
}
/* MOBILE DB */
@media (max-width: 991px) {
  .db-sidebar {
    transform: translateX(-100%);
    transition: 0.3s;
  }
  .db-sidebar.mob-open {
    transform: translateX(0);
  }
  .db-main {
    margin-left: 0;
  }
  .db-top {
    left: 0;
  }
}
/* KEYFRAMES */
@keyframes bpls {
  0%,
  100% {
    box-shadow: 0 0 6px var(--pur);
  }
  50% {
    box-shadow: 0 0 14px var(--pur);
  }
}
@keyframes bgrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 0.75;
  }
}
@keyframes tbounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
}
@keyframes lscr {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes fadU {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dinI {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(5deg) translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.afu {
  animation: fadU 0.8s ease both;
}
.adi {
  animation: dinI 1.1s ease 0.35s both;
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 575px) {
  .h1 {
    font-size: 2.2rem;
  }
  .stitle {
    font-size: 1.8rem;
  }
  #lofc {
    width: 100%;
  }
  .db-top-search {
    display: none;
  }
  .db-content {
    padding: 16px;
  }
}
