/**
 * Provider fees — dashboard layout (Payblis design system).
 * Scoped under .pf-landing to avoid site.css conflicts.
 */

.pf-landing {
  --pf-accent: #0a0a0a;
  --pf-accent-hover: #333333;
  --pf-accent-soft: #f5f5f5;
  --pf-text: #0a0a0a;
  --pf-muted: #6b6b6b;
  --pf-light: #9ca3af;
  --pf-line: #e5e5e5;
  --pf-table-head: #0a0a0a;
  --pf-map-bg: #f5f5f5;
  --pf-map-grey: #d4d4d4;
  --pf-gap-section: 56px;
  --pf-gap-block: 28px;
  --pf-gap-inner: 20px;
  position: relative;
  background: #fff;
  color: var(--pf-text);
  padding-bottom: 0;
}

/* Reset global site.css reveal rules on this page (do not zero section padding here) */
.pf-landing .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.pf-landing .container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.pf-seo-archive {
  display: none !important;
}

/* Hero */

.pf-landing > section.pf-hero {
  padding: 56px 0 48px;
}

.pf-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pf-muted);
  text-decoration: none;
}

.pf-back:hover {
  color: var(--pf-text);
}

.pf-hero-title {
  margin: 0 0 20px;
  max-width: 720px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pf-text);
}

.pf-hero-lead {
  margin: 0 0 16px;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pf-muted);
}

.pf-hero-updated {
  margin: 0;
  font-size: 13px;
  color: var(--pf-light);
}

/* KPI cards */

.pf-landing > section.pf-kpi-section {
  padding: 0 0 var(--pf-gap-section);
}

.pf-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pf-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
}

.pf-kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pf-accent-soft);
  color: var(--pf-accent);
}

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

.pf-kpi-value {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pf-kpi-label {
  font-size: 13px;
  color: var(--pf-muted);
  line-height: 1.35;
}

/* Comparison table */

.pf-landing > section.pf-table-section {
  padding: 8px 0 var(--pf-gap-section);
}

.pf-table-head {
  margin-bottom: 32px;
}

.pf-table-heading {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-table-lead {
  margin: 0;
  font-size: 15px;
  color: var(--pf-muted);
  line-height: 1.55;
}

.pf-table-lead strong {
  font-weight: 600;
  color: var(--pf-text);
}

.pf-table-wrap {
  overflow-x: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
}

.pf-compare-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 12px;
  table-layout: fixed;
  background: #fff;
}

.pf-col-provider {
  width: 14%;
}

.pf-col-fees {
  width: 11%;
}

.pf-col-min {
  width: 10%;
}

.pf-col-methods {
  width: 15%;
}

.pf-col-countries {
  width: 8%;
}

.pf-col-strength {
  width: 14%;
}

.pf-col-action {
  width: 14%;
}

.pf-compare-table thead tr {
  background: var(--pf-table-head);
}

.pf-compare-table thead {
  background: var(--pf-table-head);
  color: #fff;
}

.pf-compare-table th {
  padding: 14px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.35;
  background: var(--pf-table-head);
  color: #fff;
  border: none;
  vertical-align: bottom;
}

.pf-th-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
  margin-top: 2px;
}

.pf-th-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pf-compare-table th:last-child,
.pf-compare-table td.pf-td-action {
  text-align: center;
  white-space: nowrap;
}

.pf-compare-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--pf-line);
  border-left: none;
  border-right: none;
  vertical-align: middle;
  color: #374151;
  line-height: 1.45;
  background: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pf-compare-table tbody tr:hover {
  background: #fafafa;
}

.pf-row-main.is-open {
  background: #fafafa;
}

.pf-row-detail td {
  padding: 0;
  background: #f7f7f7;
  border-top: 6px solid #fff;
}

.pf-row-detail-inner {
  padding: 28px 28px 32px;
}

.pf-row-detail-title {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.pf-row-detail-intro {
  margin: 0 0 32px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pf-muted);
}

.pf-zone-list {
  display: flex;
  flex-direction: column;
  gap: var(--pf-gap-block);
}

.pf-zone-block {
  margin: 0;
  padding: 24px 24px 28px;
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 14px;
}

.pf-zone-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pf-line);
}

.pf-zone-heading {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pf-text);
}

.pf-zone-stats {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pf-text);
}

.pf-zone-countries-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.pf-zone-markets,
.pf-zone-markets-label {
  display: none;
}

.pf-zone-empty {
  margin: 0;
  font-size: 13px;
  color: var(--pf-muted);
}

.pf-detail-group + .pf-detail-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--pf-line);
}

.pf-detail-group-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pf-text);
}

.pf-detail-group-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pf-muted);
}

.pf-detail-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-detail-item {
  padding: 18px 20px;
  background: var(--pf-accent-soft);
  border: 1px solid var(--pf-line);
  border-radius: 12px;
}

