/* ═══════════════════════════════════════════════════════════════
   PLUGZO PAYTECH — index.css
   HOME PAGE ONLY: hero · why · leadership
   Requires: common.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  padding: 75px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 640px;
}
.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--clr-text); /* #0d1117 near-black */
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text-muted); /* #718096 */
  margin-bottom: 38px;
  letter-spacing: 0.005em;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   WHY SECTION
───────────────────────────────────────────── */
.why {
  background: var(--clr-bg); /* pure #ffffff */
  padding: 80px 40px;
  text-align: center;
}
.why__body {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* ─────────────────────────────────────────────
   LEADERSHIP SECTION
───────────────────────────────────────────── */
.leadership {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-alt); /* #f7f8fa very light grey */
  padding: 70px 40px 90px;
}
.leadership .container {
  position: relative;
  z-index: 10;
}
.leadership__sub {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ── Team grid ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ── Team card ── */
.team-card {
  background: var(--clr-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, #1a1d29 20%, transparent);
  border-style: solid;
  border-width: 1px;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Photo */
.team-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
  display: block;
}
.team-card .team-card__img:hover {
  transform: scale(1.04);
}

/* Body */
.team-card__body {
  padding: 24px 26px 30px;
}
.team-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.team-card__name {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: -0.01em;
}
.team-card__li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.team-card__li:hover {
  opacity: 0.72;
}

.team-card__role {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: #3b82f6; /* #0fa884 */
  margin-bottom: 14px;
  letter-spacing: 0.005em;
}
.team-card__bio {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.78;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — home page
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 68px 20px 80px;
    min-height: auto;
  }
  .hero__title {
    font-size: 1.9rem;
  }

  .why {
    padding: 72px 20px;
  }

  .leadership {
    padding: 72px 20px 84px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.team-card {
  position: relative;
  top: 0;
  transition:
    top 0.35s ease,
    box-shadow 0.35s ease;
}

/* HERO GLOW ANIMATION */
.hero-glow {
  animation: heroGlowMove 10s infinite alternate ease-in-out;
}

@keyframes heroGlowMove {
  from {
    transform: translateX(-20px) translateY(-20px);
  }
  to {
    transform: translateX(20px) translateY(20px);
  }
}
