/* ========================================
   TEAM SECTION V2 - PREMIUM WHITE
   ======================================== */

.team-section-v2 {
  padding: 110px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative shapes */
.team-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ts-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.ts-shape-1 {
  width: 480px;
  height: 480px;
  background: rgba(229, 84, 0, 0.07);
  top: -160px;
  right: -80px;
}

.ts-shape-2 {
  width: 360px;
  height: 360px;
  background: rgba(108, 63, 255, 0.05);
  bottom: -120px;
  left: -80px;
}

.ts-shape-3 {
  width: 280px;
  height: 280px;
  background: rgba(229, 84, 0, 0.04);
  top: 40%;
  left: 45%;
}

.team-section-v2 .container {
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.ts-header {
  text-align: center;
  margin-bottom: 72px;
}

.ts-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgb(229, 84, 0);
  background: rgba(229, 84, 0, 0.08);
  border: 1px solid rgba(229, 84, 0, 0.2);
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.ts-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0f0f1a;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.ts-title-accent {
  background: linear-gradient(135deg, rgb(229, 84, 0), #ff9a3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ts-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Grid ---- */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1199px) {
  .ts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet: keep 2 columns but tighten spacing */
@media (max-width: 991px) and (min-width: 576px) {
  .team-section-v2 { padding: 80px 0; }
  .ts-header { margin-bottom: 52px; }
  .ts-grid { gap: 18px; }
  .ts-card-inner { padding: 26px 20px 20px; }
}

@media (max-width: 575px) {
  .ts-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ---- Card ---- */
.ts-card {
  border-radius: 28px;
  background: #ffffff;
  border: 1.5px solid #f0f0f5;
  box-shadow: 0 4px 24px rgba(15, 15, 26, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Top accent line per card */
.ts-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(229, 84, 0), #ff9a3c);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ts-card:hover::before {
  opacity: 1;
}

.ts-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(229, 84, 0, 0.13);
  border-color: rgba(229, 84, 0, 0.2);
}

.ts-card-inner {
  padding: 32px 26px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---- Avatar ---- */
.ts-avatar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ts-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ts-card:hover .ts-avatar {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.ts-avatar-orange { background: linear-gradient(135deg, rgb(229, 84, 0), #ff9a3c); }
.ts-avatar-blue   { background: linear-gradient(135deg, #0066ff, #00c2ff); }
.ts-avatar-green  { background: linear-gradient(135deg, #00b894, #00cec9); }
.ts-avatar-purple { background: linear-gradient(135deg, #6c3fff, #a855f7); }

.ts-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(15, 15, 26, 0.05);
  line-height: 1;
  letter-spacing: -2px;
  user-select: none;
}

/* ---- Content ---- */
.ts-card-content {
  flex: 1;
}

.ts-role-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgb(229, 84, 0);
  background: rgba(229, 84, 0, 0.08);
  border: 1px solid rgba(229, 84, 0, 0.18);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.ts-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f0f1a;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.ts-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px;
}

.ts-bio {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 18px;
}

.ts-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.ts-skills span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ---- Footer ---- */
.ts-card-footer {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.ts-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ts-social:hover {
  background: rgb(229, 84, 0);
  color: #fff;
  transform: scale(1.15);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .team-section-v2 { padding: 80px 0; }
  .ts-header { margin-bottom: 48px; }
}
