/* Pasang Iklan — halaman promosi mandiri (selaras pages.css) */

.ad-page {
  max-width: 720px;
}

.ad-lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
}

.ad-lang-switch span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-inline-end: 6px;
}

.ad-lang-btn {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: #fff;
  color: #1e40af;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.ad-lang-btn:hover {
  background: rgba(37, 99, 235, 0.08);
}

.ad-lang-btn.is-active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: transparent;
}

.ad-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  color: #0b2c5f;
  margin: 0 0 12px;
  line-height: 1.25;
}

.ad-hero-lead {
  font-size: 1.05rem;
  color: #475569;
  margin: 0 0 32px;
  line-height: 1.65;
}

.ad-section {
  margin-bottom: 28px;
}

.ad-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(37, 99, 235, 0.25);
}

.ad-section p {
  margin: 0 0 12px;
  color: #334155;
}

.ad-section--placement {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(96, 165, 250, 0.05));
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.ad-section--placement p:last-child {
  margin-bottom: 0;
}

/* Footer bawah halaman (struktur sama index; gaya dari pages.css) */
.ad-prefooter {
  margin-top: 8px;
}

.ad-site-footer .footer-copy {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 16px;
}

.ad-list {
  margin: 0;
  padding-inline-start: 22px;
  color: #334155;
}

.ad-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.ad-rules {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ad-rules li {
  position: relative;
  padding-inline-start: 28px;
  margin-bottom: 12px;
  line-height: 1.55;
  color: #334155;
}

.ad-rules li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

html[dir="rtl"] .ad-rules li::before {
  content: "✓";
}

.ad-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.ad-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ad-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.ad-cta-btn--wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.ad-cta-btn--email {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.ad-foot-note {
  margin-top: 40px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #64748b;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* —— Harga paket (card) —— */
.ad-pricing-section .ad-pricing-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 20px;
}

.ad-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.ad-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ad-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

.ad-pricing-card--standard {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(165deg, #f8fafc 0%, #eff6ff 100%);
}

.ad-pricing-card--premium {
  border: 2px solid rgba(37, 99, 235, 0.45);
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 55%, #f0fdf4 100%);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

.ad-pricing-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}

html[dir="rtl"] .ad-pricing-card__badge {
  right: auto;
  left: 12px;
}

.ad-pricing-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.ad-pricing-card--premium .ad-pricing-card__title {
  padding-inline-end: 72px;
}

html[dir="rtl"] .ad-pricing-card--premium .ad-pricing-card__title {
  padding-inline-end: 0;
  padding-inline-start: 72px;
}

.ad-pricing-card__list {
  margin: 0 0 auto;
  padding: 0 0 0 2px;
  list-style: none;
  flex: 1;
}

html[dir="rtl"] .ad-pricing-card__list {
  padding: 0 2px 0 0;
}

.ad-pricing-card__list li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

.ad-pricing-card__list li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: #2563eb;
  font-weight: 700;
}

.ad-pricing-card__footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ad-pricing-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ad-pricing-card__amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.ad-pricing-card--premium .ad-pricing-card__amount {
  color: #1d4ed8;
}

.ad-pricing-note {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  background: rgba(248, 250, 252, 0.95);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
  .ad-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .ad-cta-row {
    flex-direction: column;
  }

  .ad-cta-btn {
    justify-content: center;
    width: 100%;
  }
}
