@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

.body-for-signup {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.sign-up-for-free-hero-section {
  padding: 10px 8px 45px 8px;

  .signup-hero-bg-img {
    padding-bottom: 99px;
    position: relative;
    z-index: 10;
    background-position-y: -215px;

    @media (max-width: 1280.99px) {
      background-position: center;
    }

    .signup-hero-title {
      max-width: 1424px;
      padding-bottom: 0;
    }
  }
}

.plan-select-section {
  padding-inline: 8px;
  position: relative;

  .plan-select-container {
    max-width: 1620px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: start;

    @media (max-width: 1279.99px) {
      flex-direction: column;
      max-width: 920px;
    }

    .select-your-plan {
      padding: 30px;
      position: sticky;
      top: 100px;
      width: 100%;
      max-width: 706px;
      background: var(--red);
      background-image: url(/assets/images/webp/paragraph-conteiner-bg-image.webp);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      border-radius: 10px;

      @media (max-width: 1440px) {
        width: 100%;
        max-width: none;
      }

      @media (max-width: 576px) {
        padding: 16px;
      }

      p {
        margin-bottom: 0 !important;
      }

      .select-plan-heading {
        font-weight: 600;
        font-size: 58px;
        line-height: 140%;
        color: white;
        padding-bottom: 14px;
        margin-bottom: 0 !important;

        @media (max-width: 1023.99px) {
          font-size: var(--fs-12xl);
          text-align: center;
        }
      }

      .how-it-works-link {
        padding-bottom: 20px;

        a {
          font-weight: 700;
          font-size: var(--fs-4xl);
          letter-spacing: 0.5px;
          line-height: 112%;
          text-transform: uppercase;
          text-decoration: underline;
          text-decoration-style: solid;
          text-decoration-offset: 0%;
          text-decoration-thickness: 0%;
          text-decoration-skip-ink: auto;
          color: black;
        }
      }

      .plan-wrapper {
        background: #000000;
        border-radius: 8px;

        .plan-div {
          border-top: 1px solid #383838;
          padding: 8px 10px;

          @media (max-width:575.98px) {
            padding: 6px;
          }

          &:first-child {
            border-top: 0;
          }

          .plan-main-div {
            padding: 7px 10px;
            border-radius: 10px;
            transition: all 0.3s ease;
            border: 1px solid transparent;

            @media (max-width:575.98px) {
              padding: 6px;
            }

            .plan-actions {
              display: flex;
              justify-content: space-between;
              align-items: center;
              gap: 10px;

              .plan-heading-wrapper {
                display: flex;
                gap: 4px;

                @media (max-width: 576px) {
                  cursor: pointer;
                }

                .plan-name {
                  font-size: var(--fs-4xl);
                  line-height: 29px;
                  text-transform: uppercase;
                  color: var(--red);
                  transition: all 0.3s ease;
                }
              }

              .plan-details-show-hide-select-action {
                display: flex;
                gap: 26px;
                white-space: nowrap;

                .details-toggler {
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  gap: 4px;
                  cursor: pointer;

                  svg {
                    path {
                      transition: all 0.3s ease;
                    }
                  }

                  p {
                    font-weight: 300;
                    font-size: 13px;
                    line-height: 130%;
                    color: #888888;
                    transition: all 0.3s ease;
                    margin-bottom: 0 !important;
                  }

                  @media (max-width: 576px) {
                    display: none;
                  }
                }

                .select-button {
                  border-radius: 12px;
                  width: 121px !important;
                  padding: 15px 16px;
                  font-weight: 300;
                  font-size: 18px;
                  line-height: 122%;
                  color: #ffffff;
                  background: var(--red);
                  border: 0;
                  cursor: pointer;
                  transition: all 0.3s ease;

                  @media (max-width: 576px) {
                    padding: 8px;
                    width: 98px !important;
                  }
                }
              }
            }

            .plan-details {
              display: grid;
              grid-template-rows: 0fr;
              overflow: hidden;
              transition: all 0.3s ease;

              p {
                font-weight: 500;
                font-size: var(--fs-3xl);
                line-height: 180%;
                color: white;
                overflow: hidden;
                transition: all 0.3s ease;
                margin-bottom: 0 !important;
              }

              &.active {
                grid-template-rows: 1fr;
                padding-top: 13px;
              }
            }
          }

          &.selected {
            .plan-main-div {
              background: var(--red);
              border: 1px solid #383838;

              .plan-actions {
                .plan-heading-wrapper {
                  .plan-name {
                    color: black;
                  }
                }

                .plan-details-show-hide-select-action {
                  .details-toggler {
                    svg {
                      path {
                        fill: #000000;
                      }
                    }

                    p {
                      color: #ffffff;
                    }
                  }

                  .select-button {
                    background: #ffffff;
                    font-weight: 600;
                    color: var(--red);
                  }
                }
              }
            }
          }
        }
      }

      .still-unsure-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
        gap: 10px;

        p {
          font-weight: 500;
          font-size: var(--fs-4xl);
          text-align: center;
          color: white;
          line-height: 112%;
        }

        a {
          font-weight: 700;
          font-size: var(--fs-4xl);
          letter-spacing: 0.5px;
          line-height: 112%;
          text-transform: uppercase;
          text-decoration: underline;
          text-decoration-style: solid;
          text-decoration-offset: 0%;
          text-decoration-thickness: 0%;
          text-decoration-skip-ink: auto;
          color: black;
        }
      }
    }

    .enter-your-information {
      max-width: 863px;
      width: 100%;
      padding: 30px;
      background: #000000;
      border-radius: 22.5px;
      box-shadow: 0px 5.63px 8.44px -5.63px #0000001a;
      box-shadow: 0px 14.06px 21.09px -4.22px #0000001a;

      @media (max-width: 1440px) {
        width: 100%;
        max-width: none;
      }

      @media (max-width: 576px) {
        padding: 16px;
      }

      .information-heading {
        font-weight: 600;
        font-size: 58px;
        line-height: 140%;
        color: white;
        padding-bottom: 14px;

        @media (max-width: 1023.99px) {
          font-size: var(--fs-12xl);
          text-align: center;
        }
      }

      .information-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;

        .information-card {
          display: flex;
          flex-direction: column;
          gap: 41px;
          padding: 30px;
          border-radius: 15px;
          background: #191919;

          @media (max-width: 575.98px) {
            padding: 16px;
            gap: 16px;
          }

          .information-card-heading {
            font-weight: 500;
            font-size: var(--fs-3xl);
            line-height: 16px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: white;
          }

          .same-as-wrapper {
            display: flex;
            gap: 7px;
            align-items: center;
            margin-block: -18.5px;

            @media (max-width: 576px) {
              margin-block: 0;
            }

            label {
              font-family: "Inter", sans-serif;
              font-size: 14px;
              line-height: 16px;
              color: #ffffffB3;
              cursor: pointer;
              user-select: none;
            }

            p {
              font-family: "Inter", sans-serif;
              font-size: 14px;
              line-height: 16px;
              color: #ffffffB3;
            }

            input[type="checkbox"] {
              appearance: none;
              -webkit-appearance: none;
              -moz-appearance: none;

              cursor: pointer;
              width: 17px;
              height: 17px;
              border-radius: 2.5px;
              border: 1px solid var(--red);
              background: transparent;
              transition: all 0.3s ease;
              flex-shrink: 0;

              &:checked {
                background: var(--red);
                border-color: var(--red);
              }
            }
          }

          .information-card-inputs-wrapper {
            display: flex;
            flex-direction: column;
            gap: 20px;

            @media (max-width: 576px) {
              gap: 8px;
            }

            /* Remove autofill background color */
            input:-webkit-autofill,
            input:-webkit-autofill:hover,
            input:-webkit-autofill:focus,
            textarea:-webkit-autofill,
            select:-webkit-autofill {
              -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
              -webkit-text-fill-color: #FFFFFFB3 !important;
              transition: background-color 5000s ease-in-out 0s;
            }

            input[type="number"]::-webkit-outer-spin-button,
            input[type="number"]::-webkit-inner-spin-button {
              -webkit-appearance: none;
              margin: 0;
            }

            .information-card-input {
              background: #000;
              border: 1px solid #2b2b2b;
              padding: 22px 16px;
              border-radius: 12px;
              font-family: "Inter", sans-serif;
              font-size: 14px;
              line-height: 16px;
              color: #FFFFFFB3;
              transition: all 300ms linear;
              width: 100%;

              &:hover {
                border-color: var(--red);
              }

              &:focus {
                outline: none;
                border-color: var(--red);
              }

              @media (max-width:575.98px) {
                padding: 16px;
              }
            }

            select.information-card-input {
              appearance: none;
              -webkit-appearance: none;
              -moz-appearance: none;
              background-image: url("assets/images/svg/dropdown-arrow.svg");
              background-repeat: no-repeat;
              background-position: right 16px center;
              padding-right: 40px;
              cursor: pointer;
            }

            .custom-dropdown {
              position: relative;
              width: 100%;
            }

            .custom-dropdown-selected {
              background: #000;
              border: 1px solid #2b2b2b;
              padding: 22px 16px;
              border-radius: 12px;
              font-family: "Inter", sans-serif;
              font-size: 14px;
              line-height: 16px;
              color: #FFFFFFB3;
              cursor: pointer;
              display: flex;
              align-items: center;
              justify-content: space-between;
              transition: all 0.3s ease;

              img {
                width: 20px;
              }

              @media (max-width:575.98px) {
                padding: 16px;
              }

              &::after {
                content: '';
                width: 12px;
                height: 8px;
                background-image: url("/assets/images/svg/dropdown-arrow.svg");
                background-repeat: no-repeat;
                background-position: center;
                transition: transform 0.3s ease;
              }

              &:hover {
                border-color: var(--red);
              }
            }

            .custom-dropdown.active .custom-dropdown-selected::after {
              transform: rotate(180deg);
            }

            .custom-dropdown-options {
              position: absolute;
              top: calc(100% + 8px);
              left: 0;
              right: 0;
              background: #000;
              border: 1px solid #2b2b2b;
              border-radius: 12px;
              max-height: 0;
              overflow: hidden;
              opacity: 0;
              visibility: hidden;
              transition: all 0.3s ease;
              z-index: 100;
            }

            .custom-dropdown.active .custom-dropdown-options {
              max-height: 250px;
              overflow-y: auto;
              opacity: 1;
              visibility: visible;
            }

            .custom-dropdown-options::-webkit-scrollbar {
              width: 6px;
            }

            .custom-dropdown-options::-webkit-scrollbar-track {
              background: #191919;
              border-radius: 10px;
            }

            .custom-dropdown-options::-webkit-scrollbar-thumb {
              background: var(--red);
              border-radius: 10px;
            }

            .custom-dropdown-options::-webkit-scrollbar-thumb:hover {
              background: #d63d3d;
            }

            .custom-dropdown-option {
              padding: 12px 16px;
              font-family: "Inter", sans-serif;
              font-size: 14px;
              line-height: 16px;
              color: #FFFFFFB3;
              cursor: pointer;
              transition: all 0.2s ease;

              img {
                width: 20px;
                margin-top: auto;
                margin-bottom: auto;
              }

              &:hover,
              &.highlighted {
                background: var(--red);
                color: #fff;
              }

              &:first-child {
                border-radius: 12px 12px 0 0;
              }

              &:last-child {
                border-radius: 0 0 12px 12px;
              }
            }

            .grid-2-cols {
              display: grid;
              grid-template-columns: 1fr 1fr;
              gap: 20px;

              @media (max-width: 576px) {
                grid-template-columns: 1fr;
                gap: 8px;
              }
            }

            .grid-3-cols {
              display: grid;
              grid-template-columns: 1fr 1fr 1fr;
              gap: 20px;

              @media (max-width: 576px) {
                grid-template-columns: 1fr;
                gap: 8px;
              }
            }
          }
        }

        .common-btn {
          margin-top: 9px;
          margin-bottom: 17px;
        }
      }
    }
  }

  .plan-select-ellipes-1,
  .plan-select-ellipes-2,
  .plan-select-ellipes-3,
  .plan-select-ellipes-4,
  .plan-select-ellipes-5,
  .plan-select-ellipes-6 {
    pointer-events: none;
    width: 384px;
    height: 384px;
    background: var(--red);
    filter: blur(250px);
    position: absolute;
    z-index: 1;
  }

  .plan-select-ellipes-1 {
    top: 0;
    left: 583px;
  }

  .plan-select-ellipes-2 {
    top: -65px;
    right: 19px;
  }

  .plan-select-ellipes-3 {
    top: 621px;
    right: -4px;
  }

  .plan-select-ellipes-4 {
    top: 717px;
    right: 679px;
  }

  .plan-select-ellipes-5 {
    bottom: -42px;
    left: 523px;
  }

  .plan-select-ellipes-6 {
    bottom: -42px;
    right: 411px;
  }
}

