/* =========================================================
   FOR USERS
   ========================================================= */

.for-users {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}


/* =========================================================
   BACKGROUND GLOWS
   ========================================================= */

.for-users__glow {
  position: absolute;

  width: 480px;
  height: 480px;

  border-radius: 50%;

  filter: blur(125px);

  pointer-events: none;
  z-index: -1;
}

.for-users__glow--one {
  top: 12%;
  left: -20%;

  background: var(--primary);
  opacity: 0.075;

  animation: users-drift-one 15s ease-in-out infinite;
}

.for-users__glow--two {
  right: -20%;
  bottom: 4%;

  background: var(--secondary);
  opacity: 0.045;

  animation: users-drift-two 17s ease-in-out infinite;
}


/* =========================================================
   INTRO
   ========================================================= */

.for-users__intro {
  max-width: 820px;
}

.for-users__intro .section-description {
  max-width: 660px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.for-users__layout {
  display: grid;
  gap: 18px;

  margin-top: 76px;
}


/* =========================================================
   FEATURED CARD
   ========================================================= */

.for-users__feature {
  position: relative;

  padding: 42px 44px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-xl);

  background:
    linear-gradient(145deg,
      rgba(34, 38, 58, 0.82),
      rgba(24, 27, 43, 0.72));

  box-shadow: var(--shadow-elevated);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition:
    transform 350ms var(--ease-standard),
    border-color 350ms ease,
    box-shadow 350ms ease;
}

.for-users__feature:hover {
  transform: translateY(-3px);

  border-color: rgba(23, 211, 239, 0.14);

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.32);
}

.for-users__feature::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: -250px;
  right: -90px;

  border-radius: 50%;

  background:
    radial-gradient(circle,
      rgba(103, 24, 217, 0.2),
      rgba(23, 211, 239, 0.045) 48%,
      transparent 72%);

  filter: blur(6px);

  pointer-events: none;
}

.for-users__feature-content {
  position: relative;
  z-index: 2;

  max-width: 680px;
}

.for-users__feature-number {
  display: block;

  margin-bottom: 14px;

  color: var(--secondary);

  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.for-users__feature h3 {
  color: var(--primary-text);

  font-size: 3rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.for-users__feature p {
  max-width: 600px;

  margin-top: 16px;

  color: var(--secondary-text);

  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

/* =========================================================
   SUPPORTING FEATURES
   ========================================================= */

.for-users__items {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.user-feature {
  position: relative;

  min-height: 230px;

  padding: 28px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(145deg,
      rgba(34, 38, 58, 0.72),
      rgba(24, 27, 43, 0.64));

  box-shadow: var(--shadow-soft);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 300ms var(--ease-standard),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.user-feature::before {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  top: -85px;
  right: -60px;

  border-radius: 50%;

  background: var(--primary);
  opacity: 0.055;

  filter: blur(25px);

  pointer-events: none;
}

.user-feature:nth-child(2)::before {
  background: var(--secondary);
}

.user-feature:nth-child(3)::before {
  background: var(--accent);
}

.user-feature:hover {
  transform: translateY(-5px);

  border-color: rgba(23, 211, 239, 0.15);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.23);
}


/* =========================================================
   SUPPORTING FEATURE ICON
   ========================================================= */

.user-feature__icon {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  margin-bottom: 24px;

  color: var(--icon-active);

  font-size: 1.15rem;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;

  background: rgba(10, 11, 18, 0.32);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.14);

  transition:
    transform 300ms var(--ease-standard),
    border-color 300ms ease;
}

.user-feature:hover .user-feature__icon {
  transform: translateY(-3px);

  border-color: rgba(23, 211, 239, 0.18);
}


/* =========================================================
   SUPPORTING FEATURE CONTENT
   ========================================================= */

.user-feature>div:last-child {
  position: relative;
  z-index: 1;
}

.user-feature__number {
  display: block;

  margin-bottom: 8px;

  color: var(--secondary);

  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.user-feature h3 {
  color: var(--primary-text);

  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.user-feature p {
  max-width: 390px;

  margin-top: 10px;

  color: var(--secondary-text);

  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes users-drift-one {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(30px, 20px, 0);
  }
}

@keyframes users-drift-two {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-25px, -20px, 0);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {
  .for-users__items {
    grid-template-columns: 1fr;
  }

  .user-feature {
    min-height: 0;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {
  .for-users__layout {
    gap: 12px;
    margin-top: 48px;
  }

  .for-users__feature {
    padding: 30px 28px;

    border-radius: var(--radius-lg);
  }

  .for-users__feature h3 {
    font-size: 2.2rem;
  }

  .for-users__feature p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
  }

  .for-users__items {
    gap: 12px;
  }

  .user-feature {
    padding: 22px;

    border-radius: var(--radius-md);
  }

  .user-feature__icon {
    width: 48px;
    height: 48px;

    margin-bottom: 20px;

    border-radius: 14px;

    font-size: 1.05rem;
  }

  .user-feature h3 {
    font-size: 1.3rem;
  }

  .user-feature p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .for-users__glow--one,
  .for-users__glow--two,

  .for-users__feature,
  .user-feature,
  .user-feature__icon {
    transition: none;
  }
}