/* architecture: landing — pricing & plans | lines 1666-2371 from style.css */
/* ================================================
   11. PRICING (UPGRADED TO 3 PLANS) & FOOTER
   ================================================ */
.pricing-section { padding: 100px 0; background: var(--bg-section); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-main); 
  border: 1px solid var(--border-color); 
  border-radius: var(--radius-lg);
  padding: 50px 30px; 
  text-align: center; 
  position: relative; 
  transition: var(--transition);
}

/* کارت پیشنهادی (ویژه) در وسط */
.pricing-card.featured {
  border: 2px solid var(--accent-gold);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
  z-index: 2;
  background: var(--bg-elevated);
}

.pricing-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gold); color: var(--accent-on); padding: 6px 20px; border-radius: 99px; font-weight: 800; font-size: 0.9rem;
  white-space: nowrap;
}

.pricing-title { font-size: 1.5rem; font-weight: 800; color: var(--text-white); margin-bottom: 12px; }
.pricing-desc { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 30px; min-height: 48px; }
.pricing-price { font-size: 2.2rem; font-weight: 900; color: var(--accent-gold); margin-bottom: 40px; }
.pricing-features { list-style: none; margin-bottom: 40px; text-align: right; }
.pricing-features li { font-size: 0.95rem; color: var(--text-gray-light); margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; }
.pricing-features li i { color: var(--accent-gold); margin-top: 5px; }

/* ================================================
   PLANS — selectable development packages
   ================================================ */
/* padding/background را .lp-section مدیریت می‌کند */
.plans-section { background: var(--bg-main); }

.plans-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}
.plans-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-gray);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border-color);
  background: var(--glass-fill);
}
.plans-step.is-active {
  color: var(--accent-gold);
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(96, 165, 250, 0.08);
}
.plans-step-divider {
  width: 32px;
  height: 1px;
  background: var(--border-color);
}

.plans-shared-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 32px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--glass-fill);
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.plans-shared-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(96, 165, 250, 0.14);
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.plans-shared-feature-body strong {
  display: block;
  color: var(--text-white);
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plans-shared-feature-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-gray-light);
  line-height: 1.75;
}

.plans-shared-feature-body p strong {
  color: var(--accent-gold);
  font-weight: 800;
}

.billing-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 6px;
  border-radius: var(--radius-lg);
  background: var(--glass-fill-muted);
  border: 1px solid var(--border-color);
}

.billing-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-gray);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.billing-tab:hover {
  color: var(--text-white);
  background: var(--glass-fill-hover);
}

.billing-tab.is-active {
  color: var(--accent-gold);
  border-color: rgba(96, 165, 250, 0.4);
  background: #eff6ff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}

.billing-tab-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-gold);
  white-space: nowrap;
}

.billing-tab-badge--best {
  background: var(--accent-gold);
  color: var(--accent-on);
}

/* —— قیمت مقابل مدت؛ بدون قالب —— */
.plan-price-wrap {
  width: 100%;
  display: block;
  margin: 2px 0 4px;
  padding: 2px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: right;
}

.plan-price-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-price-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 6px;
}

.plan-price-main {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.plan-price {
  font-size: 1.42rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  direction: ltr;
  unicode-bidi: isolate;
}

.plan-price--old {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-gray);
  text-decoration: line-through;
  opacity: 0.7;
  direction: ltr;
  unicode-bidi: isolate;
}

.plan-discount-badge {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #86efac;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.16);
}

.plan-price-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-gray);
}

.plan-price-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: left;
}

.plan-price-period {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.plan-price-monthly {
  font-size: 0.64rem;
  color: var(--text-gray);
  line-height: 1.4;
  max-width: 11rem;
}

.plan-card.selected .plan-price-wrap,
.plan-card.selected .plan-price-main {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* —— متریک‌های افقی (بدون کارت داخلی) —— */
.plan-metrics {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid rgba(226, 232, 240, 0.08);
}

.plan-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 8px 6px;
  text-align: center;
  border-inline-end: 1px solid rgba(226, 232, 240, 0.07);
  border-bottom: 1px solid rgba(226, 232, 240, 0.07);
}

.plan-metric:nth-child(2n) {
  border-inline-end: 0;
}

.plan-metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.plan-metric-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.plan-metric-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.plans-compare {
  margin-top: 24px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}

.plans-compare-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--glass-fill-muted);
}

.plans-compare-title {
  display: block;
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
}

