:root {
  --pc-bg: #f7f8fc;
  --pc-card: #ffffff;
  --pc-line: #e7eaf1;
  --pc-text: #182033;
  --pc-muted: #7b8496;
  --pc-purple: #6d35ff;
  --pc-green: #1aa56b;
  --pc-head-h: 154px;
  --pc-row-h: 52px;
  --pc-foot-h: 76px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
.pc-body {
  background: var(--pc-bg);
  color: var(--pc-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pc-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 24px 42px;
}
.pc-head { text-align: center; margin-bottom: 24px; }
.pc-head h1 { margin: 8px 0 6px; font-size: clamp(30px, 4vw, 48px); }
.pc-head p { margin: 0; color: var(--pc-muted); font-weight: 600; }
.pc-head .pc-trust-line {
  margin-top: 8px;
  color: #16a34a;
  font-weight: 800;
}
.pc-back { color: var(--pc-purple); text-decoration: none; font-weight: 700; }
.pc-grid {
  display: grid;
  grid-template-columns: 250px repeat(5, minmax(180px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.pc-feature-col,
.pc-plan {
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(24, 32, 51, 0.06);
}
.pc-plan.is-popular {
  border: 2px solid var(--pc-purple);
  box-shadow: 0 14px 34px rgba(109, 53, 255, 0.12);
}
.pc-plan-head {
  height: var(--pc-head-h);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--pc-line);
  position: relative;
}
.pc-plan-head h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.pc-plan-head:has(.pc-promo-badge) h2 {
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 900;
  transform: translateY(8px);
}
.pc-feature-head { align-items: flex-start; text-align: left; padding-left: 18px; }
.pc-feature-head strong { font-size: 18px; }
.pc-feature-head span { color: var(--pc-muted); font-size: 12px; margin-top: 4px; }
.pc-price { font-size: 30px; font-weight: 900; line-height: 1; }
.pc-price span { font-size: 16px; color: var(--pc-muted); }
.pc-tokens { margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--pc-purple); }
.pc-promo-badge {
  max-width: 160px;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid #86efac;
  border-radius: 10px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
}
.pc-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--pc-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.pc-feature-row,
.pc-value-row {
  height: var(--pc-row-h);
  border-bottom: 1px solid var(--pc-line);
  display: flex;
  align-items: center;
}
.pc-feature-row {
  justify-content: space-between;
  gap: 6px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
}
.pc-value-row { justify-content: center; padding: 0 8px; text-align: center; }
.pc-feature-label,
.pc-value-content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pc-sbp-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.pc-sbp-logo--label {
  width: 20px;
  height: 20px;
}
.pc-yes { color: var(--pc-green); font-size: 20px; font-weight: 900; }
.pc-no { color: #aeb5c2; font-size: 20px; font-weight: 800; }
.pc-text-value { font-size: 12px; font-weight: 800; }
.pc-text-value.is-discount {
  color: #16a34a;
  font-weight: 900;
}
.pc-plan-foot {
  height: var(--pc-foot-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fbfbfe;
}
.pc-feature-foot { font-size: 12px; font-weight: 900; color: var(--pc-muted); }
.pc-buy {
  min-width: 120px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d8dce6;
  border-radius: 12px;
  background: #fff;
  color: var(--pc-text);
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pc-buy.is-main { background: var(--pc-purple); color: #fff; border-color: var(--pc-purple); }
.pc-buy.is-hover-active {
  background: var(--pc-purple);
  color: #fff;
  border-color: var(--pc-purple);
}
.pc-buy.is-hover-muted {
  background: #fff;
  color: var(--pc-text);
  border-color: #d8dce6;
}
.pc-hint {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #eef1f7;
  color: #778198;
  font-weight: 900;
  cursor: pointer;
}
.pc-mobile { display: none; }
.pc-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
@media (max-width: 980px) {
  .pc-page { padding: 18px 10px 28px; }
  .pc-desktop { display: none; }
  .pc-mobile { display: block; }
  .pc-head { margin-bottom: 16px; }
  .pc-head h1 { font-size: 28px; }

  .pc-mobile-layout {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }
  .pc-mobile-labels {
    min-width: 0;
    background: var(--pc-card);
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24, 32, 51, .06);
  }
  .pc-mobile-slider {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .pc-mobile-slider::-webkit-scrollbar { display: none; }
  .pc-mobile-track {
    display: flex;
    gap: 10px;
    width: max-content;
    padding-right: 6px;
  }
  .pc-mobile-plan {
    flex: 0 0 190px;
    width: 190px;
    scroll-snap-align: start;
  }
  .pc-mobile .pc-plan-head { height: var(--pc-head-h); }
  .pc-mobile .pc-feature-row,
  .pc-mobile .pc-value-row { height: var(--pc-row-h); }
  .pc-mobile .pc-plan-foot { height: var(--pc-foot-h); }
  .pc-mobile .pc-feature-row { padding: 0 8px; font-size: 11px; }
  .pc-mobile .pc-plan-head h2 {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .pc-mobile .pc-plan-head:has(.pc-promo-badge) h2 {
    margin-bottom: 12px;
    font-size: 13px;
    transform: translateY(4px);
  }
  .pc-mobile .pc-promo-badge {
    max-width: 160px;
    font-size: 9px;
    padding: 5px 7px;
  }
  .pc-mobile .pc-price { font-size: 28px; }
  .pc-mobile .pc-buy { min-width: 0; width: 100%; padding: 0 8px; font-size: 12px; }
  .pc-mobile-note {
    margin-top: 10px;
    text-align: center;
    color: var(--pc-muted);
    font-size: 12px;
    font-weight: 700;
  }


  .pc-mobile .pc-mobile-plan {
    position: relative;
    transition:
      border-color .18s ease,
      box-shadow .18s ease,
      background .18s ease;
  }

  .pc-mobile .pc-mobile-plan.is-mobile-active {
    border-color: rgba(109, 53, 255, .42);
    box-shadow:
      0 14px 30px rgba(109, 53, 255, .12),
      0 0 0 3px rgba(109, 53, 255, .06);
    z-index: 2;
  }

  .pc-mobile .pc-feature-row,
  .pc-mobile .pc-value-row {
    transition:
      opacity .16s ease,
      color .16s ease,
      background .16s ease,
      box-shadow .16s ease;
  }

  .pc-mobile .pc-feature-row.is-mobile-on,
  .pc-mobile .pc-value-row.is-mobile-on {
    background: linear-gradient(180deg, #f8f3ff 0%, #f3edff 100%);
    color: #4c2bb3;
    box-shadow: inset 0 0 0 1px rgba(109, 53, 255, .10);
  }

  .pc-mobile .pc-feature-row.is-mobile-off,
  .pc-mobile .pc-value-row.is-mobile-off {
    opacity: .42;
  }

  .pc-mobile .pc-buy.is-mobile-buy-active {
    background: var(--pc-purple);
    color: #fff;
    border-color: var(--pc-purple);
    box-shadow: 0 8px 18px rgba(109, 53, 255, .16);
  }

  .pc-mobile .pc-buy.is-mobile-buy-muted {
    background: #fff;
    color: var(--pc-text);
    border-color: #d8dce6;
  }

}

@media (max-width: 390px) {
  :root {
    --pc-head-h: 154px;
    --pc-row-h: 50px;
    --pc-foot-h: 72px;
  }
  .pc-mobile-layout { grid-template-columns: 126px minmax(0, 1fr); }
  .pc-mobile-plan { flex-basis: 184px; width: 184px; }
}

@media (min-width: 981px) {
  .pc-desktop .pc-plan {
    position: relative;
    transition:
      transform .24s ease,
      box-shadow .24s ease,
      border-color .24s ease,
      background .24s ease;
    will-change: transform;
    transform: translateZ(0);
  }

  .pc-desktop .pc-plan:hover,
  .pc-desktop .pc-plan.is-plan-hover {
    transform: translateY(-6px) scale(1.018);
    box-shadow: 0 18px 38px rgba(24, 32, 51, .14);
    border-color: rgba(109, 53, 255, .22);
    z-index: 4;
  }
  .pc-desktop .pc-plan.is-popular:hover,
  .pc-desktop .pc-plan.is-popular.is-plan-hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow:
      0 18px 38px rgba(109, 53, 255, .18),
      0 0 0 4px rgba(109, 53, 255, .08);
  }

  .pc-desktop .pc-feature-row,
  .pc-desktop .pc-value-row {
    transition:
      opacity .18s ease,
      color .18s ease,
      background .18s ease,
      box-shadow .18s ease;
  }

  .pc-desktop .pc-feature-row.is-hover-on,
  .pc-desktop .pc-value-row.is-hover-on {
    background: linear-gradient(180deg, #f8f3ff 0%, #f3edff 100%);
    color: #4c2bb3;
    box-shadow: inset 0 0 0 1px rgba(109, 53, 255, .10);
  }

  .pc-desktop .pc-feature-row.is-hover-off,
  .pc-desktop .pc-value-row.is-hover-off {
    opacity: .45;
  }
}
