/* Pricing — clear contrast, warm amber + ink, motion throughout */

/* Kill legacy reveal/zoom that leaves cards invisible or washed out */
.price-card.fade-up,
.price-card.reveal-zoom,
.price-card.tq-reveal,
.price-card.ts-up,
.price-card.ts-card-in,
.price-card.wx-reveal,
.price-card[data-aos],
.pricing-grid .price-card,
.pricing .price-card {
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  filter: none !important;
}
.price-card.fade-up:not(.visible):not(:hover),
.price-card.reveal-zoom:not(.visible):not(:hover),
.price-card.tq-reveal:not(.tq-in):not(:hover) {
  transform: none !important;
}

/* Hero */
.page-hero h1,
.page-hero .tq-banner-in h1,
.tq-banner h1 {
  color: #f7f3ea !important;
  -webkit-text-fill-color: #f7f3ea !important;
  background: none !important;
  animation: wxHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-hero h1 em,
.tq-banner h1 em {
  color: #f0b429 !important;
  -webkit-text-fill-color: #f0b429 !important;
}
.page-hero p,
.tq-banner p,
.breadcrumb span {
  color: #c4bba8 !important;
  -webkit-text-fill-color: #c4bba8 !important;
  animation: wxHeroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.breadcrumb a {
  color: #f0b429 !important;
  transition: color 0.25s ease;
}
.breadcrumb a:hover { color: #ffd666 !important; }

body.wx-inner .page-hero,
.page-hero.tq-banner {
  background:
    radial-gradient(720px 320px at 18% 0%, rgba(240, 180, 41, 0.16), transparent 55%),
    radial-gradient(640px 280px at 88% 20%, rgba(56, 189, 168, 0.08), transparent 50%),
    linear-gradient(180deg, #0c0d0f 0%, #141518 100%) !important;
  overflow: hidden;
}
body.wx-inner .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 41, 0.45), transparent);
  animation: wxLineSweep 4s ease-in-out infinite;
}

body.wx-inner .pricing.section,
body .pricing.section,
section.pricing {
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(240, 180, 41, 0.1), transparent 55%),
    radial-gradient(700px 360px at 100% 80%, rgba(56, 189, 168, 0.05), transparent 50%),
    #0e0f12 !important;
  color: #c4bba8 !important;
  padding-top: clamp(2.5rem, 6vw, 4.5rem) !important;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem) !important;
}

.pricing-toggle {
  display: flex !important;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 2.25rem !important;
  padding: 0.3rem !important;
  width: fit-content;
  max-width: 100%;
  background: #1a1c20 !important;
  border: 1px solid rgba(240, 180, 41, 0.22) !important;
  border-radius: 999px !important;
  animation: wxHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.pricing-toggle .toggle-btn {
  border: none !important;
  background: transparent !important;
  color: #a89f8c !important;
  font-family: "Parkinsans", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.2rem !important;
  border-radius: 999px !important;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-toggle .toggle-btn:hover {
  color: #f0b429 !important;
  transform: translateY(-1px);
}
.pricing-toggle .toggle-btn.active {
  background: linear-gradient(135deg, #f0b429 0%, #e09a1a 100%) !important;
  color: #141518 !important;
  box-shadow: 0 8px 22px rgba(240, 180, 41, 0.35);
}

.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}
@media (max-width: 991px) {
  .pricing-grid { grid-template-columns: 1fr !important; max-width: 440px !important; }
}

/* Base card — ink + warm edge */
.price-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 2.1rem 1.55rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(240, 180, 41, 0.18) !important;
  background:
    linear-gradient(160deg, #1c1e24 0%, #12141a 52%, #0c0d11 100%) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42) !important;
  color: #d2c9b6 !important;
  -webkit-text-fill-color: #d2c9b6 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  transform: translateY(0);
  animation: wxPriceIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.4s ease !important;
}
.pricing-grid .price-card:nth-child(1) { animation-delay: 0.06s; }
.pricing-grid .price-card:nth-child(2) { animation-delay: 0.16s; }
.pricing-grid .price-card:nth-child(3) { animation-delay: 0.26s; }

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f0b429, transparent);
  opacity: 0.9;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: transform 0.45s ease, opacity 0.35s ease;
}
.price-card::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 55%;
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.1), transparent 65%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.price-card:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(240, 180, 41, 0.55) !important;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(240, 180, 41, 0.15) !important;
}
.price-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.price-card:hover::after { opacity: 1; }