.plans-compare-title i {
  display: none;
}

.plans-compare-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.plans-compare-list {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.plans-compare-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass-fill);
  font-size: 0.86rem;
  color: var(--text-gray-light);
  line-height: 1.6;
}

.plans-compare-list li::before {
  display: none;
}

.plans-compare-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-solid, #60a5fa);
}

.plans-compare-item-text {
  color: var(--text-gray-light);
  line-height: 1.55;
}

.plans-slider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.plans-slider-viewport {
  flex: 1;
  min-width: 0;
  /* افقی hidden تا صفحه بعد دیده نشود؛ عمودی جا برای محو شدن سایه */
  overflow: hidden;
  padding: 24px 0 48px;
  margin: -8px 0 -18px;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 16px,
    #000 calc(100% - 36px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 16px,
    #000 calc(100% - 36px),
    transparent 100%
  );
}

.plans-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  direction: ltr;
  /* عرض = ویوپورت؛ gap بین صفحات ممنوع (بریدگی گوشه) */
  width: 100%;
  gap: 0 !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.plans-grid.is-centered {
  transform: none !important;
}

/* موبایل: یک کارت در هر صفحه — دسکتاپ: سه کارت */
.plans-page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 12px 16px 28px;
  direction: rtl;
  overflow: hidden;
}

.plans-page .plan-card,
.plans-page--short .plan-card {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: min(100%, 280px);
  max-width: min(100%, 280px);
  min-width: 0;
  margin-inline: auto;
}

.plans-slider-btn {
  flex-shrink: 0;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(16, 22, 34, 0.9);
  color: var(--accent-solid, #60a5fa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.plans-slider-btn:hover:not(:disabled) {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.42);
}

.plans-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* فضا نگه دار تا عرض کارت با/بدون اسلاید یکی بماند */
.plans-slider-btn[hidden] {
  display: inline-flex !important;
  visibility: hidden;
  pointer-events: none;
}

.plans-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.plans-slider-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: width 0.25s ease, background 0.25s ease;
}

.plans-slider-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.25s ease, background 0.25s ease;
}

.plans-slider-dot.is-active::after {
  width: 22px;
  background: rgba(96, 165, 250, 0.75);
}

.plans-empty {
  width: 100%;
  text-align: center;
  color: var(--text-gray-light);
  padding: 24px;
}

body.landing-page .plan-card::after {
  content: none;
  display: none;
}

.plan-card {
  --plan-pad-x: 14px;
  --plan-pad-y: 16px;
  --plan-min-h: 460px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: flex;
  flex-direction: column;
  text-align: right;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
  opacity: 1;
  min-height: var(--plan-min-h);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: var(--plan-min-h);
  padding: var(--plan-pad-y) var(--plan-pad-x);
  border-radius: inherit;
  background: var(--plan-card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    transform 0.28s ease;
}

.plan-card-inner::before {
  content: none;
  display: none;
}

.plan-card-inner::after {
  content: none;
  display: none;
}

.plan-card:focus-visible .plan-card-inner {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow:
    var(--card-shadow),
    0 0 0 3px rgba(96, 165, 250, 0.14);
}

.plan-card:hover {
  transform: translateY(-6px);
}

.plan-card:hover .plan-card-inner {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: var(--card-shadow-hover);
}

.plan-card.selected .plan-card-inner {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow:
    var(--card-shadow-hover),
    0 0 0 1px rgba(96, 165, 250, 0.12);
  background: var(--plan-card-bg-selected);
}

.plan-card.is-recommended .plan-card-inner {
  padding-top: calc(var(--plan-pad-y) + 16px);
}

.plan-card.is-recommended.selected .plan-card-inner {
  border-color: rgba(96, 165, 250, 0.52);
}

.plan-radio {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--glass-fill);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.plan-card.selected .plan-radio {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  box-shadow: inset 0 0 0 3px var(--bg-elevated);
}

.plan-tag {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px 7px;
  border-radius: 0 0 12px 12px;
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.45);
  pointer-events: none;
}

.plan-tag i {
  font-size: 0.66rem;
  color: #ffffff;
}

.plan-card-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 18px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.plan-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: none;
  font-size: 1.12rem;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.plan-card:hover .plan-icon {
  transform: translateY(-1px);
}

.plan-card.selected .plan-icon {
  background: #dbeafe;
  border-color: #93c5fd;
}

