/**
 * VJInfotech Pricing & Comparison Page Stylesheet
 * High-Converting, Responsive, Premium Design System
 */

/* ==========================================================================
   Page Hero Header
   ========================================================================== */
.pr-hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.09) 0%, rgba(248, 250, 252, 1) 75%);
  border-bottom: 1px solid var(--vji-border);
  overflow: hidden;
}

.pr-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.pr-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 9999px;
  color: var(--vji-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.06);
}

.pr-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 850;
  line-height: 1.15;
  color: var(--vji-text-heading);
  letter-spacing: -0.035em;
  max-width: 820px;
  margin: 0 auto 1.25rem;
}

.pr-hero__title-gradient {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pr-hero__desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--vji-text-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.pr-hero__guarantee-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--vji-text-body);
  font-weight: 600;
}

.pr-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pr-hero__pill svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   AI Innovation Showcase Cards (Smart Mapping, AI Mapping, AI Assistance)
   ========================================================================== */
.pr-ai-spotlight {
  padding: 3.5rem 0 2rem;
  background: #ffffff;
}

.pr-ai-spotlight__heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.pr-ai-spotlight__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--vji-text-heading);
  margin-bottom: 0.75rem;
}

.pr-ai-spotlight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pr-ai-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.pr-ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pr-ai-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.08);
}

.pr-ai-card:hover::before {
  opacity: 1;
}

.pr-ai-card__icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--vji-primary);
  flex-shrink: 0;
}

.pr-ai-card--green .pr-ai-card__icon-box {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.pr-ai-card--purple .pr-ai-card__icon-box {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.pr-ai-card__badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pr-ai-card__badge--blue {
  background: #eef2ff;
  color: #4338ca;
}

.pr-ai-card__badge--emerald {
  background: #ecfdf5;
  color: #047857;
}

.pr-ai-card__badge--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.pr-ai-card__title {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--vji-text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pr-ai-card__desc {
  font-size: 0.95rem;
  color: var(--vji-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pr-ai-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--vji-text-body);
}

.pr-ai-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pr-ai-card__list svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing Cards Section
   ========================================================================== */
.pr-pricing-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--vji-border);
  border-bottom: 1px solid var(--vji-border);
}

/* Pricing Section Header & Subtitle */
.pr-pricing-section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3.25rem;
}

.pr-pricing-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--vji-text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.pr-pricing-section-subtitle {
  font-size: 1.05rem;
  color: var(--vji-text-muted);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 720px;
}

/* Master 3-Tier Switcher Bar */
.pr-tier-master-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.pr-tier-master-tabs {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--vji-border-light);
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  gap: 4px;
  max-width: 100%;
}

.pr-tier-master-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  color: var(--vji-text-muted);
  outline: none;
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 650;
  user-select: none;
  white-space: nowrap;
}

.pr-tier-master-tab:hover {
  color: var(--vji-text-heading);
}

.pr-tier-master-tab.is-active {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.15);
  color: var(--vji-primary);
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pr-tier-tab-tag {
  font-size: 0.65rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #4338ca;
  line-height: 1.2;
}

.pr-tier-tab-tag--agency {
  background: #ede9fe;
  color: #6d28d9;
}

/* Card-Level Interactive 3-Option License Selector (Sleek Segmented Control) */
.pr-card-tier-switch {
  margin: 0.9rem 0 1.15rem;
  height: 40px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.pr-card-tier-switch--lite {
  background: #f8fafc;
  border: 1px solid var(--vji-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}

.pr-card-tier-lite-tag {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--vji-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.pr-card-tier-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px solid var(--vji-border-light);
  width: 100%;
  height: 40px;
  box-sizing: border-box;
}

.pr-card-tier-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 0.35rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  color: var(--vji-text-muted);
  outline: none;
  font-family: inherit;
  user-select: none;
}

.pr-card-tier-pill:hover {
  color: var(--vji-text-heading);
  background: rgba(255, 255, 255, 0.6);
}

.pr-card-tier-pill.is-active {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.2);
  color: var(--vji-primary);
  font-weight: 750;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

/* Woo Import Export specific purple theme for active pill */
.pr-card-tier-switch[data-product="woo"] .pr-card-tier-pill.is-active {
  border-color: rgba(124, 58, 237, 0.2);
  color: #7c3aed;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.12);
}

.pr-card-tier-pill__title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* Pricing Card Divider */
.pr-pricing-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 1rem;
  color: var(--vji-text-muted);
  font-size: 0.725rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  height: 20px;
}

