.pricing-hero-area {
  position: relative;
  background-image: url(../img/pricing/banner-bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-top: 180px;
  padding-bottom: 100px;
  z-index: 1;

  .shape01 {
    position: absolute;
    left: 170px;
    top: 400px;
    z-index: -1;
  }

  .shape02 {
    position: absolute;
    right: 65px;
    top: 280px;
    z-index: -1;
  }

  h1.title {
    font-size: 56px;
    color: var(--black_25);
    line-height: 58px;
    text-align: center;
    margin-bottom: 25px;
  }

  .subtitle {
    font-size: 18px;
    line-height: 28px;
    color: $black_50;
    text-align: center;
    margin-bottom: 0;
  }
}

.pricing-tabs {
  border: none;
  padding: 6px;
  border-radius: 8px;
  @include glass-panel;
  display: inline-flex;
  gap: 5px;
  margin-top: 60px;
  margin-bottom: 38px;

  button {
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 26px;
    color: #242729;
    font-weight: 600;
    border: none;
    transition: all 0.3s linear;
    background-color: transparent;

    &.active {
      background: rgba(255, 255, 255, 0.5);
      box-shadow: var(--glass-shadow);
    }

    &:hover {
      background: rgba(255, 255, 255, 0.3);
    }
  }
}

/* Modern Pricing Cards */
.pricing-wrapper {
  padding-top: 20px;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  &:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  &.popular {
    border: 2px solid var(--brand_color);
    box-shadow: 0 20px 40px rgba(var(--brand_color_rgb), 0.15);
    transform: scale(1.05);
    z-index: 5;

    .popular-badge {
      position: absolute;
      top: -16px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--brand_color);
      color: #fff;
      padding: 6px 24px;
      border-radius: 30px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      box-shadow: 0 10px 20px rgba(var(--brand_color_rgb), 0.3);
      white-space: nowrap;
    }

    &:hover {
      transform: scale(1.05) translateY(-5px);
      box-shadow: 0 40px 80px rgba(var(--brand_color_rgb), 0.2);
    }
  }

  .card-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
    margin-bottom: 30px;

    .plan-name {
      font-size: 24px;
      font-weight: 700;
      color: var(--black_800);
      margin-bottom: 10px;
    }

    .plan-desc {
      font-size: 15px;
      color: var(--black_500);
      margin-bottom: 25px;
    }

    .plan-price {
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--brand_color);

      .currency {
        font-size: 24px;
        font-weight: 600;
        margin-top: -15px;
        margin-right: 3px;
      }

      .amount {
        font-size: 48px;
        font-weight: 700;
        line-height: 1;
      }

      .period {
        font-size: 15px;
        color: var(--black_500);
        margin-left: 5px;
        align-self: flex-end;
        margin-bottom: 7px;
        font-weight: 500;
      }
    }
  }

  .card-body {
    .feature-list {
      list-style: none;
      padding: 0;
      margin: 0 0 40px;

      li {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        font-size: 15px;
        color: var(--black_700);

        i {
          margin-right: 12px;
          font-size: 16px;
        }

        &.included {
          i {
            color: #0bb62a;
          }
        }

        &.excluded {
          color: var(--black_400);
          text-decoration: line-through;
          opacity: 0.7;

          i {
            color: var(--black_300);
          }
        }
      }
    }
  }

  .card-footer {
    background: none;
    .btn-pricing {
      display: block;
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      font-weight: 600;
      text-align: center;
      transition: all 0.3s ease;
      text-decoration: none;
      border: 2px solid transparent;

      &.btn-outline {
        border-color: var(--black_800);
        color: var(--black_800);
        background: transparent;

        &:hover {
          background: var(--black_800);
          color: #fff;
        }
      }

      &.btn-primary {
        background: var(--brand_color);
        color: #fff;
        box-shadow: 0 10px 20px rgba(var(--brand_color_rgb), 0.25);

        &:hover {
          background: var(--brand_hover);
          transform: translateY(-2px);
          box-shadow: 0 15px 30px rgba(var(--brand_color_rgb), 0.35);
        }
      }

      &.btn-disabled {
        background: var(--black_100);
        color: var(--black_500);
        cursor: not-allowed;
      }
    }
  }
}

.responsive-price-table {
  border-radius: 12px;
  border: 1px solid var(--black_50);
  box-shadow: var(--long_shadow);
}

.price-table-widget {
  padding: 55px 50px 65px;

  .price_head {
    display: table;
    width: 100%;

    .p_head {
      width: 17%;
      color: #fff;
      display: table-cell;
      padding-bottom: 31px;

      &:nth-child(1) {
        width: 32%;
        padding-left: 30px;
      }

      h4 {
        font-size: 24px;
        line-height: 40px;
        color: $black_800;
        font-weight: 600;
        margin-bottom: 0;
        text-align: left;
      }

      h5 {
        line-height: 40px;
        font-weight: 600;
      }

      p {
        margin-bottom: 0;

        span {
          font-size: 32px;
          line-height: 40px;
          color: $black_800;
          font-weight: 600;
          margin-bottom: 0;
          text-align: left;
          transform: translateY(5px);
          display: inline-block;
        }

        sub {
          font-size: 14px;
          line-height: 0;
          color: $black_600;
          margin-left: 3px;
        }
      }
    }
  }

  .price_item {
    width: 17%;
    vertical-align: middle;
    display: table-cell;
    cursor: pointer;
    padding: 29px 0;

    &:first-child {
      width: 32%;
      text-align: left;
    }

    .status {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 14px;
      line-height: 32px;
      text-align: center;
      display: inline-block;
      background-color: #d8f9d1;
      color: #0bb62a;

      &.cross {
        background-color: #fee7d6;
        color: #fc6f54;
        font-size: 18px;

        i::before {
          content: "\4d";
        }
      }
    }

    .pr_title {
      position: relative;
      display: inline-block;
      padding-left: 30px;
      font-size: 18px;
      font-weight: 500;
      color: $black_800;
    }
  }

  .pr_list {
    display: table;
    width: 100%;
    background-color: #f5f5f5;

    &:first-child {
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }

    &:last-child {
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    &:nth-child(odd) {
      background: #fff;
    }
  }
}

.price-table-area {
  position: relative;
  overflow: hidden;
  z-index: 1;

  .bg-shape {
    img {
      position: absolute;
      z-index: -1;

      &:nth-child(1) {
        left: 0;
        top: 10%;
      }

      &:nth-child(2) {
        right: 0;
        top: 50%;
      }
    }
  }
}