/* RM Digital Apps — shared landing style (selaras gaya merge.rmdigital.co.id) */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    font-size: 15px; color: #334155; background: #fff; overflow-x: hidden;
}
a { color: var(--accent, #183ab9); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ---- header ---- */
.sitehead { border-bottom: 1px solid #f1f5f9; position: sticky; top: 0;
    background: rgba(255,255,255,.92); backdrop-filter: blur(6px); z-index: 50; }
.sitehead .wrap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700;
    color: #0f172a; font-size: 15px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .mono { width: 24px; height: 24px; border-radius: 7px; background: #183ab9;
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.brand small { font-weight: 500; color: #64748b; font-size: 13px; }
.sitehead nav { margin-left: auto; display: flex; gap: 14px; font-size: 13px;
    align-items: center; overflow: hidden; }
.sitehead nav a { color: #475569; font-weight: 500; line-height: 1;
    display: inline-flex; align-items: center; height: 30px; }
.cta-sm { background: var(--accent, #183ab9); color: #fff !important;
    padding: 0 14px; border-radius: 8px; font-weight: 600; height: 30px; }
.cta-sm:hover { filter: brightness(.92); text-decoration: none; }

/* ---- hero ---- */
.hero { text-align: center; padding: 64px 16px 40px; }
.hero .badge { display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-size: 12px; font-weight: 600; color: var(--accent, #183ab9);
    background: color-mix(in srgb, var(--accent, #183ab9) 9%, white); }
.hero .logo { display: block; width: 84px; height: 84px; margin: 22px auto 16px;
    border-radius: 20px; box-shadow: 0 8px 24px rgba(15,23,42,.12); }
.hero h1 { font-size: clamp(26px, 4.5vw, 40px); color: #0f172a; margin: 14px 0 0;
    line-height: 1.2; letter-spacing: -.01em; }
.hero p.sub { max-width: 620px; margin: 16px auto 0; font-size: 17px;
    color: #64748b; line-height: 1.6; }
.hero .actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap; }
.btn-hero { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
    border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer;
    border: 1px solid transparent; }
.btn-hero.solid { background: var(--accent, #183ab9); color: #fff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, #183ab9) 25%, transparent); }
.btn-hero.solid:hover { filter: brightness(.92); text-decoration: none; }
.btn-hero.line { border-color: #cbd5e1; color: #334155; background: #fff; }
.btn-hero.line:hover { background: #f8fafc; text-decoration: none; }

/* ---- walkthrough ---- */
.walk { padding: 40px 16px 56px; }
.walk-frame { max-width: 620px; margin: 0 auto; border: 1px solid #e2e8f0;
    border-radius: 14px; background: #fff; overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(15,23,42,.25); }
.chrome { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px; }
.chrome .dots { display: flex; gap: 5px; }
.chrome .dots i { width: 8px; height: 8px; border-radius: 50%; }
.chrome .dots i:nth-child(1) { background: #f87171; }
.chrome .dots i:nth-child(2) { background: #fbbf24; }
.chrome .dots i:nth-child(3) { background: #34d399; }
.chrome .url { flex: 1; min-width: 0; background: #f1f5f9; border-radius: 7px;
    font-size: 11px; color: #64748b; padding: 5px 10px; display: flex;
    align-items: center; gap: 6px; }
.chrome .url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.walk-body { background: #f8fafc; padding: 20px; display: flex; justify-content: center; }
.mock { width: 100%; max-width: 300px; border: 1px solid #e2e8f0; border-radius: 10px;
    background: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.08); overflow: hidden;
    min-height: 300px; display: flex; flex-direction: column; }
.mock .mhead { display: flex; align-items: center; gap: 7px; padding: 8px 12px;
    background: var(--accent, #183ab9); color: #fff; font-size: 11px; font-weight: 600; }
.mock .mhead img { width: 14px; height: 14px; }
.mock .mbody { padding: 12px; font-size: 11px; color: #475569; flex: 1; }
.wstep { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.walk-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.walk-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0;
    background: #cbd5e1; cursor: pointer; transition: all .25s; padding: 0; }
.walk-dots button.on { width: 24px; background: var(--accent, #183ab9); }
.walk-cap { text-align: center; font-size: 12.5px; font-weight: 500;
    color: #64748b; margin-top: 10px; }

/* mock elemen di dalam popup palsu */
.mrow { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.mbtn { border: 1px solid #dfe3e7; border-radius: 5px; padding: 4px 9px;
    font-size: 10px; color: #475569; background: #fff; }
.mbtn.pri { background: var(--accent, #183ab9); border-color: transparent; color: #fff; }
.mbtn.ok { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.mchip { font-size: 9px; padding: 2px 8px; border-radius: 999px; background: #e0e7ff;
    color: #3730a3; font-weight: 600; }
.mchip.ok { background: #d1fae5; color: #047857; }
.mitem { border: 1px solid #e2e8f0; border-radius: 7px; padding: 7px 9px;
    margin-top: 7px; font-size: 10.5px; display: flex; align-items: center; gap: 7px;
    background: #fff; }
.mitem .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; }
.mitem .dots-ic { color: #94a3b8; font-weight: 700; letter-spacing: 1px; }
.minput { border: 1px solid #dfe3e7; border-radius: 5px; padding: 5px 8px;
    font-size: 10.5px; width: 100%; margin-top: 7px; color: #334155; }
.motp { display: flex; gap: 5px; justify-content: center; margin: 10px 0; }
.motp i { width: 26px; height: 34px; border: 1.5px solid #cbd5e1; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; font-style: normal;
    font-weight: 700; font-size: 14px; color: #0f172a; font-family: Consolas, monospace; }
.mbar { height: 5px; border-radius: 3px; background: #e2e8f0; overflow: hidden; margin-top: 6px; }
.mbar i { display: block; height: 100%; background: var(--accent, #183ab9); }
.mtree { font-family: Consolas, monospace; font-size: 10px; color: #475569;
    line-height: 1.7; margin-top: 8px; }
.mhint { font-size: 9.5px; color: #94a3b8; margin-top: 8px; }

/* ---- fitur ---- */
.features { background: #f8fafc; padding: 56px 16px; }
.features h2, .section h2 { text-align: center; color: #0f172a; font-size: 24px;
    margin: 0 0 8px; }
.features .lead, .section .lead { text-align: center; color: #64748b; margin: 0 auto 32px;
    max-width: 560px; }
.fgrid { display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 14px; max-width: 960px; margin: 0 auto; }
.fcard { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 18px; }
.fcard .ic { width: 36px; height: 36px; border-radius: 9px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 10px;
    background: color-mix(in srgb, var(--accent, #183ab9) 10%, white);
    color: var(--accent, #183ab9); }
.fcard h3 { margin: 0 0 6px; font-size: 14.5px; color: #0f172a; }
.fcard p { margin: 0; font-size: 12.5px; color: #64748b; line-height: 1.55; }

/* ---- section umum ---- */
.section { padding: 56px 16px; }
.prose { max-width: 680px; margin: 0 auto; font-size: 14px; color: #475569;
    line-height: 1.7; }
.prose h3 { color: #0f172a; font-size: 16px; margin: 22px 0 6px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 5px; }
.prose code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px;
    font-size: 12.5px; }
.notebox { border: 1px solid #fde68a; background: #fffbeb; border-radius: 10px;
    padding: 12px 16px; font-size: 13px; color: #92400e; margin-top: 16px; }
.okbox { border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 10px;
    padding: 12px 16px; font-size: 13px; color: #065f46; margin-top: 16px; }

/* ---- kartu aplikasi (hub) ---- */
.apps { display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 18px; max-width: 720px; margin: 0 auto; }
.appcard { display: block; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 26px; background: #fff; transition: all .2s; color: inherit; }
.appcard:hover { border-color: var(--ac, #183ab9); text-decoration: none;
    box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--ac, #183ab9) 35%, transparent);
    transform: translateY(-2px); }
.appcard img { width: 52px; height: 52px; border-radius: 13px; }
.appcard h3 { margin: 14px 0 6px; color: #0f172a; font-size: 18px; }
.appcard p { margin: 0; color: #64748b; font-size: 13.5px; line-height: 1.6; }
.appcard .go { margin-top: 14px; font-size: 13px; font-weight: 600;
    color: var(--ac, #183ab9); }

/* ---- footer ---- */
footer { border-top: 1px solid #f1f5f9; padding: 26px 16px; font-size: 12.5px;
    color: #94a3b8; }
footer .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
footer .r { margin-left: auto; display: flex; gap: 14px; }

@media (max-width: 560px) {
    .hero { padding: 44px 16px 32px; }
    .sitehead nav a.hide-sm { display: none; }
}
