body {
  overflow-x: hidden;
}

/* Container query support for sidebar-aware responsiveness */
.pricing-container {
  container-type: inline-size;
  container-name: pricing;
  width: 100%;
  overflow: visible; /* Allow full-bleed backgrounds to extend beyond container */
}

.pricing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 4rem auto;
  align-items: start;
  padding-top: 14px;
}

.plan-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.plan-card-wrapper.has-badge {
  margin-top: -28px;
}

.plan-card-badge {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 24px;
  border-radius: 20px;
  background: var(--grey-200);
  color: var(--grey-600);
  margin-bottom: -16px;
  z-index: 1;
  position: relative;
}

.plan-card-wrapper.pro .plan-card-badge {
  background: var(--brand-green);
  color: white;
}

.plan-card-wrapper.current .plan-card-badge {
  background: var(--grey-600);
  color: white;
}

.plan-card {
  border-radius: 12px;
  padding: 32px 24px 24px;
  border: 2px solid var(--grey-300);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  width: 100%;
}

.plan-card.pro:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.plan-card.free {
  border-color: var(--grey-300);
}

.plan-card.pro {
  box-shadow: 0px 4px 16px 8px rgba(0, 0, 0, 0.1);
}

.plan-card-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-600);
  margin-bottom: 8px;
  margin-top: 0;
}

.plan-card.pro .plan-card-name {
  color: var(--brand-green);
}

.plan-card.enterprise .plan-card-name {
  color: var(--orange-web);
}

.plan-card-price {
  font-size: 36px;
  font-weight: 600;
  color: var(--blue-midnight);
  margin-bottom: 4px;
  line-height: 1;
}

.plan-card-price.custom {
  font-size: 24px;
}

.plan-card.pro .plan-card-price {
  color: var(--brand-green);
}

.plan-card.enterprise .plan-card-price {
  color: var(--orange-web);
}

.plan-card-subtitle {
  font-size: 14px;
  color: var(--grey-500);
  margin: 4px 0 16px;
}

.plan-card-price-period {
  font-size: 18px;
  font-weight: 400;
}

.plan-card-empty-cta {
  color: var(--grey-500);
  font-size: 14px;
}

.plan-card-cta {
  margin-bottom: 20px;
}

.plan-card-cta .btn-cta {
  width: 100%;
  display: block;
  text-align: center;
}

.free-tier .plan-card-cta span.plan-status-text {
  background: transparent;
  border: 2px solid var(--grey-300);
  border-radius: 30px;
  color: var(--grey-600);
}

.plan-card-cta .btn-enterprise {
  background: transparent;
  border: 2px solid var(--orange-web);
  color: var(--orange-web);
}

.plan-card-cta .btn-enterprise:hover {
  background: var(--orange-web);
  color: white;
}

.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 8px;
  line-height: 1.4;
}

.plan-card-features li:last-child {
  margin-bottom: 0;
}

.plan-card-features .check-icon {
  color: var(--brand-green);
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-card.enterprise .plan-card-features .check-icon {
  color: var(--orange-web);
}

.plan-status-text {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-500);
  padding: 12px 0;
}

.plan-card-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
}

.plan-card-footer .cancel-note,
.plan-card-footer .contact-note {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--grey-500);
}

.premium-addon-wrapper {
  position: relative;
  margin-bottom: 48px;
  padding-top: 16px;
  max-width: 800px;
  margin: 8rem auto;
}

/* Full-bleed background using margin trick */
.premium-addon-wrapper::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  height: 125%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  z-index: -1;
  opacity: .7;
  background-color: var(--grey-300);
}

.premium-addon-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 24px;
  border-radius: 20px;
  background: #8B5CF6;
  color: white;
  z-index: 2;
  white-space: nowrap;
}

.premium-addon {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 4px 16px 8px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 40px 32px 32px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  transition: all 0.2s ease;
}

.premium-addon:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.premium-addon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #06B6D4 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.premium-addon-content {
  flex: 1;
}

.premium-addon-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8B5CF6;
  margin: 0 0 8px;
}

.premium-addon-description {
  font-size: 14px;
  color: var(--grey-600);
  margin: 0 0 16px;
  line-height: 1.5;
  max-width: 600px;
}

