/* =====================================================================
   DESAKAMI.MY.ID — Design System (mobile-first, tanpa framework)
   ===================================================================== */
:root {
    --brand-50: #eff6ff; --brand-100: #dbeafe; --brand-200: #bfdbfe; --brand-400: #60a5fa;
    --brand-500: #3b82f6; --brand-600: #2563eb; --brand-700: #1d4ed8; --brand-800: #1e40af; --brand-900: #1e3a8a;
    --cyan-500: #06b6d4;
    --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1; --slate-400: #94a3b8;
    --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b; --slate-900: #0f172a;
    --green-50: #f0fdf4; --green-100: #dcfce7; --green-500: #22c55e; --green-600: #16a34a; --green-700: #15803d;
    --red-50: #fef2f2; --red-100: #fee2e2; --red-500: #ef4444; --red-600: #dc2626; --red-700: #b91c1c;
    --orange-50: #fff7ed; --orange-100: #ffedd5; --orange-500: #f97316; --orange-600: #ea580c;
    --purple-100: #f3e8ff; --purple-600: #9333ea; --indigo-100: #e0e7ff; --indigo-600: #4f46e5;
    --cyan-100: #cffafe; --cyan-700: #0e7490; --emerald-100: #d1fae5; --emerald-600: #059669;

    --bg: var(--slate-50);
    --surface: #ffffff;
    --text: var(--slate-800);
    --muted: var(--slate-500);
    --border: var(--slate-200);
    --radius-sm: 10px; --radius: 16px; --radius-lg: 24px; --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 6px 24px -8px rgba(15, 23, 42, .12);
    --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .22);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --nav-h: 72px;
    --ease: cubic-bezier(.22, .8, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: var(--slate-900); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--slate-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline { display: inline; margin: 0; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 28px; } }

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.xsmall { font-size: .72rem; }
.bold { font-weight: 700; }
.upper { text-transform: uppercase; letter-spacing: .06em; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.break { word-break: break-word; overflow-wrap: anywhere; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.hidden { display: none !important; }
.text-green { color: var(--green-600); } .text-red { color: var(--red-600); } .text-orange { color: var(--orange-600); } .text-blue { color: var(--brand-600); }

/* ---------- Buttons ---------- */
.btn { --b: var(--slate-900); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 14px; border: 1px solid transparent; background: var(--b); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.2; cursor: pointer; text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-loading { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .bx { font-size: 1.15rem; }
.btn-primary { background: var(--brand-600); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--brand-700); }
.btn-dark { background: var(--slate-900); }
.btn-success { background: var(--green-600); }
.btn-danger { background: var(--red-600); }
.btn-light { background: #fff; color: var(--slate-700); border-color: var(--border); }
.btn-light:hover { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-200); }
.btn-ghost { background: transparent; color: var(--slate-500); }
.btn-ghost:hover { background: var(--slate-100); color: var(--slate-800); box-shadow: none; }
.btn-soft-danger { background: var(--red-50); color: var(--red-600); }
.btn-soft-danger:hover { background: var(--red-100); color: var(--red-700); }
.btn-soft-success { background: var(--green-50); color: var(--green-700); }
.btn-soft-success:hover { background: var(--green-100); color: var(--green-700); }
.btn-pill { border-radius: 999px; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .8rem; border-radius: 11px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); }
.field .req { color: var(--red-500); }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 11px 14px; background: var(--slate-50); border: 1px solid var(--border); border-radius: 12px; font-size: .95rem; font-weight: 500; color: var(--slate-800); transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { outline: none; background: #fff; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.input[readonly] { background: var(--slate-100); color: var(--slate-500); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.field-error { color: var(--red-600); font-size: .78rem; font-weight: 600; }
.hint { font-size: .76rem; color: var(--slate-400); font-style: italic; }
.input-icon { position: relative; }
.input-icon > .bx { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 1.2rem; pointer-events: none; }
.input-icon > .input { padding-left: 44px; }
.input-action { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } .form-grid .span-2 { grid-column: span 2; } .form-grid .span-3 { grid-column: 1 / -1; } }
@media (min-width: 900px) { .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.form-section-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-600); border-bottom: 1px solid var(--border); padding-bottom: 8px; margin: 0 0 4px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; white-space: nowrap; border: 1px solid transparent; }
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-red { background: var(--red-100); color: var(--red-700); }
.badge-orange { background: var(--orange-100); color: var(--orange-600); }
.badge-blue { background: var(--brand-100); color: var(--brand-700); }
.badge-purple { background: var(--purple-100); color: var(--purple-600); }
.badge-indigo { background: var(--indigo-100); color: var(--indigo-600); }
.badge-cyan { background: var(--cyan-100); color: var(--cyan-700); }
.badge-slate { background: var(--slate-100); color: var(--slate-600); border-color: var(--slate-200); }
.badge-dark { background: var(--slate-900); color: #fff; }

/* ---------- Cards / Alerts ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 28px; } }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; font-size: .9rem; font-weight: 600; border: 1px solid; }
.alert .bx { font-size: 1.4rem; flex-shrink: 0; }
.alert-success { background: var(--green-50); border-color: #bbf7d0; color: var(--green-700); }
.alert-error { background: var(--red-50); border-color: #fecaca; color: var(--red-700); }
.alert-info { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.alert-warning { background: var(--orange-50); border-color: #fed7aa; color: var(--orange-600); }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; z-index: 1000; right: 16px; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
@media (min-width: 640px) { .toast-stack { left: auto; width: 380px; top: 20px; right: 20px; } }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--slate-900); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); }
.toast .bx { font-size: 1.35rem; flex-shrink: 0; }
.toast span { flex: 1; }
.toast-success .bx { color: #4ade80; } .toast-error .bx { color: #f87171; } .toast-warning .bx { color: #fb923c; } .toast-info .bx { color: var(--brand-400); }
.toast-close { background: none; border: 0; color: rgba(255,255,255,.6); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* =====================================================================
   PUBLIC SITE
   ===================================================================== */
.site-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .7); transition: box-shadow .3s; }
.site-nav.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .25); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--slate-900); min-width: 0; }
.brand:hover { color: var(--slate-900); }
.brand-logo { width: 42px; height: 42px; object-fit: contain; animation: spinY 8s linear infinite; }
@keyframes spinY { to { transform: rotateY(360deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-text strong span { color: var(--brand-600); }
.brand-text small { font-size: .56rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-400); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--slate-100); color: var(--slate-700); font-size: 1.6rem; cursor: pointer; }
.nav-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-menu a:not(.btn) { padding: 12px 8px; font-weight: 600; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.nav-menu a:not(.btn).active, .nav-menu a:not(.btn):hover { color: var(--brand-600); }
.nav-menu .btn { margin-top: 12px; }
@media (min-width: 1024px) {
    .brand-logo { width: 48px; height: 48px; }
    .brand-text strong { font-size: 1.7rem; }
    .nav-toggle { display: none; }
    .nav-menu { position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; overflow: visible; max-height: none; }
    .nav-menu a:not(.btn) { padding: 6px 0; border: 0; position: relative; }
    .nav-menu a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand-600); transform: scaleX(0); transition: transform .25s var(--ease); }
    .nav-menu a:not(.btn):hover::after, .nav-menu a:not(.btn).active::after { transform: scaleX(1); }
    .nav-menu .btn { margin-top: 0; }
}

