/* =========================================================
   ZADO FEATURES PAGE
   Page-specific styles only
========================================================= */

/* ACTIVE NAVIGATION */

.nav-menu a.active {
  position: relative;
  color: var(--purple);
  font-weight: 700;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  width: 24px;
  height: 2px;
  margin: auto;
  border-radius: 20px;
  background: var(--purple);
}


/* =========================================================
   FEATURES PAGE
========================================================= */

.features-page {
  padding: 72px 0 82px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(91, 63, 217, 0.07),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfbff 100%
    );
}


/* PAGE HEADING */

.features-page-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.features-page-heading h1 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
}

.features-page-heading p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}


/* =========================================================
   FEATURES GRID
========================================================= */

.features-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}


/* FEATURE CARD */

.features-page-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 172px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.features-page-card:hover {
  transform: translateY(-7px);
  border-color: rgba(91, 63, 217, 0.28);
  background: #fefeff;
  box-shadow: 0 20px 42px rgba(91, 63, 217, 0.1);
}


/* FEATURE ICON */

.features-page-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 63, 217, 0.16);
  border-radius: 13px;
  background: #f7f4ff;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.features-page-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.features-page-card:hover .features-page-icon {
  transform: translateY(-2px);
  background: #f2eeff;
}

.features-page-card:hover .features-page-icon img {
  transform: scale(1.08);
}


/* FEATURE CONTENT */

.features-page-content h2 {
  margin: 1px 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.features-page-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   FEATURES CTA
========================================================= */

.features-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(91, 63, 217, 0.045),
      #ffffff 60%
    );
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.045);
}

.features-cta-content h2 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.features-cta-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.features-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  flex-wrap: wrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .features-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-page-card {
    min-height: 166px;
  }

}


@media (max-width: 900px) {

  .features-page {
    padding-top: 58px;
  }

  .features-page-heading {
    margin-bottom: 34px;
  }

  .features-page-heading h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }

  .features-cta {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .features-page {
    padding: 48px 0 62px;
  }

  .features-page-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .features-page-heading p {
    font-size: 15px;
  }

  .features-page-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .features-page-card {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 19px;
    border-radius: 14px;
  }

  .features-page-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .features-page-icon img {
    width: 30px;
    height: 30px;
  }

  .features-page-content h2 {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .features-page-content p {
    font-size: 13px;
    line-height: 1.65;
  }

  .features-cta {
    margin-top: 22px;
    padding: 24px 20px;
    text-align: center;
    align-items: center;
  }

  .features-cta-actions {
    width: 100%;
    justify-content: center;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .features-page-heading h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .features-page-heading h1 br {
    display: none;
  }

  .features-page-heading p {
    font-size: 14px;
  }

  .features-page-card {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 15px;
  }

  .features-page-icon {
    width: 42px;
    height: 42px;
  }

  .features-page-icon img {
    width: 27px;
    height: 27px;
  }

  .features-page-content h2 {
    font-size: 15px;
  }

  .features-page-content p {
    font-size: 12px;
  }

  .features-cta-actions {
    flex-direction: column;
  }

  .features-cta-actions .btn {
    width: 100%;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .features-page-card,
  .features-page-icon,
  .features-page-icon img {
    transition: none;
  }

  .features-page-card:hover,
  .features-page-card:hover .features-page-icon,
  .features-page-card:hover .features-page-icon img {
    transform: none;
  }

}