/* ============ DESIGN SYSTEM PROFISSIONAL ============ */
:root {
  --brand-green: #008100;
  --brand-green-dark: #005f00;
  --brand-green-glow: rgba(0, 129, 0, 0.15);
  --surface: rgba(15, 23, 42, 0.6);
  --surface-hover: rgba(30, 41, 59, 0.5);
  --border: rgba(51, 65, 85, 0.4);
  --text-muted: #94a3b8;
}

.glass {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand { color: hwb(115 4% 45%); }
.release-card { background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(51, 65, 85, 0.5); }

/* Gradientes de destaque */
.bg-gradient-brand {
  background: linear-gradient(135deg, #005f00 0%, #008100 50%, #00a300 100%);
}
.text-gradient-brand {
  background: linear-gradient(135deg, #4ade80 0%, #008100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge de aviso: produto grátis + suporte pago */
.badge-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 129, 0, 0.12);
  border: 1px solid rgba(0, 129, 0, 0.35);
  color: #86efac;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0, 129, 0, 0.1);
}
.badge-support .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #008100;
  box-shadow: 0 0 10px #008100;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Botões profissionais */
.btn-primary {
  background: var(--brand-green);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 0 0 rgba(0, 129, 0, 0);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: #006600;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(0, 129, 0, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: rgba(0, 129, 0, 0.18);
  color: #86efac;
  font-weight: 700;
  border: 1.5px solid rgba(0, 129, 0, 0.5);
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--brand-green);
  background: rgba(0, 129, 0, 0.32);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Cards de serviço */
.service-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-green), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: rgba(0, 129, 0, 0.4);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before { opacity: 1; }
.service-card.paid {
  border-color: rgba(0, 129, 0, 0.6);
  background: linear-gradient(180deg, rgba(0, 129, 0, 0.18), rgba(0, 129, 0, 0.03));
  box-shadow: 0 0 30px rgba(0, 129, 0, 0.15);
  transform: scale(1.02);
}
.service-card.paid:hover {
  border-color: var(--brand-green);
  box-shadow: 0 0 40px rgba(0, 129, 0, 0.3);
}
.service-card:not(.paid) {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.3);
  opacity: 0.85;
}
.service-card:not(.paid):hover {
  border-color: rgba(148, 163, 184, 0.3);
  opacity: 1;
  box-shadow: none;
}

/* Contato profissional */
.contact-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  border-color: var(--brand-green);
  background: rgba(30, 41, 59, 0.5);
  transform: translateY(-3px);
}
.contact-card.paid {
  border-color: rgba(0, 129, 0, 0.3);
  background: linear-gradient(180deg, rgba(0, 129, 0, 0.08), transparent);
}
.contact-card.paid:hover {
  border-color: var(--brand-green);
  box-shadow: 0 0 30px rgba(0, 129, 0, 0.15);
}
.contact-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
}
.contact-card .badge.free { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.contact-card .badge.paid { background: rgba(0, 129, 0, 0.2); color: #86efac; }

/* Ícones de contato (imagens locais) */
.contact-card img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.contact-card.paid img {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Seção Hero aprimorada */
.hero-stats {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animações sutis */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }

/* Estilos do Modal de Doação */
#modalDonate { display: none; }
#modalDonate.active { display: flex; }

/* Ícones SVG internos aos botões */
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.icon-download { width: 18px; height: 18px; }
.icon-consulting { width: 18px; height: 18px; }
.icon-donate { width: 18px; height: 18px; }
.icon-repo { width: 18px; height: 18px; }
.icon-docs { width: 18px; height: 18px; }

/* Estilo do Tradutor Dropdown Customizado */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
  background: transparent;
  display: none;
}

.lang-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  min-width: 140px;
  z-index: 100;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-in-out;
  transform: translateY(-4px);
}

.lang-dropdown:hover .lang-menu { 
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
  transform: translateY(0);
  transition-delay: 0s;
}
.lang-dropdown:hover::after {
  display: block;
}

.lang-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 13px;
  color: #cbd5e1;
}
.lang-item:hover { background: #334155; color: #fff; }
.lang-item img { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; }

/* Ocultar barra e elementos do Google Translate */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon { display: none !important; }
body { top: 0px !important; }
.goog-te-gadget-simple { background-color: transparent !important; border: none !important; }
.goog-te-menu-value img, .goog-te-gadget-icon, .goog-te-banner-frame { display: none !important; }
.goog-te-gadget { display: none !important; }
.goog-te-banner-frame * { display: none !important; }
.skiptranslate { display: none !important; }