.successfully-registered-section {
  position: relative;
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding-top: 113px;
  padding-inline: 8px;

  @media (min-width: 992px) {
    margin-bottom: -76px;
  }

  @media (max-width: 576px) {
    padding-top: 90px;
  }

  .successfully-registered-container {
    max-width: 1620px;
    margin: 0 auto;
    position: relative;
    z-index: 10;

    .successfully-registered-text {
      padding: 50px 60px 60px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 20px;
      background-image: url(/assets/images/webp/paragraph-conteiner-bg-image.webp);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      border-radius: 10px;

      @media (max-width: 992px) {
        padding: 40px 20px 50px;
        gap: 16px;
      }

      @media (max-width: 576px) {
        padding: 30px 20px 40px;
        gap: 12px;
      }

      img {
        width: 100px;

        @media (max-width: 992px) {
          width: 80px;
        }

        @media (max-width: 576px) {
          width: 60px;
        }
      }

      h2 {
        font-weight: 500;
        font-size: var(--fs-12xl);
        color: white;
        text-align: center;
        line-height: 120%;
      }
    }

    .go-to-home-container {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      padding-top: 30px;
      gap: 30px;

      @media (max-width: 576px) {
        padding-top: 20px;
        gap: 20px;
      }

      p {
        font-weight: 500;
        font-size: var(--fs-7xl);
        line-height: 120%;
        text-align: center;
        color: white;
        max-width: 1155px;
      }
    }
  }

  .successfully-registered-ellipes-1,
  .successfully-registered-ellipes-2,
  .successfully-registered-ellipes-3 {
    pointer-events: none;
    width: 384px;
    height: 384px;
    background: var(--red);
    filter: blur(250px);
    position: absolute;
    z-index: 1;
  }

  .successfully-registered-ellipes-1 {
    top: -65px;
    right: 19px;
  }

  .successfully-registered-ellipes-2 {
    bottom: 42px;
    right: -4px;
  }

  .successfully-registered-ellipes-3 {
    bottom: -54px;
    right: 679px;
  }
}

.footer-section {
  @media (min-width: 992px) {
    padding: 130px 8px 50px 8px;
  }

  .footer-container {
    position: relative;
    z-index: 10;
  }
}