/* temp css */
.opacity-zero{
  opacity:0;
}
.new-pricing .flex-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.new-pricing .platform-label {
  width: 100%;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.new-pricing .dropdown-icon {
  width: fit-content;
}
.new-pricing .your-stack{
  box-shadow: -3px 7px 6.9px 0px #00000066 !important;
}
.stack-demo-btn-outline-design{
  color: white;
  border: none;
  display: flex;
  padding: 0.625rem var(--Spacing-spacing-xl, 1.25rem);
  justify-content: center;
  align-items: center;
  gap: var(--Spacing-spacing-xs, 0.25rem);
  align-self: stretch;
  border-radius: 0.375rem;
  width: 100%;
  max-width: 100%;
  height: 3rem;
  margin-top: 1rem;
  cursor: pointer !important;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
  font-size: 1rem;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid var(--Background-bg-page, #FFF);
  background: transparent;
}
.stack-demo-btn-outline-design:hover {
  background: rgba(255, 255, 255, 0.1);
}
.new-pricing .stack-card:has(.stack-card-remove[data-name="Strength"]) .stack-card-title {
  display: none;
}
.stack-card-tier {
  font-size:18px !important;
  line-height:25px !important;
}

.new-pricing .btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap:wrap;
  gap: 10px;
}
.compare-tier-section {
  background-color: #1E212E;
  border-radius:7px;
  padding:29px 15px 35px 15px;
  margin-top:22px;
  display:none;
}
.compare-tier-section .inner-compare-tier-section{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-tier-section .inner-compare-tier-section .tiers-table {
  min-width: 800px;
  border-collapse: collapse;
  width: 100%;
}
.new-pricing .tier-cost span{
  font-weight: 500 !important;
  font-size: 23px !important;
  line-height: 127% !important;
  color: #1E212E !important;
}
.open .compare-tier-section{
  display:block;
}
.heading-desc-container {
  display: flex;
  justify-content: space-between;
  flex-wrap:wrap;
  gap:10px;
}
.compare-tier-section .sec-heading h3{
  font-weight: 400;
  font-size: 21px;
  line-height: 118%;
  color: #FFFFFF;
  margin-bottom:0;
}
.tiers-table th {
  width: 20%;
}



.tiers-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  text-align: center;
}

.tiers-table th,
.tiers-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #FFFFFF80;
}
.tiers-table td {
  font-size: 12px;
  line-height: 156%;
  color: #FFFFFF;
}
.sec-description p {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 13.1124px;
  line-height: 156%;
  color: #CCCCCC;
}
.heading-desc-container {
  margin-bottom: 29px;
}
.tiers-table th {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.tiers-table th:first-child{
  border-right:1px solid #FFFFFF80;
}

.tiers-table tr td:first-child{
  border-right:1px solid #FFFFFF80;
}

.tiers-table th.tiers {
  color: #ff4b1f; /* orange-red for "Tiers" */
}

.tiers-table th.gold {
  color: #FDE047; /* gold */
}

.pro-badge {
  background-color: #3182CE;
  border-radius: 3px;
  padding: 2px 5px;
  vertical-align: middle;
  font-weight: 600;
  font-size: 7px;
  line-height: 155%;
  text-transform: uppercase;
  color: #FFFFFF;
}

.tiers-table td {
  font-weight: 400;
  font-size: 14px;
  line-height: 156%;
  color: #FFFFFF;
}

.tiers-table td:first-child {
  text-align: left;
}



/* temp style end */

.platform-tier-checkbox:has(.tier-checkbox:checked) {
  background-color: #1E212E; /* Example background */
  color: #fff; /* Change text color */
}

.platform-tier-checkbox:has(.tier-checkbox:checked) .key-feature-item_text,
.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-label,
.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-cost,
.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-cost .monthly-price,
.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-cost .yearly-price,
.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-cost .price-sub-text,
.platform-tier-checkbox:has(.tier-checkbox:checked) .key-features-header{
  color: #fff !important;
}

.platform-tier-checkbox:has(.tier-checkbox:checked) .tier-recommendation{
  color:#D4D4D4;
}




.new-pricing .badge-container {
  background-color: #FF4500;
  padding:9px;
  border-radius:13px 13px 0 0;
}
.new-pricing .badge-container p{
  font-weight: 800;
  font-size: 12px;
  line-height: 156%;
  text-align: center;
  color: #FFFFFF;
  margin-bottom:0;
}
.new-pricing .plateform-tier {
  position: relative;
}
.new-pricing .badge-container {
  position: absolute;
  top: -33px;
  width: 100%;
}
.new-pricing .platform-description {
  margin-bottom:51px !important;
}
.platform-description br,.platform-description span{
  display:none;
}
.billing-text{
  margin-right: 15px;
}
.pricing-groups {
  display: flex;
  position: relative;
  justify-content: space-between;
  /*   gap: 2rem; */
  gap: 100px;
}
.pricing-groups .platform-group.disable {
  pointer-events: none;
  opacity: 0.5;
  border: 1px solid #d1d5db !important;
  transition: border-color .2s ease;
}
/* Hide platforms with hide_on_panel set to true */
.platform-group.platform-hidden {
  display: none;
}
.add-addon-product-container.disabled,.add-addon-product-container.disabled .platform-checkbox input, .platform.disabled, .platform.disabled .platform-checkbox input {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: default;
}

.pricing-group h3 {
  color: #000;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2rem; /* 133.333% */
  letter-spacing: -0.015rem;
  margin: 0;
  margin-bottom: 1.25rem;
}
.new-pricing .stack-card-desc{
  padding-top:13px;
}
.new-pricing .inner-stack-wrapper{
  /*   padding: 10px; */
  /*   border: 3px solid #FF6A33; */
  border-radius: 28px;
}
@media(max-width: 1199px) {
  .pricing-groups {
    gap: 20px;
  }
  .new-pricing .platform-tier-list {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 20px !important;
    row-gap: 60px !important;
  }
}
@media(max-width: 1100px) {
  .pricing-groups {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    justify-content: space-between;
  }

  .pricing-group h3 {
    color: #000;
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem; /* 127.273% */
  }
}
@media(max-width: 630px) {
  .new-pricing .platform-checkbox {
    gap: 0.75rem;
  }
  .new-pricing .platform-tier-list {
    grid-template-columns: repeat(1, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 60px !important;
  }
}
.pricing-group-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stack-wrapper {
  flex-grow: 1;
  /*   max-width: 35.9375rem;  */
  max-width:400px;
}

.platform-group {
  border-radius: var(--Radius-radii-xl, 1rem);
  border: 1px solid var(--Gray-300, #D1D5DB);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}

/* Style for platform group when its platform checkbox is checked - keep original text color */
.platform-group .platform input[type="checkbox"]:checked ~ .platform-label-desc .platform-label {
  color: #1E212E;
}

/* Blue border for platform group when platform is selected */
.platform-group .platform input[type="checkbox"]:checked {
  accent-color: #2563EB;
}

/* Only apply blue text color to platforms with tiers, not to addon items */
.platform-group .platform:has(.platform-tiers) input[type="checkbox"]:checked ~ .platform-label-desc {
  color: #2563EB;
}

/* Keep addon items text color unchanged when selected */
.platform-group .platform[data-addon="true"] input[type="checkbox"]:checked ~ .platform-label-desc {
  color: #1E212E;
}

/* Add blue border to the platform group when platform is selected */
.platform-group:has(.platform input[type="checkbox"]:checked) {
  border-color: #2563EB;
}

/* .addon-label-wrap {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
} */
.new-pricing .addon-label-wrap {
  display: flex;
  /*   flex-wrap: wrap; */
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}
.platform {
  width: 100%;
}

/* Style for non-interactive platforms */
.platform.non-interactive {
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

/* Platform styling */
.platform {
  /* No special styling needed here */
  display: block;
}

/* Addon platforms with extending attribute */
.platform[data-extending] {
  cursor: default;
  pointer-events: none;
}

/* When parent platform is selected, addon platform styling */
.platform[data-extending]:not(.non-interactive) {
  pointer-events: auto;
}

/* Styling for interactive platforms */
.platform:not(.non-interactive) {
  /* No special styling needed here */
  pointer-events: auto;
}

/* Isolate hover events for addon platforms */
.platform[data-extending] {
  isolation: isolate;
  position: relative;
  z-index: 1;
}

/* Ensure addon platforms don't trigger hover states on parent elements */
.platform[data-extending]:hover {
  pointer-events: auto;
}

/* Style for addon platforms when parent is selected */
.platform[data-extending]:not(.non-interactive) {
  cursor: pointer;
}

/* Default cursor behavior for all platforms */
.platform {
  cursor: default;
}

/* When platform is open, use default cursor behavior */
.platform.open {
  cursor: default;
}

/* When platform is open, use default cursor for most elements inside */
.platform.open *,
.platform.open .platform-label,
.platform.open .platform-description,
.platform.open .addon-label-wrap {
  cursor: default;
}

/* Ensure tier items always have pointer cursor */
.platform-tier-checkbox,
.platform-tier-checkbox *,
.tier-label,
.tier-checkbox,
.tier-label-cost {
  cursor: pointer !important;
}

/* .tier-label {
font-size: 1.125rem;
font-style: normal;
font-weight: 500;
line-height: 1.75rem;
color: #1E212E;
} */
.tier-label {
  font-weight: 600 !important;
  font-size: 13px !important;
  line-height: 133% !important; 
  color: #1E212E;
}

.tier-label-cost {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem; /* 155.556% */
  color: #1E212E;
  gap:13px;
}

/* Ensure checkboxes are never grayed out and always clickable */
input[type="checkbox"],
.platform-checkbox input[type="checkbox"],
.tier-checkbox {
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  filter: none !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
}

/* Override pointer-events for checkboxes in non-interactive platforms */
.platform.non-interactive .platform-checkbox {
  pointer-events: auto !important;
  opacity: 1 !important;
}

.platform.non-interactive .platform-checkbox input[type="checkbox"] {
  pointer-events: auto !important;
  opacity: 1 !important;
  cursor: pointer !important;
  filter: none !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
}

/* Ensure the checkbox label is also clickable */
.platform.non-interactive label[for] {
  pointer-events: auto !important;
}

/* Default cursor for elements inside interactive platforms */
.platform:not(.non-interactive):not(.open) *,
.platform:not(.non-interactive):not(.open) .platform-label,
.platform:not(.non-interactive):not(.open) .platform-description,
.platform:not(.non-interactive):not(.open) .addon-label-wrap {
  cursor: default;
}

.platform-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;

}

.platform-checkbox input {
  display: flex;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0.625rem;
  margin-top: 0.31rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  aspect-ratio: 1/1;
  border-radius: 0.25rem;
}

.platform-label {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem; /* 155.556% */
  color: #1E212E;
  margin: 0;
  display: flex;
  /*   flex-direction:column; */
  align-items: center;
}

.platform-logo-image {
  max-height: 2.5rem;
  max-width: 100%;
  object-fit: contain;
}

.platform-description {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem; /* 133.333% */
  letter-spacing: 0.00375rem;
  color: #525252;
  margin: 0.75rem 0 1.5rem 0; /* Increased bottom margin to create more space before platform tiers */
}
.pricing-groups .tier-cost span{
  font-weight: 700;
  font-size: 33px;
  line-height: 156%;
  color: #1E212E;
}
.new-pricing .platform-tier-checkbox input{
  margin-left:auto;
  width:19px;
  height:19px;
}
.new-pricing .tier-cost {
  margin-bottom: 9px;
}
/* Remove margins from platform description on desktop */
@media (min-width: 1100px) {
  .compare-tier-section {
    margin-top: 60px;
  }
  .platform-description {
    margin: 0;
  }
}

.platform-label-description {
  display: flex;
  flex-direction: column; 
  gap: 0.25rem;
}

.platform-tiers {
  /*   margin-left: 3.25rem; */
  margin-left: 0;
  flex-grow: 1;
}

.platform-tier-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem;
}

/* Responsive grid for different screen sizes */
/* Mobile first: 2x2 grid for mobile screens */
.platform-tier-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

/* 2 columns for mobile and tablets */
@media (min-width: 576px) and (max-width: 1099px) {
  .platform-tier-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 4 columns for desktop */
@media (min-width: 1100px) {
  .platform-tier-checkbox[data-tier-name="Strength Platinum"] {
    height: calc(100% + 30px);
  }
  .platform-tier-list {
    /*     grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
  }
}

/* .platform-tier-checkbox {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem;
border-radius: 0.5rem;
border: 1px solid var(--Gray-200, #E5E7EB);
background: var(--White, #FFF);
background:#F3F4F6;
cursor: pointer;
margin-bottom: 0.5rem;
transition: border-color 0.2s ease;
height: 7.3125rem;
height:100%; 
} */
.platform-tier-checkbox {
  align-items: flex-start;
  background: #f3f4f6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  /*     justify-content: space-between; */
  margin-bottom: .5rem;
  transition: border-color .2s ease;
  padding: 10px 16px;
  border-radius:6px;
}

/* Blue border for selected tier items */
.platform-tier-checkbox:has(input[type="checkbox"]:checked) {
  border-color: #2563EB;
}

/* Keep original text color for selected tier name */
.platform-tier-checkbox input[type="checkbox"]:checked ~ .tier-label-cost .tier-label {
  color: #1E212E;
}

/* Blue accent color for tier checkboxes */
.platform-tier-checkbox input[type="checkbox"]:checked {
  accent-color: #2563EB;
}

.platform-tier-contents {
  margin-top: 0.75rem; /* Reduced from 1rem to create less space above tiers */
}

.platform-tier-content {
  display: none;
  padding: 1rem 0;
  /* Removed border divider between tiers and recommendation text */
}

.platform-tier-content.active {
  display: block;
}

.new-pricing .tier-recommendation {
  margin-bottom:27px;
  /*   font-weight: 400; */
  font-weight: 600;
  /*   font-size: 12px; */
  font-size: 14px;
  line-height: 143%;
  color: #525252;
}

.tier-label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  color: #1E212E;
}

.tier-label-cost {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-style: normal; 
  font-weight: 500;
  line-height: 1.25rem;
  color: #1E212E;
}

/* Base tier cost styling */
/* .tier-cost {
font-size: 1.125rem;
font-style: normal;
font-weight: 600;
line-height: 1.75rem; 
margin-top:13px; 
} */



/* Tier costs in platform tiers should be smaller */
/* .platform-tier-checkbox .tier-cost {
font-size: 1.125rem;
font-style: normal;
font-weight: 500;
line-height: 1.75rem; /* 155.556% */
} */


/* Larger font size for platform costs on desktop */
@media (min-width: 1100px) {
  /* Platform costs (addon items) */
  /*   .platform[data-addon="true"] .tier-cost {
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem; 
  color: var(--Text-text-body, #1E212E);
} */

  /* Tier costs remain smaller */
  /*   .platform-tier-checkbox .tier-cost {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem; /* 155.556% */
} */
}

.tier-checkbox {
  background: blue;
  margin: 0;
  display: flex;
  width: 1.125rem;
  aspect-ratio: 1/1;
  border-radius: 0.25rem;
  margin-left:auto;
}

.new-pricing .key-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* .key-features-header {
text-transform: uppercase;
font-size: 1rem;
font-weight: 600;
color: #1E212E;
margin: 0;
} */

.key-features-header {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  line-height: 125%;
  color: #1E212E;
  margin: 0;
}

.key-features-item_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.key-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.key-feature-item_icon img {
  width: 1.25rem;
  height: 1.25rem;
  aspect-ratio: 1 / 1;
}

/* .key-feature-item_text {
font-size: 0.75rem;
font-weight: 400;
color: #525252;
margin: 0;
} */
.key-feature-item_text {
  font-weight: 400;
  font-size: 13px;
  line-height:20px;
  color: #1E212E;
  margin: 0;
}
.dropdown-icon {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.pricing-group-wrapper {
  flex-grow: 1;
  /*   max-width: 40rem; */
  max-width: 888px;
}


.your-stack {
  position: sticky;
  top: 7rem;
  background: #1E212E;
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  /*   gap: 0.625rem; */
  gap: 22px;
}

.new-pricing .your-stack_text {
  /*   font-size: 1.375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;  */
  margin: 0;
  font-weight: 700;
  font-size: 33.8756px;
  line-height: 124%;
  color: #FFFFFF;

}

.stack-content {
  position: relative;
}

.new-pricing .stack-content-title {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem; /* 155.556% */
  color: white;
  margin-bottom:9px;
}

.stack-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #1E212E;
}

.stack-content-relative {
  min-height: 19.375rem; 
}

/* Style for the "×" remove button */
.stack-card-remove {
  display: block;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #6B7280;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.stack-card-remove:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #1E212E;
}

/* Reset spacing inside each card */
.stack-card > * {
  margin: 0;
  padding: 0;
}

/* Stack card layout */
.stack-card {
  background: #FDFDF2;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
  margin-bottom: 1rem;
  position: relative;
}

/* Platform specific card styles */
.stack-card-platform {
  width: 100%;
  min-height: 8rem; /* Match the addon card min-height */
}

/* Addon specific card styles */
.stack-card-addon {
  width: 100%;
  min-height: 8rem;
  background: #F2F7FD;
}

/* Stack card description for all stack cards */
.stack-card-desc {
  font-size: 0.75rem;
  color: #525252;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  border-top: 1px solid #00000033;
  /*   opacity:0.2; */
}

/* Header row container for title, tier, and price */
.stack-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap:5px;
}

.strength-image {
  width: 100px;
}



/* Left side container for title and tier */
.stack-card-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  /*   gap: 0.5rem; */
}

/* Title styling */
.stack-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  font-style: normal;
  line-height: 2rem;
  letter-spacing: -0.015rem;
  color: #1E212E;
  margin: 0;
  word-break: break-word;
  max-width: 100%;
}

