/* =========================
   Team Section
   ========================= */

.team-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: radial-gradient(
    circle at top,
    rgba(96,165,250,0.08),
    transparent 60%
  );
}

.team-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.team-header {
  text-align: center;
  margin-bottom: 80px;
}

.team-header h2 {
  font-size: 2.8rem;
  color: white;
}

.team-header span {
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-header p {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* Card */
.team-card {
  background: rgba(15, 23, 42, 0.75);
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(96,165,250,0.15),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

/* Avatar */
.avatar-frame {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #60a5fa, #a855f7);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #60a5fa;
  font-family: 'JetBrains Mono', monospace;
}

/* Text */
.team-card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 6px;
}

.role {
  color: #60a5fa;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.bio {
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* Responsive */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .team-section {
    padding: 100px 16px 120px;
  }
}