.premium-addon-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.premium-addon-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 8px;
  line-height: 1.4;
}

.premium-addon-features li:last-child {
  margin-bottom: 0;
}

.premium-addon-features .check-icon {
  color: #8B5CF6;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.premium-addon-price {
  font-size: 36px;
  font-weight: 600;
  color: #8B5CF6;
  margin: 0;
  line-height: 1;
}

.premium-addon-price .period {
  font-size: 18px;
  font-weight: 400;
}

.premium-addon-subtitle {
  font-size: 14px;
  color: var(--grey-500);
  margin: -8px 0 16px;
}

.premium-addon-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 0;
  padding-top: 8px;
}

.premium-addon-cta {
  display: flex;
  align-items: center;
}

.btn-premium {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #3B82F6 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.btn-premium:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
  transition: all 0.05s ease;
}

.premium-addon:hover .premium-addon-nsc-logo {  
  /* box-shadow: 0px 2px 8px 4px rgba(0, 0, 0, 0.1); */
  /* opacity: 0.7; */
}

.premium-addon-nsc-logo {
  height: auto;
  min-width: 30%;
  box-shadow: 0px 2px 12px 4px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  margin-bottom: 32px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

/* Hide mobile addon by default, show on mobile */
.premium-addon-mobile {
  display: none;
}

.detailed-comparison {
  margin-bottom: 48px;
}

.detailed-comparison-header {
  text-align: center;
  margin-bottom: 24px;
}

.detailed-comparison-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--blue-midnight);
  margin: 0 0 8px;
}

.detailed-comparison-header p {
  font-size: 14px;
  color: var(--grey-600);
  margin: 0;
}

.comparison-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--grey-300);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

/* Header Row */
.comparison-table thead tr {
  background: var(--grey-100);
}

.comparison-table th {
  padding: 24px 20px;
  text-align: center;
  vertical-align: top;
  border-bottom: 1px solid var(--grey-300);
}

.comparison-table th:first-child {
  width: 35%;
  text-align: left;
}

.plan-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.plan-name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-600);
}

.plan-price {
  font-size: 32px;
  font-weight: 600;
  color: var(--blue-midnight);
}

.plan-price-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-500);
}

.plan-subtitle {
  font-size: 12px;
  color: var(--grey-500);
  margin-top: 4px;
}

/* Plan-specific styling */
.plan-header.free .plan-name {
  color: var(--grey-600);
}

.plan-header.pro {
  position: relative;
}

.plan-header.pro .plan-name {
  color: var(--brand-green);
}

.plan-header.pro .plan-price {
  color: var(--brand-green);
}

.plan-header.enterprise .plan-name {
  color: var(--orange-web);
}

.plan-header.enterprise .plan-price {
  color: var(--orange-web);
}

/* Category Headers - Collapsible */
.category-row {
  cursor: pointer;
  user-select: none;
}

.category-row td {
  background: var(--grey-200);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-600);
  padding: 12px 20px;
  border-bottom: 1px solid var(--grey-300);
  position: relative;
}

.category-row td:first-child::after {
  color: var(--grey-500);
  content: '▼';
  position: absolute;
  right: 20px;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.category-row.collapsed td:first-child::after {
  transform: rotate(-90deg);
}

.category-row:hover td {
  background: var(--grey-200);
}

.category-content {
  display: table-row-group;
}

.category-content.collapsed {
  display: none;
}

.comparison-table tbody tr {
  transition: background-color 0.15s ease;
}

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

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--grey-300);
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

.comparison-table td:first-child {
  text-align: left;
  color: var(--black);
}

.check {
  color: var(--brand-green);
  font-size: 18px;
  font-weight: bold;
}

.x-mark {
  color: var(--grey-400);
  font-size: 16px;
}

.feature-value {
  font-weight: 500;
  color: var(--black);
}

.feature-note {
  display: block;
  font-size: 12px;
  color: var(--grey-500);
  margin-top: 2px;
}

.cta-row td {
  padding: 24px 20px;
  background: white;
  border-bottom: none;
}

.btn-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 140px;
}

.btn-free {
  background: var(--grey-600);
  color: white;
}

.btn-free:hover {
  background: var(--grey-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-pro {
  background: var(--brand-green);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
}

.btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 197, 123, 0.3);
}

