.pricing-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    color: var(--text);
  }

  .pricing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 1rem 4rem;
    width: 100%;
    box-sizing: border-box;
  }


  .pricing-hero {
    text-align: center;
    max-width: 42rem;
    padding-top: 1rem;
  }

  .pricing-hero-title {
    font-size: var(--base-size-48);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-16);
  }

  .pricing-hero-subtitle {
    font-size: var(--base-size-20);
    color: var(--text-light);
    font-weight: var(--base-text-weight-normal);
  }


  .pricing-toggle-section {
    width: 100%;
    display: flex;
    justify-content: center;
  }

.billing-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

  .pricing-main .upgrade-toggle {
    border-bottom: unset;
    padding: unset;
  }

  .pricing-toggle-section .upgrade-toggle {
    justify-content: center;
  }

  .pricing-savings-note {
    color: var(--text-light);
    font-weight: var(--base-text-weight-medium);
    line-height: 1;
    user-select: none;
    cursor: default;
  }

  .yearly-active .pricing-savings-note {
    color: var(--fgColor-muted);
  }


  .pricing-status-banner {
    width: 100%;
    max-width: 72rem;
    background-color: var(--surface-alt);
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .pricing-status-banner .upgrade-modal-note {
    color: var(--warning-color);
    font-size: var(--base-size-14);
    text-align: center;
  }


  .pricing-cards-section {
    max-width: 84rem;
  }

  .pricing-plans-grid {
    box-sizing: border-box;
  }

  .upgrade-card.is-current-plan {
    border-color: var(--bgColor-success-emphasis);
    box-shadow: 0 0 0 0.125rem color-mix(in srgb, var(--bgColor-success-emphasis) 20%, transparent);
  }

  .upgrade-card.is-current-plan .plan-name::after {
    content: " ✓";
    font-size: var(--base-size-14);
    color: var(--bgColor-success-emphasis);
    font-weight: var(--base-text-weight-medium);
  }


  .pricing-body  .upgrade-card{
    max-width: 20rem;
  }

  .pricing-terms-note-row {
    width: 100%;
    max-width: 72rem;
    text-align: center;
    margin-top: -1rem;
  }

  .pricing-terms-note-row .upgrade-modal-terms-note {
    font-size: var(--base-size-16);
  }



  .pricing-section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin: 0 0 1.5rem;
    text-align: center;
  }



  .pricing-comparison-section {
    width: 100%;
    max-width: 82rem;
  }

  .pricing-comparison-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
  }


  .pricing-comparison-table input[type="checkbox"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: 0.2rem;
    position: relative;
    outline: none;
    flex-shrink: 0;
  }

  .pricing-comparison-table input[type="checkbox"]:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 25%;
    border-left: 0.094rem solid transparent;
    border-bottom: 0.094rem solid transparent;
    transform: translate(-50%, -60%) rotate(-50deg) scale(0);
    transform-origin: center;
    transition: transform 0.18s ease-out, border-color 0.2s;
  }

  .pricing-comparison-table input[type="checkbox"]:checked:before {
    border-color: var(--accent);
    transform: translate(-50%, -60%) rotate(-50deg) scale(1);
  }

  .pricing-comparison-table input[type="checkbox"]:disabled {
    opacity: 1;
    cursor: default;
    pointer-events: none;
  }



  .pricing-comparison-table {
    width: 100%;
    min-width: 60rem;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: var(--base-size-16);
    background-color: var(--card-bg);
  }
  .pricing-comparison-table th:not(.feature-col),
  .pricing-comparison-table td:not(:first-child) {
    width: 15%;
  }

  .pricing-comparison-table thead tr {
    background-color: var(--surface-alt);
  }

  .pricing-comparison-table th {
    padding: 0.875rem 1rem;
    text-align: center;
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    border-bottom: var(--borderWidth-thin) solid var(--border);
    white-space: nowrap;
  }

  .pricing-comparison-table th.feature-col {
    text-align: start;
    width: 40%;
  }

  .pricing-comparison-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    color: var(--text-light);
    border-bottom: var(--borderWidth-thin) solid var(--table-border);
    vertical-align: middle;
  }

  .pricing-comparison-table td.feature-col,
  .pricing-comparison-table tbody tr td:first-child {
    text-align: start;
    color: var(--text);
    font-weight: var(--base-text-weight-normal);
  }

  .pricing-comparison-table tbody tr:last-child td {
    border-bottom: none;
  }

  .pricing-comparison-table tbody tr:hover {
    background-color: var(--row-hover);
  }

  .comparison-group-header td {
    background-color: var(--surface-alt);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    font-size: var(--base-size-16);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-top: var(--borderWidth-thin) solid var(--border);
    border-bottom: var(--borderWidth-thin) solid var(--border);
  }

  .comparison-group-header:hover {
    background-color: var(--surface-alt) !important;
  }

  .comparison-group-header td:first-child {
    text-align: start;
    color: var(--text);
  }

  .check-icon {
    color: var(--bgColor-success-emphasis);
    font-size: var(--base-size-16);
    font-weight: var(--base-text-weight-semibold);
  }

  .cross-icon {
    color: var(--fgColor-muted);
    font-size: var(--base-size-14);
  }

  .comparison-text-cell {
    font-weight: var(--base-text-weight-medium);
    color: var(--text);
  }



  .pricing-faq-section {
    width: 100%;
    max-width: 82rem;
  }

  .pricing-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .pricing-faq-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--card-bg);
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
    overflow: hidden;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    height: 100%;
  }

  .pricing-faq-item:hover {
    border-color: var(--borderColor-emphasis, var(--border));
  }

  .pricing-faq-item[open] {
    justify-content: start;
    border-color: var(--borderColor-emphasis, var(--border));
  }

  .pricing-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1.25rem;
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.15s;
    height: 100%;
  }

  .pricing-faq-item[open] > .pricing-faq-question {
    height: unset;
  }

  .pricing-faq-question::-webkit-details-marker {
    display: none;
  }

  .pricing-faq-question > span:first-child {
    flex: 1;
    line-height: 1.45;
  }

  .pricing-faq-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.0625rem;
    color: var(--fgColor-muted);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s;
  }

  .pricing-faq-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .pricing-faq-item[open] .pricing-faq-icon {
    transform: rotate(180deg);
    color: var(--text);
  }

  .pricing-faq-item[open] .pricing-faq-question {
    background-color: var(--surface-alt);
  }

  .pricing-faq-question:hover {
    background-color: var(--surface-alt);
  }

  .pricing-faq-answer {
    padding: 0 1.25rem 1.125rem;
    border-top: var(--borderWidth-thin) solid var(--border);
  }

  .pricing-faq-answer p {
    margin: 0.875rem 0 0;
    color: var(--text-light);
    line-height: 1.65;
  }

  @media (max-width: 63.938rem) {
    .pricing-faq-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 43.75rem) {
    .pricing-faq-grid {
      grid-template-columns: 1fr;
    }
  }



  .pricing-payment-section {
    width: 100%;
    max-width: 82rem;
  }

  .pricing-payment-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--surface-alt);
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
    padding: 1rem 1.25rem;
  }

  .pricing-payment-icon {
    color: var(--fgColor-muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .pricing-payment-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .pricing-payment-text strong {
    color: var(--text);
    font-weight: var(--base-text-weight-semibold);
  }

  .pricing-payment-text span {
    color: var(--text-light);
  }



  .pricing-footer {
    border-top: var(--borderWidth-thin) solid var(--border);
    background-color: var(--card-bg);
    padding: 2rem 1.5rem;
  }

  .pricing-footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    justify-content: space-between;
  }

  .pricing-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .pricing-footer-tagline {
    font-size: var(--base-size-14);
    color: var(--fgColor-muted);
  }

  .pricing-footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .pricing-footer-links a {
    font-size: var(--base-size-14);
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s;
  }

  .pricing-footer-links a:hover {
    color: var(--text);
  }

  .pricing-footer-copy {
    font-size: var(--base-size-12);
    color: var(--fgColor-muted);
    margin: 0;
  }



  @media (max-width: 63.938rem) {
    .pricing-plans-grid {
      grid-template-columns: repeat(2, minmax(17rem, 1fr));
    }
  }

  @media (max-width: 37.5rem) {
    .pricing-plans-grid {
      grid-template-columns: repeat(1, minmax(20rem, 1fr));
    }


    .pricing-footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  }

  @media (max-width: 34.625rem) {
    .pricing-toggle-section .upgrade-toggle {
      flex-direction: column;
      text-align: center;
    }
  }

  .pricing-ghost-thead-wrap,
  .pricing-ghost-group-wrap {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.375rem);
    transition:
      opacity     0.18s ease,
      transform   0.18s ease,
      visibility  0s   linear 0.18s;
    pointer-events: none;
  }

  .pricing-ghost-thead-wrap.is-visible,
  .pricing-ghost-group-wrap.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity     0.18s ease,
      transform   0.18s ease,
      visibility  0s   linear 0s;
    pointer-events: auto;
    border-right: var(--borderWidth-thin) solid var(--border);
    border-left: var(--borderWidth-thin) solid var(--border);
  }

  .pricing-ghost-thead-wrap {
    z-index: 201;
    overflow: hidden;
  }

  .pricing-ghost-table {
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 36rem;
    font-size: var(--base-size-16);
    background-color: var(--surface-alt);
    /* border-right: var(--borderWidth-thin) solid var(--border); */
    /* will-change: transform; */
  }

  .pricing-ghost-group-wrap {
    z-index: 200;
    overflow: hidden;
    height: 2.125rem;
  }

  .pricing-ghost-group-bar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-color: var(--surface-alt);
    border-bottom: var(--borderWidth-thin) solid var(--border);
    padding: 0 1rem;
    font-size: var(--base-size-16);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-sizing: border-box;
    transform: translateY(0);
    /* will-change: transform; */
  }

  .pricing-ghost-group-bar + .pricing-ghost-group-bar {
    transform: translateY(100%);
  }