.pricing-hero-dark,
.pricing-hero-dark .container {
  background: linear-gradient(
    90deg,
    rgb(224 241 227) 0%,
    rgb(228 242 231 / 29%) 40%,
    rgb(237 238 255 / 29%) 60%,
    rgb(237 238 255) 100%
  );
}

.pricing-page-hero {
  padding: 110px 0 56px;
  text-align: center;
}
.pricing-tab-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 2rem auto;
}
.pricing-page-main .pricing-tier-name {
  font-size: 1.5rem;
  line-height: 1.5;
}
.pricing-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #002970;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
  cursor: pointer;
}

.pricing-tab-btn.active {
  background: #01abff;
  color: #fff;
  border-color: transparent;
}

.pricing-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.pricing-page-main {
  min-height: 65vh;
  padding-bottom: 64px;
}

.pricing-main-header {
  text-align: center;
  padding: 48px 16px 24px;
}

.pricing-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 4px;
}

.pricing-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #444e5f;
  font-size: 0.95rem;
}

.pricing-filters {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-filter label {
  display: block;
  font-size: 0.9rem;
  color: #5d6678;
  margin-bottom: 8px;
  font-weight: 500;
}

.pricing-filter input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #101828;
  min-height: 52px;
  padding: 0 20px;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
}

.pricing-filter input:hover {
  border: 1px solid #e5e7eb !important;
  cursor: not-allowed;
}

.pricing-cycle-picker {
  position: relative;
}

.pricing-cycle-toggle {
  width: 100%;
  min-height: 52px;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #101828;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pricing-cycle-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
  padding: 6px;
  padding-right: 12px;
  z-index: 20;
  display: none;
  max-height: 260px;
  overflow-y: auto;
}

.pricing-cycle-menu.is-open {
  display: block;
}

.pricing-cycle-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0.25rem;
  color: #101828;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.pricing-cycle-option:hover {
  background: #f2f4f7;
}

.pricing-cycle-option.active {
  background: #eef4ff;
  color: #175cd3;
}

.selected-plan-wrap {
  margin: 0 auto;
  padding: 0 12px;
}

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

.vps-pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.vps-pricing-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d0d5dd;
  color: #344054;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vps-pricing-tab:hover {
  border-color: #84caff;
  color: #175cd3;
}

.vps-pricing-tab.active {
  background: #175cd3;
  color: #fff;
  border-color: #175cd3;
}

.pricing-tier-name span {
  font-size: 1.25rem;
}

.selected-plan-card {
  padding: 20px 22px 22px;
  width: min(320px, 100%);
}

.selected-plan-card .plan-meta {
  margin-bottom: 10px;
}

.selected-plan-card .pricing-tier-summary {
  min-height: 50px;
}

.selected-plan-card .plan-actions {
  margin: 12px 0 8px;
}

.selected-plan-card .plan-billing-note {
  min-height: 46px;
}

.selected-plan-card .plan-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #d1fadf;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
  width: fit-content;
}

.selected-plan-card .price-muted {
  color: #98a2b3;
  font-size: 0.92rem;
  text-decoration: line-through;
  margin-left: 8px;
}

.selected-plan-features ul,
.selected-plan-features .package-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-plan-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #344054;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.selected-plan-features li::before {
  content: "";
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230070f3'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.loading-state,
.empty-state {
  text-align: center;
  color: #6b7280;
  padding: 34px 12px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .pricing-page-hero {
    padding: 86px 0 34px;
  }

  .pricing-tab-group {
    gap: 8px;
    padding: 0 8px;
  }

  .pricing-tab-btn {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .pricing-filters {
    grid-template-columns: 1fr;
  }

  .selected-plan-card {
    width: 100%;
  }
}