.btn-pro:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 197, 123, 0.2);
  transition: all 0.05s ease;
}

.plan-card-wrapper.pro:not(:hover) .btn-pro::before {
  animation: shimmer 0.8s ease-in-out;
}

.plan-card-wrapper.pro:not(:hover) .btn-pro {
  box-shadow: 0 4px 20px rgba(0, 197, 123, 0.5), 0 0 0 2px rgba(0, 197, 123, 0.3);
}

.btn-enterprise {
  background: var(--orange-web);
  color: white;
}

.btn-enterprise:hover {
  background: #e07d00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 141, 0, 0.3);
}

.btn-current {
  background: var(--grey-200);
  color: var(--grey-500);
  cursor: default;
}

.btn-current:hover {
  transform: none;
  box-shadow: none;
}

.btn-cta.loading {
  opacity: 0.7;
  pointer-events: none;
}

.plan-growth-section {
  background: var(--extra-light-green);
  border-radius: 12px;
  border: 1px solid var(--light-green);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}

.plan-growth-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-midnight);
  margin: 0 0 16px;
}

.plan-growth-section p {
  margin: 0 0 24px;
  color: var(--grey-600);
  font-size: 14px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plan-growth-section .btn-growth {
  background: var(--grey-700);
  color: white;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.plan-growth-section .btn-growth:hover {
  background: var(--grey-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-growth-section .btn-growth:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.05s ease;
}

.plan-growth-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-growth-section .btn-growth-secondary {
  background: transparent;
  color: var(--grey-700);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--grey-400);
  transition: all 0.2s ease;
  display: inline-block;
}

.plan-growth-section .btn-growth-secondary:hover {
  border-color: var(--grey-600);
  color: var(--grey-800);
  transform: translateY(-1px);
}

/* Tier Ladder Styles */
.tier-ladder {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin: 24px auto;
  max-width: 700px;
  border: 1px solid var(--grey-300);
}

.tier-ladder-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 16px;
  text-align: center;
}

.tier-ladder-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tier-step {
  background: var(--extra-light-green);
  border: 1px solid var(--light-green);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  min-width: 100px;
}

.tier-step-usage {
  font-size: 12px;
  color: var(--grey-600);
  margin-bottom: 4px;
}

.tier-step-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-green);
}

.tier-step-arrow {
  color: var(--grey-400);
  display: flex;
  align-items: center;
}

.tier-step-continuation {
  background: var(--grey-100);
  border-color: var(--grey-300);
}

.tier-step-continuation .tier-step-price {
  color: var(--grey-600);
}

.tier-ladder-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
  font-size: 13px;
  color: var(--grey-600);
  text-align: center;
}

.tier-ladder-note svg {
  flex-shrink: 0;
  color: var(--grey-500);
}

@container pricing (max-width: 600px) {
  .tier-ladder-steps {
    flex-direction: column;
    gap: 12px;
  }
  
  .tier-step-arrow {
    transform: rotate(90deg);
  }
  
  .tier-step {
    width: 100%;
    max-width: 200px;
  }
  
  .tier-ladder-note {
    flex-direction: column;
    gap: 4px;
  }
}

.manage-subscription {
  text-align: center;
  margin-top: 16px;
}

.manage-subscription a {
  color: var(--brand-green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.manage-subscription a:hover {
  color: var(--dark-green);
  text-decoration: underline;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-midnight);
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--grey-600);
  margin: 0;
  line-height: 1.5;
}

.faq-item p a {
  color: var(--brand-green);
  text-decoration: none;
}

.faq-item p a:hover {
  text-decoration: underline;
}

@container pricing (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--grey-500);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--black);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--orange-web);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.modal-icon-success {
  background: var(--brand-green);
}

.modal-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  color: var(--blue-midnight);
}

.modal-content p {
  margin: 0 0 24px;
  color: var(--grey-600);
  line-height: 1.6;
  font-size: 14px;
}

.modal-expectation {
  background: var(--grey-100);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.5;
}

.modal-expectation span {
  font-weight: 600;
  color: var(--grey-700);
}

.modal-success {
  color: var(--brand-green);
}

.modal-success h2 {
  color: var(--brand-green);
}

.modal-faq {
  max-width: 720px;
  text-align: left;
}

