/* Mode demo: halaman /demo, penanda "Mode demo" di semua halaman, dan halaman fitur-dinonaktifkan. */

/* ── penanda melayang di semua halaman ── */
.demo-pill { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2147483000; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font: 600 12px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; color: #231400; background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.4); text-decoration: none; white-space: nowrap; }
.demo-pill .dot, .demo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); animation: demo-ping 2s infinite; }
@keyframes demo-ping { 70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (max-width: 768px) { .demo-pill { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }   /* di atas navigasi bawah HP */

/* ── halaman /demo ── */
.demo-page { margin: 0; min-height: 100vh; color: #e2e8f0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; background:
  linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
  radial-gradient(1000px 600px at 85% -10%, #10345a 0%, transparent 60%), linear-gradient(180deg, #070d1a, #0c1830); overflow-x: hidden; }
.demo-glow i { position: fixed; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; }
.demo-glow i:first-child { width: 460px; height: 460px; background: #0ea5a0; top: -140px; right: 4%; }
.demo-glow i:last-child { width: 420px; height: 420px; background: #7c3aed; bottom: -160px; left: -80px; opacity: 0.3; }
.demo-wrap { position: relative; max-width: 1120px; margin: 0 auto; padding: 56px 16px 64px; }
.demo-head { max-width: 760px; margin-bottom: 36px; }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: #c4f1ec; background: rgba(20, 184, 166, 0.12); border: 1px solid rgba(45, 212, 191, 0.35); padding: 6px 14px; border-radius: 99px; }
.demo-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.03em; margin: 18px 0 14px; }
.demo-head .grad { background: linear-gradient(120deg, #2dd4bf, #22d3ee 40%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-head p { color: #a9b8cc; font-size: 1.05rem; line-height: 1.65; margin: 0; }
.demo-head b { color: #e2e8f0; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.demo-card { margin: 0; display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, 0.97); color: #0f172a; border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.demo-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.demo-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; }
.demo-card .ic.admin { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.demo-card .ic.tech { background: linear-gradient(135deg, #f97316, #fbbf24); }
.demo-card .ic.collector { background: linear-gradient(135deg, #10b981, #34d399); }
.demo-card .ic.agent { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.demo-card .ic.customer { background: linear-gradient(135deg, #14b8a6, #22d3ee); }
.demo-card h2 { font-size: 1.15rem; margin: 6px 0 0; }
.demo-card p { color: #526077; font-size: 0.9rem; margin: 0; flex: 1; line-height: 1.5; }
.demo-card small { color: #94a3b8; font-size: 0.74rem; }
.demo-card code { background: #f1f5f9; padding: 1px 5px; border-radius: 5px; color: #334155; }
.demo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 700 0.92rem/1 inherit; font-family: inherit; color: #fff; background: linear-gradient(135deg, #0d9488, #0891b2); padding: 12px 16px; border-radius: 12px; text-decoration: none; margin-top: 6px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.demo-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8, 145, 178, 0.35); }
.demo-btn.amber { color: #231400; background: linear-gradient(135deg, #fbbf24, #f97316); }
.demo-btn.ghost { color: #0f172a; background: #f1f5f9; }
.demo-note { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #c3cfdf; }
.demo-note i { color: #2dd4bf; margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .demo-card, .demo-btn { transition: none; } .demo-pill .dot, .demo-tag .dot { animation: none; } }

/* ── halaman fitur dinonaktifkan ── */
.demo-block { margin: 0; min-height: 100vh; display: grid; place-items: center; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #f4f7fb; color: #0f172a; padding: 16px; }
.demo-block main { max-width: 460px; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1); text-align: center; }
.demo-block h1 { font-size: 1.4rem; margin: 0 0 10px; }
.demo-block p { color: #526077; }

/* merek Billing Hybrid di halaman /demo */
.demo-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; color: #fff; text-decoration: none; }
.demo-brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 22px rgba(11, 95, 214, 0.5); }
.demo-brand span { display: inline-flex; gap: 0.28em; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.demo-brand .hy { background: linear-gradient(120deg, #fbbf24, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-brand small { color: #8ea0b8; font-size: 0.8rem; font-weight: 500; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
@media (max-width: 480px) { .demo-brand small { display: none; } }
