/* ── 5. PRICING SECTION ── */

/* Segmented Pill Switcher (Individual vs Business & Enterprise) */
.sf-pricing-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 380px;
  margin: 0 auto clamp(26px, 4vw, 38px) auto;
  background: rgba(24, 24, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sf-pricing-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #A1A1AA;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.sf-pricing-tab-btn:hover:not(.is-active) {
  color: #FFFFFF;
}

.sf-pricing-tab-btn.is-active {
  background: #27272A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Individual Grid: 2 Cards (Free + Pro) Centered and Balanced */
.sf-pricing-grid-individual {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 400px));
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 768px) {
  .sf-pricing-grid-individual {
    grid-template-columns: 1fr;
    max-width: 380px;
    gap: 20px;
  }
}

/* Business Grid: 1 Centered Business Card */
.sf-pricing-grid-business {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.sf-pricing-grid-business .sf-pricing-card {
  width: 100%;
}

.sf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 900px) {
  .sf-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}

.sf-pricing-card {
  position: relative;
  background: #090A0D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sf-radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  transition: var(--sf-transition);
}

.sf-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.sf-featured-card {
  background: #090A0D;
  border: 2px solid var(--sf-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
  transform: scale(1.03);
}

.sf-featured-card:hover {
  transform: scale(1.05) translateY(-4px);
}

.sf-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sf-gold-gradient-btn);
  color: #07070A;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: var(--sf-radius-pill);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
  text-transform: uppercase;
}

.sf-price-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-price-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--sf-radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.sf-price-icon-box.gold-glow {
  background: rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.sf-plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0;
}

.sf-price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: 4px;
}

.sf-price-custom-row {
  min-height: 44px;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-price-val {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
}

.sf-price-val.sf-price-custom {
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 900;
  color: #FFFFFF !important;
  line-height: 1.15;
}

.sf-price-currency {
  font-size: 0.92rem;
  color: #FFFFFF !important;
  font-weight: 700;
  opacity: 0.95;
}

.sf-price-currency.sf-price-custom-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF !important;
  opacity: 0.95;
}

.sf-plan-desc {
  font-size: 0.88rem;
  color: var(--sf-text-secondary);
  margin: 0;
}

.sf-plan-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #FFFFFF;
}

.sf-plan-features li.sf-feat-inactive {
  color: #6B7280;
  opacity: 0.65;
}

/* Compare Button inside each plan card (clickable text link) */
.sf-compare-trigger-btn {
  background: none !important;
  border: none !important;
  color: #9CA3AF;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  width: auto;
  align-self: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(156, 163, 175, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
  box-sizing: border-box;
}

.sf-compare-trigger-btn:hover {
  color: #FFD760;
  text-decoration-color: #FFD760;
  background: none !important;
}

.sf-plan-btn {
  width: 100%;
}

/* Global Compare All Features Action Button below Grid */
.sf-pricing-compare-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 42px);
}

.sf-compare-all-plans-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #FFD760;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.sf-compare-all-plans-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: #D4AF37;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* ── Lock Page Scrolling When Compare Modal is Open ── */
html.sf-compare-modal-open,
body.sf-compare-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* ── Full Plans Comparison Modal ── */
.sf-compare-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 4, 7, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(18px, 3vh, 32px) 20px clamp(16px, 2.5vh, 26px) 20px;
  overscroll-behavior: contain !important;
  touch-action: none;
  animation: sfFadeIn 0.22s ease-out;
}

@keyframes sfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sf-compare-modal-dialog {
  position: relative;
  width: 95vw;
  max-width: 1160px;
  height: calc(100vh - clamp(36px, 6vh, 64px));
  max-height: calc(100vh - clamp(36px, 6vh, 64px));
  background: #0B0C10;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain !important;
  animation: sfScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sfScaleUp {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.sf-compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0E0F14;
  flex-shrink: 0;
}

.sf-compare-modal-title {
  margin: 0 0 4px 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
}

.sf-compare-modal-sub {
  margin: 0;
  font-size: 0.88rem;
  color: #9CA3AF;
}

.sf-compare-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D1D5DB;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sf-compare-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.sf-compare-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  padding: 0 28px 28px 28px;
  
  /* Custom Luxury Dark Scrollbars - Firefox */
  scrollbar-width: thin;
  scrollbar-color: #27272a #0b0c10;
}