.section { padding: 56px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section-white { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 10px; }
.eyebrow-red { color: var(--red-500); }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 10px; }
.section-desc { color: var(--muted); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: radial-gradient(1200px 500px at 90% -10%, rgba(37, 99, 235, .12), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(6, 182, 212, .12), transparent 60%), var(--slate-50); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy { text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1.05; margin: 18px 0; letter-spacing: -.04em; }
.gradient-text { background: linear-gradient(90deg, var(--brand-600), var(--cyan-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-media { position: relative; }
.hero-frame { background: #fff; padding: 10px; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8); animation: float 6s ease-in-out infinite; }
.hero-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--slate-100); }
.hero-stat { position: absolute; left: -8px; bottom: -18px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.hero-stat .bx { font-size: 1.6rem; color: var(--brand-600); background: var(--brand-50); border-radius: 12px; padding: 8px; }
.hero-stat strong { display: block; font-size: 1.2rem; line-height: 1; }
.hero-stat small { color: var(--muted); font-size: .72rem; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (min-width: 1024px) {
    .hero { padding: 72px 0 96px; min-height: calc(88vh - var(--nav-h)); display: flex; align-items: center; }
    .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
    .hero-copy { text-align: left; }
    .hero p { margin-left: 0; }
    .hero-actions { justify-content: flex-start; }
}

/* Logo marquee */
.marquee { background: #fff; border-block: 1px solid var(--slate-100); padding: 22px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 28px; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee-item:hover { filter: none; opacity: 1; }
.marquee-item img { height: 52px; width: auto; object-fit: contain; }
.marquee-item span { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Feature (Mengenal) */
.about-grid { display: grid; gap: 28px; align-items: center; margin-bottom: 36px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.highlight-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .highlight-grid { grid-template-columns: 1fr 1fr; } .highlight-grid > :nth-child(2) { margin-top: 28px; } }
.highlight { padding: 24px; border-radius: var(--radius-lg); background: var(--brand-50); }
.highlight:nth-child(2) { background: var(--slate-100); }
.highlight h3 { font-size: 1rem; margin-bottom: 6px; }
.highlight p { font-size: .88rem; color: var(--muted); margin: 0; }
.point-card { padding: 24px; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.point-num { font-size: 1.6rem; font-weight: 800; color: var(--brand-600); margin-bottom: 8px; }
.point-card h3 { font-size: .98rem; margin-bottom: 6px; }
.point-card p { font-size: .85rem; color: var(--slate-500); margin: 0; }

/* Theme cards */
.theme-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; height: 100%; }
.theme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.theme-media { position: relative; height: 210px; background: linear-gradient(135deg, var(--slate-100), var(--brand-50)); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.theme-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .7s var(--ease); }
.theme-card:hover .theme-media img { transform: scale(1.07); }
.theme-media .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.theme-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.theme-body h3 { font-size: 1.35rem; margin-bottom: 2px; }
.theme-sub { font-size: .8rem; font-weight: 700; color: var(--slate-400); margin: 0 0 18px; }
.theme-price { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--slate-100); }
.theme-price small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.theme-price strong { font-size: 1.9rem; color: var(--brand-600); letter-spacing: -.03em; }
.theme-price strong.free { color: var(--green-500); }
.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.check-list li { display: flex; gap: 8px; font-size: .86rem; color: var(--slate-600); font-weight: 500; }
.check-list .bx { color: var(--brand-500); font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }

/* Gallery */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { display: block; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--slate-100); height: 200px; background: var(--slate-100); cursor: zoom-in; padding: 0; width: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 4s ease-in-out; }
.gallery-item:hover img, .gallery-item:focus-visible img { object-position: bottom; }
.gallery-item .cap { display: block; position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(15, 23, 42, .85)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: left; }

/* Video */
.scroller { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; flex-shrink: 0; }
.video-card { width: 260px; background: #fff; border: 1px solid var(--slate-100); border-radius: 20px; overflow: hidden; text-align: left; padding: 0; cursor: pointer; transition: box-shadow .3s, transform .3s var(--ease); }
@media (min-width: 768px) { .video-card { width: 300px; } }
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--slate-900); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-card:hover .video-thumb img { opacity: 1; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(220, 38, 38, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 8px 20px -6px rgba(220, 38, 38, .7); transition: transform .3s var(--ease); }
.video-card:hover .play-btn { transform: scale(1.1); }
.video-info { padding: 14px 16px 16px; }
.video-info { display: block; }
.video-info .vt { font-weight: 800; color: var(--slate-900); font-size: .9rem; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info .vd { font-size: .76rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-grid .video-card { width: 100%; }

/* Testimonial */
.testi-card { position: relative; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; }
.testi-card .quote { position: absolute; top: 10px; left: 12px; font-size: 3rem; color: #fff; }
.testi-card p { position: relative; margin: 0; font-style: italic; color: var(--slate-600); font-size: .92rem; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--slate-200); padding-top: 14px; }
.avatar-lg { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.av-blue { background: var(--brand-100); color: var(--brand-600); } .av-orange { background: var(--orange-100); color: var(--orange-600); }
.av-green { background: var(--green-100); color: var(--green-600); } .av-purple { background: var(--purple-100); color: var(--purple-600); }
.testi-author strong { display: block; font-size: .88rem; }
.testi-author small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }

/* Public tables */
.table-card { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid var(--slate-100); background: var(--slate-50); }
.table-card-head h2, .table-card-head h3 { font-size: 1.3rem; margin: 0 0 2px; }
.table-scroll { overflow: auto; max-height: 460px; -webkit-overflow-scrolling: touch; }
.table-scroll.tall { max-height: 640px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ptable th { position: sticky; top: 0; z-index: 1; background: #fff; text-align: left; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); padding: 14px; border-bottom: 1px solid var(--slate-200); white-space: nowrap; }
.ptable td { padding: 12px 14px; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); text-transform: uppercase; }
.ptable tbody tr:hover { background: var(--brand-50); }
.ptable .strong { color: var(--brand-600); font-weight: 800; }
@media (max-width: 719px) {
    .ptable thead { display: none; }
    .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
    .ptable tr { padding: 12px 16px; border-bottom: 1px solid var(--slate-100); }
    .ptable td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
    .ptable td::before { content: attr(data-label); font-size: .64rem; font-weight: 800; letter-spacing: .1em; color: var(--slate-400); text-align: left; flex-shrink: 0; }
    .ptable td.cell-title { font-size: .95rem; justify-content: flex-start; text-align: left; }
    .ptable td.cell-title::before { display: none; }
    .table-scroll { max-height: 560px; }
}
.search-box { position: relative; width: 100%; max-width: 360px; }
.search-box .bx { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 1.2rem; }
.search-box .input { padding-left: 42px; background: #fff; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--slate-400); }
.empty-state .bx { font-size: 3rem; color: var(--slate-300); display: block; margin: 0 auto 10px; }

/* Page header (publik) */
.page-hero { padding: 40px 0 28px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 14px 0 12px; letter-spacing: -.04em; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate-400); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb span { color: var(--brand-600); }
.page-wrap { padding: 32px 0 72px; }
.content-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .content-layout { grid-template-columns: 2fr 1fr; gap: 40px; } .sticky-side { position: sticky; top: calc(var(--nav-h) + 20px); } }
.article { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
@media (min-width: 768px) { .article { padding: 48px; } }
.article-head { border-bottom: 1px solid var(--slate-100); padding-bottom: 24px; margin-bottom: 28px; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.meta-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--slate-500); background: var(--slate-50); border: 1px solid var(--slate-100); padding: 6px 14px; border-radius: 999px; }
.help-card { background: linear-gradient(145deg, var(--slate-900), var(--slate-800)); color: #fff; border-radius: var(--radius-xl); padding: 28px; text-align: center; box-shadow: var(--shadow-lg); }
.help-card .bx-lg { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.help-card h2 { color: #fff; font-size: 1.15rem; }
.help-card p { color: var(--slate-400); font-size: .85rem; }

/* Prose (konten editor) */
.prose { color: var(--slate-600); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--slate-800); margin: 1.5em 0 .6em; line-height: 1.3; }
.prose h1 { font-size: 2rem; } .prose h2 { font-size: 1.65rem; } .prose h3 { font-size: 1.35rem; } .prose h4 { font-size: 1.15rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 0 0 1.2em; }
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose li { margin-bottom: .4em; }
.prose .ql-ui { display: none; }
.prose a { font-weight: 600; border-bottom: 1px solid var(--brand-200); }
.prose img { border-radius: 20px; margin: 2rem auto; box-shadow: var(--shadow); }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--brand-500); background: var(--brand-50); border-radius: 0 16px 16px 0; font-style: italic; color: var(--slate-500); }
.prose strong, .prose b { color: var(--slate-800); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--slate-200); padding: .7rem 1rem; text-align: left; }
.prose th { background: var(--slate-50); }
.prose pre { background: var(--slate-900); color: #e2e8f0; padding: 16px; border-radius: 14px; overflow-x: auto; font-size: .85rem; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }

/* Release cards & timeline */
.release-card { width: 290px; background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .release-card { width: 340px; } }
.release-card h3 { font-size: 1.1rem; margin: 12px 0 10px; }
.release-body { font-size: .8rem; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 14px; padding: 12px 14px; max-height: 160px; overflow-y: auto; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mini-list li { display: flex; gap: 8px; color: var(--slate-600); }
.mini-list .bx { color: var(--green-500); margin-top: 3px; flex-shrink: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--slate-500); border: 1px solid var(--slate-200); }
.chip:hover { background: var(--slate-100); color: var(--slate-700); }
.chip.active { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.timeline { position: relative; border-left: 2px solid var(--slate-100); margin-left: 8px; display: grid; gap: 40px; }
.tl-item { position: relative; padding-left: 26px; }
.tl-item::before { content: ''; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-600); transition: transform .3s, background .3s; }
.tl-item:hover::before { background: var(--brand-600); transform: scale(1.2); }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--slate-100); }
.tl-head h2 { font-size: 1.4rem; margin: 0; }
.tl-body { background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 16px; padding: 18px; }
.tl-body .mini-list { gap: 10px; font-size: .95rem; }
.tl-body .mini-list .bx { color: var(--brand-600); }

/* Order form */
.order-grid { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .order-grid { grid-template-columns: 7fr 5fr; gap: 32px; } }
.summary-card { background: linear-gradient(145deg, var(--slate-900), var(--slate-800)); color: #fff; border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .summary-card { position: sticky; top: calc(var(--nav-h) + 20px); } }
.summary-card h2 { color: rgba(255,255,255,.9); font-size: 1.2rem; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.summary-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; margin-bottom: 20px; }
.summary-box small, .summary-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px; }
.summary-box h3 { color: var(--brand-400); font-size: 1.3rem; margin: 0 0 6px; }
.summary-card .check-list li { color: var(--slate-300); }
.summary-card .check-list .bx { color: var(--brand-400); }
.summary-total { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.summary-total strong { font-size: 2rem; letter-spacing: -.03em; }
.success-panel { max-width: 860px; margin: 0 auto 32px; text-align: center; background: var(--green-50); border: 1px solid #bbf7d0; color: var(--green-700); border-radius: var(--radius-xl); padding: 28px; }
.success-panel .bx { font-size: 2rem; width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.success-panel h2 { color: var(--green-700); font-size: 1.3rem; }

/* Auth */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 40px 16px; background: radial-gradient(900px 400px at 50% -20%, rgba(37,99,235,.12), transparent 60%), var(--slate-50); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .auth-card { padding: 40px; } }
.auth-card h1 { font-size: 1.8rem; text-align: center; }
.auth-card .lead { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 26px; }

/* Footer */
.site-footer { background: var(--slate-900); color: #fff; padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.footer-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.footer-sub { color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-muted { color: var(--slate-400); max-width: 420px; font-size: .92rem; }
.footer-wa { display: inline-flex; align-items: center; gap: 12px; color: #4ade80; font-weight: 700; letter-spacing: .08em; }
.footer-wa:hover { color: #86efac; }
.footer-wa .bx { font-size: 1.6rem; }
.social-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.social-btn { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--slate-400); font-size: 1.6rem; background: linear-gradient(145deg, #1e293b, #0f172a); box-shadow: 6px 6px 12px #0a0f1c, -6px -6px 12px #223348, inset 1px 1px 2px rgba(255,255,255,.1); transition: transform .3s var(--ease), box-shadow .3s, color .3s; }
.social-btn:hover { transform: translateY(-5px); box-shadow: 10px 10px 20px #0a0f1c, -8px -8px 16px #223348; }
.social-btn img { width: 24px; height: 24px; object-fit: contain; }
.social-fb:hover { color: #3b5998; } .social-ig:hover { color: #e1306c; } .social-yt:hover { color: #ff0000; } .social-tt:hover { color: #00f2fe; } .social-tw:hover { color: #1da1f2; } .social-wa:hover { color: #25d366; } .social-def:hover { color: #fff; }
.social-fb:hover img { filter: drop-shadow(0 0 8px #3b5998); } .social-ig:hover img { filter: drop-shadow(0 0 8px #e1306c); } .social-yt:hover img { filter: drop-shadow(0 0 8px #f00); } .social-tt:hover img { filter: drop-shadow(0 0 8px #00f2fe); } .social-wa:hover img { filter: drop-shadow(0 0 8px #25d366); }
.footer-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: var(--slate-400); font-weight: 700; font-size: .88rem; }
.footer-links a:hover { color: var(--brand-400); }
.footer-copy { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; }

/* Floating */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-600); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-release { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--brand-100); box-shadow: var(--shadow-lg); color: var(--slate-800); transition: background .3s, transform .3s var(--ease); }
.fab-release:hover { background: var(--brand-600); color: #fff; transform: scale(1.04); }
.fab-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.fab-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--brand-400); opacity: .4; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.fab-text { display: none; padding-right: 10px; line-height: 1.1; }
.fab-text small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-400); }
.fab-text strong { font-size: .8rem; }
.fab-release:hover .fab-text small { color: var(--brand-100); }
@media (min-width: 768px) { .fab-text { display: block; } .to-top { right: 24px; bottom: 24px; } .fab-release { left: 24px; bottom: 24px; } }

/* Modal / lightbox */
/* Popup: selalu muat di layar, isi bisa di-scroll, header & tombol Simpan tetap terlihat */
dialog.modal { position: fixed; inset: 0; border: 0; padding: 12px; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; overflow: hidden; }
dialog.modal[open] { display: flex; align-items: center; justify-content: center; }
dialog.modal::backdrop { background: rgba(15, 23, 42, .6); backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: min(100%, 720px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop .3s var(--ease); }
.modal-panel.wide { width: min(100%, 980px); }
.modal-panel.narrow { width: min(100%, 480px); }
/* form di antara panel & body ikut menjadi kolom fleksibel → body mendapat tinggi terbatas & bisa di-scroll */
.modal-panel > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: 100%; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--slate-50); }
.modal-head h2 { font-size: 1.15rem; margin: 0; }
.modal-body { flex: 1 1 auto; min-height: 0; padding: 20px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.modal-foot { flex: 0 0 auto; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; box-shadow: 0 -8px 16px -12px rgba(15, 23, 42, .25); }
@media (max-width: 639px) {
    dialog.modal { padding: 8px; }
    .modal-panel, .modal-panel.wide, .modal-panel.narrow { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
    .modal-head { padding: 14px 16px; }
    .modal-body { padding: 16px; }
    .modal-foot { padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
.modal-foot .btn { flex: 1; }
@media (min-width: 640px) { .modal-foot .btn { flex: 0 0 auto; min-width: 140px; } }
.modal-close { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--slate-400); font-size: 1.7rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--slate-200); color: var(--slate-700); }
.video-modal .modal-panel { width: min(100%, 960px, (100dvh - 24px) * 16 / 9); background: #000; aspect-ratio: 16 / 9; height: auto; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal .modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.18); color: #fff; }
.lightbox .modal-panel { background: transparent; box-shadow: none; width: min(100%, 1100px); overflow: auto; }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 16px; }
.lightbox .modal-close { position: absolute; top: 6px; right: 6px; background: rgba(15,23,42,.6); color: #fff; }
.lightbox p { color: #fff; text-align: center; font-weight: 700; margin: 12px 0 0; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 16px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-weight: 700; font-size: .82rem; color: var(--slate-600); }
.pagination .current { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.pagination a:hover { border-color: var(--brand-400); color: var(--brand-700); }

#ringkasan_kosong .bx { font-size: 3rem; }

/* Status pages */
.status-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.status-card { max-width: 480px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px 28px; box-shadow: var(--shadow-lg); }
.status-code { font-size: 4.5rem; font-weight: 800; letter-spacing: -.05em; background: linear-gradient(90deg, var(--brand-600), var(--cyan-500)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 12px; }
.status-icon { font-size: 2.4rem; color: var(--red-500); width: 72px; height: 72px; border-radius: 50%; background: var(--red-50); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.status-card p { color: var(--muted); }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.status-debug { text-align: left; background: var(--slate-900); color: #fecaca; padding: 12px; border-radius: 10px; font-size: .75rem; white-space: pre-wrap; }

/* Reveal on scroll */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(18px); }
[data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
@media print {
    .site-nav, .site-footer, .to-top, .fab-release, .sidebar, .topbar, .toast-stack, .page-actions, .no-print { display: none !important; }
    body { background: #fff; }
    [data-reveal].reveal-pending { opacity: 1; transform: none; }
}

/* =====================================================================
   ARTIKEL
   ===================================================================== */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--slate-100); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h2, .post-body h3 { font-size: 1.08rem; margin: 4px 0 0; line-height: 1.35; }
.post-body h2 a, .post-body h3 a { color: var(--slate-900); }
.post-body h2 a:hover, .post-body h3 a:hover { color: var(--brand-600); }
.post-body p { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }
.post-meta { font-size: .74rem; color: var(--slate-400); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.article-cover { width: 100%; border-radius: 20px; margin-bottom: 28px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--slate-100); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; margin: 1.5rem 0; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--slate-100); }
.mini-post { display: flex; gap: 12px; align-items: center; color: var(--slate-800); }
.mini-post img { width: 72px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--slate-100); }
.mini-post strong { display: block; font-size: .86rem; line-height: 1.3; }
.mini-post small { display: block; font-size: .7rem; color: var(--slate-400); margin-top: 2px; }
.mini-post:hover strong { color: var(--brand-600); }

/* =====================================================================
   INVOICE / PEMBAYARAN
   ===================================================================== */
.invoice-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .invoice-grid { grid-template-columns: 5fr 7fr; gap: 28px; } .invoice-card { position: sticky; top: calc(var(--nav-h) + 20px); } }
.invoice-total { margin: 22px 0; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, var(--brand-600), var(--indigo-600)); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.invoice-total small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.invoice-total strong { font-size: 2.1rem; letter-spacing: -.03em; line-height: 1.1; }
.invoice-total .btn { color: #fff; padding-left: 0; }
.invoice-total .btn:hover { background: transparent; color: #fff; text-decoration: underline; }
.invoice-meta { display: grid; gap: 0; margin: 0 0 20px; }
.invoice-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--slate-200); font-size: .88rem; }
.invoice-meta dt { color: var(--slate-500); font-weight: 600; }
.invoice-meta dd { margin: 0; font-weight: 700; text-align: right; color: var(--slate-800); }
.pay-title { font-size: 1.2rem; margin: 6px 0 0; }
.pay-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.pay-gateway { border: 2px solid var(--brand-200); background: linear-gradient(180deg, var(--brand-50), #fff 60%); }
.pay-card-head { display: flex; align-items: center; gap: 12px; }
.pay-card-head > div { flex: 1; }
.pay-card-head strong { display: block; font-size: 1rem; }
.pay-card-head small { display: block; font-size: .76rem; color: var(--muted); }
.pay-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-100); color: var(--brand-600); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.qris-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--slate-300); border-radius: 16px; }
.qris-box img { width: 100%; max-width: 300px; height: auto; border-radius: 12px; background: #fff; }
.acc-list { display: grid; gap: 10px; }
.acc { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--slate-100); border-radius: 14px; background: var(--slate-50); }
.acc-logo { width: 52px; height: 36px; object-fit: contain; flex-shrink: 0; border-radius: 8px; background: #fff; }
.acc-initial { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .72rem; color: var(--brand-700); border: 1px solid var(--brand-100); }
.acc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.acc-info small { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); }
.acc-info strong { font-size: 1.05rem; word-break: break-all; }
.acc-info span { font-size: .8rem; color: var(--slate-600); }
.acc-info em { font-size: .74rem; color: var(--slate-400); }
@media print { .invoice-grid { display: block; } .invoice-total { background: #fff; color: #000; border: 1px solid #000; } .pay-card { break-inside: avoid; } }

/* =====================================================================
   v2.2 — AKUN MEMBER, AFFILIATE, TESTIMONI SLIDER, GRID ARTIKEL
   ===================================================================== */
.btn-outline { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn-outline:hover { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-400); }

/* Navigasi: tombol Masuk / Daftar */
.nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.nav-actions .btn { margin-top: 0 !important; }
.nav-actions .btn-primary, .nav-actions .nav-account { grid-column: 1 / -1; }
.nav-quick { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--brand-200); background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.nav-quick .bx { font-size: 1.15rem; }
.nav-quick:hover { background: var(--brand-100); color: var(--brand-800); }
.nav-inner { gap: 10px; }
@media (max-width: 479px) { .nav-quick span { display: none; } .nav-quick { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; } .nav-quick .bx { font-size: 1.4rem; } }
.nav-inner .brand { flex: 1 1 auto; }
.brand-text strong { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .brand { gap: 8px; } .brand-logo { width: 36px; height: 36px; } .brand-text strong { font-size: 1.12rem; } .brand-text small { font-size: .5rem; letter-spacing: .18em; } }
@media (max-width: 339px) { .brand-text strong { font-size: .98rem; } }
@media (min-width: 1024px) {
    .nav-quick { display: none; }
    .nav-actions { display: flex; align-items: center; gap: 10px; margin-top: 0; }
    .nav-menu { gap: 24px; }
}
.hero-auth { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 18px; }
.hero-auth .btn-ghost { color: var(--brand-700); background: rgba(255,255,255,.7); border: 1px solid var(--brand-100); }
.hero-auth .small { flex-basis: 100%; }

/* Grid artikel: HP 2 kolom (2 baris × 2 artikel di beranda), tablet 2-3, desktop 3/4 */
.post-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .post-grid { gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .post-grid .post-card { border-radius: 16px; }
    .post-grid .post-body { padding: 10px 11px 12px; gap: 5px; }
    .post-grid .post-body h2, .post-grid .post-body h3 { font-size: .86rem; line-height: 1.3; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .post-grid .post-body p { font-size: .74rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .post-grid .post-body .badge { font-size: .58rem; padding: 3px 7px; align-self: flex-start; }
    .post-grid .post-body .flex.between { flex-wrap: wrap; gap: 4px; }
    .post-grid .post-meta { font-size: .66rem; }
    .post-grid .post-thumb { aspect-ratio: 4 / 3; }
}

/* Testimoni: HP = kartu kotak sejajar, bisa digeser & berjalan otomatis; desktop = grid */
.testi-track { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .testi-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testi-track { grid-template-columns: repeat(3, 1fr); } }
.testi-track .testi-clone { display: none; }
@media (max-width: 767px) {
    .testi-track {
        display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 4px 16px 14px; margin-inline: -16px;
        scroll-snap-type: x mandatory; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
        scrollbar-width: none; touch-action: pan-x pan-y;
    }
    .testi-track::-webkit-scrollbar { display: none; }
    .testi-track.is-auto { scroll-snap-type: none; }
    .testi-track .testi-clone { display: flex; }
    .testi-track .testi-card {
        flex: 0 0 min(76vw, 290px); aspect-ratio: 1 / 1; height: auto; scroll-snap-align: start;
        padding: 18px; gap: 10px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
    }
    .testi-track .testi-card blockquote { flex: 1; min-height: 0; overflow: hidden; }
    .testi-track .testi-card p { font-size: .84rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
    .testi-track .testi-author { padding-top: 10px; }
    .testi-track .testi-card .quote { color: var(--slate-100); }
}
.testi-hint { display: none; }
@media (max-width: 767px) { .testi-hint { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: .74rem; color: var(--slate-400); font-weight: 600; margin-top: 2px; } }

/* CTA Affiliate */
.aff-cta { margin-top: 32px; display: grid; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius-xl); color: #fff;
    background: radial-gradient(600px 240px at 90% 0%, rgba(96,165,250,.45), transparent 60%), linear-gradient(135deg, var(--brand-800), var(--slate-900)); box-shadow: var(--shadow-lg); }
.aff-cta h2 { color: #fff; font-size: 1.35rem; margin: 10px 0 8px; }
.aff-cta p { color: var(--slate-300); font-size: .92rem; }
.aff-cta .pill { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.aff-cta-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--slate-200); }
.aff-cta-list li { display: flex; gap: 8px; align-items: flex-start; }
.aff-cta-list .bx { color: #4ade80; font-size: 1.1rem; margin-top: 2px; }
.aff-cta-actions { display: flex; flex-direction: column; gap: 10px; }
.aff-cta-actions .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.aff-cta-actions .btn-light:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (min-width: 900px) { .aff-cta { grid-template-columns: 1fr auto; padding: 36px 40px; } .aff-cta h2 { font-size: 1.7rem; } }

/* Halaman auth member */
.auth-card.wide { max-width: 560px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .84rem; }
.auth-switch { text-align: center; font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--slate-600); }
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brand-600); }
.terms-box { max-height: 160px; overflow-y: auto; background: var(--slate-50); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: .8rem; color: var(--slate-600); white-space: pre-line; }

/* =====================================================================
   v2.3 — PWA: kartu pasang aplikasi, panduan, splash, transisi halus
   ===================================================================== */
/* Transisi antarhalaman: fade-in halus pada <main> (View Transitions lintas dokumen dinonaktifkan — memicu error saat redirect/modal). */
main { animation: pageIn .35s ease; } /* hanya opacity: tidak mengganggu elemen fixed/modal */
@keyframes pageIn { from { opacity: 0; } }

.pwa-card { margin-top: 22px; padding: 16px; border-radius: 20px; border: 1px solid var(--brand-100);
    background: radial-gradient(240px 120px at 100% 0%, rgba(96,165,250,.18), transparent 70%), linear-gradient(180deg, #fff, var(--brand-50));
    animation: cardIn .5s var(--ease) both .15s; }
.pwa-card[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.pwa-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.pwa-card-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -6px rgba(15,23,42,.25); object-fit: contain; flex: 0 0 auto; }
.pwa-card-head strong { display: block; font-size: .95rem; color: var(--slate-900); line-height: 1.3; }
.pwa-card-head span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.pwa-platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pwa-platforms span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--slate-200); font-size: .7rem; font-weight: 700; color: var(--slate-600); }
.pwa-platforms .bx { font-size: .95rem; }
.pwa-install-btn { position: relative; overflow: hidden; }
.pwa-card.is-ready .pwa-install-btn { background: var(--brand-600); box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); }
.pwa-card.is-ready .pwa-install-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s ease-in-out infinite 1s; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }

/* Panduan pemasangan: bottom sheet di HP, dialog di layar lebar */
dialog.pwa-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
dialog.pwa-sheet[open] { display: flex; align-items: flex-end; justify-content: center; }
dialog.pwa-sheet::backdrop { background: rgba(15,23,42,.5); backdrop-filter: blur(3px); animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.pwa-sheet-panel { width: 100%; max-width: 480px; max-height: calc(100dvh - 24px); overflow-y: auto; background: #fff; border-radius: 26px 26px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(15,23,42,.4); animation: sheetUp .35s var(--ease) both; }
dialog.pwa-sheet.is-closing .pwa-sheet-panel { animation: sheetDown .22s ease both; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); opacity: .6; } }
.pwa-sheet-grip { width: 44px; height: 5px; border-radius: 9px; background: var(--slate-200); margin: 0 auto 14px; }
.pwa-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pwa-sheet-head img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 4px 12px -4px rgba(15,23,42,.25); object-fit: contain; background: #fff; }
.pwa-sheet-head h2 { font-size: 1.05rem; margin: 0; }
.pwa-sheet-head p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.pwa-sheet-head .modal-close { margin-left: auto; }
.pwa-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.pwa-steps li { counter-increment: st; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--slate-50); border: 1px solid var(--slate-100); font-size: .9rem; color: var(--slate-700); line-height: 1.5; animation: stepIn .4s var(--ease) both; }
.pwa-steps li:nth-child(2) { animation-delay: .07s; } .pwa-steps li:nth-child(3) { animation-delay: .14s; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-8px); } }
.pwa-steps li::before { content: counter(st); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 800; font-size: .78rem; display: flex; align-items: center; justify-content: center; }
.pwa-steps .bx { font-size: 1.15rem; vertical-align: -3px; color: var(--brand-600); }
@media (min-width: 640px) {
    dialog.pwa-sheet[open] { align-items: center; }
    .pwa-sheet-panel { border-radius: 24px; padding: 22px 24px 24px; animation: pop .3s var(--ease) both; }
    .pwa-sheet-grip { display: none; }
    dialog.pwa-sheet.is-closing .pwa-sheet-panel { animation: fadeOutDown .2s ease both; }
}
@keyframes fadeOutDown { to { opacity: 0; transform: translateY(10px); } }

/* Splash saat aplikasi dibuka */
.app-splash { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(600px 400px at 50% 30%, var(--brand-50), #fff 70%); transition: opacity .45s ease, visibility .45s; }
.app-splash img { width: 96px; height: 96px; border-radius: 26px; object-fit: contain; background: #fff; box-shadow: 0 18px 40px -16px rgba(29,78,216,.45); animation: splashPop .6s var(--ease) both; }
.app-splash strong { font-size: 1.1rem; color: var(--slate-900); letter-spacing: -.01em; animation: fadeIn .6s ease both .15s; }
.app-splash-bar { width: 120px; height: 4px; border-radius: 9px; background: var(--slate-100); overflow: hidden; position: relative; }
.app-splash-bar::after { content: ''; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--brand-600); animation: splashBar 1s ease-in-out infinite; }
.app-splash.is-hiding { opacity: 0; visibility: hidden; }
@keyframes splashPop { from { opacity: 0; transform: scale(.85); } }
@keyframes splashBar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Bilah progres navigasi */
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9998; pointer-events: none; transform-origin: left; transform: scaleX(0); opacity: 0; background: linear-gradient(90deg, var(--brand-500), var(--cyan-500)); }
.nav-progress.is-active { opacity: 1; animation: navProg 8s cubic-bezier(.1,.7,.2,1) forwards; }
@keyframes navProg { 0% { transform: scaleX(0); } 20% { transform: scaleX(.45); } 100% { transform: scaleX(.92); } }

/* Mode aplikasi terpasang (standalone) */
html.is-standalone { -webkit-tap-highlight-color: transparent; }
html.is-standalone body { overscroll-behavior-y: none; }
html.is-standalone .site-nav { padding-top: env(safe-area-inset-top); height: calc(var(--nav-h) + env(safe-area-inset-top)); }
html.is-standalone .nav-menu { top: calc(var(--nav-h) + env(safe-area-inset-top)); }
html.is-standalone .btn, html.is-standalone .tab, html.is-standalone .nav-menu a { -webkit-user-select: none; user-select: none; }
html.is-standalone .btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
    main, .pwa-card, .pwa-steps li, .pwa-sheet-panel { animation: none !important; }
    .app-splash { display: none; }
}

/* =====================================================================
   v2.4 — NAVIGASI BAWAH ALA APLIKASI (DANA / OVO) — tampil di HP
   ===================================================================== */
.bottom-nav { display: none; }
@media (max-width: 767px) {
    /* v2.6: bilah MENEMPEL di dasar layar (full width, tanpa jarak & sudut melayang) */
    .bottom-nav { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; margin: 0;
        background: #fff; border-top: 1px solid var(--slate-200); box-shadow: 0 -4px 16px -10px rgba(15,23,42,.18);
        padding: 0 0 env(safe-area-inset-bottom); animation: bnIn .35s var(--ease) both; }
    @keyframes bnIn { from { transform: translateY(100%); } }
    .bottom-nav-inner { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; height: 60px; max-width: 600px; margin: 0 auto; padding: 0; }
    .bn-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; padding: 6px 0 7px; border: 0; background: none; color: var(--slate-400);
        font: inherit; font-size: .64rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s; }
    .bn-item::before { content: ''; position: absolute; top: -1px; left: 50%; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand-600); transform: translateX(-50%) scaleX(0); transition: transform .25s var(--ease); }
    .bn-item.is-active::before { transform: translateX(-50%) scaleX(1); }
    .bn-item:hover { color: var(--slate-600); }
    .bn-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 28px; border-radius: 999px; transition: background .25s, transform .25s var(--ease); }
    .bn-icon .bx { font-size: 1.4rem; }
    .bn-item.is-active { color: var(--brand-600); }
    .bn-item.is-active .bn-icon { background: var(--brand-50); }
    .bn-item.is-active .bn-label { color: var(--brand-700); }
    .bn-item:active .bn-icon { transform: scale(.9); }
    .bn-label { line-height: 1; white-space: nowrap; }
    /* Tombol tengah: menyatu dengan bilah (sedikit menonjol, alas putih menyambung ke bilah) */
    .bn-center { justify-content: flex-end; }
    .bn-center::before { display: none; }
    .bn-center::after { content: ''; position: absolute; top: -13px; left: 50%; width: 64px; height: 32px; transform: translateX(-50%); background: #fff; border-radius: 32px 32px 0 0;
        border: 1px solid var(--slate-200); border-bottom: 0; z-index: 0; }
    .bn-fab { position: absolute; z-index: 1; top: -9px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 1.45rem; background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
        box-shadow: 0 6px 14px -6px rgba(29,78,216,.7); transition: transform .25s var(--ease); }
    .bn-center .bn-label { position: relative; z-index: 1; color: var(--brand-700); }
    .bn-center:active .bn-fab { transform: translateX(-50%) scale(.92); }
    .bn-center.is-active .bn-fab { box-shadow: 0 0 0 3px var(--brand-100), 0 6px 14px -6px rgba(29,78,216,.7); }
    .bn-avatar .bn-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff;
        background: linear-gradient(135deg, var(--brand-500), var(--cyan-500)); overflow: hidden; }
    .bn-avatar .bn-av img { width: 100%; height: 100%; object-fit: cover; }
    .bn-item.is-active .bn-av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-500); }

    /* Ruang bawah konten & tombol melayang di atas navigasi */
    body.has-bottom-nav { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    body.has-bottom-nav .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
    body.has-bottom-nav .fab-release { bottom: calc(76px + env(safe-area-inset-bottom)); }
    body.has-bottom-nav .nav-quick { display: none; }
    body.has-bottom-nav .site-footer { padding-bottom: 12px; }
}

/* Lembar menu bawah */
.bn-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; margin: 4px 0 16px; }
.bn-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--slate-700); text-align: center; line-height: 1.2; animation: stepIn .35s var(--ease) both; }
.bn-tile span { width: 52px; height: 52px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); transition: transform .2s; }
.bn-tile:nth-child(2n) span { color: #0d9488; background: #f0fdfa; border-color: #ccfbf1; }
.bn-tile:nth-child(3n) span { color: var(--orange-600); background: var(--orange-50); border-color: var(--orange-100); }
.bn-tile:active span { transform: scale(.92); }
.bn-links { display: flex; flex-direction: column; border: 1px solid var(--slate-100); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.bn-links a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; color: var(--slate-700); font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--slate-100); }
.bn-links a:last-child { border-bottom: 0; }
.bn-links a span { flex: 1; }
.bn-links a .bx { color: var(--slate-400); font-size: 1.15rem; }
.bn-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bn-sheet-actions .btn:only-child { grid-column: 1 / -1; }

/* =====================================================================
   v2.6 — LANDING PAGE BARU (menonjolkan produk utama BEDESA PRO)
   ===================================================================== */
.lp-hero { position: relative; overflow: hidden; color: #e2e8f0; padding: 44px 0 72px;
    background: linear-gradient(160deg, #0b1533 0%, #0f2a6b 55%, #1d4ed8 120%); }
.lp-hero-bg { position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 320px at 85% 10%, rgba(56,189,248,.28), transparent 65%),
        radial-gradient(520px 300px at 0% 100%, rgba(99,102,241,.35), transparent 65%),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.lp-hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.lp-hero-copy { text-align: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #bfdbfe; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.lp-hero h1 { color: #fff; font-size: clamp(2rem, 6.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; margin: 18px 0 16px; }
.lp-hl { background: linear-gradient(90deg, #7dd3fc, #a5b4fc 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.lp-lead { font-size: 1.05rem; color: #cbd5e1; max-width: 560px; margin: 0 auto 26px; }
.lp-lead strong { color: #fff; }
.lp-hero-actions, .lp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-btn-main { background: #fff; color: var(--brand-700); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.lp-btn-main:hover { background: #eff6ff; color: var(--brand-800); }
.lp-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.lp-hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .86rem; color: #cbd5e1; }
.lp-hero-trust li { display: flex; align-items: center; gap: 8px; }
.lp-hero-trust .bx { font-size: 1.15rem; color: #7dd3fc; }
.lp-hero-trust b { color: #fff; }
.lp-hero-trust a { color: #a7f3d0; font-weight: 700; }
.lp-hero-trust a:hover { color: #fff; }
.lp-hero-auth { margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; font-size: .8rem; color: #94a3b8; }
.lp-hero-auth a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 700; }
.lp-hero-auth a:hover { color: #bfdbfe; }
.lp-hero-media { position: relative; max-width: 620px; margin: 0 auto; width: 100%; }
.lp-browser { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.12); transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.lp-browser-bar i:nth-child(2) { background: #fbbf24; }
.lp-browser-bar i:nth-child(3) { background: #34d399; }
.lp-browser-bar span { flex: 1; margin-left: 10px; display: flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: #fff; color: var(--slate-500); font-size: .7rem; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--slate-100); }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: #fff; color: var(--slate-800); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.lp-float .bx { font-size: 1.4rem; padding: 8px; border-radius: 12px; color: var(--brand-600); background: var(--brand-50); }
.lp-float strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.lp-float small { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; }
.lp-float-a { left: -6px; bottom: -22px; }
.lp-float-b { right: -6px; top: 22%; }
.lp-float-b .bx { color: #059669; background: #ecfdf5; }
@media (min-width: 1024px) {
    .lp-hero { padding: 72px 0 100px; }
    .lp-hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
    .lp-hero-copy { text-align: left; }
    .lp-lead { margin-left: 0; }
    .lp-hero-actions, .lp-hero-trust, .lp-hero-auth { justify-content: flex-start; }
    .lp-float-a { left: -28px; }
    .lp-float-b { right: -24px; }
}
@media (max-width: 479px) { .lp-hl { white-space: normal; } .lp-hero-actions .btn { width: 100%; } .lp-float { padding: 8px 10px; } .lp-float .bx { font-size: 1.1rem; padding: 6px; } .lp-float strong { font-size: .9rem; } }

.lp-marquee { padding-top: 18px; }
.lp-marquee-title { text-align: center; margin: 0 0 14px; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-400); }

.lp-stats { position: relative; z-index: 2; margin-top: -1px; background: #fff; padding: 8px 0 36px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; border-radius: 20px; background: linear-gradient(180deg, var(--slate-50), #fff); border: 1px solid var(--slate-100); }
.lp-stat .bx { font-size: 1.5rem; color: var(--brand-600); margin-bottom: 6px; }
.lp-stat strong { font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.1; color: var(--slate-900); letter-spacing: -.02em; }
.lp-stat span { font-size: .76rem; font-weight: 700; color: var(--muted); }
@media (min-width: 768px) { .lp-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.lp-about-grid { display: grid; gap: 28px; align-items: center; }
.lp-about-desc { color: var(--slate-600); font-size: 1rem; }
.lp-about-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-highlights { display: grid; gap: 14px; }
.lp-highlight { padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); }
.lp-highlight:nth-child(2) { background: linear-gradient(135deg, #ecfeff, #fff); border-color: var(--cyan-100); }
.lp-highlight h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.lp-highlight p { margin: 0; font-size: .88rem; color: var(--slate-600); }
.lp-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); box-shadow: 0 8px 18px -8px rgba(37,99,235,.6); }
.lp-points { display: grid; gap: 14px; margin-top: 32px; }
.lp-point { position: relative; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.lp-point:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-point-num { position: absolute; top: 18px; right: 20px; font-size: 1.6rem; font-weight: 800; color: var(--slate-100); }
.lp-point h3 { font-size: .98rem; margin: 14px 0 6px; }
.lp-point p { margin: 0; font-size: .86rem; color: var(--slate-500); }
@media (min-width: 640px) { .lp-highlights, .lp-points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lp-about-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .lp-points { grid-template-columns: repeat(4, 1fr); } }

.lp-themes { background: linear-gradient(180deg, var(--slate-50), #fff); }
.lp-theme-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-theme-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lp-theme { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.lp-theme:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lp-theme.is-pro { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand-500), #8b5cf6, var(--cyan-500)) border-box; box-shadow: 0 24px 50px -24px rgba(37,99,235,.45); }
.lp-ribbon { position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, var(--brand-600), #7c3aed); box-shadow: 0 8px 18px -8px rgba(37,99,235,.7); }
.lp-ribbon-alt { background: linear-gradient(135deg, #f97316, #ef4444); }
.lp-theme-media { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; padding: 18px; background: linear-gradient(135deg, var(--slate-100), var(--brand-50)); overflow: hidden; }
.lp-theme.is-pro .lp-theme-media { background: radial-gradient(400px 200px at 50% 0%, rgba(59,130,246,.22), transparent 70%), linear-gradient(135deg, #eef2ff, #e0f2fe); }
.lp-theme-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .7s var(--ease); }
.lp-theme:hover .lp-theme-media img { transform: scale(1.06); }
.lp-theme-media .badge { position: absolute; top: 14px; left: 14px; }
.lp-theme-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.lp-theme-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.lp-theme-sub { font-size: .84rem; color: var(--slate-500); margin: 0 0 14px; }
.lp-price { padding: 14px 16px; margin-bottom: 16px; border-radius: 16px; background: var(--slate-50); border: 1px dashed var(--slate-200); }
.lp-price small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.lp-price strong { font-size: 1.55rem; color: var(--slate-900); letter-spacing: -.02em; }
.lp-price .free { color: var(--green-600); }
.lp-theme.is-pro .lp-price { background: var(--brand-50); border-color: var(--brand-200); }
.lp-theme.is-pro .lp-price strong { color: var(--brand-700); }
.lp-theme .check-list { flex: 1; margin-bottom: 18px; }
.lp-grow { flex: 1; }

.lp-step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.lp-step { position: relative; padding: 22px 20px 20px; border-radius: 22px; background: var(--slate-50); border: 1px solid var(--slate-100); counter-increment: step; }
.lp-step::before { content: counter(step); position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; color: var(--brand-700); background: var(--brand-100); }
.lp-step-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; font-size: 1.45rem; color: var(--brand-600); background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm); }
.lp-step h3 { font-size: 1rem; margin: 14px 0 6px; }
.lp-step p { margin: 0; font-size: .86rem; color: var(--slate-500); }
@media (min-width: 640px) { .lp-step-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .lp-step-list { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .lp-step:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--brand-200); border-right: 2px solid var(--brand-200); transform: rotate(45deg); }
}

.lp-desa-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-search { position: relative; display: block; min-width: 220px; flex: 1; }
.lp-search .bx { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 1.1rem; }
.lp-search .input { padding-left: 36px; min-height: 40px; border-radius: 999px; }
.lp-desa-badge { font-size: .75rem; padding: 8px 14px; white-space: nowrap; }
.lp-desa tbody.is-collapsed:not(.is-searching) tr.is-extra { display: none; }
.lp-desa-more { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--slate-100); }
.lp-desa-more .is-open .bx { transform: rotate(180deg); }

.lp-cta { padding: 0 0 56px; }
.lp-cta-inner { display: grid; gap: 20px; align-items: center; padding: 32px 24px; border-radius: 28px; color: #dbeafe; text-align: center;
    background: radial-gradient(500px 220px at 100% 0%, rgba(56,189,248,.35), transparent 70%), linear-gradient(135deg, #0f2a6b, #1d4ed8); box-shadow: 0 30px 60px -30px rgba(29,78,216,.7); }
.lp-cta h2 { color: #fff; font-size: clamp(1.4rem, 3.6vw, 2rem); margin-bottom: 6px; }
.lp-cta p { margin: 0; color: #bfdbfe; }
@media (min-width: 900px) { .lp-cta { padding-bottom: 80px; } .lp-cta-inner { grid-template-columns: 1fr auto; text-align: left; padding: 44px 48px; } }
@media (prefers-reduced-motion: reduce) { .lp-browser { transform: none; } }
@media (max-width: 639px) {
    .lp-hero { padding: 32px 0 60px; }
    .lp-point { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; }
    .lp-point .lp-ic { grid-row: span 2; }
    .lp-point h3 { margin: 2px 0 4px; }
    .lp-point-num { top: 12px; right: 16px; font-size: 1.2rem; }
    .lp-step { padding: 18px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
    .lp-step-ic { grid-row: span 2; }
    .lp-step h3 { margin: 4px 0 4px; }
}
.ptable tr[hidden], .lp-desa tr[hidden] { display: none !important; }
