/* ============================================
   About Us 页面专属样式
   ============================================ */


/* --- 团队介绍（左图右文，450px 高） --- */
.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  height: 450px;
  margin-bottom: 64px;
  align-items: center;
}

.team-intro .intro-img {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f0e8, #c8d8c8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-intro .intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-intro .intro-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 16px;
}

.team-intro .intro-text p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* --- 团队成员卡片网格（4列 × 2行） --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all .3s;
  position: relative;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
}

/* 左上角绿色装饰角标 */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: var(--lime);
  z-index: 2;
  border-radius: 0 0 6px 0;
}

/* --- 卡片图片区 --- */
.team-card .card-img {
  height: 420px;
  background: linear-gradient(135deg, #e0e8e0, #d0dcd0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .card-img .placeholder-icon {
  font-size: 60px;
  color: rgba(31, 56, 63, .15);
}

/* 图片右下角 Instagram 图标 */
.team-card .card-img .card-ins-link {
  opacity: 0;
  display: none;
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px; 
  background: #ffffff8d;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  transition: all .2s;
  z-index: 3;
}

.team-card .card-img .card-ins-link:hover {
  background: var(--lime);
  color: var(--base);
}

/* --- 卡片文字区 --- */
.team-card .card-body {
  padding: 24px;
  position: relative;
}

.team-card .card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 2px;
}

.team-card .card-body .role {
  font-size: 13px;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 12px;
}

/* 右下角详情按钮 — 主色边框 */
.team-card .card-body .detail-trigger {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--base);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--base);
  transition: all .2s;
}

.team-card .card-body .detail-trigger:hover {
  background: var(--base);
  color: var(--lime);
}

/* ============================================
   详情弹窗 — 全宽底部弹出
   ============================================ */
.detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.detail-overlay.active {
  opacity: 1;
  visibility: visible;
}

.detail-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 680px;
  max-height:800px;
  background: #d8d8d8;
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  padding: 64px 40px 40px;
  overflow-y: auto;
}

.detail-overlay.active .detail-panel {
  transform: translateY(0);
}

/* 关闭按钮 */
.detail-panel .close-btn {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .8);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  z-index: 2;
  transition: all .2s;
}

.detail-panel .close-btn:hover {
  background: var(--base);
  color: #fff;
}

/* 弹窗内容：左图右文 */
.detail-content {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  padding: 0 32px;
  margin: 0 auto;
  align-items: flex-start;
}

/* 左侧：个人照片 */
.detail-photo-wrap {
  flex-shrink: 0;
  width: 300px;
  position: relative;
}

.detail-photo-wrap .detail-photo {
  width: 100%;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-photo-wrap .detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo-wrap .detail-photo i.fallback {
  font-size: 60px;
  color: rgba(43, 76, 83, .15);
}

/* 照片左下角 Instagram 链接 */
.detail-photo-wrap .detail-ins-link {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base);
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: all .2s;
}

.detail-photo-wrap .detail-ins-link:hover {
  background: var(--lime);
  color: var(--base);
}

/* 右侧：详细信息白色卡片 */
.detail-info-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
}

.detail-info-card .detail-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 4px;
}

.detail-info-card .detail-role {
  font-size: 14px;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.detail-info-card .detail-section {
  margin-bottom: 24px;
}

.detail-info-card .detail-section h5 {
  font-size: 13px;
  color: var(--base);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.detail-info-card .detail-section p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.8;
}

/* --- 人才招募区（渐变背景 + 白色卡片） --- */
.talent-section {
  background: linear-gradient(90deg, var(--grad-start) 0%, var(--grad-end) 100%);
  border-radius: 40px 40px 0 0;
  padding: 64px 0;
  position: relative;
  z-index: 2;
}

.talent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.talent-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.talent-card .talent-text { flex: 0 0 auto; }

.talent-card .talent-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--lime);
  display: inline-block;
}

.talent-card .talent-text p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0;
}

.talent-card .talent-action { flex-shrink: 0; }

.talent-card .btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--lime);
  color: var(--base);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.talent-card .btn-apply:hover {
  background: #c8f020;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(185, 224, 53, .4);
}
