#choose-plan {
  background: #000;
  color: white;
  margin: 0 10%;
  margin-bottom: 5%;
}

#choose-plan .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.card-container {
  padding: 0;
}

.main-inner-container {
  margin-top: 3%;
  padding: 20px 20px 18px 20px;

  border-radius: 20px;
  border: 1px solid #777777;
  position: relative;
  z-index: 2;
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(90deg, #1d4af9 0%, #3a6efb 100%);
  color: #fff;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-bar {
  background: #000;
  border-radius: 999px !important;
  border: 1px solid #777777;
  padding: 8px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.tab {
  background: none;
  border: none;
  color: #c8c8c8;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 50px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.tab:hover {
  color: white;
}

.tab.active {
  color: white;
}

.viewer-box {
  background: #1a1a1a;
  border-radius: 20px;
  min-height: 380px;
}

.tab-slider {
  position: absolute;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #3a6efb 0%, #1d4af9 100%);
  border-radius: 4px;
  transition: all 0.4s ease;
}

.tab-bar {
  position: relative;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:hover {
  background: none !important;
  color: white !important;
}

.pills {
  padding: 5px 0;
  width: 100%;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right,
      #131313 0%,
      #0147FF 40%,
      #131313 100%) 1;
}

.right-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  /* padding: 28px; */
  box-sizing: border-box;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.viewer-img {
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;

}

#choose-plan {
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

.gradient-circle-bottom {
  position: absolute;
  top: 10%;
  /* move upward */
  right: 56%;
  width: 30%;
  height: 200px;
  border-radius: 80%;
  background: linear-gradient(180deg, rgba(28, 72, 228, 0.89) 0%, #174AFF 100%);
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}

.mobile-only {
  display: none;
}


/* Button */
.choosePlan-btn {
  width: 100%;
  max-width: 215px;
  /* desktop size */
  height: 50px;

  padding: 0 3rem 0 1.5rem;
  /* 👈 space for icon */

  background:
    linear-gradient(0deg,
      rgba(1, 71, 255, 0) 0%,
      rgba(1, 71, 255, 0) 100%),
    radial-gradient(circle at 26% 21%,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle at 86% 88%,
      rgba(0, 0, 0, 0.13) 0%,
      rgba(0, 0, 0, 0) 86%);

  color: #fff;
  border: 1px solid white;
  border-radius: 45px;
  font-weight: 600;
  text-decoration: none;
}

.choosePlan-btn .arrow-icon {
  position: absolute;
  right: 1.2rem;
  /* 👈 space from edge */
  font-size: 1.1rem;
}



.choosePlan-btn:hover {
  background:
    linear-gradient(0deg, rgba(212, 216, 226, 0.1), rgba(1, 71, 255, 0)),
    radial-gradient(circle at 26% 21%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 75%),
    radial-gradient(circle at 86% 88%, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0) 95%);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.plan-mobile {
  background: #000;
  color: #fff;
  margin: 0 5%;
  margin-bottom: 5%;
  text-align: center;
}

.mobile-card {
  background: #111;
  border: 1px solid #444;
  border-radius: 18px;
  padding: 16px;
}

/* CAROUSEL */
.heading-carousel {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.heading-viewport {
  overflow: hidden;
  width: 100%;
  /* full width of mobile card */
}

.heading-track {
  display: flex;
  transition: transform 0.35s ease;
}

.heading {
  flex: 0 0 100%;
  text-align: center;
  white-space: nowrap;
  padding: 8px 12px;
  margin: 0;
  font-size: 15px;
  color: #aaa;
  cursor: pointer;
  border: none;
}

.heading.active {
  background: linear-gradient(90deg, #3a6efb, #1d4af9);
  color: #fff;
}

.heading.active {
  background: linear-gradient(90deg, #3a6efb, #1d4af9);
  color: #fff;
  border-radius: 50px;
}

.arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 0 6px;
}

#next {
  margin-left: 2px;
}

#prev {
  margin-right: 2px;
}


/* CONTENT */
.slide {
  display: none;
}

.slide.active {
  display: block;
}

.viewer-img {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 12px;
}

/* FEATURES */
.ul-plan {
  list-style: none;
  padding: 0 48px;
  margin: 0;
  overflow: hidden;
  /* text-align: center; */
}

/* .ul-plan .li-plan {
  font-size: 16px;
  padding: 10px 0;
  text-align: left;
} */

.list-plan {
  padding: 10px;
  width: 100%;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right,
      #131313 0%,
      #0147FF 40%,
      #131313 100%) 1;
  display: flex;
}

.separator2 {
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(to right,
      #131313 0%,
      #0147FF 40%,
      #131313 100%);
  /* mask: radial-gradient(circle at 25% center,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.9) 20%,
      rgba(255, 255, 255, 0.5) 45%,
      rgba(255, 255, 255, 0.1) 70%,
      rgba(255, 255, 255, 0) 90%); */
}

/* BUTTON */
.mobile-btn {
  margin-top: 14px;
  /* width: 50%;
  height: 44px; */
  border-radius: 32px;
  background: linear-gradient(90deg, #3a6efb, #1d4af9);
  border: none;
  color: #fff;
  padding: 4px 12px;
  font-weight: 600;
}

.last-li {
  border: 0;
}

@media (max-width:1440px) {
  .pills {
    font-size: 14px;
  }
}

@media(max-width: 1024px) {
  #choose-plan {
    margin: 0% 5% !important;
    margin-bottom: 5% !important;
  }
}

/* Right box and button responsive fix */
@media (min-width: 992px) and (max-width: 1299px) {
  .right-box {
    width: 100%;
    /* take full column width */
    max-width: 320px;
    /* optional max width */
    /* padding: 20px; */
    /* reduce padding slightly */
    box-sizing: border-box;
  }

  .choosePlan-btn {
    width: 80%;
    /* button fills the box */
    /* max-width: 100%; */
    /* prevent overflow */
    font-weight: normal;
    margin-top: 13px;
    height: 44px;
  }

  .feature-list {
    gap: 8px;
  }
}

@media (max-width: 991px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .ul-plan {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tab-bar {
    padding: 8px 12px;
    gap: 4px;
  }

  .tab {
    font-size: 15px;
    padding: 8px 12px;
  }

  .right-box {
    padding: 20px;
  }

  .viewer-img {
    min-height: 100px;
  }

  .choosePlan-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .ul-plan {
    padding: 0;
  }

  /* .ul-plan .li-plan {
    padding: 5px 0;
  } */
}

@media (max-width: 991px) {
  .list-plan {
    text-align: left;
  }
}