.harga-page .page-hero {
  padding-bottom: 30px;
}

.harga-page .page-hero > p:not(.eyebrow) {
  max-width: 820px;
}

.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.price-confidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  list-style: none;
}

.price-confidence-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price-confidence-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #15836d;
  box-shadow: 0 0 0 4px rgba(21, 131, 109, 0.12);
}

.price-estimate-section::before {
  display: none;
}

.price-filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin: 24px 0 18px;
  padding: 18px;
  border: 1px solid rgba(26, 53, 93, 0.14);
  border-radius: 8px;
  background: #f7fafc;
}

.price-filter-label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.price-filter-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(36, 49, 127, 0.14);
  border-radius: 8px;
  background: #fff;
}

.price-filter-controls button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.price-filter-controls button:hover,
.price-filter-controls button:focus-visible {
  color: var(--blue);
  background: rgba(54, 198, 216, 0.1);
}

.price-filter-controls button[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 16px rgba(36, 49, 127, 0.18);
}

.price-filter-status {
  margin: 0;
  color: #15836d;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.price-highlight-strip,
.price-summary-card,
.estimate-table-wrap,
.price-scenario-card {
  border-radius: 8px;
}

.price-estimate-section,
.estimate-table-wrap {
  min-width: 0;
  max-width: 100%;
}

.price-highlight-track {
  width: auto;
  flex-wrap: wrap;
  animation: none;
}

.price-highlight-strip:hover .price-highlight-track {
  animation-play-state: running;
}

.price-summary-card {
  position: relative;
  overflow: hidden;
}

.price-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #15836d;
}

.estimate-table tbody tr[hidden],
.price-scenario-card[hidden] {
  display: none;
}

.estimate-table tbody tr:target {
  background: rgba(21, 131, 109, 0.12);
  box-shadow: inset 5px 0 0 #15836d;
}

.estimate-table tbody tr:target th a:first-child {
  color: #0f6d5b;
}

.table-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(36, 49, 127, 0.16);
}

.estimate-table tbody th .table-cta::after {
  display: none;
}

.price-table-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #15836d;
  border-radius: 6px;
  background: rgba(21, 131, 109, 0.07);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.price-table-note strong {
  color: #0f6d5b;
}

.price-scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.price-scenario-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(37, 169, 216, 0.22);
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 37, 74, 0.07);
}

.price-scenario-card span {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(21, 131, 109, 0.1);
  color: #0f6d5b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-scenario-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.price-scenario-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.price-scenario-card .button {
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

.price-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.price-scope-panel {
  padding: 22px;
  border: 1px solid rgba(26, 53, 93, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(18, 37, 74, 0.06);
}

.price-scope-panel.is-included {
  border-top: 4px solid #15836d;
}

.price-scope-panel.is-separated {
  border-top: 4px solid var(--cyan);
}

.price-scope-panel h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.08rem;
}

.price-scope-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-scope-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.price-scope-panel li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid #15836d;
  border-radius: 50%;
}

.price-scope-panel.is-separated li::before {
  border-color: var(--cyan);
}

.comparison-table div {
  display: grid;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 0.76fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

.comparison-table strong {
  padding-top: 7px;
}

.comparison-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  text-align: left;
}

.comparison-chips em {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(54, 198, 216, 0.34);
  border-radius: 6px;
  padding: 7px 11px;
  color: var(--blue);
  background: #fff;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  white-space: normal;
  box-shadow: 0 6px 14px rgba(18, 37, 74, 0.05);
}

.comparison-table div:hover .comparison-chips em {
  border-color: rgba(37, 169, 216, 0.58);
  background: var(--sky);
}

@media (max-width: 1180px) {
  .price-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .price-filter-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .price-filter-status {
    white-space: normal;
  }

  .price-summary-grid,
  .price-scope-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table div {
    grid-template-columns: 1fr;
  }

  .comparison-table strong {
    padding-top: 0;
  }

  .comparison-chips {
    gap: 8px;
  }

  .comparison-chips em {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .pricing-hero-actions .button,
  .price-filter-controls {
    width: 100%;
  }

  .price-filter-controls button {
    flex: 1 1 calc(50% - 6px);
  }

  .price-confidence-list {
    display: grid;
  }

  .estimate-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .estimate-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
    font-size: 0.9rem;
  }

  .estimate-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .estimate-table tbody,
  .estimate-table tr,
  .estimate-table th,
  .estimate-table td {
    display: block;
    width: 100%;
  }

  .estimate-table tbody tr {
    overflow: hidden;
    border: 1px solid rgba(26, 53, 93, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 37, 74, 0.07);
  }

  .estimate-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .estimate-table tbody th {
    position: static;
    width: 100%;
    padding: 18px;
    border-bottom: 1px solid rgba(26, 53, 93, 0.1);
    background: #f5f9fc;
  }

  .estimate-table tbody th > a:first-child {
    font-size: 1.02rem;
  }

  .estimate-table tbody td {
    position: relative;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px 14px 44%;
    border-bottom: 1px solid rgba(26, 53, 93, 0.08);
  }

  .estimate-table tbody td:last-child {
    border-bottom: 0;
  }

  .estimate-table tbody td::before {
    position: absolute;
    top: 14px;
    left: 16px;
    width: calc(44% - 28px);
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .estimate-table tbody td:nth-of-type(1)::before {
    content: "Estimasi biaya";
  }

  .estimate-table tbody td:nth-of-type(2)::before {
    content: "Cocok untuk";
  }

  .estimate-table tbody td:nth-of-type(3)::before {
    content: "Output utama";
  }

  .estimate-table tbody td:nth-of-type(4)::before {
    content: "Penentu harga";
  }

  .estimate-table td:nth-child(2) {
    width: 100%;
  }

  .estimate-table td:nth-child(2) strong {
    white-space: normal;
  }

  .price-table-note {
    grid-template-columns: 1fr;
  }

  .price-scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .pricing-hero-actions .button,
  .price-filter-controls {
    width: auto;
  }

  .price-confidence-list {
    display: flex;
  }

  .price-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .estimate-table tbody td {
    padding: 14px 16px;
  }

  .estimate-table tbody td::before {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 7px;
  }
}