.pf-detail-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pf-detail-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pf-text);
}

.pf-detail-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.pf-detail-badge--bank {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.pf-detail-badge--card {
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.pf-detail-badge--wallet {
  color: #5b21b6;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

.pf-detail-item-body {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 18px 24px;
}

.pf-detail-item-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pf-detail-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.pf-detail-item-fee {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--pf-text);
}

.pf-detail-item-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--pf-light);
}

.pf-detail-empty {
  font-size: 13px;
  color: var(--pf-light);
}

.pf-country-chips {
  flex-wrap: wrap;
  gap: 8px;
}

.pf-country-chips:not([hidden]) {
  display: flex;
}

.pf-country-chips[hidden] {
  display: none !important;
}

.pf-country-chip {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  line-height: 1.2;
}

.pf-country-chips-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pf-country-chips--more {
  margin-top: 0;
}

.pf-chips-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pf-chips-toggle:hover {
  color: #1d4ed8;
}

.pf-country-chip--meta {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  font-weight: 600;
}

.pf-zone-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--pf-muted);
}

.pf-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  color: var(--pf-text);
  background: #fff;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  max-width: 100%;
}

.pf-expand-btn:hover {
  background: var(--pf-accent-soft);
  border-color: #ccc;
}

.pf-row-main.is-open .pf-expand-btn {
  background: var(--pf-accent);
  border-color: var(--pf-accent);
  color: #fff;
}

.pf-expand-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pf-row-main.is-open .pf-expand-icon {
  transform: rotate(180deg);
}

.pf-td-provider {
  font-weight: 600;
  color: var(--pf-text);
  white-space: normal;
}

.pf-td-strength {
  color: var(--pf-muted);
  font-size: 11px;
  line-height: 1.4;
}

.pf-method-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.pf-method-chip {
  display: inline-block;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  white-space: nowrap;
}

.pf-method-chip--more {
  background: #fff;
  color: var(--pf-muted);
  font-weight: 500;
}

.pf-table-note {
  margin: 36px 0 0;
  padding: 0 12px;
  font-size: 12px;
  color: var(--pf-light);
  line-height: 1.5;
}

/* Important notes */

.pf-notes-section {
  padding: var(--pf-gap-section) 0 var(--pf-gap-section);
}

.pf-notes-heading {
  margin: 0 0 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pf-notes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.pf-note-card {
  padding: 32px 30px;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
}

.pf-note-icon {
  display: flex;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  color: var(--pf-accent);
}

.pf-note-icon svg {
  width: 24px;
  height: 24px;
}

.pf-note-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.pf-note-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pf-muted);
}

/* CTA band */

.pf-landing > section.pf-cta-section {
  padding: 0 0 80px;
}

.pf-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  background: var(--pf-accent-soft);
  border: 1px solid var(--pf-line);
  border-radius: 14px;
}

.pf-cta-text {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.pf-cta-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--pf-accent);
}

.pf-cta-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.pf-cta-sub {
  margin: 0;
  font-size: 14px;
  color: var(--pf-muted);
  line-height: 1.5;
}

