/* Pintasly Blog — design concept yang sama dengan aplikasi Pintasly (dark + lime) */
:root {
  --lime: #B8F349;
  --lime-hover: #CEF778;
  --lime-glow: rgba(184, 243, 73, 0.28);
  --lime-light: rgba(184, 243, 73, 0.14);
  --lime-extra-light: rgba(184, 243, 73, 0.07);
  --bg-main: #0B0F19;
  --bg-card: #151E2E;
  --bg-sidebar: #101726;
  --bg-hover: #1D283C;
  --border: #1E293B;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --radius: 16px;
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  --bg-gradient: radial-gradient(circle at 50% -10%, rgba(184, 243, 73, 0.09) 0%, transparent 65%), radial-gradient(circle at 90% 60%, rgba(184, 243, 73, 0.03) 0%, transparent 50%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 17px;
  min-height: 100vh;
}
h1, h2, h3, h4, .brand { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
::selection { background: var(--lime); color: #0B0F19; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }

/* Header — glass ala app */
.site-header {
  background: rgba(11, 15, 25, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--lime);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px rgba(184, 243, 73, 0.25); }
.brand:hover { text-decoration: none; }
.brand span small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--lime); letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.main-nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.08); }
.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: #0B0F19;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 9999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-lime:hover { background: var(--lime-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(184, 243, 73, 0.35); text-decoration: none; }
.btn-dark {
  display: inline-block;
  background: var(--bg-sidebar);
  color: #F8FAFC;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 9999px;
  border: 1px solid var(--lime);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-dark:hover { background: var(--bg-hover); border-color: var(--lime-hover); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0B0F19 0%, #101726 55%, #151E2E 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 10%, rgba(184, 243, 73, 0.12), transparent 60%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 780px; }
.hero h1 em { color: var(--lime); font-style: normal; text-shadow: 0 0 30px rgba(184, 243, 73, 0.35); }
.hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 640px; margin: 18px 0 26px; }
.hero .meta { color: var(--text-muted); font-size: 0.85rem; }

/* Sections & headings */
.section-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: 48px 0 20px; }
.section-title .bar { display: inline-block; width: 34px; height: 4px; background: var(--lime); border-radius: 99px; vertical-align: middle; margin-right: 10px; box-shadow: 0 0 12px rgba(184, 243, 73, 0.6); }

/* Post grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(184, 243, 73, 0.6); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(184, 243, 73, 0.2); }
.post-card .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.post-card h3 { font-size: 1.12rem; line-height: 1.4; letter-spacing: -0.01em; }
.post-card h3 a { color: var(--text-primary); }
.post-card h3 a:hover { color: var(--lime); text-decoration: none; }
.post-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.post-card .date { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }

/* Article */
.article-hero { padding: 44px 0 8px; }
.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--lime); }
.article-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 14px; }
.article-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.article-hero .meta b { color: var(--text-secondary); }
.article-body { font-size: 1.02rem; color: #CBD5E1; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin: 38px 0 14px; color: var(--text-primary); }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: var(--text-primary); }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text-primary); }
.article-body blockquote {
  border-left: 4px solid var(--lime);
  background: rgba(184, 243, 73, 0.07);
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
  color: var(--text-secondary);
}
.article-body .tip {
  background: rgba(184, 243, 73, 0.07);
  border: 1px solid rgba(184, 243, 73, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.article-body .tip b { color: var(--lime); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem; }
.article-body th { background: var(--bg-hover); color: var(--text-primary); text-align: left; padding: 12px 14px; }
.article-body td { border: 1px solid var(--border); padding: 12px 14px; }

.cta-box {
  background: linear-gradient(135deg, #0B0F19, #151E2E);
  border: 1px solid rgba(184, 243, 73, 0.35);
  border-radius: 20px;
  color: #fff;
  padding: 34px 30px;
  margin: 40px 0 8px;
  text-align: center;
  box-shadow: 0 0 40px rgba(184, 243, 73, 0.08);
}
.cta-box h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.cta-box p { color: var(--text-secondary); margin: 10px 0 20px; }

/* Related / grid helpers */
.related { margin: 44px 0; }

/* FAQ */
.faq-cat { margin-top: 44px; }
.faq-cat h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.faq-cat .cat-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover { border-color: rgba(184, 243, 73, 0.5); }
.faq-item[open] { border-color: rgba(184, 243, 73, 0.6); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lime);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--text-secondary); font-size: 0.98rem; }
.faq-item .faq-a p { margin-bottom: 10px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a a { color: var(--lime); }

/* Footer */
.site-footer {
  background: var(--bg-sidebar);
  color: var(--text-muted);
  margin-top: 60px;
  padding: 44px 0 30px;
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer a { color: var(--text-muted); display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--lime); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* 404 */
.error-page { text-align: center; padding: 90px 20px; }
.error-page h1 { font-size: 3.4rem; letter-spacing: -0.03em; }
.error-page .code { color: var(--lime); text-shadow: 0 0 30px rgba(184, 243, 73, 0.4); }
.error-page p { color: var(--text-muted); margin: 12px 0 26px; }

/* Responsive */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav a { display: none; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
  .article-body table { display: block; overflow-x: auto; white-space: nowrap; }
}