.plan-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
  line-height: 1.35;
  width: 100%;
  text-align: center;
  letter-spacing: -0.01em;
}

.plan-subtitle {
  font-size: 0.74rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.65;
  text-align: center;
  display: block;
  max-width: none;
  width: 100%;
  overflow: visible;
  white-space: normal;
}

.plan-price-wrap {
  width: 100%;
  display: block;
  margin: 0 0 2px;
  padding: 8px 2px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: right;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  direction: ltr;
  unicode-bidi: isolate;
}

.plan-price-period {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.01em;
}

.plan-metrics {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--glass-fill-hover);
}

.plan-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 10px 6px;
  text-align: center;
  border-inline-end: 1px solid rgba(226, 232, 240, 0.07);
  border-bottom: 1px solid rgba(226, 232, 240, 0.07);
}

.plan-metric:nth-child(2n) {
  border-inline-end: 0;
}

.plan-metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.plan-features-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0 8px;
  border: 0;
  background: transparent;
}

.plan-features-label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(96, 165, 250, 0.82);
  text-align: center;
  text-transform: uppercase;
}

.plan-card-actions {
  margin-top: auto;
  padding-top: 8px;
}

.plan-card .plan-request-btn {
  width: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  padding: 10px 14px;
  min-height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.plan-features {
  list-style: none;
  width: 100%;
  text-align: right;
  margin: 0;
  padding: 0;
}

.plan-features-paired {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 8px;
}

.plan-features-paired > li {
  min-width: 0;
}

.plan-features-paired > .plan-feature-limit {
  grid-column: 1 / -1;
}

.plan-features-paired .plan-feature-item span,
.plan-features-paired .plan-feature-limit {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-features li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.7rem;
  color: var(--text-gray-light);
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 0;
  text-align: right;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  min-width: 5px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--accent-gold);
}

.plan-features li.plan-feature-item::before {
  display: none;
}

.plan-features li.plan-feature-item {
  gap: 8px;
  font-size: 0.7rem;
  align-items: center;
}

.plan-features li.plan-feature-item i {
  flex-shrink: 0;
  width: 1.1em;
  margin-top: 0;
  font-size: 0.82rem;
  text-align: center;
}

.plan-features li.plan-feature-item.is-on i {
  color: #34d399;
}

.plan-features li.plan-feature-item.is-off i {
  color: #f87171;
}

.plan-features li.plan-feature-item.is-off span {
  color: var(--text-gray);
}

.plan-features li.plan-feature-item em {
  display: none;
}

.plan-card .plan-request-btn:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.26);
  outline-offset: 2px;
}

.plan-card .plan-request-btn.btn-gold:hover,
.plan-card .plan-request-btn.btn-outline:hover {
  transform: translateY(-1px);
}

.plan-card .plan-request-btn.btn-gold:active,
.plan-card .plan-request-btn.btn-outline:active {
  transform: translateY(0) scale(0.985);
}

