/* ============================================================
   EditPDF.id — Global Styles
   Edit file ini untuk mengubah tampilan seluruh halaman sekaligus
   ============================================================ */


/* ── 1. VARIABEL UTAMA ─────────────────────────────────────
   Ubah nilai di sini → otomatis berlaku di semua halaman
   ---------------------------------------------------------- */
:root {
  /* Warna brand */
  --primary:       #2563EB;
  --primary-dark:  #1D4ED8;
  --primary-light: #EFF6FF;

  /* Hijau — WA button & aksen */
  --green:         #22C55E;
  --green-dark:    #166534;
  --green-bg:      #DCFCE7;

  /* Teks */
  --text:          #1A1A2E;
  --muted:         #6B7280;

  /* Background & border */
  --bg:            #F9F9FB;
  --border:        #E5E7EB;
  --page-bg:       #ECECF3;
  --white:         #FFFFFF;

  /* Layout */
  --radius:        14px;
  --mobile-w:      460px;

  /* ── TIPOGRAFI — ubah di sini untuk ubah ukuran teks global */
  --font:          'Plus Jakarta Sans', sans-serif;
  --size-xs:       11px;
  --size-sm:       12px;
  --size-base:     13.5px;   /* ukuran teks konten utama       */
  --size-md:       14px;     /* paragraph, list, FAQ           */
  --size-lg:       16px;     /* heading h2                     */
  --size-xl:       18px;     /* heading h1 artikel             */
  --size-2xl:      22px;
  --size-3xl:      26px;     /* heading hero service page      */
  --line:          1.65;     /* line-height default            */
}


/* ── 2. RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ── 3. BASE ────────────────────────────────────────────── */
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.shell {
  width: 100%;
  max-width: var(--mobile-w);
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
}


/* ── 4. NAVIGASI ────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-home {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: var(--size-md);
  color: var(--primary);
}
.nav-home svg { width: 20px; height: 20px; fill: var(--primary); }

.nav-wa {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: var(--size-xs);
  padding: 7px 12px;
  border-radius: 50px;
  text-decoration: none !important;
}
.nav-wa svg { width: 13px; height: 13px; fill: white; }


/* ── 5. BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  padding: 10px 16px;
  font-size: var(--size-sm);
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }


/* ── 6. HERO — SERVICE PAGES ────────────────────────────── */
.hero {
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, white 100%);
}
.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #DBEAFE;
  color: var(--primary);
  font-size: var(--size-xs);
  font-weight: 800;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero h1 { font-size: var(--size-3xl); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero p   { font-size: var(--size-md); color: var(--muted); line-height: 1.6; margin-bottom: 24px; }


/* ── 7. ARTICLE HERO ────────────────────────────────────── */
.article-hero { padding: 28px 20px 24px; border-bottom: 1px solid var(--border); }
.article-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--size-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.article-hero h1 { font-size: var(--size-2xl); font-weight: 800; line-height: 1.3; color: var(--text); margin-bottom: 10px; }
.article-meta   { font-size: var(--size-sm); color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }


/* ── 8. AREA KONTEN ─────────────────────────────────────── */
.content, .article-body { padding: 20px; }

/* Heading */
.content h2, .article-body h2 {
  font-size: var(--size-lg);
  font-weight: 800;
  color: var(--text);
  margin: 20px 0 10px;
  line-height: 1.3;
}
.content h3, .article-body h3 {
  font-size: var(--size-md);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 8px;
}
.content h4, .article-body h4 {
  font-size: var(--size-base);
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 6px;
}

/* Paragraf */
.content p, .article-body p {
  font-size: var(--size-base);
  color: var(--text);
  line-height: var(--line);
  margin-bottom: 12px;
}

/* Link dalam konten */
.content a, .article-body a { color: var(--primary); font-weight: 600; text-decoration: none; }
.content a:hover, .article-body a:hover { text-decoration: underline; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 20px 0; }


/* ── 9. LIST ────────────────────────────────────────────── */
.content ul, .content ol,
.article-body ul, .article-body ol {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}

.content ul li, .content ol li,
.article-body ul li, .article-body ol li {
  font-size: var(--size-base);
  color: var(--text);
  line-height: var(--line);
  display: block;
  position: relative;
  padding-left: 28px;
}

/* Bullet ✓ */
.content ul li::before,
.article-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--green-bg);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
}

