/* 关于我们 - 团队展示（暗黑科技 / 金融数据感，玻璃 + 霓虹 + 光效） */

.team {
  padding: 0 0 4.5rem;
  margin-top: 2rem;
}

.team__header {
  margin-bottom: 2.75rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}

@media (max-width: 1024px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}

/* ----- 卡片外框：深色、展开时微放大 + 外发光 + 细霓虹边 ----- */
.team-card {
  --team-neon-a: #22d3ee;
  --team-neon-b: #38bdf8;
  --team-neon-c: #3b82f6;
  min-width: 0;
  position: relative;
  border-radius: var(--radius-lg);
  background: #070b10;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.team-card:hover {
  border-color: rgba(34, 211, 238, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(34, 211, 238, 0.06);
}

.team-card--open {
  z-index: 2;
  transform: scale(1.02);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: #070b10;
  box-shadow:
    0 0 28px rgba(14, 165, 233, 0.18),
    inset 0 0 24px rgba(56, 189, 248, 0.06);
}

.team-card__inner {
  cursor: pointer;
  border-radius: inherit;
  overflow: hidden;
  outline: none;
  position: relative;
}

.team-card__inner:focus-visible {
  box-shadow: 0 0 0 2px #070b10, 0 0 0 4px rgba(34, 211, 238, 0.55);
}

.team-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #04080d;
}

/* 图片：展开时轻放大、略压暗但保留面部可读 */
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.team-card--open .team-card__img {
  transform: scale(1.05);
  /* 主对比由「暗黑渐变」承担，仅微调曝光保脸部层次 */
  filter: brightness(0.94) contrast(1.02) saturate(0.95);
}

/* 斜向光扫（悬停，克制） */
.team-card__sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0;
}

.team-card__sweep::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -30%;
  width: 50%;
  height: 180%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 211, 238, 0) 40%,
    rgba(34, 211, 238, 0.06) 48%,
    rgba(59, 130, 246, 0.08) 50%,
    rgba(34, 211, 238, 0.06) 52%,
    rgba(34, 211, 238, 0) 60%,
    transparent 100%
  );
  transform: translateX(-120%) rotate(16deg);
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-card__sweep::before {
    animation: team-sweep 0.95s ease;
  }
}

@keyframes team-sweep {
  0% {
    transform: translateX(-120%) rotate(16deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateX(220%) rotate(16deg);
    opacity: 0;
  }
}

/* 展开层：不铺满大块蓝紫，改为玻璃 + 轻遮罩 + 细数据网格感 */
.team-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.45rem 0.45rem 0.45rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.team-card__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* 图片区：黑主题暗黑渐变，上方仍可见人脸、下方为文字区压暗 */
.team-card__photo-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.1) 0%,
    rgba(3, 7, 18, 0.45) 42%,
    rgba(3, 7, 18, 0.88) 100%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card__overlay.is-visible .team-card__photo-tint {
  opacity: 1;
}

.team-card__data-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3) 40%, #000 100%);
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3) 40%, #000 100%);
  transition: opacity 0.35s ease;
}

.team-card__overlay.is-visible .team-card__data-grid {
  opacity: 0.5;
}

/* 文字区外框：弱描边，主玻璃在内层 */
.team-card__glass-outer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

/* 文字区玻璃：高可读 + 底部分隔感（非蓝紫大色块） */
.team-card__glass {
  position: relative;
  border-radius: 9px;
  background: rgba(3, 7, 18, 0.62);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5) inset;
  color: #e0f2fe;
  isolation: isolate;
}

.team-card__panel {
  position: relative;
  z-index: 1;
  padding: 0.7rem 0.65rem 0.75rem;
  max-height: min(70%, 18rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(20px);
  opacity: 0;
  color: #e2e8f0;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.team-card__overlay.is-visible .team-card__panel {
  transform: translateY(0);
  opacity: 1;
}

.team-card__name--in-overlay,
.team-card__panel h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #f0f4f8;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.team-card__title--in-overlay,
.team-card__panel p.team-card__title--in-overlay {
  font-size: 0.75rem;
  color: #e0f2fe;
  margin-bottom: 0.45rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.team-card__bio {
  font-size: 0.7rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

/* 子段落必须单独指定颜色，避免被浏览器/全局 p 规则变成黑色或继承异常 */
.team-card__bio p {
  margin: 0;
  color: #e2e8f0;
  font-size: inherit;
  line-height: inherit;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.team-card__bio p + p {
  margin-top: 0.35rem;
}

/* 科技 pill / 微发光 */
.team-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  margin: 0;
  padding: 0;
}

.team-card__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35) inset;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

/* 未展开时底栏 */
.team-card__meta {
  padding: 1rem 0.9rem 1.1rem;
  text-align: center;
  background: linear-gradient(180deg, #0a0f16 0%, #080c12 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.06);
}

.team-card__name--below {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}

.team-card__title-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

/* 移动端 */
@media (max-width: 560px) {
  .team-card--open {
    transform: scale(1.01);
  }

  .team-card__panel {
    max-height: min(75%, 20rem);
    padding: 0.6rem 0.55rem 0.65rem;
  }

  .team-card__bio {
    font-size: 0.68rem;
  }

  .team-card__glass-outer {
    border-radius: 8px;
  }

  .team-card__glass {
    border-radius: 7px;
  }
}

/* 动效过多时减弱 */
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card__img,
  .team-card__panel,
  .team-card__overlay,
  .team-card__photo-tint,
  .team-card__data-grid {
    transition-duration: 0.01ms;
  }

  .team-card--open {
    transform: none;
  }

  .team-card--open .team-card__img {
    transform: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .team-card:hover .team-card__sweep::before {
      animation: none;
    }
  }
}

/* 关于我们独立页 - 区段间距 */
.page-about-hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 1rem;
}

.page-about-hero__breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.page-about-hero__breadcrumb a {
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.page-about-hero__breadcrumb a:hover {
  color: #7dd3fc;
}

.page-about-hero__breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.page-about-hero + .about {
  padding-top: 0;
}

.page-about-hero + .about .section-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.page-about-hero + .about .section-header__title {
  font-size: var(--font-size-2xl);
}

.page-about-hero + .about .section-header__subtitle {
  text-align: left;
}

.page-about-hero + .about .section-header {
  max-width: 100%;
}

@media (min-width: 769px) {
  .page-about-hero + .about .section-header {
    margin-bottom: 2rem;
  }
}

.page-about__contact {
  padding-top: 1rem;
}
