.pricing-page {
  padding: 26px 0 40px;
  background:
    radial-gradient(120% 160% at top, #1c0f2e 0%, #0b0b0f 40%, #050509 100%);
  color: #ffffff;
}

.pricing-hero {
  padding: 26px 0 18px;
}

.pricing-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 18px 26px;
  border-radius: 24px;
  background: radial-gradient(120% 200% at 0% 0%, #1c0f2e 0%, #0b0b0f 55%, #050509 100%);
  box-shadow:
    0 0 0 1px rgba(255, 45, 154, 0.18),
    0 26px 90px rgba(0, 0, 0, 0.9);
}

.pricing-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  font-size: 2.1rem;
  color: #ffffff;
}

.pricing-subtitle {
  margin: 0 0 22px;
  font-size: 1.02rem;
  color: #b3b3b3;
}

.pricing-toggle {
  display: inline-flex;
  background: rgba(11, 11, 15, 0.95);
  border: 1px solid rgba(255, 45, 154, 0.55);
  border-radius: 999px;
  padding: 4px;
  box-shadow:
    0 0 30px rgba(255, 45, 154, 0.26),
    0 16px 40px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-toggle-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #b3b3b3;
  white-space: nowrap;
  transition: color 200ms ease;
}

.pricing-toggle-btn[aria-pressed="true"] {
  color: #ffffff;
}

.pricing-toggle-indicator {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d9a, #7b2dff);
  box-shadow:
    0 0 26px rgba(255, 79, 216, 0.75),
    0 12px 34px rgba(0, 0, 0, 0.9);
  transition: transform 240ms ease, width 240ms ease;
}

.pricing-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  background: radial-gradient(140% 200% at 0% 0%, #1c0f2e 0%, #0b0b0f 55%, #050509 100%);
  border: 1px solid rgba(123, 45, 255, 0.4);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(123, 45, 255, 0.25);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 40px rgba(255, 79, 216, 0.3),
    0 30px 90px rgba(0, 0, 0, 1);
  border-color: rgba(255, 79, 216, 0.88);
}

.pricing-card.recommended {
  border-color: rgba(255, 45, 154, 0.95);
  box-shadow:
    0 0 46px rgba(255, 79, 216, 0.8),
    0 32px 96px rgba(0, 0, 0, 1);
}

.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0b0b0f;
  background: rgba(212, 175, 55, 0.9);
  border: 1px solid #f7e7a9;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-weight: 900;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 16px;
}

.pricing-price-value {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 0 22px rgba(255, 45, 154, 0.65);
}

.pricing-price-cycle {
  color: #b3b3b3;
  font-weight: 600;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #e5e5e5;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-feature .icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  margin-top: 1px;
  font-size: 0.85rem;
}

.pricing-feature.available .icon {
  background: radial-gradient(120% 200% at 0% 0%, rgba(255, 45, 154, 0.18), rgba(123, 45, 255, 0.32));
  color: #ffffff;
  border: 1px solid rgba(255, 79, 216, 0.9);
  box-shadow:
    0 0 14px rgba(255, 79, 216, 0.75),
    0 6px 20px rgba(0, 0, 0, 0.9);
}

.pricing-feature.unavailable {
  color: rgba(179, 179, 179, 0.6);
}

.pricing-feature.unavailable .icon {
  background: rgba(179, 179, 179, 0.16);
  color: #b3b3b3;
  border: 1px solid rgba(179, 179, 179, 0.45);
}

.pricing-cta {
  margin-top: 18px;
  width: 100%;
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: 800;
  border: 0;
  background: linear-gradient(135deg, #ff2d9a, #ff4fd8);
  color: #ffffff;
  box-shadow:
    0 0 32px rgba(255, 79, 216, 0.8),
    0 16px 40px rgba(0, 0, 0, 1);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pricing-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 40px rgba(255, 79, 216, 0.95),
    0 20px 56px rgba(0, 0, 0, 1);
}

.pricing-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pricing-note {
  margin-top: 16px;
  text-align: center;
  color: #b3b3b3;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-card {
    padding: 18px 16px;
  }
}

@media (max-width: 768px) {
  .pricing-content {
    padding-left: 0;
    padding-right: 0;
  }

  .pricing-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(16px, env(safe-area-inset-left));
    scroll-padding-right: max(16px, env(safe-area-inset-right));
    padding: 4px max(16px, env(safe-area-inset-left)) 14px max(16px, env(safe-area-inset-right));
    gap: 12px;
    align-items: stretch;
  }

  .pricing-card {
    flex: 0 0 clamp(260px, 86vw, 340px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .pricing-cta {
    min-height: 44px;
  }
}
