body {
  background: radial-gradient(circle at top, #0f1f1c, #050707);
  color: #e0f7f4;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* Remove o sublinhado de todos os links que envolvem os cards */
a {
text-decoration: none !important;
}

.tech-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(29, 233, 182, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  /* Altura flexível: ele vai esticar conforme o conteúdo */
  height: 100%; 
  display: flex;
  flex-direction: column;
  /* Espaçamento interno para o conteúdo não encostar nas bordas */
  padding: 30px 15px;
  color: inherit;
  box-sizing: border-box;
}

/* Garante que todos os cards da mesma linha tenham a mesma altura */
.w3-row-padding {
  display: flex;
  flex-wrap: wrap;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(29, 233, 182, 0.05);
  border-color: #1de9b6;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.tech-icon {
  font-size: 2.5rem;
  color: #1de9b6;
  margin-bottom: 15px;
  /* Garante que o ícone fique dentro do fluxo do card */
  display: block; 
}

.tech-title {
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.tech-subtitle {
  font-size: 0.9rem;
  color: #1de9b6;
  font-weight: bold;
  margin-bottom: 15px;
  text-decoration: none;
}

.tech-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  padding: 0;
  line-height: 1.6;
  /* Remove qualquer sublinhado residual e justifica o texto */
  text-decoration: none !important;
  text-align: justify;
}

header {
  padding: 60px 0 40px;
  text-align: center;
}

.logo-main {
  letter-spacing: 5px;
  font-weight: 300;
  border-bottom: 2px solid #1de9b6;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Área de Ads Lateral (Desktop) */
.ads-sidebar {
  padding-top: 100px;
}
.ads-box-vertical {
  border: 1px dashed rgba(29, 233, 182, 0.3);
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(29, 233, 182, 0.5);
  font-size: 11px;
  text-transform: uppercase;
}

.btn-home {
    color: #1de9b6;
    text-decoration: none;
    border: 1px solid #1de9b6;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-home:hover {
    background: #1de9b6;
    color: #050707;
}

/* Ajuste de padding para o footer mobile não cobrir o conteúdo */
@media (max-width: 992px) {
  main { padding-bottom: 100px !important; }
}