/* =======================================
   PRICING DETAILS PAGE
======================================= */

.pricing-details-hero {
  padding: 70px 0 20px;
}

.pricing-details-hero .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.pricing-details-hero h1 {
  font-family: "Hanuman", serif;
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.pricing-recap {
  padding: 40px 0 90px;
}

.pricing-recap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pricing-recap-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  position: relative;
}

.pricing-recap-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 20px 50px rgba(0, 90, 156, 0.08);
}

.pricing-recap-card h3 {
  font-family: "Hanuman", serif;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.pricing-recap-card p {
  color: #6b7280;
}

.fee-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.fee-price span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b7280;
  margin-top: 4px;
}

.fee-tier-card {
  margin-top: 32px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 36px;
}

.fee-tier-card h4 {
  font-family: "Hanuman", serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.fee-tier-card p {
  color: #6b7280;
  margin-bottom: 20px;
}

.fee-tier-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fee-tier-list li {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  color: #4b5563;
}

.fee-tier-rate {
  color: var(--blue);
  font-weight: 700;
  margin-right: 6px;
}

.fee-mechanics {
  padding: 90px 0;
  background: #f8fafc;
}

.fee-mechanic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.fee-mechanic-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
}

.fee-mechanic-card h3 {
  font-family: "Hanuman", serif;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #111827;
}

.fee-mechanic-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

.fee-callout {
  margin-top: 32px;
  padding: 22px 26px;
  background: #eef7fd;
  border: 1px solid #d7e6f4;
  border-radius: 14px;
  color: #1f2937;
}

.fee-callout strong {
  color: var(--blue);
  margin-right: 6px;
}

.fee-illustration {
  padding: 90px 0;
}

.fee-illustration-chart {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.fee-illustration-chart img {
  width: 100%;
  border-radius: 10px;
}

.fee-illustration-chart legend {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 18px auto;
}

.fee-illustration-chart legend span {
  display: flex;
  align-items: center;
}

.fee-illustration-chart legend span.base-tier::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 6px;
}
.fee-illustration-chart legend span.premium-tier::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
}
.fee-illustration-chart legend span.market-value::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--charcoal);
  border-radius: 50%;
  margin-right: 6px;
}

.fee-illustration-chart figcaption {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

.fee-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0 40px;
}

.fee-stat-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.fee-stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.fee-stat-value {
  font-family: "Hanuman", serif;
  font-size: 1.6rem;
  color: var(--blue);
}

.fee-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  white-space: nowrap;
}

.fee-table th,
.fee-table td {
  padding: 14px 18px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.fee-table th:first-child,
.fee-table td:first-child {
  text-align: left;
}

.fee-table thead th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
}

.fee-table tfoot td {
  font-weight: 700;
  border-bottom: none;
  border-top: 2px solid var(--border);
}

.fee-disclaimer {
  margin-top: 20px;
  font-size: 0.88rem;
  font-style: italic;
  color: #9ca3af;
}

@media (max-width: 1000px) {
  .pricing-recap-grid {
    grid-template-columns: 1fr;
  }

  .fee-mechanic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fee-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fee-mechanic-grid {
    grid-template-columns: 1fr;
  }

  .fee-stats-grid {
    grid-template-columns: 1fr;
  }

  .fee-illustration-chart legend {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
