/* ============ Panduan Instalasi ============ */
.nav__links--plain { display: flex; }
.g-hero { padding: 56px 0 8px; }
.g-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 10px; }

.g-tabs { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; }
.g-tabs button { font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--muted); background: none; border: 0; border-radius: 9px; padding: 9px 18px; cursor: pointer; }
.g-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 32, 50, 0.12); }
.g-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.g-body { padding: 24px 0 80px; }
.g-os[hidden] { display: none; }

.g-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.g-step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.g-text h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.g-text h3::before { content: counter(step); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; color: #fff; background: var(--accent); }
.g-text p { color: var(--muted); margin-bottom: 10px; }
.g-text b { color: var(--ink); font-weight: 600; }
.g-text a, .g-faq a { color: var(--accent-dark); text-decoration: underline; }
.g-text code, .g-faq code { font-size: 0.85em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; word-break: break-all; }
.g-tip { font-size: 0.9rem; }

.g-shot { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; place-items: center; min-height: 230px; }

/* "Klik di sini" marker on mockups */
.hl { position: relative; outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; animation: g-pulse 1.8s ease-in-out infinite; }
@keyframes g-pulse { 0%, 100% { outline-color: var(--accent); } 50% { outline-color: color-mix(in srgb, var(--accent) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { .hl { animation: none; } }

/* --- shared mockup bits --- */
.m-appicon { width: 40px; height: 40px; flex: none; }
.m-appicon--lg { width: 56px; height: 56px; }
.m-fileicon { width: 38px; height: 46px; flex: none; border-radius: 6px; background: #fff; border: 1px solid #cfd6df; display: grid; place-items: end center; font-size: 0.6rem; font-weight: 700; color: #3c6fd6; padding-bottom: 6px; }

/* Browser + download */
.m-browser { width: 100%; max-width: 380px; background: #fff; border: 1px solid #d5dbe3; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.m-browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f5; border-bottom: 1px solid #dde2e8; }
.m-browser__bar > span { width: 9px; height: 9px; border-radius: 50%; background: #c9d0d9; }
.m-url { margin-left: 8px; flex: 1; font-size: 0.72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.m-dl { padding: 22px 16px; }
.m-dl__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #e3e7ed; font-size: 0.82rem; }
.m-dl__item small { display: block; color: var(--muted); }

/* Windows SmartScreen + window */
.m-smart { width: 100%; max-width: 380px; background: #1f5ea8; color: #fff; padding: 22px 22px 16px; font-family: "Segoe UI", system-ui, sans-serif; box-shadow: var(--shadow); }
.m-smart h4 { font-size: 1.3rem; font-weight: 400; margin: 0 0 10px; }
.m-smart p { font-size: 0.8rem; margin-bottom: 10px; opacity: 0.95; }
.m-smart__meta { opacity: 0.85; }
.m-link { display: inline-block; font-size: 0.82rem; text-decoration: underline; padding: 1px 4px; }
.m-smart__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.m-wbtn { display: inline-block; font-size: 0.8rem; padding: 6px 18px; border: 1px solid rgba(255, 255, 255, 0.8); color: inherit; border-radius: 2px; }
.m-win { width: 100%; max-width: 380px; background: #fff; border: 1px solid #c8ced6; box-shadow: var(--shadow); font-family: "Segoe UI", system-ui, sans-serif; font-size: 0.8rem; }
.m-win__title { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #e6e9ee; }
.m-wizard { display: flex; gap: 14px; padding: 22px 16px; }
.m-wizard p { color: var(--muted); margin-top: 4px; }
.m-win__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; background: #f3f4f6; border-top: 1px solid #e6e9ee; }
.m-win__foot .m-wbtn { border-color: #adb5bf; color: var(--ink); background: #fff; }

/* macOS window, alert, settings */
.m-mac { width: 100%; max-width: 400px; background: #fff; border: 1px solid #d5dbe3; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-family: -apple-system, system-ui, sans-serif; font-size: 0.8rem; }
.m-mac__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f2f4; border-bottom: 1px solid #e2e4e8; }
.m-mac__bar > span { width: 10px; height: 10px; border-radius: 50%; }
.m-mac__bar .r { background: #ff5f57; } .m-mac__bar .y { background: #febc2e; } .m-mac__bar .g { background: #28c840; }
.m-mac__bar > div { flex: 1; text-align: center; color: #555; font-weight: 600; margin-right: 40px; }
.m-dmg { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 30px 16px; }
.m-dmg__app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; }
.m-dmg__app .m-appicon { width: 54px; height: 54px; }
.m-dmg__arrow { font-size: 1.8rem; color: #9aa4b1; }
.m-folder { width: 58px; height: 46px; border-radius: 6px; background: linear-gradient(#6fb6ff, #3c8ef0); position: relative; }
.m-folder::before { content: ""; position: absolute; left: 4px; top: -6px; width: 22px; height: 9px; border-radius: 4px 4px 0 0; background: #5aa6fb; }
.m-alert { width: 100%; max-width: 280px; background: #fff; border-radius: 14px; padding: 22px 18px 16px; text-align: center; box-shadow: var(--shadow); font-family: -apple-system, system-ui, sans-serif; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.m-alert b { font-size: 0.9rem; }
.m-alert p { font-size: 0.75rem; color: #555; margin-bottom: 6px; }
.m-mbtn { display: block; width: 100%; font-size: 0.8rem; font-weight: 500; padding: 6px; border-radius: 7px; background: #0a84ff; color: #fff; }
.m-mbtn--plain { background: #e9e9eb; color: #222; }
.m-mbtn--sm { display: inline-block; width: auto; padding: 4px 12px; background: #e9e9eb; color: #222; white-space: nowrap; }
.m-settings { display: grid; grid-template-columns: 120px 1fr; min-height: 150px; }
.m-settings__side { background: #f5f5f7; border-right: 1px solid #e2e4e8; padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.m-settings__side span { padding: 4px 8px; border-radius: 6px; color: #444; }
.m-settings__side .on { background: #0a84ff; color: #fff; }
.m-settings__main { padding: 14px; }
.m-settings__main small { display: block; font-weight: 600; color: #666; margin-bottom: 8px; }
.m-row { display: flex; align-items: center; gap: 10px; background: #f7f7f9; border: 1px solid #ececf0; border-radius: 8px; padding: 10px; }
.m-row p { font-size: 0.75rem; color: #333; }

/* Linux terminal */
.m-term { width: 100%; max-width: 420px; background: #1d2129; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.m-term__bar { display: flex; gap: 6px; padding: 9px 12px; background: #2a2f39; }
.m-term__bar span { width: 9px; height: 9px; border-radius: 50%; background: #4a5160; }
.m-term pre { margin: 0; padding: 16px; color: #e6e9ef; font-size: 0.75rem; line-height: 1.8; white-space: pre-wrap; word-break: break-all; }
.m-term .p { color: #8fd18f; }

/* Geotech activation card */
.m-app { width: 100%; max-width: 380px; background: #f3f4f6; border-radius: 12px; padding: 26px 18px; box-shadow: var(--shadow); }
.m-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; }
.m-card b { font-size: 0.95rem; }
.m-card p { color: var(--muted); font-size: 0.75rem; }
.m-input { border: 1px solid #cfd5dc; border-radius: 7px; padding: 8px 10px; font-family: ui-monospace, Menlo, monospace; font-size: 0.68rem; color: #333; word-break: break-all; }
.m-abtn { align-self: flex-start; background: var(--accent); color: #fff; font-weight: 600; padding: 7px 16px; border-radius: 7px; }

/* FAQ */
.g-faq { margin-top: 56px; max-width: 760px; }
.g-faq h2 { font-size: 1.6rem; margin-bottom: 16px; }
.g-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.g-faq summary { font-weight: 600; cursor: pointer; }
.g-faq details p { color: var(--muted); margin-top: 10px; }
.g-faq pre { margin: 10px 0 0; background: var(--navy); color: #e6edf5; border-radius: var(--radius-sm); padding: 12px 14px; overflow-x: auto; font-size: 0.85rem; }
.g-faq pre code { background: none; border: 0; padding: 0; color: inherit; }
.g-help { margin-top: 18px; color: var(--muted); }

@media (max-width: 820px) {
  .g-step { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .g-shot { padding: 18px; min-height: 0; }
  .g-tabs { display: flex; width: 100%; }
  .g-tabs button { flex: 1; padding: 9px 8px; }
}
