.pricing-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 16px 60px;
  display: grid;
  gap: 16px;
}

.pricing-section { width: 100%; }

/* HERO */
.pricing-hero {
  display: grid;
  gap: 16px;
  padding: 48px 0 24px;
}

.pricing-back {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  width: fit-content;
}

.pricing-back:hover { color: var(--primary); }

.pricing-hero__sub strong { color: var(--text); font-weight: 800; }

/* FULL TABLE */
.pricing-table-wrap { overflow: clip; }

.pricing-full-table-scroll { overflow-x: auto; }

.pricing-full-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.pricing-full-table__head th {
  position: relative;
  z-index: 2;
  background: var(--surface-3);
  padding: 0;
  vertical-align: top;
}

.pricing-full-table__head .ptf-label {
  background: var(--panel);
}

.ptf-tier {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  border-left: 1px solid rgba(255,255,255,.06);
}

.ptf-col--highlight .ptf-tier {
  border-top: 2px solid var(--primary);
}

.ptf-tier__name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  line-height: 1.3;
}

.ptf-col--highlight .ptf-tier__name { color: var(--primary); }

.ptf-tier__price {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ptf-btn {
  font-size: 12px;
  min-height: 34px;
  padding: 0 12px;
  width: fit-content;
}

.pricing-full-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.05);
}

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

.pricing-full-table tbody tr:nth-child(even) td {
  background: rgba(58,167,226,.04);
}

.pricing-full-table tbody tr:nth-child(even) .ptf-col--highlight {
  background: rgba(58,167,226,.07) !important;
}

.pricing-full-table td {
  padding: 13px 16px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--panel-2);
}

.pricing-full-table td:not(.ptf-label) {
  font-size: 16px;
  text-align: center;
}

.ptf-label {
  color: var(--text-2);
  font-size: 13px;
  min-width: 220px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.ptf-label-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ptf-col--highlight {
  background: rgba(58,167,226,.10) !important;
  color: var(--text) !important;
  border-left: 1px solid rgba(58,167,226,.15);
}

/* CHECK / DASH */
.ptf-check {
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
}

.ptf-dash {
  color: var(--text-2);
  opacity: 0.35;
}

/* INFO BUTTON */
.ptf-info-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: border-color 150ms, color 150ms;
}

.ptf-info-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* MODAL */
.ptf-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ptf-modal-backdrop.is-open {
  display: flex;
}

.ptf-modal {
  background: var(--panel-2);
  border: 1px solid rgba(58,167,226,.2);
  border-radius: 14px;
  padding: 28px;
  max-width: 480px;
  width: 100%;
  display: grid;
  gap: 12px;
}

.ptf-modal__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.ptf-modal__desc {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.ptf-modal__close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 20px;
  cursor: pointer;
  justify-self: end;
  line-height: 1;
  padding: 0;
}

.ptf-modal__close:hover { color: var(--text); }

/* ENTERPRISE */
.pricing-enterprise-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enterprise-perks {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.enterprise-perks li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}

.enterprise-perks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.enterprise-form {
  display: grid;
  gap: 14px;
}

.enterprise-form__field {
  display: grid;
  gap: 6px;
}

.enterprise-form__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.enterprise-form__input {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 150ms ease;
  width: 100%;
}

.enterprise-form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58,167,226,.15);
}

.enterprise-form__input::placeholder { color: var(--text-2); opacity: 0.5; }

.enterprise-form__submit { width: fit-content; }

.enterprise-form__status {
  font-size: 13px;
  margin: 0;
  min-height: 20px;
}

.enterprise-form__status--ok { color: #4ade80; }
.enterprise-form__status--err { color: #f87171; }

/* FAQ */
.pricing-faq-list { display: grid; gap: 8px; margin-top: 24px; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.faq-q:hover { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-2);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--text-2);
  transition: opacity 0.25s ease, background 0.25s ease;
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 10px; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-2);
}

.faq-item--open .faq-a { max-height: 300px; }

.faq-item--open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--primary);
}

.faq-item--open .faq-icon::before,
.faq-item--open .faq-icon::after { background: var(--primary); }

/* CTA */
.pricing-cta { min-height: 220px; }

@media (max-width: 760px) {
  .pricing-enterprise-wrap { grid-template-columns: 1fr; }
  .pricing-cta .panel__inner { flex-direction: column; align-items: flex-start; }
  .faq-q { padding: 16px 18px; font-size: 0.92rem; }
  .faq-a p { padding: 0 18px 16px; }
}

