/* ================================================================
   TEAM PAGE — Dedicated styles
   ================================================================ */

/* ---- Team Hero ---- */
.team-hero {
  position: relative;
  padding: 11rem 0 6rem;
  overflow: hidden;
  z-index: 1;
}
.team-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.team-hero-inner {
  max-width: 700px;
}
.team-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.team-hero-desc {
  font-size: 1.025rem;
  color: var(--text-2);
  line-height: 1.9;
}
.team-hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.25) 30%, rgba(34,211,238,0.2) 70%, transparent);
}

/* ---- Team Grid ---- */
.team-section {
  padding: 5rem 0 7rem;
  position: relative;
  z-index: 1;
}
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ---- Team Card Full ---- */
.team-card-full {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.tcf-inner {
  padding: 2.5rem;
  background: var(--surface);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: background 0.3s;
}
/* 渐变边框 */
.team-card-full::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg,
    rgba(167,139,250,0.35) 0%,
    rgba(255,255,255,0.04) 50%,
    rgba(34,211,238,0.2) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s;
  z-index: 0;
}
.team-card-full:hover::before { opacity: 1; }
.team-card-full:hover .tcf-inner { background: var(--surface-h); }

/* 底部光晕 */
.tcf-glow {
  position: absolute;
  bottom: -80px; left: 40%;
  transform: translateX(-50%);
  width: 200px; height: 150px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s, bottom 0.4s var(--ease);
}
.team-card-full:hover .tcf-glow { opacity: 1; bottom: -30px; }

.tcf-index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-3);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
}
.tcf-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 88px; height: 88px;
}
.tcf-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(167,139,250,0.55), rgba(34,211,238,0.45)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ring-glow 3s ease-in-out infinite alternate;
}
.tcf-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet-soft), var(--cyan-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tcf-info {
  flex: 1;
}
.tcf-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.tcf-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--violet-soft);
  margin-bottom: 0.2rem;
}
.tcf-en {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* 卡片底部渐变装饰线 */
.tcf-line {
  position: absolute;
  bottom: 0; left: 2.5rem;
  width: 60px; height: 2px;
  background: var(--grad);
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.team-card-full:hover .tcf-line { opacity: 1; transform: scaleX(1); }

/* ---- Team CTA ---- */
.team-cta {
  padding: 5rem 0 7rem;
  position: relative;
  z-index: 1;
}
.team-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.team-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.team-cta-desc {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .team-grid-full { grid-template-columns: 1fr; }
  .tcf-inner { flex-direction: column; text-align: center; padding: 2rem; }
  .tcf-index { top: 1rem; right: 1rem; }
  .team-hero-title { font-size: 2.5rem; }
}
