/* Halaman jasa backlink — store, terpusat, animasi */

main.bl-store-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

body.page-backlink {
  background: var(--bg);
}

.bl-store-wrap {
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* --- Hero --- */
.bl-hero {
  padding-top: 4.75rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 85% 55% at 50% -5%, rgba(201, 162, 39, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 162, 39, 0.07), transparent 45%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.bl-hero-content {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.bl-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

.bl-title {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.bl-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0;
}

.bl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.bl-trust--center {
  justify-content: center;
}

.bl-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.bl-trust-ico {
  color: var(--accent);
  font-size: 1rem;
}

.bl-scroll-hint {
  margin-top: 1.75rem;
}

.bl-anchor-down {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.2s ease;
}

.bl-anchor-down::before {
  content: '↓';
  font-size: 1rem;
  line-height: 1;
}

.bl-anchor-down:hover {
  color: var(--text);
  transform: translateY(2px);
}

@keyframes bl-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bl-glow-line {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

.bl-hero.seo-reveal.is-visible .bl-hero-content {
  animation: bl-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

#simulasi-harga.seo-reveal.is-visible .bl-calc-shell {
  animation: bl-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise {
  animation: bl-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(1) {
  animation-delay: 0.05s;
}
.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(2) {
  animation-delay: 0.11s;
}
.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(3) {
  animation-delay: 0.17s;
}
.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(4) {
  animation-delay: 0.23s;
}
.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(5) {
  animation-delay: 0.29s;
}
.bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise:nth-child(6) {
  animation-delay: 0.35s;
}

.bl-section.seo-reveal.is-visible .bl-empty-card {
  animation: bl-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

/* --- Simulasi --- */
.bl-calc-wrap {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.bl-section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.bl-h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.bl-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.bl-calc-shell {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.32);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(201, 162, 39, 0.08) inset;
}

.bl-calc-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  animation: bl-glow-line 3.5s ease-in-out infinite;
  pointer-events: none;
}

@media (min-width: 768px) {
  .bl-calc-shell {
    padding: 1.85rem 2rem 2rem;
  }
}

.bl-calc-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem 1.35rem;
  max-width: 44rem;
  margin: 0 auto;
}

.bl-calc-field {
  flex: 1 1 11rem;
  max-width: 16rem;
  min-width: 10rem;
  text-align: center;
}

.bl-calc-field--qty {
  flex: 0 1 7.5rem;
  max-width: 9rem;
  min-width: 6.5rem;
}

.bl-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.bl-select {
  width: 100%;
  text-align: center;
  background: var(--bg-elevated) !important;
  border-color: rgba(201, 162, 39, 0.25) !important;
  color: var(--text) !important;
  border-radius: 12px !important;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
}

.bl-select:hover {
  border-color: rgba(201, 162, 39, 0.4) !important;
}

.bl-select:focus {
  border-color: rgba(201, 162, 39, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18) !important;
  transform: translateY(-1px);
}

.bl-calc-out {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.bl-calc-msg {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0;
  line-height: 1.55;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.bl-calc-result {
  animation: bl-fade-up 0.48s ease forwards;
}

.bl-calc-alt-hint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.09);
  border: 1px solid rgba(201, 162, 39, 0.18);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.bl-calc-result-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 2rem;
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}

.bl-calc-result-main,
.bl-calc-result-total {
  flex: 1 1 14rem;
}

.bl-total-fig {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-top: 0.15rem;
  letter-spacing: -0.02em;
}

.bl-muted-sm {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.bl-pkg-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.bl-price-row {
  color: var(--muted);
}

.bl-accent-strong {
  color: var(--accent);
  font-weight: 800;
}

.bl-text-strong {
  color: var(--text);
  font-weight: 700;
}

.bl-dot {
  opacity: 0.45;
  margin: 0 0.2rem;
}

.bl-detail-link {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bl-detail-link:hover {
  opacity: 0.85;
}

.bl-calc-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.bl-btn-order {
  min-width: 12rem;
  justify-content: center;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.5rem !important;
}

.bl-cta-pulse {
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  border-radius: 14px !important;
  animation: bl-soft-pulse 2.8s ease-in-out infinite;
}

@keyframes bl-soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.38);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
  }
}

/* --- Daftar paket --- */
.bl-section {
  padding-top: 2.75rem;
  padding-bottom: 4.5rem;
  background: var(--bg);
}

.bl-packages-head {
  text-align: center;
  margin-bottom: 2rem;
}

.bl-packages-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.bl-packages-sub {
  color: var(--muted);
}

.bl-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.35rem;
  max-width: 72rem;
  margin: 0 auto;
  justify-content: center;
}

.bl-packages-grid .bl-card-rise {
  opacity: 0;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.bl-empty-card {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.26);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.14) 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.bl-empty-title {
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
}

.bl-empty-text {
  color: var(--muted);
  line-height: 1.55;
}

.bl-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.bl-card-rise:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(201, 162, 39, 0.1);
}

.bl-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.bl-card .bl-tier {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.bl-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.bl-card .bl-ex {
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}

.bl-card .bl-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.bl-blper {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.bl-blper-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-right: 0.2rem;
}

.bl-blper-lg .bl-blper-num {
  font-size: 1.75rem;
}

.bl-blper-suffix {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.bl-card .bl-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.bl-detail-hero {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.bl-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bl-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  color: var(--text);
}

.bl-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.bl-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
}

/* Tabel & blok paket: jangan opacity:0 dari .seo-reveal (site.css) — harga harus langsung terbaca */
.page-backlink .bl-always-visible.seo-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* --- Tabel matrix harga --- */
.bl-matrix-section {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.bl-matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, var(--accent) 8%);
}

.bl-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.bl-matrix-table th,
.bl-matrix-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  vertical-align: middle;
}

.bl-matrix-table thead th {
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}

.bl-matrix-table tbody tr:last-child td,
.bl-matrix-table tbody tr:last-child th {
  border-bottom: none;
}

.bl-matrix-cat {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.bl-matrix-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bl-matrix-zero {
  color: var(--muted);
}

.bl-matrix-bl-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .bl-hero.seo-reveal.is-visible .bl-hero-content,
  .bl-calc-result,
  #simulasi-harga.seo-reveal.is-visible .bl-calc-shell,
  .bl-section.seo-reveal.is-visible .bl-packages-grid .bl-card-rise,
  .bl-section.seo-reveal.is-visible .bl-empty-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .bl-calc-shell::before {
    animation: none !important;
    opacity: 0.4;
  }

  .bl-cta-pulse {
    animation: none !important;
  }

  .bl-packages-grid .bl-card-rise {
    opacity: 1 !important;
  }

  .bl-card,
  .bl-card-rise:hover {
    transition: none;
    transform: none;
  }
}
