/* Konten halaman InvestPro, mengikuti https://infovesta.com/index2/invest-pro.
   Semua aturan di-scope ke `.mk` agar tidak bentrok dengan template (style.css / Bootstrap). */

/* ---- Header template dibuat solid karena hero berwarna gelap ---- */
#header { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .08); }
main.mk { padding-top: 72px; }

/* ---- Netralkan pengaruh global template di dalam `.mk` ---- */
.mk, .mk *, .mk *::before, .mk *::after { box-sizing: content-box; }
.mk select, .mk button, .mk textarea, .mk input { box-sizing: border-box; }
.mk section { padding: 0; overflow: visible; }
.mk h1, .mk h2, .mk h3, .mk h4 { font-weight: 700; letter-spacing: normal; line-height: 1.6; color: inherit; }
.mk a { text-decoration: underline; }
.mk a.btn { text-decoration: none; }

/* ---- Dasar ---- */
.mk { margin: 0; background: #fff; color: #14223e; font-family: Poppins, "Segoe UI", system-ui, sans-serif; font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.mk a { color: #0059a4; }
.mk a:hover { color: #19305a; }
.mk h1, .mk h2, .mk h3, .mk h4 { font-family: Poppins, "Segoe UI", system-ui, sans-serif; margin: 0; text-wrap: pretty; }
.mk p { margin: 0; }
.mk ul { margin-bottom: 0; }
.mk .wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }
.mk .eyebrow { display: block; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #0059a4; }
.mk .mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.mk .card { display: block; background: #fff; border: 1px solid #dae2ed; border-radius: 14px; box-shadow: none; }

/* ---- Tombol ---- */
.mk .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.mk .btn-primary { background: #0059a4; color: #fff; border-color: #0059a4; }
.mk .btn-primary:hover { background: #19305a; border-color: #19305a; color: #fff; }
.mk .btn-onband { background: #fff; color: #14294e; border-color: #fff; }
.mk .btn-onband:hover { background: #e8eef7; color: #14294e; }
.mk .btn-outline-onband { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.mk .btn-outline-onband:hover { border-color: #fff; color: #fff; }

/* ---- FAQ ---- */
.mk .faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.mk .faq summary::-webkit-details-marker { display: none; }
.mk .faq summary::after { content: "+"; font-size: 24px; color: #0059a4; font-weight: 400; line-height: 1; }
.mk .faq details[open] summary::after { content: "\2013"; }
.mk .faq details { border-bottom: 1px solid #dae2ed; }
.mk .faq details p { padding: 0 0 20px; color: #44516a; max-width: 70ch; }

/* ---- Formulir ---- */
.mk input, .mk select { font: inherit; }
.mk .field { display: flex; flex-direction: column; gap: 6px; }
.mk .field label { font-size: 13.5px; font-weight: 600; color: #19305a; margin: 0; }
.mk .field input, .mk .field select { min-height: 48px; border: 1px solid #c5d1e2; border-radius: 8px; padding: 0 14px; background: #fff; color: #14223e; width: 100%; }
.mk .field input:focus, .mk .field select:focus { outline: 2px solid #0059a4; outline-offset: 1px; }
.mk .form-msg { font-size: 13.5px; }

/* ---- Honeypot anti-bot: disembunyikan dari pengguna ---- */
.mk .hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- Captcha ---- */
.mk .captcha-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk .captcha-row canvas { flex: none; width: 150px; height: 48px; border: 1px solid #c5d1e2; border-radius: 8px; }
.mk .captcha-refresh { flex: none; width: 44px; height: 48px; border: 1px solid #c5d1e2; border-radius: 8px; background: #fff; color: #0059a4; font-size: 20px; line-height: 1; cursor: pointer; }
.mk .captcha-refresh:hover { border-color: #0059a4; background: #e8eef7; }
.mk .captcha-row input { flex: 1 1 120px; min-width: 0; width: auto; text-transform: uppercase; letter-spacing: .15em; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

@media (max-width: 991px) {
    .mk .faq { grid-column: auto !important; }
}

/* ---- Halaman Syarat & Ketentuan ---- */
html { scroll-padding-top: 96px; }
.mk .terms-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.mk .terms-toc { position: sticky; top: 96px; padding: 22px 24px; background: #f4f7fb; }
.mk .terms-toc ol { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mk .terms-toc li::marker { color: #0059a4; font-weight: 600; }
.mk .terms-toc a { color: #44516a; text-decoration: none; }
.mk .terms-toc a:hover { color: #0059a4; }
.mk .terms-body { display: flex; flex-direction: column; max-width: 760px; }
.mk .terms-item { padding: 28px 0; border-bottom: 1px solid #dae2ed; display: flex; flex-direction: column; gap: 10px; }
.mk .terms-item:first-child { padding-top: 0; }
.mk .terms-item:last-child { border-bottom: 0; }
.mk .terms-num { color: #0059a4; font-weight: 600; font-size: 13px; }
.mk .terms-item h2 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; font-weight: 600; color: #14223e; }
.mk .terms-item p { font-size: 15.5px; line-height: 1.75; color: #44516a; }
@media (max-width: 900px) {
    .mk .terms-layout { grid-template-columns: 1fr; gap: 32px; }
    .mk .terms-toc { position: static; }
}

/* ---- Lebar container kontak & footer disamakan dengan `.mk .wrap` ---- */
.contact-band .container, .site-footer .container { max-width: 1280px; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }

/* ---- Blok kontak (pengganti "Butuh bantuan?") ---- */
.contact-band { background: #f4f7fb; border-top: 1px solid #dae2ed; padding: clamp(48px, 5vw, 72px) 0; overflow: visible; }
.contact-band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px; align-items: center; }
.contact-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #0059a4; margin-bottom: 10px; }
.contact-band h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; color: #14223e; margin: 0 0 10px; }
.contact-band p { font-size: 15px; color: #44516a; margin: 0; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #dae2ed; border-radius: 14px; padding: 14px 18px; color: #14223e; transition: border-color .15s, box-shadow .15s, transform .15s; }
.contact-card:hover { color: #14223e; text-decoration: none; border-color: #0059a4; box-shadow: 0 8px 24px rgba(18, 38, 75, .08); transform: translateY(-2px); }
.contact-card small { display: block; font-size: 12.5px; color: #5b687e; }
.contact-card strong { display: block; font-size: 16px; font-weight: 600; }
.contact-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8eef7; color: #0059a4; font-size: 22px; }

/* ---- Footer (mengikuti footer infovesta.com) ---- */
#footer.site-footer { background: #12264b; color: rgba(255, 255, 255, .72); font-size: 14.5px; padding: 0; }
.site-footer .footer-main { padding: clamp(40px, 6vw, 64px) 0 16px; }
.site-footer h3 { color: #fff; font-size: 12.8px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer p { line-height: 1.7; margin: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-logo { max-width: 200px; margin-bottom: 16px; }
.site-footer .footer-social { display: flex; gap: 8px; margin-top: 20px; }
.site-footer .footer-social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 19px; transition: background .15s; }
.site-footer .footer-social a:hover { background: #1f63d1; }
.site-footer .footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .footer-contact i { font-size: 18px; color: #8dbbea; margin-top: 2px; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13.6px; }
.site-footer .footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---- Tombol kembali ke atas ---- */
.back-to-top { background: #1f63d1; width: 44px; height: 44px; border-radius: 50%; right: 16px; bottom: 16px; box-shadow: 0 8px 28px rgba(18, 38, 75, .2); }
.back-to-top i { position: static; display: grid; place-items: center; height: 100%; color: #fff; font-size: 24px; }
.back-to-top:hover { background: #1b3768; }