/* Custom Luxury Dark Scrollbars - Webkit (Chrome, Safari, Edge) */
.sf-compare-table-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sf-compare-table-scroll::-webkit-scrollbar-track {
  background: #0b0c10;
  border-radius: 999px;
  margin: 6px 0;
}

.sf-compare-table-scroll::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.2s ease;
}

.sf-compare-table-scroll::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.sf-compare-table-scroll::-webkit-scrollbar-corner {
  background: #0b0c10;
}

.sf-modal-drag-handle {
  display: none;
}

.sf-fixed-close-btn {
  display: none;
}

/* Toggle between Desktop Table and Mobile Stacked View */
.sf-desktop-compare-view {
  display: block;
}

.sf-mobile-compare-view,
.sf-mob-top-section,
.sf-mob-fixed-top-wrap {
  display: none;
}

@media (max-width: 768px) {
  /* Full-Page Immersion on Mobile (صفحة كاملة بدل نافذة للاعلى) */
  .sf-compare-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #060608 !important;
    z-index: 99999 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .sf-compare-modal-dialog {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    background: #060608 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: none !important;
  }

  /* Hide Desktop Modal Header on Mobile */
  .sf-compare-modal-header {
    display: none !important;
  }

  .sf-modal-drag-handle {
    display: none !important;
  }

  .sf-compare-table-scroll {
    flex: 1 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px !important;
  }

  /* Hide Desktop Table on Mobile */
  .sf-desktop-compare-view {
    display: none !important;
  }

  /* Show Stacked Luxury Mobile View matching reference */
  .sf-mobile-compare-view {
    display: block !important;
    width: 100%;
  }

  /* 1. Mobile Top Section: Sits at the top of content and scrolls away naturally */
  .sf-mob-top-section,
  .sf-mob-fixed-top-wrap,
  .sf-mob-sticky-top-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .sf-mob-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 6px 16px;
    min-height: 42px;
  }

  /* Fixed X Close Button pinned in corner for instant exit */
  .sf-fixed-close-btn {
    display: flex !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
    flex-shrink: 0;
  }

  .sf-fixed-close-btn:active {
    transform: scale(0.92) !important;
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.6) !important;
  }

  .sf-mob-top-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    flex: 1;
    letter-spacing: -0.01em;
  }

  .sf-mob-top-spacer {
    width: 32px;
    flex-shrink: 0;
  }

  /* 2. 3-Plan Header on Mobile */
  .sf-mob-plans-header,
  .sf-mob-plans-sticky-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 6px 28px 12px 28px;
    background: transparent;
  }

  .sf-mob-plan-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 2px 2px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  .sf-mob-plan-col.sf-mob-pro {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .sf-mob-plan-badge {
    display: inline-block;
    background: var(--sf-gold-gradient-btn);
    color: #07070A;
    font-size: 0.52rem;
    font-weight: 900;
    padding: 1px 7px;
    border-radius: 999px;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }

  .sf-mob-plan-name {
    font-size: 0.84rem;
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.2;
    white-space: normal;
  }

  .sf-mob-pro .sf-mob-plan-name {
    color: #FFFFFF !important;
  }

  .sf-mob-plan-sub {
    font-size: 0.65rem;
    color: #94A3B8 !important;
    margin-top: 2px;
    line-height: 1.15;
    font-weight: 600;
  }

  .sf-mob-pro .sf-mob-plan-sub {
    color: #94A3B8 !important;
  }

  /* 3. Features Table (Seamlessly Unified with Sticky Plan Headers) */
  .sf-mob-features-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin: 0 12px 36px 12px;
    overflow: visible;
    box-shadow: none;
  }

  /* 4. Category Header Banner */
  .sf-mob-category-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.025);
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .is-ar .sf-mob-category-banner,
  [dir="rtl"] .sf-mob-category-banner {
    direction: rtl;
    justify-content: flex-start;
  }

  .sf-mob-cat-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sf-gold);
    box-shadow: 0 0 8px var(--sf-gold-glow);
    flex-shrink: 0;
  }

  .sf-mob-cat-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #E2E8F0;
    letter-spacing: 0.02em;
  }

  /* 5. Stacked Feature Rows (Full Title on Top, 3 Plan Checks Below) */
  .sf-mob-rows-list {
    display: flex;
    flex-direction: column;
  }

  .sf-mob-feature-row {
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sf-mob-feature-row:last-child {
    border-bottom: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  .sf-mob-feature-row.sf-row-odd {
    background: rgba(255, 255, 255, 0.012);
  }

  .sf-mob-row-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
  }

  /* In Arabic: Text flows strictly from right to left */
  .is-ar .sf-mob-row-title-wrap,
  .sf-mob-feature-row.is-ar .sf-mob-row-title-wrap,
  [dir="rtl"] .sf-mob-row-title-wrap {
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-start !important;
  }

  .sf-mob-row-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #F1F5F9;
    line-height: 1.35;
  }

  .is-ar .sf-mob-row-title,
  .sf-mob-feature-row.is-ar .sf-mob-row-title,
  [dir="rtl"] .sf-mob-row-title {
    direction: rtl !important;
    text-align: right !important;
  }

  .sf-mob-row-info-icon {
    color: #64748B;
    opacity: 0.7;
    flex-shrink: 0;
  }

  /* Feature Info Button & Tooltip / Summary Box */
  .sf-mob-info-btn {
    background: transparent;
    border: none;
    padding: 3px 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #94A3B8;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .sf-mob-info-btn:hover,
  .sf-mob-info-btn.active {
    color: #FFD760;
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.15);
  }

  /* ── Invisible Dismiss Overlay: 100% transparent so background remains completely visible ── */
  .sf-popover-dismiss-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 85 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    cursor: default !important;
  }

  /* ── Floating Tooltip / Popover (Over the Feature, Background 100% Visible) ── */
  .sf-feature-floating-tooltip {
    position: absolute;
    top: 36px;
    left: 12px;
    right: 12px;
    z-index: 90;
    background: rgba(14, 16, 25, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    padding: 10px 14px 12px 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85), 0 0 18px rgba(212, 175, 55, 0.16);
    animation: sfTooltipPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
  }

  @keyframes sfTooltipPop {
    from {
      opacity: 0;
      transform: translateY(-4px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .sf-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
  }

  .sf-tooltip-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }

  .sf-tooltip-gold-icon {
    color: var(--sf-gold);
    flex-shrink: 0;
  }

  .sf-tooltip-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sf-tooltip-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    padding: 0;
  }

  .sf-tooltip-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
  }

  .sf-tooltip-desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #CBD5E1;
  }

  .sf-feature-floating-tooltip.is-ar,
  .is-ar .sf-feature-floating-tooltip,
  [dir="rtl"] .sf-feature-floating-tooltip {
    direction: rtl;
    text-align: right;
  }

  .sf-feature-floating-tooltip.is-ar .sf-tooltip-header,
  .is-ar .sf-tooltip-header,
  [dir="rtl"] .sf-tooltip-header {
    direction: rtl;
  }

  /* Caret / Pointer pointing up to the feature row */
  .sf-feature-floating-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 9px;
    height: 9px;
    background: rgba(14, 16, 25, 0.96);
    border-left: 1px solid rgba(212, 175, 55, 0.45);
    border-top: 1px solid rgba(212, 175, 55, 0.45);
    transform: rotate(45deg);
  }

  .sf-feature-floating-tooltip.is-ar::before,
  .is-ar .sf-feature-floating-tooltip::before,
  [dir="rtl"] .sf-feature-floating-tooltip::before {
    right: 28px;
    left: auto;
  }

  .sf-feature-floating-tooltip:not(.is-ar)::before {
    left: 28px;
    right: auto;
  }

  .sf-desktop-td-feature-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .sf-feature-floating-tooltip.sf-desktop-tooltip {
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: 290px;
    z-index: 100;
  }

  .is-ar .sf-feature-floating-tooltip.sf-desktop-tooltip,
  [dir="rtl"] .sf-feature-floating-tooltip.sf-desktop-tooltip {
    right: 0;
    left: auto;
  }

  .is-ar .sf-desktop-td-feature-wrap {
    direction: rtl;
    justify-content: flex-start;
  }

  @keyframes sfSummaryFadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .sf-mob-row-checks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: center;
    padding-top: 2px;
  }

  .sf-mob-check-slot {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Solid Filled Circular Checks Matching Reference Image */
  .sf-mob-check-slot .sf-cell-check,
  .sf-mob-check-slot .sf-cell-cross {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Solid Gold Circle with Crisp Dark Check */
  .sf-mob-check-slot .sf-cell-check {
    background: #D4AF37 !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.45) !important;
  }

  .sf-mob-check-slot .sf-cell-check svg {
    width: 14px !important;
    height: 14px !important;
    color: #07070A !important;
    stroke: #07070A !important;
    stroke-width: 3.2 !important;
  }

  /* Subtle Translucent Circle with Dimmed Cross */
  .sf-mob-check-slot .sf-cell-cross {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    opacity: 0.35 !important;
  }

  .sf-mob-check-slot .sf-cell-cross svg {
    width: 13px !important;
    height: 13px !important;
    color: #94A3B8 !important;
    stroke-width: 2.2 !important;
  }

  .sf-mob-actions-row {
    display: none !important;
  }
}

.sf-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  margin-top: 12px;
}

