.pricing-hero {
  padding: 40px 0;
  margin-top: 64px;

  .inner-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;

    .pricing-hero-title {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 16px;

      h1 {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.3;
        color: #2b2b3b;
        margin: 0;

        @media (min-width: 809px) {
          font-size: 52px;
        }
      }

      .pricing-hero-title__with_image {
        display: flex;
        align-items: center;
        gap: 2px;
      }

      .hero-runway-svg {
        width: 180px;
        height: 52px;

        @media (min-width: 809px) {
          width: 400px;
          height: 104px;
        }
      }

      @media (min-width: 809px) {
        gap: 24px;
      }
    }
  }

  @media (min-width: 809px) {
    padding: 80px 0;
  }
}

.pricing-plans {
  padding: 30px 0;

  .pricing-plans__container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    @media (max-width: 809px) {
      flex-direction: column;
    }
  }

  .mobile-plan-table {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    @media (min-width: 810px) {
      display: none;
    }

    .mobile-plan-table__top-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 0;
      font-family: 'Pretendard', sans-serif;
      font-weight: 600;
      font-size: 20px;
      line-height: 20px;
      color: #2b2b3b;
      border-bottom: 1px solid #e7e7ee;
    }

    .mobile-plan-table__group-title {
      font-weight: 600;
      font-size: 16px;
      padding: 16px 0;
      border-top: 1px solid #e7e7ee;
    }

    .mobile-plan-table__row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0;
      font-family: 'Pretendard', sans-serif;
      font-size: 14px;
      font-weight: 400;
      line-height: 18px;
      border-top: 1px solid #e7e7ee;

      .mobile-plan-table__feature {
        flex: 1;
        text-align: left;
        word-break: break-word;
      }

      .mobile-plan-table__value {
        flex: 1;
        text-align: right;
        word-break: break-word;

        .check-icon {
          display: inline-block;
          width: 18px;
          height: 18px;
          background-color: #1aba6a;
          border-radius: 50%;
          position: relative;

          &::after {
            content: '';
            position: absolute;
            width: 6px;
            height: 3.75px;
            border-left: 2px solid #fff;
            border-bottom: 2px solid #fff;
            left: 5px;
            top: 6px;
            transform: rotate(-45deg);
          }
        }
      }
    }

    @media (min-width: 810px) {
      display: none;
    }
  }

  .plan-card {
    flex: 1 1 0;
    padding: 32px;
    background: white;
    border-radius: 24px;
    border: 1px solid #c4c4d4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;

    .plan-card__header {
      display: flex;
      flex-direction: column;
      gap: 16px;

      .plan-card__title-group {
        display: flex;
        align-items: center;
        gap: 8px;

        .plan-card__name {
          color: #2b2b3b;
          font-size: 32px;
          font-family: 'Pretendard', sans-serif;
          font-weight: 500;
          line-height: 1.3;
        }

        .plan-card__badge {
          padding: 4px 12px;
          border-radius: 4px;
          border: 1px solid #2b2b3b;
          color: #2b2b3b;
          font-size: 16px;
          font-family: 'Pretendard', sans-serif;
          font-weight: 500;
          line-height: 1.3;
        }
      }

      .plan-card__description {
        color: rgba(0, 0, 0, 0.9);
        font-size: 16px;
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        line-height: 1.5;
        margin: 0;
      }
    }

    .plan-card__cta {
      display: inline-flex;
      height: 56px;
      padding: 0 24px;
      background: #2b2b3b;
      border-radius: 100px;
      justify-content: center;
      align-items: center;
      gap: 12px;
      color: white;
      font-size: 18px;
      font-family: 'Pretendard', sans-serif;
      font-weight: 500;
      line-height: 1.1;
      text-decoration: none;
      align-self: flex-start;

      .arrow-icon {
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M11.6628 4.07363L7.53193 0.210913C7.24733 -0.0703044 6.78404 -0.0703044 6.49944 0.210913C6.21484 0.49213 6.21484 0.947869 6.49944 1.22909L9.50994 4.03163H0.662791C0.296698 4.03163 0 4.32375 0 4.68463C0 5.0455 0.296698 5.33763 0.662791 5.33763H9.50994L6.49944 8.14017C6.21484 8.42138 6.21484 8.87712 6.49944 9.15834C6.78404 9.43956 7.24733 9.43956 7.53193 9.15834L11.6628 5.29562C11.9462 5.0155 11.9462 4.35375 11.6628 4.07363Z' fill='white'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
      }
    }
  }
}

