/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    background: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   WRAPPER
============================================ */
.zl-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   CONTAINER
============================================ */
.zl-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   MAIN
============================================ */
.zl-main {
    width: 100%;
    flex: 1;
    padding: 48px 0 80px;
}

/* ============================================
   CONTENT TYPOGRAPHY
============================================ */
.zl-content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

/* ---- H1 : Judul utama halaman (1 per halaman) ---- */
.zl-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 16px;
}

.zl-content h1 + p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
}

/* ---- H2 : Section utama ---- */
.zl-content h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 48px 0 14px;
    padding-top: 8px;
}

/* ---- H3 : Sub-section di bawah H2 ---- */
.zl-content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #1e293b;
    margin: 32px 0 10px;
}

/* ---- H4 : Sub-sub-section di bawah H3 ---- */
.zl-content h4 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 24px 0 8px;
}

/* ---- H5 : Jarang dipakai, detail tambahan ---- */
.zl-content h5 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 20px 0 6px;
}

/* ---- H6 : Paling jarang, label kecil ---- */
.zl-content h6 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 16px 0 6px;
}

.zl-content p {
    color: #334155;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.8;
}

.zl-content strong {
    color: #0f172a;
    font-weight: 600;
}

.zl-content a {
    color: #542385;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(84,35,133,0.25);
    transition: all 0.2s ease;
}

.zl-content a:hover {
    color: #3b0764;
    border-bottom-color: #542385;
}

/* ============================================
   LISTS
============================================ */
.zl-content ul,
.zl-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.zl-content li {
    color: #334155;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    padding-left: 4px;
}

.zl-content li > ul,
.zl-content li > ol {
    margin-top: 10px;
    margin-bottom: 0;
}

.zl-content ul li::marker {
    color: #542385;
}

.zl-content ol li::marker {
    color: #542385;
    font-weight: 600;
}

/* ============================================
   TABLE
============================================ */
.zl-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    font-size: 14px;
}

.zl-content thead {
    background: #f1f5f9;
}

.zl-content th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e2e8f0;
}

.zl-content td {
    padding: 14px 16px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.zl-content tr:last-child td {
    border-bottom: none;
}

.zl-content tbody tr:hover {
    background: #fafafa;
}

/* ============================================
   BLOCKQUOTE
============================================ */
.zl-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #542385;
    background: #faf5ff;
    border-radius: 0 12px 12px 0;
    color: #4c1d95;
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   CODE
============================================ */
.zl-content code {
    background: #f1f5f9;
    color: #542385;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.zl-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 13px;
    line-height: 1.7;
}

.zl-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ============================================
   IMAGE
============================================ */
.zl-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    margin: 28px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ============================================
   DIVIDER
============================================ */
.zl-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 40px 0;
}

/* ============================================
   CALLOUT / INFO BOX
============================================ */
.zl-callout {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin: 24px 0;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
}

.zl-callout.warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.zl-callout.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #14532d;
}

/* ============================================
   BADGE / TAG
============================================ */
.zl-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    background: #f3e8ff;
    color: #542385;
    letter-spacing: 0.02em;
}

/* ============================================
   FOOTER
============================================ */
.zl-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.zl-footer .zl-container {
    padding-top: 36px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.zl-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.zl-footer-logo img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.zl-footer-logo span {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.zl-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 4px;
}

.zl-footer-links a {
    padding: 6px 12px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.zl-footer-links a:hover {
    background: #f1f5f9;
    color: #542385;
}

.zl-footer-divider {
    width: 40px;
    height: 1px;
    background: #e2e8f0;
}

.zl-footer-copy {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.zl-footer-copy a {
    color: #542385;
    text-decoration: none;
    font-weight: 500;
}

.zl-footer-copy a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {

    .zl-container {
        padding: 0 16px;
    }

    .zl-main {
        padding: 32px 0 60px;
    }

    .zl-content h1 {
        font-size: 27px;
        letter-spacing: -0.02em;
    }

    .zl-content h1 + p {
        font-size: 15px;
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .zl-content h2 {
        font-size: 21px;
        margin: 36px 0 10px;
    }

    .zl-content h3 {
        font-size: 17px;
        margin: 28px 0 8px;
    }

    .zl-content h4 {
        font-size: 15.5px;
        margin: 20px 0 6px;
    }

    .zl-content h5 {
        font-size: 14px;
    }

    .zl-content h6 {
        font-size: 12px;
    }

    .zl-content p,
    .zl-content li {
        font-size: 14.5px;
    }

    .zl-content table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .zl-content img {
        border-radius: 12px;
    }

    .zl-footer .zl-container {
        padding-top: 28px;
        padding-bottom: 24px;
        gap: 16px;
    }

    .zl-footer-links a {
        font-size: 13px;
    }
}