/* Pricing Summary Cards */
.pricing-summary-block {
  width: 100%;
  max-width: 1400px;
  margin: 0 48px;
  padding: 10px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e67e00 #222;
}

.pricing-summary-block::-webkit-scrollbar {
  height: 10px;
  background: #222;
}
.pricing-summary-block::-webkit-scrollbar-thumb {
  background: #e67e00;
  border-radius: 6px;
}
.pricing-summary-block::-webkit-scrollbar-track {
  background: #222;
}

.pricing-summary-cards {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.pricing-summary-card {
  display: flex;
  flex-direction: column;
  min-width: 400px;
  max-width: 400px;
  height: 420px; /* Ensures all cards have the same height */
  background: #222; /* Match hovered gray background */
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  position: relative; /* Needed for absolute children */
  justify-content: flex-start;
  align-items: stretch;
}

.marginTop16
{
    margin-top: 16px;
}

.textCentered
{
    text-align: center;
}

.pricing-summary-card:hover {
  background: #222; /* Ensure hovered and unselected are the same */
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.pricing-summary-card.pricing-summary-selected {
  border: 3px solid #18a0ff;
  box-shadow: 0 0 0 6px rgba(24, 160, 255, 0.12), 0 22px 60px rgba(0, 0, 0, 0.8);
}

.pricing-summary-radio {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.pricing-summary-card.pricing-summary-selected .pricing-summary-radio {
  border-color: #2db2ff;
  background: linear-gradient(180deg, #2db2ff 0%, #18a0ff 100%);
}

.pricing-summary-card.pricing-summary-selected .pricing-summary-radio:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pricing-summary-badge {
  display: inline-block;
  background: #1f5f3f;
  color: #cdeedd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;

}

/* Pricing summary title styled like badge, with blue background */
.pricing-summary-title-badge {
  display: inline-block;
  color: #fff;

  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
    margin-right:16px;
}

.pricing-summary-price-wrapper {
  margin-bottom: 16px;
}

.pricing-summary-price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* Interval suffix styling: ensure / month and / year display at standard font size */
.pricing-summary-price .pricing-amount {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.pricing-summary-price .pricing-interval,
.pricing-summary-price-wrapper .pricing-interval,
.pricing-row.price-row .pricing-interval,
.pricing-summary-price .pricing-interval {
  font-size: 1rem; /* standard font size */
  font-weight: 500;
  color: #d0d6d9;
  margin-left: 0px;
}

/* For price rows where small was used, normalize */
.pricing-row.price-row .pricing-cell small {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #d0d6d9 !important;
}

.pricing-summary-features {
  flex-grow: 1;
  margin-bottom: 24px;

  color: #9aa4ad;
  font-size: 15px;
  line-height: 1.7;
}

.pricing-summary-feature {
  margin: 10px 0;
  padding-left: 0;
}

.pricing-summary-feature:first-child {
  font-weight: 600;
  color: #b8c2cc;
  margin-bottom: 12px;
}

.button-wrapper-pricing {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 0;
}

.desktop-login-btn.onpage {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  /* Hide navigation arrows on mobile */
  .pricing-summary-block-wrapper .pricing-summary-arrow {
    display: none !important;
    visibility: hidden !important;
  }

  /* Make the summary block behave like a vertical stack */
  .pricing-summary-block {
    overflow-x: hidden !important;
    margin: 0 8px !important;
    padding: 8px 0 !important;
  }

  /* Stack cards vertically and use 96% width of viewport */
  .pricing-summary-cards {
    display: block !important;
    gap: 12px !important;
  }

  .pricing-summary-card {
    min-width: auto !important;
    max-width: 96% !important;
    width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    flex: none !important;
    height: auto !important; /* allow variable height on mobile */
    padding: 20px !important;

  }

  .pricing-summary-card .pricing-summary-price {
    font-size: 28px !important;
  }

  .pricing-summary-title-badge {
    font-size: 22px !important;
    padding: 6px 14px !important;
  }

  .button-wrapper-pricing .desktop-login-btn.onpage {
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .pricing-summary-card {
    min-width: 320px;
    max-width: 320px;
  }
}

/* Pricing Section - Div-based layout */
.pricing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Override parent container overflow to allow sticky positioning */
.pricing-section-block {
  overflow: visible !important;
}

.pricing-section-column {
  overflow: visible !important;
}

/* Sticky wrapper - hidden by default, shown on desktop */
.plan-identifier-sticky-wrapper {
  display: none;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .plan-identifier-sticky-wrapper {
    display: block;
  }
}

.group-block-96-non-rounded:has(.pricing-table-desktop) {
  overflow: visible !important;
}

.group-block:has(.pricing-table-desktop) {
  overflow: visible !important;
}

.group-block-column:has(.pricing-table-desktop) {
  overflow: visible !important;
}


.group-block-96-non-rounded {
    background-color: #222;
    border: 2px solid #444;
    width: 96%;
    max-width: 96%; /* Ensure it doesn't exceed 96% */
    margin: 0 auto 32px auto; /* Center horizontally with auto left/right margins */
    padding: 0;

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}


.pricing-table-desktop {
  margin-top: 16px;
  display: none;
  width: 100%;
  overflow: visible; /* Ensure sticky can work */
  position: relative; /* Establish positioning context */
}

.pricing-cards-mobile {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.pricing-table {
  width: 100%;
  border: 1px solid #e0e0e0;

  overflow: visible; /* Changed from hidden to allow sticky positioning */
  position: relative; /* Establish positioning context */
}

.pricing-tbody {
  display: block; /* Ensure it's a block container for sticky */
  position: relative; /* Establish positioning context */
}

/* Default 3-column layout for commercial pricing */
.pricing-row {
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  border-bottom: 1px solid #f0f0f0;
}

/* 2-column layout for private pricing */
.pricing-row.two-columns {
  grid-template-columns: 40% 30% 30%;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-cell {
  padding: 12px 20px;
  text-align: left;
  color: #c4c4c4; /* Ensure readable contrast on dark background (7.5:1) */
}

.pricing-row .pricing-cell:nth-child(2),
.pricing-row .pricing-cell:nth-child(3),
.pricing-row .pricing-cell:nth-child(4) {
  text-align: center;
}

.pricingFooter {
  margin-top: 16px;
    margin-left: 16px;
    margin-right: 16px;
  margin-bottom: 32px;
  color: #b8b8b8; /* Better contrast: 6.5:1 ratio */
}

.pricing-card-header {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

.pricing-row.product-header {
  font-size: 1.4em;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  background-color: #444; /* Darker gray for visual distinction */
  color: #ffffff;
  font-weight: 600;
  padding-top: 32px;
  padding-bottom: 16px;
  text-align: center;
  margin-top: 32px;
}

/* Product header rows */
.pricing-row.product-header {
  background-color: #444; /* Darker gray for excellent contrast and visual distinction */
  font-weight: 600;
  text-align: center;
  padding: 16px 0;
}

.pricing-row.product-header .pricing-cell {
  color: #ffffff !important; /* White text on dark gray: 9.5:1 contrast */
  text-align: center;
}

.pricing-row.product-header .pricing-cell strong {
  color: #ffffff; /* Ensure strong tags also use white */
}

.pricing-row.group-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-column: 1 / -1;
  background-color: #444;
  color: #ffffff; /* White text for maximum contrast: 9.7:1 on #444 */
  font-weight: 600;
  padding-top: 32px;
  padding-bottom: 16px;
}

.pricing-row.group-header .pricing-cell {
  color: #ffffff; /* Ensure all text in group headers is white */
}

.pricing-row.plan-identifier-row {
  background-color: #555; /* Darker background for better contrast */
  border-bottom: 2px solid #e0e0e0;
}

.pricing-row.plan-identifier-row .pricing-cell {
  font-weight: 600;
  text-align: center;
  color: #ffffff; /* White text for maximum contrast */
}

.pricing-row.plan-identifier-row .pricing-cell:first-child {
  background-color: transparent;
}

.pricing-row.price-row {
  background-color: #555; /* Darker background for better contrast than #888 */
  font-weight: 600;
}

.pricing-row.price-row .pricing-cell {
  padding: 20px;
  font-size: 1.2em;
  color: #ffffff; /* White text for maximum contrast */
}

.check-icon {
  color: #4ade80; /* Brighter green for better contrast: 8.2:1 on dark background */
  font-size: 1.2em;
  font-weight: bold;
  display: block;
}

/* Mobile cards */
.pricing-cards-mobile {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}


.pricing-summary-title-badge-row
{
    margin-bottom: 16px;
}

.pricing-summary-badge-placeholder {

    display: block;
    width: 100%;
    background: none;
}

.pricing-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  width: 100%;
}

.pricing-card-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
  color: #e67e00; /* Darker orange for consistency */
}

.pricing-card-price {
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
}

.pricing-card-price small {
  font-size: 0.8em;
  color: #b8b8b8; /* Better contrast: 6.5:1 */
}

.pricing-card-table {
  width: 100%;
}

.pricing-row-mobile {
  display: grid;
  grid-template-columns: 60% 40%;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-row-mobile:last-child {
  border-bottom: none;
}

.pricing-cell-mobile {
  padding: 10px 12px;
  text-align: left;
  color: #c4c4c4; /* Ensure readable contrast (7.5:1) */
}

.pricing-row-mobile .pricing-cell-mobile:nth-child(2) {
  text-align: center;
}

.pricing-row-mobile.product-header .pricing-cell-mobile,
.pricing-row-mobile.group-header-mobile .pricing-cell-mobile {
  grid-column: 1 / -1;
  background-color: #444;
  color: #ffffff; /* White text for maximum contrast on #444 background */
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.pricing-row-mobile.product-header .pricing-cell-mobile {
  background-color: #444; /* Darker gray for visual distinction */
  color: #ffffff !important; /* White text on darker gray: 9.7:1 contrast */
}

.pricing-row-mobile.price-row {
  background-color: #555; /* Darker background for better contrast than #888 */
  font-weight: 600;
}

.pricing-row-mobile.price-row .pricing-cell-mobile {
  padding: 12px;
  color: #ffffff; /* White text for maximum contrast */
}

/* Arrow navigation for pricing-summary-block */
.pricing-summary-block-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 48px;
  overflow: hidden;
}

.pricing-summary-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  background: rgba(36,36,36,0.85);
  border: none;
  color: #e67e00;
  font-size: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing-summary-arrow:active {
  background: #e67e00;
  color: #fff;
}
.pricing-summary-arrow-left {
  left: 0;
}
.pricing-summary-arrow-right {
  right: 0;
}

.pricing-toggle-btn {
  border-radius: 16px;
  background: #242c3c;
  color: #fff;
  border: 2px solid #242c3c;
  padding: 8px 32px;
  font-size: 1.1em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.pricing-toggle-btn.active {

  border-color: #e67e00;
  color: #fff;
}
.pricing-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e67e0044;
}

/* Try-for-free badge for Standard plan */
.try-for-free-badge {
  display: inline-block;
  background: var(--color-brand-orange);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 12px;
}

@media (max-width: 992px) {
  .try-for-free-badge {
    display: block;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    text-align: center;
  }
}

/* Desktop fixed pricing bar (shown on desktop only) */
.pricing-fixed-bar-wrapper {
  display: block; /* Show by default, hide on mobile */
}

.pricing-fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #1a1a1a; /* dark background to match theme */
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.6);
  min-height: 120px;
}

.pricing-fixed-left {
    width: 38%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #c4c4c4;
    align-items: flex-start; /* Left-align the items in the column */

}

.pricing-fixed-left-centerme {

  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
    gap: 12px;
}

.pricing-fixed-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.pricing-fixed-left .pricing-fixed-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pricing-fixed-item .label {
  color: #9aa4ad;
  font-weight: 500;
  font-size: 14px;
    text-align: left;
}

.pricing-fixed-item .valuegrey {
    color: #9aa4ad;
    font-weight: 700;
    font-size: 16px;
}

.pricing-fixed-item .value {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

/* Specific styling for the Selected plan label */
.pricing-fixed-item:first-child .value {
  font-size: 18px; /* Same as pricing-toggle-btn */
}

/* Styling for the Total price */
.pricing-fixed-item:nth-child(2) .value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

.pricing-fixed-item .pricing-currency {
  font-size: 16px;
}

.pricing-fixed-item .pricing-amount {
  font-size: 20px;
  font-weight: 700;
}

.pricing-fixed-item .pricing-interval {
  font-size: 14px;
  font-weight: 400;
}

/* Styling for Billing interval */
.pricing-fixed-item:nth-child(3) .value {
  font-size: 14px;
}

.pricing-fixed-right {
  width: 50%; /* 50% of page width as requested */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pricing-fixed-cta {
  background: var(--color-brand-orange);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(197,102,0,0.18);
  transition: background 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.pricing-fixed-cta:hover {
  background: #d67200;
}

.pricing-fixed-terms {
  color: #9aa4ad;
  font-size: 12px;
  opacity: 0.95;
    text-align: left;
  border: 1px solid #9aa4ad;
  border-radius: 5px;
  padding: 8px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Compact CTA bar - shown when sticky header is visible */
.pricing-fixed-bar-compact .pricing-fixed-bar {
  min-height: 70px;
  padding: 12px 20px;
  gap: 24px;
}

/* Pricing plan buttons in sticky header */
.pricing-plan-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #c4c4c4;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.pricing-plan-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-plan-btn.pricing-plan-btn-selected {
  background: #18a0ff;
  border-color: #18a0ff;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(24, 160, 255, 0.12);
}

.pricing-plan-btn strong {
  font-weight: 700;
}

.pricing-fixed-bar-compact .pricing-fixed-left {
  width: 38%;
  max-width: 500px;
}

.pricing-fixed-bar-compact .pricing-fixed-left-centerme {
  gap: 6px;
}

.pricing-fixed-item-compact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.pricing-fixed-item-compact .value-compact {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.pricing-fixed-item-compact .valuegrey-compact {
  color: #9aa4ad;
  font-weight: 600;
  font-size: 12px;
}

.pricing-fixed-item-compact .pricing-currency {
  font-size: 13px;
}

.pricing-fixed-item-compact .pricing-amount {
  font-size: 16px;
  font-weight: 700;
}

.pricing-fixed-item-compact .pricing-interval {
  font-size: 12px;
  font-weight: 400;
}

.pricing-fixed-bar-compact .pricing-fixed-right {
  width: 50%;
  max-width: 600px;
  gap: 0;
}

.pricing-fixed-bar-compact .pricing-fixed-cta {
  padding: 12px 28px;
  font-size: 16px;
}

/* Show fixed bar on desktop and hide mobile per-card button wrapper */
@media (min-width: 992px) {
  .pricing-table-desktop {
    display: block;
  }
  .pricing-cards-mobile {
    display: none;
  }

  .button-wrapper-pricing {
    display: none !important;
  }

  .pricing-fixed-bar-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto;
    visibility: visible;
  }

  /* Only show as flex when not explicitly hidden */
  .pricing-fixed-bar-wrapper:not([style*="display: none"]) {
    display: flex;
  }

  /* Enterprise CTA uses same positioning but display controlled by JavaScript */
  .cta-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto;
    visibility: visible;
    /* NO display rule here - JavaScript controls it */
  }
}

@media (max-width: 991px) {
  /* Ensure fixed bars hidden on smaller screens */
  .pricing-fixed-bar-wrapper,
  .cta-contact {
    display: none !important;
  }

  .pricing-table-desktop {
    display: none;
  }
  .pricing-cards-mobile {
    display: grid;
  }

  /* Keep per-card buttons visible on mobile */
  .button-wrapper-pricing {
    display: flex !important;
  }
}


/* Sticky plan identifier row */
.plan-identifier-sticky {
  position: -webkit-sticky; /* Safari support */
  position: sticky;
  top: 50px; /* Offset to appear just below the sticky global menu */
  z-index: 100; /* High z-index to stay above all content */
  background-color: #555 !important; /* Match the plan-identifier-row background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
  .plan-identifier-sticky {
    position: relative !important;
    top: auto;
    box-shadow: none;
  }
}