.modal-faq h2 {
  text-align: center;
  margin-bottom: 24px;
}

.modal-faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.modal-faq .faq-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-midnight);
  margin: 0 0 6px;
}

.modal-faq .faq-item p {
  font-size: 14px;
  color: var(--grey-600);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .modal-faq {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  .modal-faq h2 {
    position: sticky;
    top: 0;
    background: white;
    margin: 0;
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--grey-200);
    z-index: 10;
    font-size: 20px;
  }
  
  .modal-faq .modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 11;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .modal-faq .faq-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 32px;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-faq .faq-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--grey-200);
  }
  
  .modal-faq .faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@container pricing (max-width: 768px) {
  .plan-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .premium-addon {
    flex-direction: column;
    align-items: stretch;
  }
  
  .premium-addon-cta {
    width: 100%;
  }
  
  .premium-addon-cta .btn-premium {
    width: 100%;
    text-align: center;
  }
  
  .pricing-header h1 {
    font-size: 28px;
  }

  .plan-card-wrapper.free-tier {
    display: none;
  }
  
  .plan-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: min(80%, 400px);
  }
  
  .plan-card-wrapper.pro {
    order: 1;
  }
  
  .premium-addon-mobile {
    order: 2;
    display: block;
    padding-top: 16px;
    margin-top: 6rem;
  }
  
  .plan-card-wrapper.enterprise {
    order: 3;
  }
  
  .premium-addon-wrapper.desktop-only {
    display: none;
  }
  
  .premium-addon-mobile .premium-addon {
    flex-direction: column;
    padding: 32px 24px 24px;
  }
  
  .premium-addon-mobile .premium-addon-content {
    text-align: left;
  }
  
  .premium-addon-mobile .premium-addon-price {
    margin-bottom: 16px;
  }
  
  .premium-addon-mobile .premium-addon-cta {
    margin-bottom: 20px;
  }
  
  .premium-addon-mobile .btn-premium {
    width: 100%;
    display: block;
    text-align: center;
  }
  
  .premium-addon-mobile .premium-addon-description {
    margin-bottom: 16px;
  }
  
  .premium-addon-mobile .premium-addon-features {
    margin-bottom: 0;
  }
  
  .premium-addon-mobile .premium-addon-features li {
    margin-bottom: 10px;
  }
  
  .comparison-table {
    overflow-x: visible;
  }
  
  .comparison-table table {
    min-width: auto;
    width: 100%;
  }
  
  .comparison-table th:nth-child(2),
  .comparison-table td:nth-child(2) {
    display: none;
  }
  
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 40%;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
  
  .plan-header .plan-price {
    font-size: 24px;
  }
  
  .plan-header .plan-name {
    font-size: 11px;
  }
  
  .category-row td {
    font-size: 11px;
    padding: 10px 12px;
  }
  
  .category-row td:first-child::after {
    right: 12px;
  }
}

@container pricing (max-width: 600px) {
  .pricing-page {
    padding: 24px 16px 40px;
  }
  
  .pricing-header h1 {
    font-size: 24px;
  }
  
  .plan-card-price {
    font-size: 28px;
  }
  
  .plan-price {
    font-size: 24px;
  }
  
  .btn-cta {
    padding: 10px 16px;
    min-width: 100px;
    font-size: 13px;
  }
  
  .plan-growth-section {
    padding: 24px 16px;
  }
  
  .premium-addon {
    padding: 20px;
  }
  
  .premium-addon-description {
    font-size: 14px;
  }
  
  .premium-addon-features li {
    font-size: 14px;
  }
  
  .premium-addon-price {
    font-size: 24px;
  }
  
  .btn-premium {
    padding: 14px 24px;
    font-size: 13px;
  }
}

/* NSC Learn More Button */
.btn-nsc-learn-more {
  background: transparent;
  border: none;
  color: #8B5CF6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  transition: color 0.2s ease;
  margin-top: 12px;
  display: block;
}

.btn-nsc-learn-more:hover {
  color: #7C3AED;
}

/* NSC Modal */
.modal-nsc {
  max-width: 900px;
  width: 95%;
  height: 80vh;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.modal-nsc h2 {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.nsc-iframe {
  flex: 1;
  width: 100%;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .modal-nsc {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}