.sf-compare-table thead {
  position: sticky;
  top: 0;
  z-index: 30;
}

.sf-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0B0C10 !important; /* 100% Solid Opaque - completely blocks scrolling rows */
  padding: 18px 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.sf-compare-table thead th.sf-col-feature {
  width: 40%;
  text-align: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* Arabic alignment for modal and table */
.sf-compare-modal-backdrop.is-ar .sf-compare-modal-header {
  direction: rtl;
  text-align: right;
}

.sf-compare-modal-backdrop.is-ar .sf-col-feature,
.sf-compare-modal-backdrop.is-ar .sf-td-feature {
  text-align: right !important;
  direction: rtl !important;
}

.sf-compare-table thead th.sf-col-plan {
  width: 20%;
}

.sf-compare-table thead th.sf-col-pro {
  background: #15130b !important; /* 100% Solid Opaque Luxury Dark Gold - NOTHING shows through */
  border-bottom: 2px solid var(--sf-gold);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  border-right: 1px solid rgba(212, 175, 55, 0.25);
}

.sf-th-plan-badge {
  display: inline-block;
  background: var(--sf-gold-gradient-btn);
  color: #07070A;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sf-th-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.sf-col-pro .sf-th-plan-name {
  color: #FFFFFF !important;
}

.sf-th-plan-sub {
  font-size: 0.80rem;
  color: #9CA3AF;
  font-weight: 600;
}

.sf-col-pro .sf-th-plan-sub {
  color: #9CA3AF !important;
}

.sf-compare-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.18s ease;
}

