/**
 * Globonex Executive Brand Theme - Modular Pricing & Feature Comparison Table System
 *
 * Provides CSS Custom Properties with automatic inheritance from the active Theme Color Preset,
 * custom table-level overrides, responsive flex/grid layouts, and sticky headers.
 */

:root {
  /* ==========================================================================
     Default CSS Custom Properties (Inherited dynamically from active theme preset)
     ========================================================================== */
  --table-primary-color: var(--primary-color, #0564d2);
  --table-primary-hover: var(--primary-hover, #044ea5);
  --table-header-bg: var(--primary-color, #0564d2);
  --table-header-text: #ffffff;
  --table-badge-bg: var(--primary-color, #0564d2);
  --table-badge-text: #ffffff;
  --table-featured-accent: var(--primary-color, #0564d2);
  --table-featured-border: var(--primary-color, #0564d2);
  --table-btn-primary-bg: var(--btn-primary-bg, var(--primary-color, #0564d2));
  --table-btn-primary-hover: var(--primary-hover, #044ea5);
  --table-btn-primary-text: var(--btn-primary-text, #ffffff);
  --table-card-bg: var(--bg-card, #ffffff);
  --table-card-border: var(--bg-card-border, #e2e8f0);
  --table-text-main: var(--text-main, #1e293b);
  --table-text-muted: var(--text-muted, #64748b);
  --table-headings-color: var(--headings-color, #0f172a);
}

/* ==========================================================================
   Table Section & Header
   ========================================================================== */
.globonex-pricing-section.globonex-table-system {
  width: 100%;
  max-width: 100%;
  margin: 3.5rem auto 2.5rem;
  padding: 0;
  box-sizing: border-box;
}

.globonex-table-system .globonex-pricing-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.globonex-table-system .globonex-pricing-badge {
  display: inline-block;
  padding: 0.35rem 1.15rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--table-badge-bg);
  color: var(--table-badge-text);
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(5, 100, 210, 0.25);
  transition: all 0.3s ease;
}

.globonex-table-system .globonex-pricing-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--table-headings-color);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.globonex-table-system .globonex-pricing-title span {
  color: var(--table-primary-color);
  background: linear-gradient(135deg, var(--table-primary-color) 0%, var(--table-primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.globonex-table-system .globonex-pricing-desc {
  font-size: 1.05rem;
  color: var(--table-text-muted);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 680px;
}

/* ==========================================================================
   Billing Cycle Toggle Switcher
   ========================================================================== */
.globonex-table-system .globonex-billing-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--table-card-bg);
  border: 1px solid var(--table-card-border);
  padding: 5px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  gap: 6px;
  user-select: none;
}

.globonex-table-system .globonex-cycle-btn {
  background: transparent;
  border: none;
  padding: 0.65rem 1.45rem;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--table-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.globonex-table-system .globonex-cycle-btn.active {
  background: var(--table-primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 100, 210, 0.35);
}

.globonex-table-system .globonex-discount-pill {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Category & Feature Filtering System
   ========================================================================== */
.globonex-table-system .globonex-table-filter-wrapper {
  margin: 1.75rem auto 2.25rem;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

/* Category / Audience Filter Tabs */
.globonex-table-system .globonex-filter-tabs-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 6px;
  scrollbar-width: none;
}

.globonex-table-system .globonex-filter-tabs-container::-webkit-scrollbar {
  display: none;
}

.globonex-table-system .globonex-filter-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--table-card-bg);
  border: 1.5px solid var(--table-card-border);
  padding: 5px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  gap: 6px;
  user-select: none;
  max-width: 100%;
}

.globonex-table-system .globonex-filter-tab {
  background: transparent;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--table-text-muted);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.globonex-table-system .globonex-filter-tab:hover {
  color: var(--table-primary-color);
  background: rgba(5, 100, 210, 0.06);
}

.globonex-table-system .globonex-filter-tab.active {
  background: var(--table-primary-color);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 100, 210, 0.35);
}

.globonex-table-system .globonex-filter-tab .filter-count {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  line-height: 1.3;
}

.globonex-table-system .globonex-filter-tab.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Feature Checkboxes & Requirements Bar */
.globonex-table-system .globonex-feature-filters-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  background: rgba(5, 100, 210, 0.03);
  border: 1px solid var(--table-card-border);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.86rem;
  color: var(--table-headings-color);
  transition: all 0.2s ease;
}

.globonex-table-system .globonex-filter-lead {
  font-weight: 700;
  color: var(--table-headings-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
}

.globonex-table-system .globonex-feature-checkboxes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.globonex-table-system .globonex-filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--table-text-muted);
  user-select: none;
  transition: color 0.15s ease;
}

.globonex-table-system .globonex-filter-checkbox-label:hover {
  color: var(--table-primary-color);
}

.globonex-table-system .globonex-filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--table-primary-color);
  cursor: pointer;
  width: 15px;
  height: 15px;
  margin: 0;
}

.globonex-table-system .globonex-filter-checkbox-label:has(input:checked) {
  color: var(--table-primary-color);
  font-weight: 700;
}

.globonex-table-system .globonex-reset-filters-btn {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.globonex-table-system .globonex-reset-filters-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* Card Transitions & Filter States */
.globonex-table-system .globonex-pricing-card {
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.globonex-table-system .globonex-pricing-card.filtered-out {
  display: none !important;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}

.globonex-table-system .globonex-pricing-card.filtered-in {
  animation: globonexCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes globonexCardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Empty State Fallback Container */
.globonex-table-system .globonex-no-plans-fallback {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--table-card-bg);
  border: 2px dashed var(--table-card-border);
  border-radius: 20px;
  max-width: 580px;
  margin: 1.5rem auto 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  animation: globonexCardFadeIn 0.3s ease;
}

.globonex-table-system .globonex-no-plans-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.globonex-table-system .globonex-no-plans-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--table-headings-color);
  margin-bottom: 0.5rem;
}

.globonex-table-system .globonex-no-plans-desc {
  font-size: 0.95rem;
  color: var(--table-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.globonex-table-system .globonex-btn-reset-filters {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.45rem;
  border-radius: 30px;
}

/* ==========================================================================
/* ==========================================================================
   Full-Width Unified Pricing Table & Contiguous Grid System
   ========================================================================== */

/* Container Expansion: Allow pricing table to stretch full width without Windows 100vw horizontal scrollbar bug */
.site-main:has(.globonex-table-system),
.site-container:has(.globonex-table-system) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  overflow-x: visible !important;
}

.site-content-layout:has(.globonex-table-system),
.content-area:has(.globonex-table-system),
.entry-content:has(.globonex-table-system),
article.glass-card:has(.globonex-table-system),
article.site-card:has(.globonex-table-system),
article.page:has(.globonex-table-system),
article.post:has(.globonex-table-system) {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.entry-content .globonex-pricing-section.globonex-table-system,
.content-area .globonex-pricing-section.globonex-table-system {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.globonex-table-system .globonex-pricing-grid-responsive {
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  border-radius: 16px;
  border: 1px solid var(--table-card-border);
  background: var(--table-card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  padding-top: 22px !important; /* Dedicated vertical headroom so the featured badge on top is never cropped */
  margin-bottom: 3rem;
  box-sizing: border-box;
  position: relative;
}

.globonex-table-system .globonex-pricing-grid {
  display: grid;
  grid-template-columns: repeat(var(--plan-count, 3), minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  background: var(--table-card-bg);
  box-sizing: border-box;
  align-items: stretch;
  overflow: visible;
  border-radius: 15px;
}

/* Explicit data-columns attribute fallbacks to ensure equal width columns in all browser engines */
.globonex-table-system .globonex-pricing-grid[data-columns="1"] { grid-template-columns: minmax(0, 1fr); }
.globonex-table-system .globonex-pricing-grid[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.globonex-table-system .globonex-pricing-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.globonex-table-system .globonex-pricing-grid[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.globonex-table-system .globonex-pricing-grid[data-columns="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.globonex-table-system .globonex-pricing-grid[data-columns="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Individual Unified Plan Column */
.globonex-table-system .globonex-pricing-card {
  background: var(--table-card-bg);
  border: none;
  border-right: 1px solid var(--table-card-border);
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  min-width: 0;
}

.globonex-table-system .globonex-pricing-card:last-child {
  border-right: none;
}

/* ==========================================================================
   Continuous Theme Color Header Bar
   ========================================================================== */
.globonex-table-system .globonex-card-top {
  background: var(--table-header-bg, var(--primary-color, #0564d2));
  color: #ffffff;
  padding: 1.8rem clamp(0.75rem, 1.2vw, 1.4rem) 1.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  margin-bottom: 0;
}

.globonex-table-system .globonex-pricing-card:last-child .globonex-card-top {
  border-right: none;
}

.globonex-table-system .globonex-plan-name {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}

.globonex-table-system .globonex-plan-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  min-height: 2.6rem;
}

/* Elevated Featured / Popular Ribbon on Top of Plan Column */
.globonex-table-system .globonex-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--table-featured-accent, var(--table-primary-color, #0564d2));
  background: linear-gradient(135deg, var(--table-featured-accent, #0564d2) 0%, #034ea5 100%);
  color: #ffffff !important;
  border: 2px solid #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.32rem 1.15rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  z-index: 20;
  line-height: 1.2;
}

html[data-theme="dark"] .globonex-table-system .globonex-popular-ribbon {
  border-color: #0f172a;
}

/* ==========================================================================
   Synchronized Price Header Row
   ========================================================================== */
.globonex-table-system .globonex-card-price-block {
  padding: 1.35rem clamp(0.6rem, 1vw, 1.25rem) 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--table-card-border);
  background: var(--table-card-bg);
  min-height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.globonex-table-system .globonex-plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
}

.globonex-table-system .globonex-plan-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--table-text-main);
}

.globonex-table-system .globonex-plan-price-amount {
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  font-weight: 900;
  color: var(--table-headings-color);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.globonex-table-system .globonex-plan-period {
  font-size: 0.95rem;
  color: var(--table-text-muted);
  font-weight: 600;
}

.globonex-table-system .globonex-plan-subtext {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 0.35rem;
  min-height: 1.15rem;
}

/* ==========================================================================
   Synchronized Feature Rows & Shared Divider Lines
   ========================================================================== */
.globonex-table-system .globonex-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.globonex-table-system .globonex-plan-feature-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.75rem clamp(0.55rem, 0.9vw, 1.2rem);
  min-height: 48px;
  border-bottom: 1px solid var(--table-card-border);
  font-size: clamp(0.82rem, 0.9vw, 0.9rem);
  color: var(--table-text-main);
  line-height: 1.4;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

/* Alternating subtle row striping across all columns */
.globonex-table-system .globonex-plan-feature-item:nth-child(even) {
  background: rgba(5, 100, 210, 0.015);
}

.globonex-table-system .globonex-plan-feature-item .check {
  color: #10b981;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.globonex-table-system .globonex-plan-feature-item.feature-empty .cross {
  color: #94a3b8;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.globonex-table-system .globonex-plan-feature-item.feature-empty .feature-empty-text {
  color: var(--table-text-muted);
  opacity: 0.6;
}

/* ==========================================================================
   Synchronized Bottom CTA Block
   ========================================================================== */
.globonex-table-system .globonex-card-bottom {
  margin-top: auto;
  padding: 1.35rem clamp(0.6rem, 1vw, 1.25rem) 1.5rem;
  text-align: center;
  background: var(--table-card-bg);
  box-sizing: border-box;
}

.globonex-table-system .globonex-plan-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem clamp(0.5rem, 0.8vw, 1.15rem);
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(0.84rem, 0.92vw, 0.96rem);
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.globonex-table-system .globonex-plan-cta-btn.btn-primary {
  background: var(--table-btn-primary-bg);
  color: var(--table-btn-primary-text);
  border: none;
  box-shadow: 0 4px 15px rgba(5, 100, 210, 0.3);
}

.globonex-table-system .globonex-plan-cta-btn.btn-primary:hover {
  background: var(--table-btn-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 100, 210, 0.4);
}

.globonex-table-system .globonex-plan-cta-btn.btn-secondary {
  background: transparent;
  color: var(--table-primary-color);
  border: 2px solid var(--table-primary-color);
}

.globonex-table-system .globonex-plan-cta-btn.btn-secondary:hover {
  background: var(--table-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Featured / Highlighted Plan Emphasis (Within Unified Grid)
   ========================================================================== */
.globonex-table-system .globonex-pricing-card.popular {
  background: rgba(5, 100, 210, 0.035);
  position: relative;
  box-shadow: inset 0 0 0 2px var(--table-primary-color);
  z-index: 5;
  transform: none !important;
}

.globonex-table-system .globonex-pricing-card.popular:hover {
  transform: none !important;
}

.globonex-table-system .globonex-pricing-card.popular .globonex-card-top {
  background: linear-gradient(180deg, var(--table-primary-hover, #044ea5) 0%, var(--table-primary-color, #0564d2) 100%);
}

.globonex-table-system .globonex-pricing-card.popular .globonex-card-price-block,
.globonex-table-system .globonex-pricing-card.popular .globonex-card-bottom {
  background: transparent;
}

.globonex-table-system .globonex-pricing-card.popular .globonex-plan-feature-item {
  background: rgba(5, 100, 210, 0.03);
}

.globonex-table-system .globonex-pricing-card.popular .globonex-plan-feature-item:nth-child(even) {
  background: rgba(5, 100, 210, 0.065);
}

/* ==========================================================================
   Feature Comparison Matrix & Sticky Header
   ========================================================================== */
.globonex-table-system .globonex-matrix-toggle-wrap {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.globonex-table-system .globonex-matrix-toggle-btn {
  background: var(--table-card-bg);
  border: 2px solid var(--table-primary-color);
  color: var(--table-primary-color);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(5, 100, 210, 0.12);
}

.globonex-table-system .globonex-matrix-toggle-btn:hover {
  background: var(--table-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 100, 210, 0.35);
}

.globonex-table-system .globonex-matrix-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
}

.globonex-table-system .globonex-matrix-collapsible.expanded {
  max-height: 8000px;
  opacity: 1;
  transition: max-height 0.8s ease-in-out, opacity 0.5s ease;
  margin-top: 1.5rem;
}

.globonex-table-system .globonex-matrix-collapsible .globonex-table-responsive,
.globonex-table-system div.globonex-table-responsive:not(.globonex-pricing-grid-responsive) {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--table-card-border);
  background: var(--table-card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  -webkit-overflow-scrolling: touch;
}

.globonex-table-system .globonex-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.95rem;
}

.globonex-table-system .globonex-comparison-table th,
.globonex-table-system .globonex-comparison-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--table-card-border);
  color: var(--table-text-main);
  transition: background 0.15s ease;
}

.globonex-table-system .globonex-comparison-table th:first-child,
.globonex-table-system .globonex-comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  width: 32%;
}

.globonex-table-system .globonex-comparison-table thead th {
  background: rgba(5, 100, 210, 0.08);
  color: var(--table-headings-color);
  font-size: 1.12rem;
  font-weight: 800;
  padding: 1.4rem 1.3rem;
  position: relative;
}

/* Sticky Header option */
.globonex-table-system .globonex-comparison-table.has-sticky-header thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.globonex-table-system .globonex-comparison-table thead th.col-popular {
  background: rgba(5, 100, 210, 0.16);
  color: var(--table-primary-color);
  border-top: 3px solid var(--table-primary-color);
}

.globonex-table-system .matrix-popular-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--table-primary-color);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.globonex-table-system .globonex-comparison-table tr.category-row th {
  background: rgba(5, 100, 210, 0.12);
  color: var(--table-primary-color);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.4rem;
  text-align: left;
}

.globonex-table-system .globonex-comparison-table tbody tr:hover td {
  background: rgba(5, 100, 210, 0.04);
}

.globonex-table-system .globonex-comparison-table td.col-popular {
  background: rgba(5, 100, 210, 0.05);
  font-weight: 600;
}

.globonex-table-system .globonex-comparison-table td.col-hovered {
  background: rgba(5, 100, 210, 0.08) !important;
}

.globonex-table-system .globonex-icon-check {
  color: #10b981;
  font-size: 1.25rem;
  font-weight: 900;
  display: inline-block;
}

.globonex-table-system .globonex-icon-cross {
  color: #94a3b8;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-block;
}

/* ==========================================================================
   Dark Mode Styles
   ========================================================================== */
html[data-theme="dark"] .globonex-table-system .globonex-pricing-grid-responsive {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .globonex-table-system .globonex-pricing-grid {
  background: rgba(15, 23, 42, 0.75);
}

html[data-theme="dark"] .globonex-table-system .globonex-pricing-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .globonex-table-system .globonex-card-price-block,
html[data-theme="dark"] .globonex-table-system .globonex-card-bottom {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .globonex-table-system .globonex-plan-feature-item {
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

html[data-theme="dark"] .globonex-table-system .globonex-plan-feature-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .globonex-table-system .globonex-pricing-card.popular {
  background: rgba(5, 100, 210, 0.12);
  box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.85);
}

html[data-theme="dark"] .globonex-table-system .globonex-pricing-card.popular .globonex-card-price-block,
html[data-theme="dark"] .globonex-table-system .globonex-pricing-card.popular .globonex-card-bottom {
  background: transparent;
}

html[data-theme="dark"] .globonex-table-system .globonex-comparison-table thead th {
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
}

html[data-theme="dark"] .globonex-table-system .globonex-comparison-table thead th.col-popular {
  background: rgba(5, 100, 210, 0.25);
}

html[data-theme="dark"] .globonex-table-system .globonex-comparison-table tr.category-row th {
  background: rgba(15, 23, 42, 0.8);
  color: #60a5fa;
}

/* ==========================================================================
   Mobile Responsiveness (<= 860px, <= 768px, and <= 576px)
   ========================================================================== */
@media (max-width: 860px) {
  .globonex-table-system .globonex-pricing-title {
    font-size: 1.85rem;
    overflow-wrap: break-word;
  }

  .globonex-table-system .globonex-comparison-table th,
  .globonex-table-system .globonex-comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .globonex-table-system {
    margin: 2rem auto 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .globonex-table-system .globonex-pricing-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  /* Unified Table Layout on Tablets & Mobile: No horizontal scrollbar */
  .globonex-table-system .globonex-pricing-grid-responsive {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding-top: 25px !important; /* Dedicated headroom so the top ribbon badge is never cropped */
    margin-top: 1.5rem;
    border-radius: 14px;
  }

  .globonex-table-system .globonex-pricing-grid {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .globonex-table-system .globonex-pricing-grid {
      grid-template-columns: repeat(var(--plan-count, 3), minmax(0, 1fr)) !important;
    }
  }

  @media (max-width: 767px) {
    .globonex-table-system .globonex-pricing-grid {
      grid-template-columns: 1fr !important;
      border-radius: 14px;
    }
    .globonex-table-system .globonex-pricing-card {
      border-right: none !important;
      border-bottom: 1px solid var(--table-card-border) !important;
      margin-bottom: 1.5rem;
      border-radius: 14px !important;
    }
    .globonex-table-system .globonex-pricing-card:last-child {
      border-bottom: none !important;
      margin-bottom: 0;
    }
  }

  /* Comparison Matrix Sticky First Column on Mobile */
  .globonex-table-system .globonex-comparison-table th:first-child,
  .globonex-table-system .globonex-comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--table-card-bg);
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06);
  }

  .globonex-table-system .globonex-comparison-table thead th:first-child {
    z-index: 15;
    background: var(--table-card-bg);
  }

  .globonex-table-system .globonex-table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .globonex-table-system .globonex-pricing-card {
    padding: 1.75rem 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .globonex-table-system .globonex-plan-price-amount {
    font-size: 2.2rem;
  }

  .globonex-table-system .globonex-billing-switcher {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .globonex-table-system .globonex-cycle-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .globonex-table-system .globonex-matrix-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Interactive Feature & Category Filtering System Styles
   ========================================================================== */
.globonex-table-system .globonex-table-filter-wrapper {
  margin: 1.5rem auto 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}

/* Filter Tabs Container */
.globonex-table-system .globonex-filter-tabs-container {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 8px;
  scrollbar-width: thin;
}

.globonex-table-system .globonex-filter-tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(5, 100, 210, 0.06);
  border: 1px solid rgba(5, 100, 210, 0.12);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.globonex-table-system .globonex-filter-tab {
  border: none;
  background: transparent;
  color: var(--table-text-muted, #64748b);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  user-select: none;
}

.globonex-table-system .globonex-filter-tab:hover {
  color: var(--table-headings-color, #0f172a);
  background: rgba(255, 255, 255, 0.7);
}

.globonex-table-system .globonex-filter-tab.active {
  background: var(--table-btn-primary-bg, var(--primary-color, #0564d2));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 100, 210, 0.32);
}

.globonex-table-system .globonex-filter-tab .filter-count {
  font-size: 0.74rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-weight: 800;
  line-height: 1.2;
  transition: background 0.2s ease;
}

.globonex-table-system .globonex-filter-tab.active .filter-count {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Feature Filters Bar & Checkboxes */
.globonex-table-system .globonex-feature-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.globonex-table-system .globonex-filter-lead {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--table-text-muted, #64748b);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.25rem;
}

.globonex-table-system .globonex-feature-checkboxes {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.globonex-table-system .globonex-filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: rgba(5, 100, 210, 0.04);
  border: 1px solid rgba(5, 100, 210, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--table-text-main, #334155);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.globonex-table-system .globonex-filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--table-primary-color, #0564d2);
  cursor: pointer;
  margin: 0;
  width: 15px;
  height: 15px;
}

.globonex-table-system .globonex-filter-checkbox-label:hover {
  border-color: var(--table-primary-color, #0564d2);
  background: rgba(5, 100, 210, 0.08);
}

.globonex-table-system .globonex-filter-checkbox-label.is-checked {
  background: rgba(5, 100, 210, 0.12);
  border-color: var(--table-primary-color, #0564d2);
  color: var(--table-primary-color, #0564d2);
  font-weight: 700;
}

/* Reset Filters Mini-Button */
.globonex-table-system .globonex-reset-filters-btn {
  border: none;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.globonex-table-system .globonex-reset-filters-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.03);
}

/* Filter Card Transitions */
.globonex-table-system .globonex-pricing-card {
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.globonex-table-system .globonex-pricing-card.filtered-out {
  display: none !important;
}

.globonex-table-system .globonex-pricing-card.filtered-in {
  animation: globonexCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes globonexCardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Empty State Fallback */
.globonex-table-system .globonex-no-plans-fallback {
  text-align: center;
  padding: 3.5rem 2rem;
  border: 2px dashed rgba(5, 100, 210, 0.2);
  border-radius: 20px;
  background: rgba(5, 100, 210, 0.02);
  margin: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}

.globonex-table-system .globonex-no-plans-icon {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.globonex-table-system .globonex-no-plans-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--table-headings-color, #0f172a);
  margin-bottom: 0.5rem;
}

.globonex-table-system .globonex-no-plans-desc {
  font-size: 0.96rem;
  color: var(--table-text-muted, #64748b);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.globonex-table-system .globonex-btn-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  background: var(--table-btn-primary-bg, var(--primary-color, #0564d2));
  color: var(--table-btn-primary-text, #ffffff);
  border: none;
  box-shadow: 0 4px 15px rgba(5, 100, 210, 0.3);
  transition: all 0.25s ease;
}

.globonex-table-system .globonex-btn-reset-filters:hover {
  background: var(--table-btn-primary-hover, #044ea4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 100, 210, 0.4);
}

/* Dark Mode Overrides for Filters */
html[data-theme="dark"] .globonex-table-system .globonex-filter-tabs {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-tab {
  color: #94a3b8;
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-tab.active {
  background: var(--table-btn-primary-bg, #0564d2);
  color: #ffffff;
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-checkbox-label {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .globonex-table-system .globonex-filter-checkbox-label.is-checked {
  background: rgba(5, 100, 210, 0.25);
  border-color: var(--table-primary-color, #3b82f6);
  color: #93c5fd;
}

html[data-theme="dark"] .globonex-table-system .globonex-no-plans-fallback {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .globonex-table-system .globonex-no-plans-title {
  color: #f8fafc;
}

/* Filter Responsiveness */
@media (max-width: 768px) {
  .globonex-table-system .globonex-filter-tabs-container {
    width: 100%;
  }

  .globonex-table-system .globonex-feature-filters-bar {
    flex-direction: column;
    gap: 0.6rem;
  }

  .globonex-table-system .globonex-feature-checkboxes {
    justify-content: center;
  }
}

