/* ═══════════════════════════════════════
   TEAM SECTION
═══════════════════════════════════════ */

#team {
  background: rgb(7, 7, 25);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

/* Background decorations */
.team-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 550px; height: 550px;
  background: rgba(3, 11, 253, 0.13);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.team-dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(253, 160, 2, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Card grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Individual card */
.team-card {
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s;
  cursor: pointer;
}
/* Coloured top bar — colour set via inline style in HTML */
.team-card-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
}
.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.28);
}

/* Card body */
.tc-body { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }

.tc-avatar {
  width: 66px; height: 66px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}

.tc-info { flex: 1; }

.tc-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 3px;
}
.tc-role {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}
.tc-bio {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.72;
}

/* Social links */
.tc-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 18px;
}
.tc-social a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
  padding: 2px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Static Founder Cards ── */
.founders-section {
  width: 100%;
}

.founders-section .container {
  width: 100%;
}

.founders-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.founders-section .section-header .badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(253, 160, 2, 0.1);
  border: 1px solid rgba(253, 160, 2, 0.25);
  border-radius: 40px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.founders-section .section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}

.founders-section .section-header p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.founder-card {
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s;
  cursor: pointer;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.founder-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.founder-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.28);
}

.founder-info h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 5px;
}

.founder-info .designation {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--amber);
  margin-bottom: 16px;
}

.founder-card:nth-child(2) .designation {
  color: rgb(99, 119, 255);
}

.founder-info .bio {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.75;
  margin: 0;
}

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

