/* TEAM SECTION */
#section-team,
#section-team * {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#section-team {
  margin-top: 20px;
  margin-bottom: 32px;
}

/* HERO */
#section-team .team-hero {
  position: relative;
  background: var(--card-bg, #ffffff);
  border-radius: 18px;
  border: 1px solid var(--c-border, rgba(15,23,42,.06));
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  padding: 22px 24px;
  text-align: center;
  margin-bottom: 18px;
  overflow: hidden;
}

#section-team .team-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #22c55e, #0ea5e9);
}

#section-team .team-hero-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--fg, #0f172a);
}

#section-team .team-hero-subtitle {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: var(--fg-2, #6b7280);
}

/* GRID */
#section-team .team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* КАРТОЧКА */
#section-team .team-card {
  position: relative;
  background: var(--card-bg, #ffffff);
  border-radius: 18px;
  border: 1px solid var(--c-border, rgba(15,23,42,.06));
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease;
}

#section-team .team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15,23,42,.10);
}

#section-team .team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}

#section-team .team-card--staff::before {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
}

#section-team .team-card--compliance::before {
  background: linear-gradient(90deg, #059669, #22c55e);
}

/* HEADER */
#section-team .team-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

#section-team .team-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

#section-team .team-card-icon--staff {
  background: radial-gradient(circle at 30% 20%, #f5f3ff, #dde4ff);
  box-shadow: 0 8px 18px rgba(79,70,229,.25);
  color: #4338ca;
}

#section-team .team-card-icon--compliance {
  background: radial-gradient(circle at 30% 20%, #ecfdf5, #d1fae5);
  box-shadow: 0 8px 18px rgba(5,150,105,.2);
  color: #059669;
}

#section-team .team-card-eyebrow {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 3px;
}

#section-team .team-card-eyebrow--staff      { color: #6366f1; }
#section-team .team-card-eyebrow--compliance { color: #059669; }

#section-team .team-card-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--fg, #0f172a);
}

#section-team .team-card-desc {
  margin: 0 0 14px;
  font-size: .9rem;
  color: var(--fg-2, #374151);
  line-height: 1.5;
}

/* METRICS */
#section-team .team-metrics {
  display: flex;
  gap: 2rem;
  padding: 10px 0;
  border-top: 1px solid var(--c-border, #e2e8f0);
  border-bottom: 1px solid var(--c-border, #e2e8f0);
  margin-bottom: 14px;
}

#section-team .team-metric-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--fg-3, #9ca3af);
}

#section-team .team-metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fg, #0f172a);
}

#section-team .team-metric-value--active { color: #22c55e; }

#section-team .team-card-cta {
  margin: 0 0 16px;
  font-size: .85rem;
  color: var(--fg-2, #374151);
  line-height: 1.5;
}

#section-team .team-card-footer {
  margin-top: auto;
  padding-top: 8px;
}

/* TIER LOCK */
#section-team .team-tier-lock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--fg-3, #9ca3af);
  margin-bottom: 8px;
}

#section-team .team-tier-lock i {
  color: #f59e0b;
}

/* DARK THEME */
[data-theme="dark"] #section-team .team-hero,
[data-theme="dark"] #section-team .team-card {
  background: var(--card-bg, #1e293b);
  border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] #section-team .team-metrics {
  border-color: rgba(255,255,255,.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #section-team .team-grid {
    grid-template-columns: 1fr;
  }
}

/* DARK THEME — иконки */
[data-theme="dark"] #section-team .team-card-icon--staff {
  background: radial-gradient(circle at 30% 20%, #2d2b55, #3730a3);
  box-shadow: 0 8px 18px rgba(79,70,229,.35);
}
[data-theme="dark"] #section-team .team-card-icon--staff i {
  color: #a5b4fc;
}
[data-theme="dark"] #section-team .team-card-icon--compliance {
  background: radial-gradient(circle at 30% 20%, #052e16, #14532d);
  box-shadow: 0 8px 18px rgba(5,150,105,.3);
}
[data-theme="dark"] #section-team .team-card-icon--compliance i {
  color: #6ee7b7;
}

[data-theme="dark"] #section-team .team-card-desc,
[data-theme="dark"] #section-team .team-card-cta {
  color: #cbd5e1;
}

/* TIER LOCK BLOCK */
#section-team .team-tier-lock-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(251,191,36,.04));
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 8px 0 16px;
}

#section-team .team-tier-lock-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}


  15%  { transform: rotate(10deg); }
  30%  { transform: rotate(-8deg); }
  45%  { transform: rotate(6deg); }
  60%  { transform: rotate(-4deg); }
  75%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

#section-team .team-tier-lock-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#section-team .team-tier-lock-text strong {
  font-size: .95rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: -.01em;
}

#section-team .team-tier-lock-text span {
  font-size: .82rem;
  color: var(--fg-2, #6b7280);
  line-height: 1.45;
}

/* UPGRADE BUTTON */
#section-team .btn-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.2rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245,158,11,.35);
  transition: all .2s ease;
}

#section-team .btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,158,11,.45);
  color: #fff;
}

/* DARK */
[data-theme="dark"] #section-team .team-tier-lock-block {
  background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(251,191,36,.06));
  border-color: rgba(245,158,11,.3);
}

[data-theme="dark"] #section-team .team-tier-lock-text strong {
  color: #fbbf24;
}
