.clients-page {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.clients-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.page-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(139,44,255,.13);
  border: 1px solid rgba(192,132,252,.24);
  color: #d8b4fe;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.clients-hero h1 {
  margin-top: 22px;
  font: 700 clamp(3.4rem, 7vw, 7rem)/.9 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.08em;
  background: linear-gradient(115deg, #fff, #e9d5ff 28%, #c084fc 55%, #f05cff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.clients-hero p {
  margin: 24px auto 0;
  max-width: 740px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.08rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.client-card {
  min-height: 360px;
  padding: 34px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at 50% 10%, rgba(139,44,255,.16), transparent 46%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));

  border: 1px solid rgba(255,255,255,.085);
  box-shadow: 0 28px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.client-card:hover {
  transform: translateY(-10px);
  border-color: rgba(192,132,252,.34);
  box-shadow: 0 36px 110px rgba(139,44,255,.18), inset 0 1px 0 rgba(255,255,255,.08);
}

.client-logo-img {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.client-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(192,132,252,.28));
  transition: transform .28s ease;
}

.client-card:hover .client-logo-img img {
  transform: scale(1.08);
}

.client-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.65rem;
  letter-spacing: -.04em;
  margin-bottom: 10px;
  text-align: center;
}

.client-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.client-tag {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d8b4fe;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(139,44,255,.14);
  border: 1px solid rgba(192,132,252,.18);
}

.clients-cta {
  margin: 90px auto 0;
  padding: 54px 34px;
  max-width: 980px;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(192,132,252,.22), transparent 50%),
    rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.clients-cta span {
  color: #c084fc;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .78rem;
}

.clients-cta h2 {
  margin: 16px auto 28px;
  max-width: 720px;
  font: 700 clamp(2rem, 4vw, 4rem)/1 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.06em;
}

@media (max-width: 1050px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .clients-page {
    width: min(100% - 28px, 1440px);
    padding-top: 60px;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    min-height: 310px;
  }

  .client-logo-img {
    width: 135px;
    height: 135px;
  }
}
/* ===== FOOTER ===== */

.footer {
  margin-top: 120px;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  width: min(1400px, calc(100% - 60px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.6;
}

.footer-links h4 {
  margin-bottom: 14px;
  color: #c084fc;
}

.footer-links a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-btn {
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}