.sf-compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sf-compare-table tbody tr.sf-row-odd {
  background: rgba(255, 255, 255, 0.012);
}

.sf-compare-table td {
  padding: 16px 14px;
  vertical-align: middle;
}

.sf-compare-table td.sf-td-feature {
  font-size: 0.94rem;
  font-weight: 600;
  color: #E5E7EB;
  text-align: inherit;
}

.sf-compare-table td.sf-td-check {
  text-align: center;
}

.sf-compare-table td.sf-td-pro {
  background: rgba(212, 175, 55, 0.04);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.sf-cell-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.sf-cell-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
}

.sf-compare-table tfoot td {
  padding: 20px 12px 10px 12px;
  text-align: center;
}

.sf-table-action-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  width: 100%;
  max-width: 150px;
  box-sizing: border-box;
}

/* ── Coming Soon Modal & Interactive Buttons ── */
.sf-cs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(3, 4, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain !important;
  animation: sfFadeIn 0.22s ease-out;
}

.sf-cs-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #12131A 0%, #08090C 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 36px) clamp(20px, 4vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.16);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sfScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sf-cs-modal-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sf-cs-modal-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #D4AF37;
  transform: rotate(90deg);
}

.sf-cs-icon-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.sf-cs-brand-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  display: block;
}

.sf-cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.sf-cs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 8px #D4AF37;
  animation: sfPulse 2s infinite;
}

@keyframes sfPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.sf-cs-title {
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.sf-cs-desc {
  font-size: 0.92rem;
  color: #A0A5B5;
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 410px;
}

.sf-cs-features-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 24px;
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.sf-cs-modal-backdrop.is-ar .sf-cs-features-box {
  direction: rtl;
}

.sf-cs-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #CBD5E1;
  font-weight: 600;
}

.sf-cs-check-icon {
  flex-shrink: 0;
}

.sf-cs-action-btn {
  width: 100%;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D4AF37 0%, #B89628 100%);
  color: #07070A;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.sf-cs-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.5);
}

.sf-cs-action-btn:active {
  transform: translateY(0);
}

/* Button element resets for landing interactive triggers */
button.sf-store-badge,
button.sf-cta-circle-btn,
button.sf-plan-btn,
button.sf-table-action-btn,
button.sf-get-started-btn {
  font-family: inherit;
  cursor: pointer;
}
button.sf-store-badge {
  border: 1px solid rgba(255, 255, 255, 0.28);
}
button.sf-cta-circle-btn {
  border: none;
}
button.sf-get-started-btn {
  border: none;
}