.pricing-table {
  padding: 120px 0;
  display: none;
  @media (min-width: 810px) {
    display: block;
  }

  .pricing-table__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Pretendard', sans-serif;
    color: black;
  }

  .pricing-table__header,
  .pricing-table__row {
    display: flex;
    align-items: center;
    gap: 64px;

    @media (min-width: 810px) and (max-width: 1199px) {
      gap: 32px;
    }
  }

  .pricing-table__header {
    padding-bottom: 16px;
    border-bottom: 1px solid #c4c4d4;

    .pricing-table__feature-col,
    .pricing-table__plan-col {
      font-size: 20px;
      font-weight: 500;
      line-height: 1.3;
    }
  }

  .pricing-table__feature-col {
    flex: 1 1 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
  }

  .pricing-table__plan-col {
    width: 300px;
    min-width: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;

    @media (min-width: 810px) and (max-width: 1199px) {
      width: 280px;
      min-width: 260px;
    }

    @media (min-width: 1200px) {
      width: 320px;
    }
  }

  .pricing-table__body {
    display: flex;
    flex-direction: column;
    gap: 32px;

    .pricing-table__group {
      display: flex;
      flex-direction: column;

      .pricing-table__group-title {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.3;
        padding: 32px 0;
        border-bottom: 1px solid #e7e7ee;
      }
    }
  }

  .pricing-table__row {
    padding: 32px 0;
    border-bottom: 1px solid #e7e7ee;
    min-height: 56px;

    &:last-child {
      border-bottom: none;
      padding-bottom: 32px;
    }
  }

  .check-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' fill='%231ABA6A'/%3E%3Cpath d='M8 12.5L10.5 15L16 9.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }
}

.cta-footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  overflow: hidden;
  min-height: 400px;
  @media (min-width: 809px) {
    min-height: 560px;
  }

  .cta-footer__video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .cta-footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #fff, #fff0);
    z-index: -1;
  }

  .cta-footer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 1;

    h2 {
      font-family: 'Pretendard SemiBold', 'Pretendard', sans-serif;
      font-size: 32px;
      font-weight: 400;
      line-height: 1.3;
      color: #2b2b3b;
      margin: 0;

      @media (min-width: 809px) {
        font-size: 40px;
        font-weight: 600;
      }

      @media (min-width: 1440px) {
        font-size: 60px;
      }
    }

    p {
      font-family: 'Pretendard', sans-serif;
      font-size: 20px;
      font-weight: 400;
      line-height: 1.2;
      color: #2b2b3b;
      margin: 0;
    }
  }

  .cta-footer__button {
    display: inline-flex;
    height: 56px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid #2b2b3b;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #2b2b3b;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    text-decoration: none;
    margin-top: 16px;

    .arrow-icon {
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M11.6628 4.07363L7.53193 0.210913C7.24733 -0.0703044 6.78404 -0.0703044 6.49944 0.210913C6.21484 0.49213 6.21484 0.947869 6.49944 1.22909L9.50994 4.03163H0.662791C0.296698 4.03163 0 4.32375 0 4.68463C0 5.0455 0.296698 5.33763 0.662791 5.33763H9.50994L6.49944 8.14017C6.21484 8.42138 6.21484 8.87712 6.49944 9.15834C6.78404 9.43956 7.24733 9.43956 7.53193 9.15834L11.6628 5.29562C11.9462 5.0155 11.9462 4.35375 11.6628 4.07363Z' fill='%232B2B3B'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }
  }
}
