/* TerjemahBuku: landing page (mode Persuade).
 * Design system: dark "ink & paper", satu aksen emas, Newsreader serif display.
 * File ini TIDAK mengubah css/style.css; hanya override yang perlu untuk landing.
 */

/* Override layout app agar landing full-width */
body.page-landing {
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-landing .wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Satu skala ritme vertikal: 96px desktop / 64px mobile.
 * Hero (header) mengikuti skala yang sama agar transisi antar-blok mulus. */
.page-landing section { padding: 96px 0; }
.page-landing section[id] { scroll-margin-top: 84px; } /* offset sticky nav 68px */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.page-landing h2.sec-title {
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 0.4em;
}
.page-landing .sec-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 2.5em;
  font-size: 1.05rem;
}
.page-landing .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1em;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  max-height: 68px;
  display: flex;
  align-items: center;
  background: rgba(23, 19, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav .logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav .logo img { width: 28px; height: 28px; flex: none; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-ctl);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.15s, border-color 0.15s, box-shadow 0.15s var(--ease-out), filter 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: #e6b352;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(217, 164, 65, 0.32);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Nav CTA: gold pill (kontras #d9a441 di atas #201503 = 7.98:1, lolos AA/AAA) */
.btn-nav {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
}
.btn-nav svg { flex: none; }
.btn-nav:hover {
  background: #e6b352;
  border-color: #e6b352;
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.35);
}
.btn-nav:active { transform: scale(0.98); box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 68px - 192px);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.55em;
}
.hero .sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 0 2em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.8em; }
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-trust li { display: inline-flex; align-items: center; }
.hero-trust li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a441' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}

/* ---------- cara kerja (editorial, 3 langkah) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 0.5em;
}
.step {
  padding: 34px 30px 8px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: none; padding-left: 0; }
.step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35em;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
}
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- fitur (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.cell h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.cell p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.cell .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.cell-a { grid-column: span 4; grid-row: span 2; padding: 0; }
.cell-b { grid-column: span 2; }
.cell-c { grid-column: span 2; }
.cell-d { grid-column: span 3; padding: 0; }
.cell-e { grid-column: span 3; }
.cell-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.cell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.cell-a .cell-body, .cell-d .cell-body {
  padding: 26px 28px 30px;
  position: relative;
  background: linear-gradient(to top, rgba(23,19,16,0.92) 30%, transparent);
  margin-top: -70px;
}
.cell-a .cell-body h3, .cell-d .cell-body h3 { font-size: 1.35rem; }
.cell-a .cell-media { min-height: 260px; }
/* Media kartu bento menyerap sisa tinggi kartu saat grid-row stretch, supaya
 * tidak ada area gelap kosong di bawah kartu; gambar (absolute + cover) ikut mengisi. */
.cell-a .cell-media, .cell-d .cell-media { flex: 1 0 auto; }

/* ---------- harga ---------- */
#harga .eyebrow { display: block; text-align: center; }
#harga .sec-title { text-align: center; }
#harga .sec-sub { text-align: center; margin-left: auto; margin-right: auto; }
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  text-align: center;
}
.price-card .plan {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.9em;
  display: block;
}
.price-amount {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 0.15em;
}
.price-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.8em; }
.price-list {
  list-style: none;
  text-align: left;
  margin: 0 0 2em;
  padding: 0;
  display: grid;
  gap: 12px;
}
.price-list li { display: flex; gap: 12px; align-items: baseline; }
.price-list li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  align-self: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a441' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card .btn { width: 100%; }

/* ---------- faq ---------- */
#faq .eyebrow { display: block; text-align: center; }
#faq .sec-title { text-align: center; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a441' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq .answer {
  color: var(--muted);
  padding: 0 4px 22px;
  max-width: 60ch;
}

/* ---------- final cta + footer ---------- */
.final-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.final-cta p { color: var(--muted); margin: 0 0 2em; }
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- mobile (<768px): semua collapse single-column ---------- */
@media (max-width: 767px) {
  .page-landing section { padding: 64px 0; }
  .page-landing h2.sec-title { font-size: 1.8rem; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .hero { padding: 64px 0; }
  .hero-cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }
  .step:first-child { border-top: none; padding-top: 6px; }
  .bento { grid-template-columns: 1fr; }
  .cell-a, .cell-b, .cell-c, .cell-d, .cell-e { grid-column: span 1; grid-row: auto; }
  .cell-media { min-height: 180px; }
  .cell-a .cell-body, .cell-d .cell-body { margin-top: 0; background: none; padding: 22px; }
  .cell-a .cell-media img, .cell-d .cell-media img { position: static; }
  .price-card { padding: 34px 26px; }
  .price-amount { font-size: 2.6rem; }
  .final-cta h2 { font-size: 1.9rem; }
}