/* Ordered list */
.content ol, .article-body ol { counter-reset: step; }
.content ol li, .article-body ol li { padding-left: 32px; }
.content ol li::before, .article-body ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  min-width: 22px; height: 22px;
  background: var(--primary); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

/* Icon list — emoji, tanpa bullet otomatis */
.content ul.icon-list li, .article-body ul.icon-list li { padding-left: 0; }
.content ul.icon-list li::before, .article-body ul.icon-list li::before { display: none; }

/* Step list — flex horizontal */
.content ul.step-list li, .article-body ul.step-list li { padding-left: 0; display: flex; align-items: flex-start; gap: 12px; }
.content ul.step-list li::before, .article-body ul.step-list li::before { display: none; }

/* Strong di awal item */
.content li strong:first-child, .article-body li strong:first-child { display: block; margin-bottom: 3px; }


/* ── 10. FEATURE LIST ───────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--size-base); color: var(--text); line-height: var(--line);
}
.feature-list li::before { content: '✓'; color: var(--green-dark); font-weight: 800; font-size: var(--size-md); flex-shrink: 0; }


/* ── 11. TERMS LIST ─────────────────────────────────────── */
.terms-section { background: var(--bg); padding: 20px; border-radius: var(--radius); margin-top: 16px; }
.terms-section h3 { font-size: var(--size-md); font-weight: 700; margin-bottom: 10px; color: var(--text); }
.terms-list { list-style: decimal; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.terms-list li { font-size: var(--size-base); color: var(--text); line-height: var(--line); }


/* ── 12. FAQ ────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-q { font-size: var(--size-md); font-weight: 700; color: var(--text); padding: 14px 16px; background: var(--bg); }
.faq-a { font-size: var(--size-base); color: var(--text); line-height: 1.7; }
/* padding ada di service pages via inline style, bukan di sini — agar tidak mengganggu accordion */

/* FAQ dengan <details> */
.faq { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.faq summary { font-weight: 700; font-size: var(--size-md); cursor: pointer; padding: 12px 0; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "﹢"; font-size: 18px; color: var(--primary); }
details[open].faq summary::after { content: "﹣"; }
details[open] .faq-answer { padding: 0 0 12px; font-size: var(--size-base); color: var(--text); line-height: 1.7; }


/* ── 13. TESTIMONIAL ────────────────────────────────────── */
.testimonial-card {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  margin: 10px 0;
}
.testimonial-card p    { font-size: var(--size-base); color: var(--text); line-height: 1.6; margin-bottom: 6px; font-style: italic; }
.testimonial-card cite { font-size: var(--size-sm); color: var(--muted); font-weight: 600; font-style: normal; }


/* ── 14. STEP CARD ──────────────────────────────────────── */
.step-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.step-card h4 { font-size: var(--size-md); font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-card p  { font-size: var(--size-base); color: var(--text); line-height: 1.6; margin: 0; }

/* Step item (inline number) */
.step-item { display: flex; gap: 12px; align-items: flex-start; }
.step-num  { flex-shrink: 0; width: 28px; height: 28px; background: var(--primary); color: white; font-weight: 800; font-size: 13px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-text { font-size: var(--size-md); color: var(--text); line-height: 1.6; }


/* ── 15. INFO / TIP BOX ─────────────────────────────────── */
.tip-box  { background: #FFF7ED; border-left: 4px solid #F97316; border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; margin: 16px 0; }
.tip-box p { font-size: var(--size-base); color: #92400E; margin: 0; line-height: 1.6; }

.info-box { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: var(--radius); padding: 16px; margin: 16px 0; display: flex; gap: 10px; }
.info-box svg { flex-shrink: 0; width: 18px; height: 18px; color: #EA580C; margin-top: 2px; }
.info-box p { font-size: 13px; color: #9A3412; line-height: 1.6; margin: 0; }


/* ── 16. CTA BOX (artikel) ──────────────────────────────── */
.cta-box { background: var(--primary-light); border: 1px solid #BFDBFE; border-radius: var(--radius); padding: 20px; text-align: center; margin: 24px 0; }
.cta-box h3 { font-size: var(--size-lg); font-weight: 800; color: var(--text); margin-bottom: 6px; }
.cta-box p  { font-size: 13px; color: var(--muted); margin-bottom: 14px; }


/* ── 17. SEM BOX (artikel) ──────────────────────────────── */
.sem-box { background: linear-gradient(135deg, #1E3A8A, #2563EB); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.sem-box h3   { font-size: var(--size-lg); font-weight: 800; color: white; margin-bottom: 6px; }
.sem-box p    { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 14px; line-height: 1.6; }
.sem-box .price { font-size: var(--size-sm); color: rgba(255,255,255,.7); margin-bottom: 12px; }


/* ── 18. CTA PRO (service pages) ───────────────────────── */
.cta-pro { margin: 24px; padding: 20px; background: var(--text); border-radius: var(--radius); color: white; text-align: center; }
.cta-pro h3 { font-size: var(--size-lg); font-weight: 800; margin-bottom: 8px; }
.cta-pro p  { font-size: var(--size-sm); opacity: 0.8; margin-bottom: 16px; }


/* ── 19. LIMIT ALERT ────────────────────────────────────── */
.limit-alert { margin: 24px; padding: 16px; border-radius: 12px; font-size: 13px; line-height: 1.5; display: flex; gap: 10px; }
.limit-alert svg { flex-shrink: 0; width: 18px; height: 18px; }


/* ── 20. METHOD CARD ────────────────────────────────────── */
.method-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.method-card .method-title { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.method-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.badge-free { background: var(--green-bg); color: var(--green-dark); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.badge-easy { background: #DBEAFE; color: #1E40AF; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }


/* ── 21. RELATED LINKS ──────────────────────────────────── */
.related { padding: 0 20px 28px; }
.related h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.rel-links  { display: flex; flex-direction: column; gap: 8px; }
.rel-link, .related-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none !important;
  color: var(--text); font-size: var(--size-base); font-weight: 600;
}
.rel-link:hover, .related-link:hover { border-color: var(--primary); }
.rel-link span { font-size: 18px; }
.related-link svg { width: 16px; height: 16px; fill: var(--primary); }


/* ── 22. TOMBOL ─────────────────────────────────────────── */
.btn-main {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: white;
  padding: 16px 24px; border-radius: var(--radius);
  text-decoration: none !important; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 20px rgba(37,99,235,.2);
}
.btn-white {
  display: inline-block; background: white; color: var(--text);
  padding: 10px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; text-decoration: none !important;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--primary); color: white;
  font-weight: 700; font-size: var(--size-md);
  padding: 12px 24px; border-radius: 50px; text-decoration: none !important; width: 100%;
}
.btn-wa-sem {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-dark); color: white !important;
  font-weight: 700; font-size: var(--size-md);
  padding: 12px; border-radius: 50px; text-decoration: none; width: 100%;
}
.btn-wa-sem svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }
.btn-wa-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: #1E40AF;
  font-weight: 700; font-size: var(--size-md);
  padding: 12px 24px; border-radius: 50px; text-decoration: none; width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.15); color: white !important;
  font-weight: 600; font-size: 13px;
  padding: 10px; border-radius: 50px; text-decoration: none; width: 100%;
  margin-top: 8px; border: 1px solid rgba(255,255,255,.3);
}


/* ── 23. FOOTER ─────────────────────────────────────────── */
footer.light {
  margin-top: auto; padding: 32px 24px; text-align: center;
  border-top: 1px solid var(--border); background: var(--white);
}
footer.light p { font-size: var(--size-sm); color: var(--muted); }

footer.dark {
  padding: 24px 20px; text-align: center; background: var(--text);
}
footer.dark p { font-size: var(--size-sm); color: rgba(255,255,255,.4); margin-bottom: 6px; }
footer.dark a { color: rgba(255,255,255,.6); text-decoration: none; font-size: var(--size-sm); }
