@use "../../../../../styles/abstracts/variables" as *;

.terms {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  /* =======================
     HEADER
  ======================= */

  &__header {
    span {
      display: inline-flex;

      align-items: center;

      padding: 0 0.85rem;

      height: 30px;

      border-radius: 999px;

      background: rgba(247, 147, 24, 0.12);

      color: $col-orange;

      font-size: 0.72rem;

      font-weight: 600;

      text-transform: uppercase;
    }

    h2 {
      margin-top: 0.9rem;

      color: #FFF !important;

      font-size: 1.2rem;

      font-weight: 500;
    }

    p {
      margin-top: 0.1rem;

      color: rgba(255, 255, 255, 0.6);

      line-height: 1.8;

      font-size: 0.88rem;

      max-width: 650px;
    }
  }

  /* =======================
     NOTICE
  ======================= */

  &__notice {
    background:
      linear-gradient(
        180deg,
        rgba(247,147,24,.05),
        rgba(247,147,24,.02)
      );

    border: 1px solid
      rgba(247,147,24,.12);

    border-radius: 18px;

    padding: 1.25rem 1.4rem;

    h4 {
      color: $col-orange;

      font-size: 0.9rem;

      font-weight: 600;

      margin-bottom: 0.15rem;
    }

    p {
      color: rgba(
        255,
        255,
        255,
        0.72
      );

      font-size: 0.84rem;

      line-height: 1.9;
    }
  }

  /* =======================
     FEATURE CARDS
  ======================= */

  &__cards {
    display: grid;

    gap: 1rem;
  }

  &__card {
    display: flex;

    align-items: flex-start;

    gap: 1rem;

    padding: 1.25rem;

    border-radius: 18px;

    border: 1px solid
      rgba(255,255,255,.06);

    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.01)
      );

    transition: all .25s ease;

    &:hover {
      transform:
        translateY(-2px);

      border-color:
        rgba(
          247,
          147,
          24,
          .12
        );

      background:
        linear-gradient(
          180deg,
          rgba(
            247,
            147,
            24,
            .04
          ),
          rgba(
            255,
            255,
            255,
            .01
          )
        );
    }

    h5 {
      color: $col-white;

      font-size: 0.9rem;

      font-weight: 600;

      margin-bottom: 0.25rem;
    }

    p {
      color: rgba(
        255,
        255,
        255,
        0.65
      );

      font-size: 0.84rem;

      line-height: 1.8;
    }

    &__icon {
      width: 54px;

      height: 54px;

      flex-shrink: 0;

      border-radius: 14px;

      display: flex;

      align-items: center;

      justify-content: center;

      background:
        rgba(
          247,
          147,
          24,
          .10
        );

      border: 1px solid
        rgba(
          247,
          147,
          24,
          .15
        );

      color: $col-orange;

      font-size: 1.4rem;
    }

    @media screen and (max-width: 760px) {
        flex-direction: column;
    }
  }
}