.pr-pricing-divider::before,
.pr-pricing-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--vji-border-light);
}

.pr-pricing-divider span {
  padding: 0 0.75rem;
}

/* Dynamic Price Number Animation */
.pr-price-animating {
  animation: prPricePop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes prPricePop {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pr-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pr-pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 18px;
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.pr-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

/* Popular / Flagship Card Highlight - Zero scale to maintain pixel-perfect row alignments */
.pr-pricing-card--popular {
  border: 2px solid #6366f1;
  box-shadow: 0 10px 30px -4px rgba(99, 102, 241, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  background: #ffffff;
  transform: none;
  z-index: 2;
}

.pr-pricing-card--popular:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -4px rgba(99, 102, 241, 0.24), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}

.pr-pricing-popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.95rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pr-pricing-header {
  margin-bottom: 1.25rem;
}

.pr-pricing-badge {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 750;
  color: var(--vji-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  height: 20px;
  line-height: 20px;
  margin-bottom: 0.4rem;
}

.pr-pricing-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--vji-text-heading);
  letter-spacing: -0.02em;
  height: 32px;
  line-height: 32px;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-pricing-desc {
  font-size: 0.9rem;
  color: var(--vji-text-muted);
  line-height: 1.5;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pr-pricing-price-wrap {
  margin: 1rem 0 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.pr-pricing-price {
  font-size: 2.85rem;
  font-weight: 850;
  color: var(--vji-text-heading);
  letter-spacing: -0.03em;
  height: 46px;
  line-height: 46px;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.pr-pricing-price .currency {
  font-size: 1.6rem;
  font-weight: 750;
  color: inherit;
}

.pr-pricing-price .period {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--vji-text-muted);
  letter-spacing: normal;
  margin-left: 0.15rem;
}

.pr-pricing-period {
  font-size: 0.825rem;
  font-weight: 650;
  color: #059669;
  height: 22px;
  line-height: 22px;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.pr-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--vji-text-body);
  line-height: 1.45;
}

.pr-pricing-features li svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.pr-pricing-features li.is-exclusive {
  color: var(--vji-text-heading);
  font-weight: 650;
}

.pr-pricing-features li.is-exclusive svg {
  color: var(--vji-primary);
}

.pr-pricing-features li.is-dimmed {
  color: var(--vji-text-subtle);
  text-decoration: line-through;
}

.pr-pricing-features li.is-dimmed svg {
  color: #cbd5e1;
}

/* ==========================================================================
   Pricing Card Action Buttons & Subnotes (Uniform, Responsive, Aligned)
   ========================================================================== */
.pr-pricing-cta-wrap {
  margin-top: 0;
  padding-top: 0;
}

.pr-pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 1.25rem;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pr-pricing-btn__text {
  display: inline-block;
  white-space: nowrap;
}

.pr-pricing-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pr-pricing-btn:hover .pr-pricing-btn__icon--arrow {
  transform: translateX(3px);
}

/* Card 1: Lite / Free */
.pr-pricing-btn--lite {
  background: #f8fafc;
  color: var(--vji-text-heading);
  border: 1.5px solid var(--vji-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pr-pricing-btn--lite:hover {
  background: #ffffff;
  border-color: var(--vji-primary);
  color: var(--vji-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

/* Card 2: Flagship All-in-One (Popular) */
.pr-pricing-btn--flagship {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.pr-pricing-btn--flagship:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* Card 3: WooCommerce Specialist */
.pr-pricing-btn--woo {
  background: #7c3aed;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.pr-pricing-btn--woo:hover {
  background: #6d28d9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* Subnote under buttons */
.pr-pricing-subnote {
  margin-top: 0.65rem;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pr-pricing-subnote__link,
.pr-pricing-subnote__guarantee,
.pr-pricing-subnote__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
}

.pr-pricing-subnote__link {
  color: var(--vji-text-muted);
  text-decoration: underline;
  transition: color 0.2s;
}

.pr-pricing-subnote__link:hover {
  color: var(--vji-primary);
}

.pr-pricing-subnote__guarantee {
  color: #059669;
  font-weight: 650;
}

.pr-pricing-subnote__meta {
  color: var(--vji-text-muted);
  font-weight: 550;
}

.pr-pricing-subnote svg {
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Comparison Matrix Section
   ========================================================================== */
.pr-compare-section {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: #ffffff;
  border-top: 1px solid var(--vji-border);
  overflow: hidden;
}

.pr-compare-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 70%);
  pointer-events: none;
}

.pr-compare-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3rem;
}

.pr-compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 9999px;
  color: var(--vji-primary);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.06);
}

.pr-compare-badge svg {
  color: var(--vji-primary);
  flex-shrink: 0;
}

.pr-compare-title {
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  font-weight: 850;
  color: var(--vji-text-heading);
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 auto 1.25rem;
}

.pr-compare-title__gradient {
  display: inline-block;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pr-compare-divider {
  display: none;
}

.pr-compare-subtitle {
  font-size: clamp(1.025rem, 1.8vw, 1.15rem);
  color: var(--vji-text-muted);
  line-height: 1.68;
  max-width: 760px;
  margin: 0 auto 1.75rem;
}

.pr-compare-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.pr-compare-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--vji-text-body);
  background: #f8fafc;
  border: 1px solid var(--vji-border);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.pr-compare-highlight-item:hover {
  background: #f1f5f9;
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-1px);
}

.pr-compare-highlight-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Table Controls: Search & Category Filter Pills */
.pr-table-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid var(--vji-border);
  border-radius: 14px;
}

.pr-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pr-pill-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--vji-text-muted);
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pr-pill-btn:hover {
  background: #edf2f7;
  color: var(--vji-text-heading);
}

.pr-pill-btn.is-active {
  background: var(--vji-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.pr-pill-btn .count {
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
}

.pr-pill-btn.is-active .count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.pr-search-box {
  position: relative;
  min-width: 260px;
}

.pr-search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  font-size: 0.875rem;
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 9999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pr-search-box input:focus {
  border-color: var(--vji-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.pr-search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* ==========================================================================
   Matrix Table Architecture
   ========================================================================== */
.pr-table-container {
  overflow-x: auto;
  border: 1px solid var(--vji-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  background: #ffffff;
  position: relative;
}

.pr-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
}

/* Table Header */
.pr-matrix-table thead th {
  padding: 1.25rem 0.85rem 1.15rem;
  background: #f8fafc;
  border-bottom: 2px solid var(--vji-border);
  position: sticky;
  top: 0;
  z-index: 10;
  vertical-align: top;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pr-matrix-table thead th.pr-th-feature {
  text-align: left;
  padding-left: 1.75rem;
  min-width: 270px;
  width: 30%;
}

.pr-matrix-table thead th.pr-th-col {
  width: 17.5%;
  min-width: 165px;
  text-align: center;
}

/* TH Card Container */
.pr-th-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.pr-th-card--feature {
  align-items: flex-start;
}

/* TH Pill Badges */
.pr-th-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  line-height: 1.2;
  white-space: nowrap;
}

.pr-th-badge--muted {
  background: #e2e8f0;
  color: #475569;
}

.pr-th-badge--flagship {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.pr-th-badge--flagship svg {
  color: #fbbf24;
}

.pr-th-badge--woo {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.22);
}

.pr-th-badge--lite {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.pr-th-badge--other {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid var(--vji-border);
}

/* TH Product Titles */
.pr-th-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vji-text-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pr-th-title--flagship {
  color: #3730a3;
  font-weight: 850;
  font-size: 1.1rem;
}

.pr-th-title--woo {
  color: #5b21b6;
}

.pr-th-title--lite {
  color: var(--vji-text-heading);
}

.pr-th-title--other {
  color: #475569;
}

/* TH Subtitles */
.pr-th-subtitle {
  font-size: 0.775rem;
  font-weight: 550;
  color: var(--vji-text-muted);
  line-height: 1.35;
  white-space: nowrap;
}

/* Flagship Recommended Column Highlight */
.pr-col-flagship {
  background-color: rgba(79, 70, 229, 0.035) !important;
  position: relative;
}

.pr-matrix-table thead th.pr-col-flagship {
  background: #f0f3ff !important;
  border-bottom: 2px solid #6366f1;
  box-shadow: inset 0 3px 0 #4f46e5;
}

/* Category Section Header Row */
.pr-row-category td {
  text-align: left;
  background: #f1f5f9;
  padding: 0.85rem 1.75rem;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  border-top: 1px solid var(--vji-border);
  border-bottom: 1px solid var(--vji-border);
}

.pr-row-category td span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Standard Table Body Rows */
.pr-matrix-table tbody tr {
  transition: background-color 0.15s ease;
}

.pr-matrix-table tbody tr:hover td {
  background-color: rgba(241, 245, 249, 0.65);
}

.pr-matrix-table tbody tr:hover td.pr-col-flagship {
  background-color: rgba(79, 70, 229, 0.07) !important;
}

.pr-matrix-table tbody td {
  padding: 1.1rem 1rem;
  font-size: 0.925rem;
  color: var(--vji-text-body);
  border-bottom: 1px solid var(--vji-border-light);
  vertical-align: middle;
}

.pr-matrix-table tbody td:first-child {
  text-align: left;
  padding-left: 1.75rem;
  font-weight: 600;
  color: var(--vji-text-heading);
}

.pr-feature-name {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pr-feature-sub {
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--vji-text-muted);
}

/* Feature Badges */
.pr-tag-ai {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #eef2ff;
  color: #4f46e5;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.pr-tag-market {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #ecfdf5;
  color: #059669;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Checkmark and Cross Icons (Faithful to image, but elevated) */
.pr-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.pr-icon-check svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.75;
}

.pr-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.pr-icon-cross svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
}

/* Highlighted Price Rows (Top and Bottom) */
.pr-row-price td {
  background: #ffffff;
  padding: 1.25rem 1rem;
}

.pr-price-tag {
  font-size: 1.25rem;
  font-weight: 800;
}

.pr-price-tag--flagship {
  color: #4f46e5;
  font-size: 1.45rem;
  font-weight: 850;
}

.pr-price-tag--woo {
  color: #7c3aed;
  font-size: 1.35rem;
}

.pr-price-tag--free {
  color: #2563eb;
  font-size: 1.25rem;
}

.pr-price-tag--other {
  color: #9333ea;
  font-size: 1.25rem;
}

/* Updates Row */
.pr-row-updates td {
  padding: 1.15rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  vertical-align: middle;
}

.pr-updates-annual {
  color: #7c3aed;
  font-weight: 750;
  font-size: 0.95rem;
  display: inline-block;
  white-space: nowrap;
}

.pr-updates-annual--flagship {
  color: #4f46e5;
  font-weight: 850;
}

/* Hidden Rows during Filter Search */
.pr-matrix-table tbody tr.is-hidden {
  display: none !important;
}

/* Table Footer / Summary Row */
.pr-row-footer td {
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border-top: 2px solid var(--vji-border);
}

/* Table Action Buttons */
.pr-table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.2;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pr-table-btn__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.pr-table-btn:hover .pr-table-btn__icon {
  transform: translateX(3px);
}

.pr-table-btn--flagship {
  background: var(--vji-primary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.pr-table-btn--flagship:hover {
  background: var(--vji-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.pr-table-btn--woo {
  background: #ffffff;
  color: #7c3aed;
  border: 1.5px solid #7c3aed;
}

.pr-table-btn--woo:hover {
  background: #7c3aed;
  color: #ffffff;
  transform: translateY(-1px);
}

.pr-table-btn--lite {
  background: #f1f5f9;
  color: var(--vji-text-heading);
  border: 1px solid var(--vji-border);
}

.pr-table-btn--lite:hover {
  background: #ffffff;
  border-color: var(--vji-primary);
  color: var(--vji-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Trust Banner & Why Choose Us Comparison Grid
   ========================================================================== */
.pr-trust-banner {
  margin: 3.5rem 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.pr-trust-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.pr-trust-banner__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.pr-trust-banner__desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.pr-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  font-size: 0.975rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.25;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.25s ease;
}

.pr-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  color: #ffffff;
}

.pr-banner-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pr-banner-btn:hover svg {
  transform: translateX(3px);
}

.pr-trust-banner__points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pr-trust-banner__point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.pr-trust-banner__point svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Rank Math SEO Schema-Friendly FAQ Accordion
   ========================================================================== */
.pr-faq-section {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--vji-border);
}

.pr-faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.pr-faq-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--vji-text-heading);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.pr-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pr-faq-item {
  background: #ffffff;
  border: 1px solid var(--vji-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pr-faq-item:hover {
  border-color: #cbd5e1;
}

.pr-faq-item.is-active {
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
}

.pr-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vji-text-heading);
  cursor: pointer;
  gap: 1rem;
  outline: none;
}

.pr-faq-icon {
  width: 20px;
  height: 20px;
  color: var(--vji-text-muted);
  transition: transform 0.3s ease, color 0.2s;
  flex-shrink: 0;
}

.pr-faq-item.is-active .pr-faq-icon {
  transform: rotate(180deg);
  color: var(--vji-primary);
}

.pr-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--vji-text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pr-faq-item.is-active .pr-faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* Bottom Conversion Section CTA Buttons */
.pr-bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.25;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.pr-bottom-cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pr-bottom-cta-btn:hover svg {
  transform: translateX(3px);
}

.pr-bottom-cta-btn--primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}

.pr-bottom-cta-btn--primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.pr-bottom-cta-btn--secondary {
  background: #ffffff;
  color: var(--vji-text-heading);
  border: 1.5px solid var(--vji-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pr-bottom-cta-btn--secondary:hover {
  background: #f8fafc;
  border-color: var(--vji-primary);
  color: var(--vji-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .pr-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .pr-pricing-card--popular {
    transform: none;
  }

  .pr-pricing-card--popular:hover {
    transform: translateY(-4px);
  }

  .pr-ai-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .pr-trust-banner__inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .pr-hero {
    padding: 3.5rem 1rem 2.5rem;
  }

  .pr-table-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .pr-search-box {
    width: 100%;
  }

  .pr-matrix-table thead th:first-child,
  .pr-matrix-table thead th.pr-th-feature {
    min-width: 220px;
    padding-left: 1rem;
  }

  .pr-matrix-table tbody td:first-child {
    padding-left: 1rem;
  }

  .pr-compare-header {
    margin-bottom: 2rem;
  }

  .pr-compare-highlights {
    gap: 0.5rem;
  }

  .pr-compare-highlight-item {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

  .pr-pricing-section-header {
    margin-bottom: 2rem;
  }

  .pr-tier-master-wrap {
    width: 100%;
    overflow-x: auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .pr-tier-master-tabs {
    flex-direction: row;
    width: auto;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
  }

  .pr-tier-master-tab {
    padding: 0.55rem 0.85rem;
    font-size: 0.825rem;
    gap: 0.35rem;
  }
}

@media screen and (max-width: 480px) {
  .pr-pricing-card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .pr-card-tier-pills {
    gap: 0.35rem;
  }

  .pr-card-tier-pill {
    padding: 0.5rem 0.2rem 0.45rem;
    border-radius: 8px;
  }

  .pr-card-tier-pill__title {
    font-size: 0.75rem;
  }

  .pr-card-tier-pill__price {
    font-size: 0.75rem;
  }

  .pr-card-tier-pill__badge {
    font-size: 0.5rem;
    padding: 1px 3px;
    top: -6px;
    right: 2px;
  }
}

