/* ════════════════════════════════════════════════════════════
   NOVEX — Clients Page
════════════════════════════════════════════════════════════ */

/* ── Section wrapper ─────────────────────────────────────── */
.clients-section { }

.clients-section-header { margin-bottom: 48px; }

.clients-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.active-badge {
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  color: #000000;
}
.past-badge {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--muted);
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34c759;
  animation: statusPulse 2s ease-in-out infinite;
}

.clients-section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── CURRENT CLIENTS — big hero cards ───────────────────── */
.current-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.current-client-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.current-client-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-lg);
}

/* Accent colour bar at top */
.client-accent-bar {
  height: 4px;
  width: 100%;
}

.client-card-body { padding: 28px; }

/* Top row: avatar + name + status badge */
.client-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.client-avatar {
  width: 64px; height: 64px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.client-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.client-meta { flex: 1; min-width: 0; }

.client-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-handle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.client-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--card-border);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Active / on hold badge */
.client-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}
.client-status-badge.active {
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  color: #34c759;
}
.client-status-badge.on-hold {
  background: rgba(255,149,0,0.1);
  border: 1px solid rgba(255,149,0,0.25);
  color: #ff9500;
}
.client-status-badge .sdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Bio */
.client-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* Stats row */
.client-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--card-border);
  padding-top: 18px;
  margin-bottom: 22px;
}
.client-stat {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--card-border);
}
.client-stat:last-child { border-right: none; }

.client-stat-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin-bottom: 2px;
}
.client-stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Role tag + link */
.client-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--foreground);
  font-family: var(--font-mono);
}
.client-role-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--card-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.2s ease;
}
.client-link:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-1px);
}
.client-link svg { width: 12px; height: 12px; opacity: 0.6; }

/* ── PAST CLIENTS — smaller list cards ──────────────────── */
.past-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.past-client-card {
  border-radius: 18px;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(16px);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.past-client-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
}

/* Subtle accent left border */
.past-client-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

.past-client-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.past-client-avatar img { width: 100%; height: 100%; object-fit: cover; }

.past-client-info { flex: 1; min-width: 0; }

.past-client-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 2px;
}
.past-client-handle {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.past-client-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.past-client-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--muted);
}

.past-client-count {
  text-align: right;
  flex-shrink: 0;
}
.past-client-count-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  color: var(--foreground);
  line-height: 1;
}
.past-client-count-label {
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .current-clients-grid { grid-template-columns: 1fr; }
  .past-clients-grid    { grid-template-columns: 1fr; }
}

/* Past client accent bar using custom property */
.past-client-card::before {
  background: var(--accent, var(--primary));
}

/* ══════════════════════════════════════════════════════════
   STAFF SECTION
══════════════════════════════════════════════════════════ */

.staff-badge {
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.28);
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge-shield { font-size: 0.9rem; line-height: 1; }

/* Staff grid — same size as current clients */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Staff card */
.staff-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.staff-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-lg);
}

/* Top accent stripe */
.staff-accent-bar { height: 4px; width: 100%; }

.staff-card-body { padding: 26px; }

/* Top row: avatar + name + status */
.staff-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.staff-avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  overflow: hidden;
}
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.staff-meta { flex: 1; min-width: 0; }

.staff-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-handle {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.staff-platform-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--card-border);
  font-size: 0.62rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Status badge — active / alumni */
.staff-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; margin-left: auto; flex-shrink: 0;
}
.staff-status-badge.active {
  background: rgba(88,101,242,0.1);
  border: 1px solid rgba(88,101,242,0.25);
  color: #000000;
}
.staff-status-badge.alumni {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--muted);
}
.staff-status-badge .sdot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}

/* Bio */
.staff-bio {
  font-size: 0.855rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Stats row */
.staff-stats {
  display: flex;
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  margin-bottom: 20px;
}
.staff-stat {
  flex: 1; text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--card-border);
}
.staff-stat:last-child { border-right: none; }
.staff-stat-val {
  font-weight: 800; font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--foreground); margin-bottom: 2px;
}
.staff-stat-label {
  font-size: 0.58rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
}

/* Footer: role tag + link */
.staff-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.staff-role-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--foreground);
}
.staff-role-tag::before {
  content: '🛡️'; font-size: 0.72rem;
}

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