.plans-filter-container,
.plans-carousel-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 20px;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
}

.plans-carousel-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.plans-carousel-item {
  flex: 0 0 auto;
  width: 360px;
}

.plans-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #000000;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.2);
}

.plans-carousel-container {
  position: relative;
}

/* Ensure navigation elements are hidden when disabled */
.plans-carousel-container:not(.show-dots) .plans-carousel-controls,
.plans-carousel-container:not(.show-arrows) .carousel-arrow {
  display: none !important;
}

.plans-filter-container {
  display: flex;
  flex-direction: column;
  gap: 90px;
  padding-bottom: 90px;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  max-width: 80%;
  margin: auto;
}

.plans-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  align-items: end;
  justify-content: flex-start;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 8px;
}

.filter-select {
  padding: 7px 15px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #FFC100;
  box-shadow: 0 0 0 3px rgba(255, 193, 0, 0.2);
}

.reset-button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: fit-content;
}

.reset-button:hover {
  transform: translateY(-2px);
}

.plans-grid {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}

.nova-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 360px;
  padding: 40px 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #E2E8F0;
  transition: all 0.5s cubic-bezier(0.2,0.8,0.3,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nova-card.hidden {
  display: none;
}

.nova-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.gradient-bar {
  position: absolute;
  left: 0; top: 0;
  width: 6px; height: 100%;
  background: #E2E8F0;
  border-radius: 20px 0 0 20px;
}

.gradient-bar.brand {
  background: linear-gradient(to bottom, #FFC100, #64B532, #08732E);
  box-shadow: 0 0 15px rgba(255,193,0,0.4);
}

.badge-container {
  position: absolute;
  top: 16px;
  right: 20px;
  width: auto;
  height: auto;
  z-index: 2;
}

.badge-pop {
  background: #FFC100;
  color: #081B2F;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 10px rgba(255,193,0,0.35);
  position: relative;
  top: 0;
  right: 0;
}

.badge-pop.hidden {
  display: none;
}

.badge-tv {
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  top: 8px; /* Space between badges */
  right: 0;
  background: #4299E1; /* Default blue background for TV badge */
  color: #FFFFFF; /* White text for contrast */
}

.badge-tv.hidden {
  display: none;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #081B2F !important; 
  margin: 0 0 12px;
  display: inline-block;
}

.highlight-bg {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 22px;
}

.speed { 
  padding: 6px 16px;
  font-size: 22px; 
  font-weight: 800; 
  color: #081B2F !important;
  margin-bottom: 10px;
  margin-top: -20px;
  /*margin: 10px 0; */
}

.duration { 
  font-size: 16px; 
  font-weight: 500; 
  color: #718096; 
  margin: 5px 0 15px; 
}

.nova-card .price { 
  margin: 14px 0; 
  line-height: 1; 
}

.nova-card .price .price-bg {
  padding: 8px 0px 0px 14px;
  border-radius: 8px;
  margin-right: 6px;
}

.nova-card .price span { 
  font-weight: normal; 
}

.features { 
  list-style: none; 
  padding: 0; 
  margin: 28px 0; 
  color: #4A5568; 
  font-size: 15px; 
  line-height: 1.7; 
  flex: 1; 
}

.features li { 
  margin: 10px 0; 
  display: flex;
  align-items: center;
}

.feature-icon {
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.feature-icon i {
  font-size: 16px;
  color: inherit;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.feature-text {
  flex: 1;
}

.btn-group { 
  display: flex; 
  gap: 14px; 
  margin-top: 16px; 
}

.btn {
  flex: 1;
  text-align: center;
  padding: 15px 12px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.book {
  background: #FFC100;
  color: #081B2F;
  font-weight: 700;
}

.book:hover {
  background: #E6B000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255,193,0,0.3);
}

.featured .book.pulse {
  animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.info {
  background: transparent;
  color: #2D3748;
  border: 2px solid #E2E8F0;
}

.info:hover {
  border-color: #2E7D32;
  color: #1A202C;
  background: #F8F9FC;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .plans-filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .plans-grid { 
    flex-direction: column; 
    align-items: center; 
    gap: 24px; 
  }
  
  .highlight-bg { 
    font-size: 24px; 
  }
  
  .price-bg { 
    font-size: 40px; 
  }
  
  .price {
    font-size: 40px;
  }
}
