/* PixelFly — Panduan / artikel. Prose + hub. Senada brand (Fraunces + Plus Jakarta Sans). */
:root {
  --bg: #FBFAFD;
  --ink: #1a1625;
  --muted: #6b6577;
  --line: #ece7f2;
  --card: #ffffff;
  --accent: #7c3aed;
  --accent-ink: #ffffff;
  --radius: 18px;
  --maxw: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric orbs (senada halaman lain) */
.bg-orbs { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
.orb-1 { width: 380px; height: 380px; background: #d8b4fe; top: -120px; right: -100px; }
.orb-2 { width: 320px; height: 320px; background: #fbcfe8; bottom: -120px; left: -120px; }

.pf-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.pf-header { border-bottom: 1px solid var(--line); background: rgba(251,250,253,0.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.pf-header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.pf-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; }
.pf-brand img { border-radius: 6px; }
.pf-header-link { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.pf-header-link:hover { color: var(--accent); }

/* Breadcrumb */
.pf-breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 22px 0 8px; }
.pf-breadcrumb a { color: var(--muted); text-decoration: none; }
.pf-breadcrumb a:hover { color: var(--accent); }
.pf-breadcrumb span:last-child { color: var(--ink); }

/* Article */
.pf-article { padding-bottom: 40px; }
.pf-article h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 8px 0 10px;
}
.pf-meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 28px; }

/* Prose */
.pf-prose { font-size: 1.06rem; }
.pf-prose > *:first-child { margin-top: 0; }
.pf-prose p { margin: 0 0 18px; }
.pf-prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  line-height: 1.25;
  margin: 40px 0 14px;
}
.pf-prose h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 10px; }
.pf-prose ul, .pf-prose ol { margin: 0 0 18px; padding-left: 22px; }
.pf-prose li { margin: 6px 0; }
.pf-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pf-prose strong { font-weight: 700; }
.pf-prose blockquote {
  margin: 22px 0; padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: #f6f2fd; border-radius: 0 12px 12px 0; color: var(--ink);
}
.pf-prose img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 22px 0; }
.pf-prose .pf-article-figure { margin: 28px 0 34px; }
.pf-prose .pf-article-figure img { width: 100%; margin: 0; }
.pf-prose .pf-article-figure figcaption { color: var(--muted); font-size: 0.82rem; line-height: 1.5; margin-top: 9px; }
.pf-prose .pf-article-figure figcaption span { display: block; }
.pf-prose .pf-table-wrap { margin: 22px 0 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pf-prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.91rem; line-height: 1.55; }
.pf-prose th, .pf-prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.pf-prose th { background: #f6f2fd; font-weight: 700; }
.pf-prose tr:last-child td { border-bottom: 0; }
.pf-prose code { background: #f1edf7; padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.pf-prose hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

/* Related product cards */
.pf-related { margin: 44px 0 0; }
.pf-related h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.4rem; margin: 0 0 16px; }
.pf-prod-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pf-prod-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.pf-prod-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124,58,237,0.10); border-color: #d8b4fe; }
.pf-prod-name { font-weight: 800; }
.pf-prod-desc { color: var(--muted); font-size: 0.92rem; }
.pf-prod-go { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: 4px; }

/* CTA */
.pf-cta {
  margin: 48px 0 10px; padding: 32px 26px; text-align: center;
  background: linear-gradient(135deg, #2a1758, #4c1d95);
  color: #fff; border-radius: 22px;
}
.pf-cta h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.5rem; margin: 0 0 8px; color: #fff; }
.pf-cta p { color: #e9d5ff; margin: 0 0 20px; }
.pf-cta-btn {
  display: inline-block; background: #fff; color: #2a1758;
  font-weight: 800; text-decoration: none; padding: 14px 28px; border-radius: 999px;
}
.pf-cta-btn:hover { filter: brightness(1.05); }
.pf-cta-link { display: block; margin-top: 14px; color: #e9d5ff; text-decoration: none; font-size: 0.9rem; }
.pf-cta-link:hover { text-decoration: underline; }

/* Hub */
.pf-hub-hero { padding: 40px 0 20px; }
.pf-hub-hero h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 8px; }
.pf-hub-hero p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.pf-card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 50px; }
.pf-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.pf-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(124,58,237,0.10); border-color: #d8b4fe; }
.pf-card-date { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pf-card h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin: 2px 0 2px; }
.pf-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pf-card-go { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: 6px; }

/* Footer */
.pf-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; color: var(--muted); font-size: 0.85rem; }
.pf-footer a { color: var(--muted); text-decoration: none; }
.pf-footer a:hover { color: var(--accent); }
.pf-footer p { margin: 4px 0; }

@media (min-width: 640px) {
  .pf-prod-grid { grid-template-columns: 1fr 1fr; }
  .pf-card-grid { grid-template-columns: 1fr 1fr; }
}
