/* ══════════════════════════════════════════════════════════════════════════════
   APEX · Team Section Styles
   ══════════════════════════════════════════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.team-card {
  background: var(--panel);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0.8;
}

.team-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 229, 200, 0.05);
}

.team-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--teal);
}

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  padding: 4px;
  position: relative;
  background: var(--panel-solid);
}

.team-avatar::after {
  content: "";
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--teal) 0%, transparent 70%);
  opacity: 0.15;
  z-index: -1;
  transition: opacity var(--trans);
}

.team-card:hover .team-avatar::after {
  opacity: 0.3;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-avatar .placeholder-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg) 0%, var(--panel) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--teal);
}

.team-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.team-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text3);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  transform: translateY(-2px);
}

.team-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.team-intro p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