.pf-landing .pf-cta-btn.btn-primary {
  flex-shrink: 0;
  background: var(--pf-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.pf-landing .pf-cta-btn.btn-primary:hover {
  background: var(--pf-accent-hover);
  color: #fff;
}

/* SEO archive — hidden from layout */

/* Responsive */

/* Tablet landscape & small desktop: compact table */
@media (max-width: 1200px) and (min-width: 1025px) {
  .pf-col-strength,
  .pf-compare-table thead th:nth-child(6),
  .pf-compare-table tbody tr.pf-row-main td:nth-child(6) {
    display: none;
  }

  .pf-col-provider { width: 15%; }
  .pf-col-fees { width: 13%; }
  .pf-col-min { width: 11%; }
  .pf-col-methods { width: 18%; }
  .pf-col-countries { width: 9%; }
  .pf-col-action { width: 14%; }
}

/* Tablet & mobile: card layout */
@media (max-width: 1024px) {
  .pf-landing {
    --pf-gap-section: 48px;
    --pf-gap-block: 24px;
  }

  .pf-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pf-kpi-card {
    padding: 24px 22px;
  }

  .pf-table-head {
    margin-bottom: 24px;
  }

  .pf-landing > section.pf-table-section {
    padding: 8px 0 var(--pf-gap-section);
  }

  .pf-table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
  }

  .pf-compare-table {
    min-width: 0;
    border: none;
    table-layout: auto;
  }

  .pf-compare-table colgroup {
    display: none;
  }

  .pf-compare-table thead {
    display: none;
  }

  .pf-compare-table tbody tr.pf-row-main {
    display: block;
    margin-bottom: 18px;
    border: 1px solid var(--pf-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .pf-compare-table tbody tr.pf-row-main.is-open {
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
  }

  .pf-compare-table tbody tr.pf-row-detail.is-open {
    display: block;
    margin-bottom: 18px;
    border: 1px solid var(--pf-line);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #fafafa;
  }

  .pf-compare-table tbody tr.pf-row-detail:not(.is-open) {
    display: none;
  }

  .pf-compare-table tbody tr.pf-row-main:hover,
  .pf-compare-table tbody tr.pf-row-main.is-open {
    background: #fff;
  }

  .pf-compare-table tbody tr.pf-row-main td,
  .pf-compare-table tbody tr.pf-row-detail td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) 1fr;
    gap: 10px 16px;
    align-items: start;
    padding: 16px 20px;
    border-top: 1px solid var(--pf-line);
    background: transparent;
  }

  .pf-compare-table tbody tr.pf-row-main td:first-child {
    display: flex;
    grid-template-columns: none;
    border-top: none;
    background: var(--pf-accent-soft);
    padding: 20px;
  }

  .pf-compare-table tbody tr.pf-row-main td:first-child::before {
    display: none;
  }

  .pf-compare-table tbody tr.pf-row-main td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pf-muted);
    line-height: 1.35;
  }

  .pf-compare-table tbody tr.pf-row-main td.pf-td-action {
    text-align: left;
    white-space: normal;
  }

  .pf-compare-table tbody tr.pf-row-main td.pf-td-action::before {
    align-self: center;
  }

  .pf-expand-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 12px;
  }

  .pf-compare-table tbody tr.pf-row-detail td {
    display: block;
    padding: 0;
    border: none;
  }

  .pf-row-detail-inner {
    padding: 22px 20px 26px;
  }

  .pf-row-detail td {
    border-top-width: 6px;
  }

  .pf-zone-block {
    padding: 24px 22px 28px;
  }

  .pf-zone-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .pf-detail-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .pf-detail-item-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pf-cta-band {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px 24px;
  }

  .pf-landing .pf-cta-btn.btn-primary {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .pf-landing {
    --pf-gap-section: 40px;
    --pf-gap-block: 22px;
  }

  .pf-landing .container {
    padding-left: clamp(14px, 4vw, 20px);
    padding-right: clamp(14px, 4vw, 20px);
  }

  .pf-landing > section.pf-hero {
    padding: 40px 0 36px;
  }

  .pf-hero-title {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    margin-bottom: 20px;
  }

  .pf-hero-lead {
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .pf-back {
    margin-bottom: 24px;
  }

  .pf-kpi-grid {
    gap: 16px;
  }

  .pf-kpi-card {
    padding: 20px 18px;
    gap: 12px;
  }

  .pf-table-head {
    margin-bottom: 24px;
  }

  .pf-table-heading {
    margin-bottom: 0;
  }

  .pf-landing > section.pf-table-section {
    padding: 0 0 var(--pf-gap-section);
  }

  .pf-compare-table tbody tr.pf-row-main {
    margin-bottom: 16px;
  }

  .pf-compare-table tbody tr.pf-row-detail.is-open {
    margin-bottom: 16px;
  }

  .pf-compare-table tbody tr.pf-row-main td,
  .pf-compare-table tbody tr.pf-row-detail td {
    grid-template-columns: minmax(88px, 42%) 1fr;
    padding: 14px 18px;
    gap: 8px 12px;
  }

  .pf-compare-table tbody tr.pf-row-main td:first-child {
    padding: 18px;
  }

  .pf-row-detail-inner {
    padding: 22px 18px 26px;
  }

  .pf-row-detail-title {
    margin-bottom: 18px;
  }

  .pf-zone-heading {
    font-size: 16px;
  }

  .pf-zone-stats {
    font-size: 13px;
  }

  .pf-detail-item {
    padding: 16px;
  }

  .pf-detail-item-fee {
    font-size: 16px;
  }

  .pf-country-chip {
    font-size: 11px;
    padding: 5px 10px;
  }

  .pf-landing > section.pf-cta-section {
    padding-bottom: 56px;
  }

  .pf-cta-band {
    padding: 24px 22px;
    border-radius: 12px;
  }

  .pf-cta-title {
    font-size: 1rem;
  }

  .pf-cta-sub {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pf-landing {
    --pf-gap-section: 36px;
    --pf-gap-block: 20px;
  }

  .pf-kpi-grid {
    grid-template-columns: 1fr;
  }

  .pf-compare-table tbody tr.pf-row-main td,
  .pf-compare-table tbody tr.pf-row-detail td {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pf-compare-table tbody tr.pf-row-main td::before {
    margin-bottom: 2px;
  }

  .pf-compare-table tbody tr.pf-row-main td.pf-td-action::before {
    display: none;
  }

  .pf-detail-badge {
    white-space: normal;
    text-align: center;
  }

  .pf-detail-item-title {
    font-size: 14px;
  }

  .pf-cta-text {
    flex-direction: column;
    gap: 12px;
  }
}
