/* CodForm Hero — feature highlights below CTA */
.codform-hero-features {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 810px) {
  .codform-hero-features {
    width: auto;
    gap: 2rem;
  }
}

.codform-hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 280px;
  padding: 0.625rem 0.75rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(#fbfbfb, #fbfbfb) padding-box,
    linear-gradient(
      104deg,
      rgba(62, 134, 198, 0.18) 0%,
      rgba(236, 68, 146, 0.14) 50%,
      rgba(240, 84, 39, 0.18) 100%
    ) border-box;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background 0.28s ease;
  cursor: default;
}

.codform-hero-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 29, 31, 0.08),
    0 2px 8px rgba(62, 134, 198, 0.06);
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(
      104deg,
      rgba(62, 134, 198, 0.45) 0%,
      rgba(236, 68, 146, 0.35) 50%,
      rgba(240, 84, 39, 0.4) 100%
    ) border-box;
}

.codform-hero-feature__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(62, 134, 198, 0.12) 0%,
    rgba(236, 68, 146, 0.1) 100%
  );
  transition: background 0.28s ease, transform 0.28s ease;
}

.codform-hero-feature:hover .codform-hero-feature__icon {
  background: linear-gradient(
    104deg,
    rgba(62, 134, 198, 0.22) 0%,
    rgba(236, 68, 146, 0.18) 50%,
    rgba(240, 84, 39, 0.2) 100%
  );
  transform: scale(1.05);
}

.codform-hero-feature__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.codform-hero-feature__icon--shield svg {
  color: #3e86c6;
}

.codform-hero-feature__icon--whatsapp svg {
  color: #25d366;
}

.codform-hero-feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  text-align: start;
}

.codform-hero-feature__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.codform-hero-feature__desc {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 450;
  line-height: 1.5;
  color: #6e6e73;
}

@media (max-width: 809px) {
  .codform-hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-inline: 0.5rem;
  }

  .codform-hero-feature {
    width: 100%;
    max-width: 340px;
    align-items: flex-start;
  }

  .codform-hero-feature__body {
    align-items: flex-start;
    text-align: start;
  }
}

@media (min-width: 810px) and (max-width: 1249px) {
  .codform-hero-feature {
    max-width: 240px;
  }

  .codform-hero-feature__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 1250px) {
  .codform-hero-feature {
    max-width: 300px;
  }
}

/* شريط التقييم تحت الهيرو */
.codform-hero-rating__star {
  display: block;
  flex-shrink: 0;
}

.codform-hero-rating__text strong[dir="ltr"] {
  unicode-bidi: isolate;
}

html[dir="rtl"] .codform-hero-rating .flex.-space-x-2 > img + img {
  margin-right: -0.5rem;
  margin-left: 0;
}