/* Demo — cool slate accent */
.pricing-grid .price-card:nth-child(1) {
  border-color: rgba(120, 160, 200, 0.28) !important;
  background:
    linear-gradient(160deg, #1a2030 0%, #12161f 55%, #0c0e14 100%) !important;
}
.pricing-grid .price-card:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, #7eb6ff, transparent);
}
.pricing-grid .price-card:nth-child(1) .plan-name {
  color: #8ec0ff !important;
  -webkit-text-fill-color: #8ec0ff !important;
}
.pricing-grid .price-card:nth-child(1) .primary-btn3 {
  background: linear-gradient(135deg, #6ea8f0 0%, #4d86d4 100%) !important;
  color: #0c1018 !important;
  -webkit-text-fill-color: #0c1018 !important;
  box-shadow: 0 12px 28px rgba(110, 168, 240, 0.28) !important;
}

/* Lifetime — soft teal accent */
.pricing-grid .price-card:nth-child(3) {
  border-color: rgba(56, 189, 168, 0.28) !important;
  background:
    linear-gradient(160deg, #152422 0%, #101816 55%, #0c100f 100%) !important;
}
.pricing-grid .price-card:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #3dcfb6, transparent);
}
.pricing-grid .price-card:nth-child(3) .plan-name {
  color: #5ee0c8 !important;
  -webkit-text-fill-color: #5ee0c8 !important;
}
.pricing-grid .price-card:nth-child(3) .primary-btn3 {
  background: linear-gradient(135deg, #3dcfb6 0%, #2aa892 100%) !important;
  color: #061510 !important;
  -webkit-text-fill-color: #061510 !important;
  box-shadow: 0 12px 28px rgba(61, 207, 182, 0.28) !important;
}

.price-card .plan-name,
.price-card .price-header .plan-name {
  display: inline-block !important;
  position: relative;
  z-index: 1;
  font-family: "Parkinsans", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #f0b429 !important;
  -webkit-text-fill-color: #f0b429 !important;
  background: none !important;
  margin-bottom: 0.65rem !important;
}

.price-card .currency,
.price-card .amount {
  position: relative;
  z-index: 1;
  font-family: "Parkinsans", sans-serif !important;
  font-weight: 800 !important;
  color: #faf6ee !important;
  -webkit-text-fill-color: #faf6ee !important;
  letter-spacing: -0.03em;
}
.price-card .amount {
  font-size: clamp(2.45rem, 5vw, 3.3rem) !important;
  line-height: 1 !important;
  animation: wxAmountPulse 4.5s ease-in-out infinite;
}
.price-card .currency { font-size: 1.35rem !important; margin-right: 2px; }
.price-card .period {
  display: inline-block !important;
  margin-left: 0.35rem !important;
  color: #9a917f !important;
  -webkit-text-fill-color: #9a917f !important;
  font-style: normal !important;
  font-size: 0.95rem !important;
  font-family: "Parkinsans", sans-serif !important;
}
.price-card .old-price {
  color: #7a7366 !important;
  -webkit-text-fill-color: #7a7366 !important;
  text-decoration: line-through;
  margin-left: 0.4rem;
  font-size: 1rem !important;
}

.price-features {
  list-style: none !important;
  margin: 1.25rem 0 1.5rem !important;
  padding: 0 !important;
  flex: 1 !important;
  position: relative;
  z-index: 1;
}
.price-features li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 0.72rem 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
  color: #c4bba8 !important;
  -webkit-text-fill-color: #c4bba8 !important;
  transform: translateX(0);
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  animation: wxFeatureRow 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.price-card:nth-child(1) .price-features li:nth-child(1) { animation-delay: 0.2s; }
.price-card:nth-child(1) .price-features li:nth-child(2) { animation-delay: 0.26s; }
.price-card:nth-child(1) .price-features li:nth-child(3) { animation-delay: 0.32s; }
.price-card:nth-child(1) .price-features li:nth-child(4) { animation-delay: 0.38s; }
.price-card:nth-child(1) .price-features li:nth-child(5) { animation-delay: 0.44s; }
.price-card:nth-child(2) .price-features li:nth-child(1) { animation-delay: 0.28s; }
.price-card:nth-child(2) .price-features li:nth-child(2) { animation-delay: 0.34s; }
.price-card:nth-child(2) .price-features li:nth-child(3) { animation-delay: 0.4s; }
.price-card:nth-child(2) .price-features li:nth-child(4) { animation-delay: 0.46s; }
.price-card:nth-child(2) .price-features li:nth-child(5) { animation-delay: 0.52s; }
.price-card:nth-child(3) .price-features li:nth-child(1) { animation-delay: 0.36s; }
.price-card:nth-child(3) .price-features li:nth-child(2) { animation-delay: 0.42s; }
.price-card:nth-child(3) .price-features li:nth-child(3) { animation-delay: 0.48s; }
.price-card:nth-child(3) .price-features li:nth-child(4) { animation-delay: 0.54s; }
.price-card:nth-child(3) .price-features li:nth-child(5) { animation-delay: 0.6s; }

.price-features li:hover {
  color: #f0ebe0 !important;
  -webkit-text-fill-color: #f0ebe0 !important;
  transform: translateX(4px);
  border-bottom-color: rgba(240, 180, 41, 0.25) !important;
}
.price-features li strong {
  color: #faf6ee !important;
  -webkit-text-fill-color: #faf6ee !important;
  font-weight: 700 !important;
}

.price-card .primary-btn3,
.price-card .btn-block,
.price-card a.primary-btn3 {
  margin-top: auto !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, #f0b429 0%, #e09a1a 100%) !important;
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
  font-family: "Parkinsans", sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(240, 180, 41, 0.3) !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease !important;
}
.price-card .primary-btn3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  display: block !important;
}
.price-card .primary-btn3::after { display: none !important; }
.price-card .primary-btn3:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(240, 180, 41, 0.42) !important;
  color: #141518 !important;
}
.price-card .primary-btn3:hover::before {
  transform: translateX(120%);
}

