.pricing-gobek {
  padding: 60px 0;
  background: #f8f9fa;
}

.duration-selector-container, .duration-selector-container-vertical {
  margin-bottom: 40px;
}

.pricing-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.card.featured {
  border-color: #5e72e4;
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(94, 114, 228, 0.15);
  margin-top: 20px; /* Make space for the ribbon to sit above */
  padding-top: 40px; /* Add padding to push content down */
}

.ribbon {
  position: absolute;
  top: -15px; /* Position it outside the card's top border */
  left: 50%;
  transform: translateX(-50%);
  background: #5e72e4;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(94, 114, 228, 0.16);
  white-space: nowrap; /* Prevent wrapping */
  z-index: 2;
  min-width: 180px;
}

.plan-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.meta {
  color: #6c757d;
  margin-bottom: 20px;
  min-height: 40px;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 5px;
}
.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
}

.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}
.features li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.features li:before {
  content: "✔";
  margin-right: 10px;
  color: #5e72e4;
}

.cta {
  margin-top: auto;
}
.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
}
.btn.primary {
  background: #5e72e4;
  color: #fff;
  border: 2px solid #5e72e4;
  box-shadow: 0 8px 20px rgba(94, 114, 228, 0.12);
}
.btn.primary:hover {
  background: #4a5db3;
  border-color: #4a5db3;
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  border: 2px solid #cad1e0;
  color: #5e72e4;
}
.btn.ghost:hover {
  background: #5e72e4;
  color: #fff;
  border-color: #5e72e4;
}

.small-note {
  font-size: 13px;
  color: #6c757d;
  margin-top: 15px;
}

.private-cta {
  grid-column: 1 / -1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.private-cta .left {
  font-weight: 600;
}
.private-cta .right a {
  background: #344767;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}

@media (max-width: 991px) {
  .pricing-inner {
    grid-template-columns: 1fr;
  }
}