/* انتخاب‌شده: دکمه ثانویه مات */
.plan-card.selected .plan-request-btn.btn-outline {
  color: #2563eb;
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.plan-card.selected .plan-request-btn.btn-outline:hover {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #60a5fa;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.plan-card.selected .plan-request-btn.btn-outline:active {
  color: #1d4ed8;
  background: #bfdbfe;
  border-color: #60a5fa;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* —— تبلت و دسکتاپ: سه کارت در ردیف —— */
@media (min-width: 769px) {
  .plans-slider-viewport {
    padding: 32px 0 56px;
    margin: -12px 0 -22px;
  }

  .plans-page {
    gap: 24px;
    padding: 16px 18px 32px;
  }

  .plans-page .plan-card,
  .plans-page--short .plan-card {
    flex: 0 0 min(340px, calc((100% - 48px) / 3));
    width: min(340px, calc((100% - 48px) / 3));
    max-width: min(340px, calc((100% - 48px) / 3));
    margin-inline: 0;
  }

  .plan-card {
    --plan-pad-x: 22px;
    --plan-pad-y: 24px;
    --plan-min-h: 580px;
    border-radius: 22px;
  }

  .plan-card.is-recommended {
    transform: translateY(-4px);
  }

  .plan-card.is-recommended:hover {
    transform: translateY(-10px);
  }

  .plan-card.is-recommended .plan-card-inner {
    padding-top: calc(var(--plan-pad-y) + 20px);
    border-color: rgba(96, 165, 250, 0.26);
  }

  .plan-radio {
    width: 20px;
    height: 20px;
  }

  .plan-tag {
    padding: 8px 16px 9px;
    font-size: 0.72rem;
    border-radius: 0 0 14px 14px;
  }

  .plan-card-top {
    gap: 12px;
    margin-bottom: 16px;
    padding: 6px 10px 14px;
  }

  .plan-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.28rem;
  }

  .plan-title {
    font-size: 1.28rem;
  }

  .plan-subtitle {
    font-size: 0.8rem;
    max-width: none;
  }

  .plan-price-wrap {
    padding: 10px 2px 14px;
  }

  .plan-price {
    font-size: 1.9rem;
  }

  .plan-price--old {
    font-size: 0.9rem;
  }

  .plan-price-unit {
    font-size: 0.84rem;
  }

  .plan-price-period {
    font-size: 0.86rem;
  }

  .plan-price-monthly {
    font-size: 0.76rem;
    max-width: 12rem;
  }

  .plan-metrics {
    padding: 14px 10px;
    border-radius: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .plan-metric {
    padding: 4px 6px;
    border-bottom: 0;
  }

  .plan-metric:nth-child(2n) {
    border-inline-end: 1px solid rgba(226, 232, 240, 0.07);
  }

  .plan-metric:last-child {
    border-inline-end: 0;
  }

  .plan-metric-value {
    font-size: 1.05rem;
  }

  .plan-metric-label {
    font-size: 0.68rem;
  }

  .plan-features-wrap {
    padding: 16px 0 10px;
    gap: 10px;
  }

  .plan-features-label {
    font-size: 0.7rem;
  }

  .plan-features li {
    font-size: 0.86rem;
    padding: 6px 0;
    gap: 10px;
  }

  .plan-features li.plan-feature-item {
    font-size: 0.86rem;
    gap: 10px;
  }

  .plan-features li.plan-feature-item i {
    font-size: 0.96rem;
  }

  .plan-card .plan-request-btn {
    font-size: 0.9rem;
    padding: 13px 18px;
    min-height: 48px;
    border-radius: 14px;
  }
}

@media (min-width: 1200px) {
  .plans-page {
    gap: 28px;
    padding: 16px 16px 20px;
  }

  .plans-page .plan-card,
  .plans-page--short .plan-card {
    flex: 0 0 min(360px, calc((100% - 56px) / 3));
    width: min(360px, calc((100% - 56px) / 3));
    max-width: min(360px, calc((100% - 56px) / 3));
  }

  .plan-card {
    --plan-pad-x: 24px;
    --plan-pad-y: 26px;
    --plan-min-h: 600px;
  }

  .plan-card.is-recommended .plan-card-inner {
    padding-top: calc(var(--plan-pad-y) + 22px);
  }

  .plan-icon {
    width: 62px;
    height: 62px;
    font-size: 1.34rem;
  }

  .plan-title {
    font-size: 1.34rem;
  }

  .plan-price {
    font-size: 2.05rem;
  }

  .plan-features li {
    font-size: 0.9rem;
  }

  .plan-features li.plan-feature-item {
    font-size: 0.9rem;
  }
}

.plans-selected-note {
  display: block;
  margin-top: 22px;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--cta-band-bg);
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: var(--card-shadow);
  color: var(--text-gray-light);
  font-size: 0.95rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.plans-selected-note[hidden] {
  display: none !important;
}
.plans-selected-note-inner {
  padding: 0;
}
.plans-selected-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.16);
  background: var(--glass-fill-muted);
  flex-wrap: wrap;
}
.plans-selected-note-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-white);
}
.plans-selected-note-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-solid, #60a5fa);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.22);
  white-space: nowrap;
}
.plans-selected-note-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}
.plans-selected-note-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass-fill);
}
.plans-selected-note-item span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}
.plans-selected-note-item strong {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-white);
  margin-inline-start: auto;
  text-align: left;
  min-width: 0;
  word-break: break-word;
}
.plans-selected-note-item strong.is-price {
  color: var(--accent-solid, #60a5fa);
  direction: ltr;
  unicode-bidi: isolate;
}
.plans-selected-note-item strong small {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-inline-start: 4px;
}
.plans-selected-note i { display: none; }
.plans-selected-note > strong { color: var(--text-white); font-weight: 700; }

.plan-contact-note {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(96, 165, 250, 0.06);
  border: 1px dashed rgba(96, 165, 250, 0.25);
}