/* Featured / Pro — amber spotlight (beat legacy .price-card.featured) */
.pricing-grid .price-card.featured,
.pricing .price-card.featured,
div.price-card.featured {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(240, 180, 41, 0.28), transparent 58%),
    linear-gradient(165deg, #2a2214 0%, #1a1610 48%, #100e0b 100%) !important;
  background-color: #1a1610 !important;
  border: 1px solid rgba(240, 180, 41, 0.65) !important;
  border-color: rgba(240, 180, 41, 0.65) !important;
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(240, 180, 41, 0.28),
    0 0 48px rgba(240, 180, 41, 0.12) !important;
  animation:
    wxPriceIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both,
    wxFeaturedGlow 3s ease-in-out 0.95s infinite !important;
  z-index: 2;
}
.pricing-grid .price-card.featured:hover,
.pricing .price-card.featured:hover {
  transform: translateY(-14px) scale(1.015) !important;
}
.pricing-grid .price-card.featured .plan-name,
.price-card.featured .plan-name {
  color: #f0b429 !important;
  -webkit-text-fill-color: #f0b429 !important;
}
.pricing-grid .price-card.featured .primary-btn3,
.price-card.featured .primary-btn3 {
  background: linear-gradient(135deg, #f0b429 0%, #e09a1a 100%) !important;
  background-color: #f0b429 !important;
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
}
.price-card .price-badge,
.price-card.featured .price-badge {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 2;
  background: linear-gradient(135deg, #f0b429, #ffc857) !important;
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 0.42rem 0.75rem !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(240, 180, 41, 0.4);
  animation: wxBadgePop 2.2s ease-in-out infinite;
}

/* Lux extras */
.pricing .lux-extra,
.pricing .lux-extra-item {
  background: linear-gradient(165deg, #1c1e24, #12141a) !important;
  border: 1px solid rgba(240, 180, 41, 0.16) !important;
  border-radius: 14px !important;
  color: #c4bba8 !important;
}
.pricing .lux-extra {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
.pricing .lux-extra-item {
  padding: 1.3rem !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation: wxPriceIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pricing .lux-extra-item:nth-child(1) { animation-delay: 0.35s; }
.pricing .lux-extra-item:nth-child(2) { animation-delay: 0.45s; }
.pricing .lux-extra-item:nth-child(3) { animation-delay: 0.55s; }
.pricing .lux-extra-item:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.pricing .lux-extra-item h3 {
  color: #faf6ee !important;
  -webkit-text-fill-color: #faf6ee !important;
}

@keyframes wxHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wxPriceIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wxFeatureRow {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes wxFeaturedGlow {
  0%, 100% {
    box-shadow:
      0 26px 55px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(240, 180, 41, 0.28),
      0 0 36px rgba(240, 180, 41, 0.1);
  }
  50% {
    box-shadow:
      0 30px 64px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(240, 180, 41, 0.5),
      0 0 56px rgba(240, 180, 41, 0.22);
  }
}
@keyframes wxBadgePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes wxAmountPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 24px rgba(240, 180, 41, 0.18); }
}
@keyframes wxLineSweep {
  0%, 100% { opacity: 0.35; transform: scaleX(0.55); }
  50% { opacity: 0.9; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .price-card,
  .price-card.featured,
  .price-card .price-badge,
  .price-features li,
  .pricing-toggle,
  .page-hero h1,
  .page-hero p,
  .pricing .lux-extra-item,
  body.wx-inner .page-hero::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
