::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #22c55e, #0ea5e9);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #16a34a, #0284c7);
        }

        .glass {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .glass-dark {
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        }

        .gradient-mesh {
            background: 
                radial-gradient(at 30% 20%, rgba(34, 197, 94, 0.12) 0px, transparent 50%),
                radial-gradient(at 70% 10%, rgba(14, 165, 233, 0.12) 0px, transparent 50%),
                radial-gradient(at 10% 60%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
                radial-gradient(at 80% 70%, rgba(34, 197, 94, 0.08) 0px, transparent 50%),
                radial-gradient(at 20% 90%, rgba(14, 165, 233, 0.1) 0px, transparent 50%);
        }

        .gradient-text-green {
            background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gradient-text-sky {
            background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gradient-text-orange {
            background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gradient-text-combo {
            background: linear-gradient(135deg, #16a34a 0%, #0ea5e9 50%, #f97316 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gradient-bg-green {
            background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
        }

        .gradient-bg-sky {
            background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
        }

        .gradient-bg-orange {
            background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
        }

        .gradient-bg-combo {
            background: linear-gradient(135deg, #16a34a 0%, #0ea5e9 50%, #f97316 100%);
            background-size: 300% 300%;
            animation: gradient-shift 8s ease infinite;
        }

        .gradient-border {
            position: relative;
            background: white;
            border-radius: 1rem;
        }
        .gradient-border::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(135deg, #22c55e, #0ea5e9, #f97316);
            border-radius: 1rem;
            z-index: -1;
            opacity: 0.6;
        }

        .phone-frame {
            border: 8px solid #1e293b;
            border-radius: 32px;
            overflow: hidden;
            position: relative;
            background: #fff;
            box-shadow: 
                0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 2px rgba(255, 255, 255, 0.1);
            z-index: 10;
        }
        .phone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 24px;
            background: #1e293b;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
            z-index: 20;
        }

        .aspect-w-16 {
            position: relative;
            padding-bottom: 56.25%;
        }
        .aspect-w-16 iframe,
        .aspect-w-16 video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.5;
            animation: float 8s ease-in-out infinite;
        }

        .card-hover {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }

        .gradient-shadow-green {
            box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
        }
        .gradient-shadow-sky {
            box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
        }
        .gradient-shadow-orange {
            box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3);
        }
        .prose ul {
    list-style-type: disc;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}
.prose ol {
    list-style-type: decimal;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}
.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    text-align: justify;
}
/* Styling untuk konten halaman - gambar di tengah */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 1.5rem auto; /* auto di kiri-kanan = tengah */
    display: block;       /* agar margin auto bekerja */
}

.prose img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Responsive gambar di mobile */
@media (max-width: 640px) {
    .prose img {
        border-radius: 8px;
        margin: 1rem auto;
    }
}

/* Tambahan untuk caption jika ada */
.prose figure {
    margin: 1.5rem auto;
    text-align: center;
}
.prose figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .site-title-container {
        display: none;
    }
}

/* Sembunyikan judul situs dan subjudul pada layar dengan lebar 300px (khusus) */
@media (max-width: 300px) {
    .site-title-container {
        display: none;
    }
}

/* =============================================
   RESPONSIVE TABLE REDESIGN
   Elegant, card-style on mobile, classic on desktop
   ============================================= */

/* Base Table Styles (Desktop & Shared) */
.prose table,
table.responsive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03), 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header Cells */
.prose th,
table.responsive-table th {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Data Cells */
.prose td,
table.responsive-table td {
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.4);
    color: #334155;
    vertical-align: middle;
}

/* Zebra Striping for Rows */
.prose tbody tr:nth-child(even) td,
table.responsive-table tbody tr:nth-child(even) td {
    background-color: rgba(241, 245, 249, 0.6);
}

/* Row Hover Effect */
.prose tbody tr:hover td,
table.responsive-table tbody tr:hover td {
    background-color: rgba(220, 252, 231, 0.5);
    transition: background-color 0.2s ease-in-out;
    border-bottom-color: rgba(34, 197, 94, 0.3);
}

/* First and Last Cells in a Row - Rounded Corners */
.prose thead th:first-child,
table.responsive-table thead th:first-child {
    border-top-left-radius: 8px;
}
.prose thead th:last-child,
table.responsive-table thead th:last-child {
    border-top-right-radius: 8px;
}

/* =============================================
   MOBILE CARD LAYOUT (max-width: 767px)
   ============================================= */
@media screen and (max-width: 767px) {
    /* Force table to behave like a block */
    .prose table,
    table.responsive-table,
    .prose thead,
    .prose tbody,
    .prose th,
    .prose td,
    .prose tr,
    table.responsive-table thead,
    table.responsive-table tbody,
    table.responsive-table th,
    table.responsive-table td,
    table.responsive-table tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* Hide table header visually but keep it accessible for screen readers */
    .prose thead tr,
    table.responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* Reset border-radius for mobile card context */
    .prose thead th:first-child,
    .prose thead th:last-child,
    table.responsive-table thead th:first-child,
    table.responsive-table thead th:last-child {
        border-radius: 0;
    }

    /* Each row becomes a card */
    .prose tbody tr,
    table.responsive-table tbody tr {
        margin-bottom: 1.5rem;
        display: block;
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(226, 232, 240, 0.8);
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .prose tbody tr:hover,
    table.responsive-table tbody tr:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
    }

    /* Cells behave like rows within the card */
    .prose td,
    table.responsive-table td {
        display: flex;
        align-items: center;
        padding: 12px 18px;
        border-bottom: 1px solid #f1f5f9;
        background: transparent;
        text-align: left;
        font-size: 0.95rem;
        gap: 12px;
    }

    /* Remove zebra and hover from individual cells, apply at card level */
    .prose tbody tr:nth-child(even) td,
    table.responsive-table tbody tr:nth-child(even) td {
        background: transparent;
    }

    .prose tbody tr:hover td,
    table.responsive-table tbody tr:hover td {
        background-color: transparent;
    }

    /* Gradient left border accent for the first column */
    .prose td:first-child,
    table.responsive-table td:first-child {
        border-left: 4px solid #22c55e;
        background: linear-gradient(to right, rgba(240, 253, 244, 0.5), transparent);
        font-weight: 600;
        color: #0f172a;
    }

    /* Last cell removes bottom border */
    .prose td:last-child,
    table.responsive-table td:last-child {
        border-bottom: none;
    }

    /* ---- Data Label Injection (using CSS pseudo-element) ---- */
    /* This relies on a `data-label` attribute in the HTML. */
    /* Example for dynamic PHP: <td data-label="Nama">John Doe</td> */
    
    .prose td::before,
    table.responsive-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #64748b;
        width: 90px;
        flex-shrink: 0;
        display: block;
        background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
        padding: 4px 10px;
        border-radius: 20px;
        text-align: center;
    }

    /* Fallback: if `data-label` is empty or missing, hide the pseudo-element */
    .prose td:not([data-label])::before,
    table.responsive-table td:not([data-label])::before {
        display: none;
    }
}
