.page-template-page-plans {
  .plans-area {
    background-image: url("../img/bg-section-plans-new.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;

    @media (min-width: 768.99px) {
      background-position: top;
      background-size: 100% 848px;
    }
    @media (max-width: 767.99px) {
      background-size: 100% 668px;
    }
  }

  .plans-intro {
    padding: 6rem 0 4.69rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media (max-width: 992px) {
      padding: 4.63rem 0 4.69rem 0rem;
    }
    @media (max-width: 767.98px) {
      flex-direction: column;
      gap: 2rem;
    }
  }

  .plans-intro .plans-intro__title {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 110%;
    max-width: 64rem;
    margin-bottom: 1.5rem;
  }

  .plans-intro .plans-intro__text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.025rem;
    max-width: 64rem;
    text-align: center;
    @media (max-width: 767.98px) {
      text-align: left;
    }
  }

  /* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  .switch-plan {
    .toggle-radio {
      position: relative;
      width: 100%;
      height: 60px;
      display: flex;
      justify-content: center;
      margin-bottom: 56px;
    }
    .switch {
      position: absolute;
      top: 0;
      width: 384px;
      height: 60px;
      text-align: center;
      background: #f8f4ff;
      transition: all 0.2s ease;
      border-radius: 25px;
      @media (max-width: 767.98px) {
        width: 100%;
      }

      span {
        position: absolute;
        font-size: 20px;
        width: 20px;
        height: 4px;
        top: 50%;
        left: 50%;
        margin: -12px 0px 0px -5px;
        display: block;
        transition: all 0.2s ease;
      }

      span:after {
        content: "";
        display: block;
        position: absolute;
        width: 4px;
        height: 12px;
        margin-top: -8px;
        transition: all 0.2s ease;
      }

      label {
        cursor: pointer;
        width: 50%;
        line-height: 44px;
        transition: all 0.2s ease;
        top: 8px;
        position: absolute;
        color: #667085;
        font-weight: 700;
        font-size: 20px;
      }

      label[for="year"] {
        left: 8px;
      }

      label[for="month"] {
        right: 8px;
      }
    }
  }

  .switch-plan input[type="radio"] {
    display: none;
  }

  .switch-plan #month:checked ~ .switch {
    background: #f1f1f1;
  }

  .switch-plan #year:checked ~ .switch label[for="year"] {
    color: #fff;
    position: absolute;
    background-color: #ff0071;
    transition: all 0.2s ease;
    border-radius: 25px;
    width: 50%;
    left: 8px;
  }

  .switch-plan #month:checked ~ .switch label[for="month"] {
    color: #fff;
    position: absolute;
    background-color: #ff0071;
    transition: all 0.2s ease;
    border-radius: 25px;
    width: 50%;
    right: 8px;
  }

  /* SWITCH STYLES
––––––––––––––––––––––––––––––––––––––––––––––––– */
  /*** Plan items ***/
  .plans-items {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;

    @media (max-width: 992px) {
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 3rem;
    }
    .plan-item {
      border-radius: 16px;
      background: #fff;
      box-shadow: 0px 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
      display: flex;
      width: 24rem;
      padding: 1.5rem 1rem;
      flex-direction: column;
      align-items: center;
      position: relative;
      margin-top: 3rem;
      border: 1px solid #eaecf0;
      @media (max-width: 992px) {
        width: 29rem;
      }
      @media (max-width: 767.98px) {
        width: 100%;
      }
      &.featured {
        padding-top: 64px;
        position: relative;
        top: -44px;
        border: 4px solid #ff0071;
        width: 24.5rem;
        @media (max-width: 992px) {
          width: 29.5rem;
          top: 0;
        }
        @media (max-width: 767.98px) {
          width: 100%;
        }
        .listing-badges {
          width: 100%;
          display: flex;
          position: absolute;
          top: -4px;
          left: 0;
        }

        span.featured {
          background: #ff0071;
          text-transform: uppercase;
          padding: 12px 8px 12px 8px;
          border-radius: 16px 16px 0 0;
          color: #fff;
          display: block;
          width: 100%;
          font-size: 0.75rem;
          font-weight: 800;
          text-align: center;
          @media (max-width: 767.98px) {
            font-size: 14px;
          }
        }
      }
      .plan-item__icon {
        height: 40px;
      }
      .plan-item__title {
        color: #6941c6;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 110%;
        text-transform: uppercase;
        margin: 20px auto;
        text-align: center;
        @media (max-width: 767.98px) {
          width: 100%;
          font-size: 24px;
        }
      }

      .plan-item__description {
        color: #475467;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 140%;
        letter-spacing: -0.0225rem;
        margin-bottom: 24px;
        min-height: 8rem;
        @media (max-width: 1280px) {
          min-height: 6rem;
        }
        @media (max-width: 767.98px) {
          font-size: 16px;
          min-height: 4rem;
        }
      }

      .plan-item__price {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
      }

      .plan-item__price__value,
      .plan-item__price__value .tooltip {
        position: relative;
        font-weight: 700;
        font-size: 2.25rem;
        line-height: 1.5rem;
        margin-bottom: 12px;
        color: #101828;
        border: none;
      }

      .plan-item__price__value {
        div {
          span {
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.5rem;
            text-align: center;
            color: #6941c6;
          }
          sup {
            vertical-align: top;
          }
        }
      }

      .btn-primary {
        margin-bottom: 16px;
        background: #ff0071;
        padding: 12px 44px;
        line-height: 1;
        @media (max-width: 767.98px) {
          font-size: 16px;
        }
      }

      .plan-item__resources {
        margin-top: 2rem;
        .title {
          font-size: 1.125rem;
          font-weight: 700;
          line-height: 1.5rem;
          text-align: left;
          color: #475467;
          margin-bottom: 24px;
          @media (max-width: 767.98px) {
            font-size: 18px;
          }
        }
        ul.resources-list {
          list-style: none;
          padding-left: 0;
        }
        .resources-item {
          position: relative;
          padding-left: 1.5em;
          line-height: 1.625rem;
          color: #475467;
          font-size: 1.125rem;
          font-weight: 500;
          margin-bottom: 1.25rem;
          @media (max-width: 767.98px) {
            font-size: 16px;
          }

          .tooltip {
            border-bottom: none;
          }

          span.resources-badge {
            position: relative;
            display: inline-block;
            text-align: center;
            margin: 0 5px;
            border-bottom: 3px solid #000;
          }
        }
        li.resources-item:before {
          content: "";
          position: absolute;
          left: 0;
          width: 1em;
          height: 1em;
          margin: 4px 0;
          background-image: url("../img/check-icon.svg");
          background-size: cover;
        }
        li.resources-item.no-item:before {
          background-image: url("../img/check-icon-x.svg");
          background-size: cover;
        }
      }
    }
  }

  .plans-items .plan-item__price__value .tooltip .tooltiptext {
    font-size: 1rem;
  }

  /*** End - Plan items ***/

  /*** FAQ ***/
  .faq-area {
    margin-top: 5.37rem;
    margin-bottom: 48px;
    .container {
      display: flex;
      gap: 4rem;
      @media (max-width: 992px) {
        flex-direction: column;
      }
    }

    .faq-area__title-group {
      width: 28rem;
    }

    .faq-area__title--small {
      color: #702cfb;
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
    }

    .faq-area__title {
      font-size: 48px;
      font-weight: 700;
      line-height: 56px;
      text-align: left;
      color: #101828;
      letter-spacing: normal;
      width: auto;
      border-bottom: none;
      padding: 0;
      max-width: 300px;
      @media (max-width: 767.98px) {
        font-size: 30px;
        line-height: 38px;
      }
    }
    .faq-area__content {
      flex: 1;
    }

    .faq-area__item {
      width: 100%;
      border-bottom: none;
      margin-bottom: 1rem;
      padding: 2rem;
      background: #f9fafb;
      border-radius: 16px;
    }

    .faq-area__question {
      display: flex;
      justify-content: space-between;
      .text {
        color: #101828;
        line-height: 120%;
        letter-spacing: normal;
        font-size: 1.125rem;
        font-weight: 500;
        text-align: left;
        transition: all 0.25s ease-out;
        @media (max-width: 992px) {
          font-size: 18px;
        }
      }
      .icon {
        cursor: pointer;
        .active-icon {
          display: none;
        }
      }
    }

    .active {
      .faq-area__question {
        display: flex;
        justify-content: space-between;
        .text {
          font-weight: 700;
          color: #702cfb;
        }
      }
      .faq-area__answer {
        margin-top: 1rem;
        height: fit-content;
        transition: all 0.25s ease-in-out;
      }
      .icon {
        cursor: pointer;
        .normal-icon {
          display: none;
        }
        .active-icon {
          display: block;
        }
      }
    }

    .faq-area__answer {
      color: #475467;
      font-size: 1rem;
      font-weight: 400;
      line-height: 120%;
      padding-right: 3rem;
      letter-spacing: normal;
      overflow: hidden;
      height: 0;
      transition: all 0.25s ease-out;
      @media (max-width: 992px) {
        font-size: 16px;
      }
    }
  }

  /*** End - FAQ ***/

  .lead-capture-area-plans {
    padding: 0 16px;
    .container-form {
      padding: 48px 44px;
      gap: 73px;
      width: 100%;
      background: var(--home-page-primary-color);
      display: flex;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      background-image: url("../img/container-form.svg");
      border-radius: 1rem;
      height: fit-content;
      align-items: center;
      max-width: 1280px;
      justify-content: space-between;
      margin: 0 auto;
      @media (max-width: 1000px) {
        gap: 32px;
        padding: 24px 15px 0;
        flex-direction: column;
      }
      & > div {
        & > h3 {
          font-weight: 700;
          line-height: 44px;
          letter-spacing: -0.02em;
          text-align: left;
          color: white;
          margin: 0;
          font-size: 24px;
          @media (max-width: 1000px) {
            font-size: 18px;
            font-weight: 700;
            line-height: 24px;
          }
        }

        & > p {
          font-size: 20px;
          font-weight: 500;
          line-height: 30px;
          text-align: left;
          color: rgba(255, 255, 255, 0.9);
          margin: 0;
        }
      }

      & > form {
        .email-lead-form {
          display: flex;
          gap: 8px;
          &__input-area {
            position: relative;
          }
        }
      }
    }
  }
}
