/* ── PRICING PAGE ─────────────────────────── */

.pr-section {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: var(--space-section) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.pr-section .sv-bg-mark {
  top: 24px;
  right: max(24px, 5vw);
  font-size: clamp(96px, 11vw, 210px);
  color: rgba(255, 255, 255, 0.024);
}

.pr-section .section-header {
  margin-bottom: 0;
}

/* ── Toggle ── */
.pr-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 32px;
}

.pr-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(440px, 100%);
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--bg-card);
}

.pr-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-toggle[data-active="multi"]::before {
  transform: translateX(100%);
}

.pr-toggle button {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.32s ease;
}

.pr-toggle button.pr-tab-active {
  color: #0b0b0b;
}

/* ── Panels / fade transition ── */
.pr-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pr-panel.pr-fade-out {
  opacity: 0;
  transform: translateY(8px);
}

/* ── Bento grid ── */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gap);
  align-items: stretch;
}

.pr-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: var(--space-card);
  border-radius: 14px;
  border: 1px solid #1f1f1f;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.28s ease, transform 0.28s ease;
}

.pr-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.pr-card--sm { grid-column: span 3; }
.pr-card--md { grid-column: span 4; }

.pr-card--unavailable {
  /* !important because .reveal's scroll-in animation sets opacity via
     inline style once the card enters the viewport, which otherwise wins
     over any plain class rule here. */
  opacity: 0.55 !important;
}

.pr-card--unavailable:hover {
  border-color: #1f1f1f;
  transform: none;
}

.pr-card--flagship {
  grid-column: span 5;
  border-color: rgba(255, 255, 255, 0.5);
}

.pr-card--flagship:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.pr-card--flagship::before {
  content: "";
  position: absolute;
  top: -55%;
  left: 50%;
  width: 160%;
  height: 160%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.pr-card > * {
  position: relative;
  z-index: 1;
}

/* ── Top row: icon + arrow ── */
.pr-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pr-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.78);
}

.pr-icon svg { width: 20px; height: 20px; }

.pr-card--flagship .pr-icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.pr-arrow {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}

.pr-arrow svg { width: 14px; height: 14px; }

/* ── Title + tags ── */
.pr-title {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.pr-tags li {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1;
}

.pr-tags li.pr-tag-accent {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* ── Price ── */
.pr-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: 0 0 10px;
}

.pr-price-currency {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1;
  transform: translateY(-2px);
}

.pr-price-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1;
}

.pr-price-addon {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 0.7rem + 0.5vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  margin-left: 2px;
}

.pr-price-addon-period {
  font-size: 0.75em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Description ── */
.pr-desc {
  font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.pr-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0 12px;
}

/* ── Numbered list (reuses sv-service-details layout) ── */
.pr-card .sv-service-details {
  margin: 0 0 14px;
}

.pr-card .sv-service-details div {
  min-height: 32px;
  padding: 0 4px;
}

.pr-card .sv-service-details strong {
  font-size: 12px;
}

.pr-card .sv-service-details em {
  font-size: 11px;
  line-height: 1.3;
}

.pr-card .sv-service-details span {
  color: rgba(255, 255, 255, 0.5);
}

.pr-card--flagship .sv-service-details span {
  color: rgba(255, 255, 255, 0.92);
}

/* ── Button ── */
.pr-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: clamp(2.5rem, 2.2rem + 1.2vw, 2.875rem);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.pr-btn .btn-arrow {
  opacity: 0.4;
  transition: opacity 0.24s, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}

.pr-btn:hover .btn-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.pr-btn--solid {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, background 0.3s ease;
}

.pr-btn--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(0,0,0,0.14) 0%, transparent 72%);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.55s ease;
}

.pr-btn--solid:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.16);
}

.pr-btn--solid:hover::before {
  opacity: 1;
  transform: scale(1);
}

.pr-btn--solid .pr-btn-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: letter-spacing 0.3s ease;
}

.pr-btn--solid:hover .pr-btn-text {
  letter-spacing: 0.5px;
}

.pr-btn--solid .pr-btn-text {
  position: relative;
  z-index: 1;
}

.pr-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.pr-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.pr-btn--solid {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #0b0b0b;
}

.pr-btn--solid:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

/* ── Responsive: single structural collapse (bento → 1 column) ── */
@media (max-width: 900px) {
  .pr-grid { grid-template-columns: 1fr; }
  .pr-card,
  .pr-card--sm,
  .pr-card--md,
  .pr-card--flagship {
    grid-column: span 1;
  }
  .pr-card--flagship { order: -1; }
}