/* Tier styling - same font as title */
.stack-card-tier {
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  line-height: 25px;
  letter-spacing: -0.015rem;
  color: #1E212E;
  word-break: break-word;
  max-width: 100%;
}

/* Price aligned to the right */
.stack-card-price {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  color: #1E212E;
  max-width: 100%;
  word-break: break-word;
}

/* CTA button */
.stack-card-cta {
  background-color: transparent;
  color: #1E212E;
  border: 1px solid #1E212E;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

/* Remove default button outline on click, add subtle focus style */
.stack-card-cta:focus {
  outline: 2px solid #525252;
  outline-offset: 2px;
}

/* make total label + value sit at opposite ends */
.stack-total {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style for the total text */
.stack-total-text {
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem; /* 127.273% */
  color: white;
  margin: 0;
}

/* style for the value */
.stack-total-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Hidden class for toggling visibility */
.hidden {
  display: none !important;
}

/* Checkout button underneath total */
.stack-demo-btn,
.stack-demo-btn-outline {
  color: white;
  border: none;
  display: flex;
  padding: 0.625rem var(--Spacing-spacing-xl, 1.25rem);
  justify-content: center;
  align-items: center;
  gap: var(--Spacing-spacing-xs, 0.25rem);
  align-self: stretch;
  border-radius: var(--Radius-radii-s, 0.375rem);
  width: 100%;
  max-width: 100%; /* Prevent overflow */
  height: 3rem; /* Fixed height for both buttons */
  margin-top: 1rem;
  cursor: pointer !important;
  font-weight: 500;
  text-decoration: none; /* Ensure the anchor tag doesn't have underlines */
  text-align: center;
  transition: background 0.2s ease; /* Changed from transform to background for hover effect */
  font-size: 1rem; /* Standardize font size */
  box-sizing: border-box; /* Include padding in width calculation */
  overflow: hidden; /* Prevent content from overflowing */
  white-space: nowrap; /* Prevent text wrapping */
}

.stack-demo-btn {
  background: linear-gradient(90deg, #1769FF -39.34%, #18AEFF 141.54%);
}

.stack-demo-btn-outline {
  border-radius: 0.375rem;
  border: 1px solid var(--Background-bg-page, #FFF);
  background: transparent;
}

.stack-demo-btn:hover,
.stack-demo-btn-outline:hover {
  background: linear-gradient(90deg, #0D5EF2 -39.34%, #0DA2F2 141.54%);
  color: white;
  text-decoration: none;
}

.stack-demo-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}


.stack-text {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  color: #D4D4D4;
  text-align: center;
  margin: 0;
  position: absolute;
  top: 50%;
  width: 100%;
  max-width: 15rem;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.stack-bg-content {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  height: 100%;
}

.stack-bg-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stack-bg-custom-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}

/* Billing Toggle Styles */
.billing-toggle-container {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #F3F4F6;
  padding: 0.25rem;
  border-radius: 0.5rem;
}

/* Button style toggle */
.billing-toggle-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background-color: transparent;
  color: #6B7280;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.billing-toggle-btn.active {
  background-color: #1E1E1E;
  color: white;
}

.billing-toggle-btn:hover:not(.active) {
  background-color: rgba(0, 0, 0, 0.05);
}

.billing-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

/* Hide the checkbox but keep it for state management */
#billing-toggle-checkbox {
  display: none;
}

.platform-description {
  color: var(--Gray-500, #6B7280);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem; /* 142.857% */
  margin-top: 0.5rem;
  margin-bottom: 1.25rem; /* Added gap between description and platform tiers */
}

.billing-toggle-discount {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: #ECFDF5;
  color: #047857;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}


.stack-card-title,
.stack-card-tier {
  font-size:18px !important;
  line-height: 25px !important;
}

@media (max-width: 1450px) {
  .stack-card-header {
    flex-direction: column;
    align-items: center;
    /*     gap: 0.5rem; */
  }
  .new-pricing .stack-card-desc,.stack-card-title {
    text-align: center;
  }
}


@media (max-width: 1100px) {
  .pricing-group-wrapper {
    max-width: 100%;
  }
  .new-pricing .stack-wrapper {
    flex-grow: 1;
    max-width: 100%;
  }
  .stack-card-header {
        flex-direction: row;
    align-items: center;
    /*     gap: 0.5rem; */
  }

  .stack-card-title,
  .stack-card-tier {
    font-size:16px !important;
    line-height: 20px !important;
  }


  .stack-card-price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stack-card-header {
    flex-direction: column;
    align-items: center;
    /*     gap: 0.5rem; */
  }
  .new-pricing .stack-card-desc {
    text-align: center;
  }
  .stack-card {
    padding: 0.75rem;
  }

  .stack-card-title,
  .stack-card-tier {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .stack-card-price {
    font-size: 0.875rem;
  }

  .stack-card-cta {
    font-size: 0.75rem;
    padding: 0.375rem;
  }
  .platform-tier-list {
    display: grid;
    grid-template-columns: repeat(1,1fr);
  }
}
