/* Footer halaman publik Abang Benerin (palet gelap). Semua aturan dibatasi di .ab-footer agar tidak bentrok dengan Bootstrap. */
.ab-footer { --teal: #0EA4A2; --navy: #1B2E59; --ink: #FFFFFF; --muted: #B7C6E4; --mint: #7FE3E0; --card-surface: rgba(255,255,255,.06); --card-border: rgba(255,255,255,.15); --card-shadow: 0 18px 42px rgba(4,11,26,.35); --divider: rgba(255,255,255,.13); --err-ink: #FFD2D2; --err-border: #FF9A9A; --err-bg: rgba(255,154,154,.14);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; position: relative;
  background: linear-gradient(rgba(7,16,36,.74), rgba(7,16,36,.74)), radial-gradient(900px 620px at 50% 420px, rgba(14,164,162,.40), transparent 70%), radial-gradient(700px 500px at 100% 0, rgba(27,46,89,.90), transparent 70%), linear-gradient(180deg, #0A1630 0%, #0E2A4C 50%, #0A3340 100%);
  border-top: 1px solid var(--card-border) }
.ab-footer *, .ab-footer *::before, .ab-footer *::after { box-sizing: border-box }
.ab-footer p, .ab-footer h4, .ab-footer ul { margin: 0; padding: 0 }
.ab-footer a { text-decoration: none }
.ab-footer a:hover { text-decoration: none }
.ab-footer .wrap-wide { width: 92%; max-width: 1480px; margin: 0 auto }
.ab-footer .footer-inner { padding: 80px 0 0 }

.ab-footer .brand-logo { display: block; width: auto; object-fit: contain; object-position: left center; transition: transform .25s ease }
.ab-footer .brand-logo-footer { height: 102px }
.ab-footer .brand-logo-bottom { height: 68px }
.ab-footer .logo-link { display: inline-flex; align-items: center }
.ab-footer .logo-link:hover .brand-logo-footer { transform: scale(1.05) }

.ab-footer .ab-card { background: var(--card-surface); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px) }

/* Kartu keunggulan */
.ab-footer .trust-card { border-radius: 24px; padding: 32px 48px; margin-bottom: 72px }
.ab-footer .trust-grid { display: flex; justify-content: space-between; align-items: center; gap: 40px }
.ab-footer .trust-item { display: flex; align-items: center; gap: 18px; transition: transform .22s ease }
.ab-footer .trust-item:hover { transform: translateY(-2px) }
.ab-footer .trust-hex { flex-shrink: 0; transition: transform .3s cubic-bezier(.34,1.56,.64,1) }
.ab-footer .trust-item:hover .trust-hex { transform: scale(1.08) rotate(-4deg) }
.ab-footer .trust-title { font-size: 16.5px; font-weight: 800; line-height: 1.35 }
.ab-footer .trust-text { font-size: 13.5px; margin-top: 4px; color: var(--muted) }
@media (min-width: 1025px) { .ab-footer .trust-divider { width: 1px; height: 44px; background: var(--divider); flex-shrink: 0 } }
@media (max-width: 1024px) { .ab-footer .trust-card { padding: 28px 32px; margin-bottom: 52px } .ab-footer .trust-grid { flex-direction: column; align-items: flex-start; gap: 24px } .ab-footer .trust-divider { display: none } }

/* Grid 4 kolom */
.ab-footer .footer-main-grid { display: grid; grid-template-columns: 1.2fr .75fr 1.25fr 1.25fr; column-gap: clamp(32px, 4vw, 64px); row-gap: 48px; align-items: stretch }
@media (max-width: 1180px) { .ab-footer .footer-main-grid { grid-template-columns: repeat(2, 1fr); column-gap: 56px } }
@media (max-width: 680px) { .ab-footer .footer-inner { padding: 56px 0 0 } .ab-footer .footer-main-grid { grid-template-columns: 1fr; gap: 40px } .ab-footer .brand-logo-footer { height: 82px } .ab-footer .brand-logo-bottom { height: 54px } }
.ab-footer .footer-flex-col { display: flex; flex-direction: column; justify-content: space-between; height: 100% }
.ab-footer .footer-about { font-size: 15px; line-height: 1.75; color: var(--muted); margin-top: 22px }
.ab-footer .footer-bottom-anchor { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--divider); min-height: 112px; display: flex; flex-direction: column; justify-content: space-between }
.ab-footer .footer-mini-heading { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--mint) }
.ab-footer .footer-col-heading { margin: 0 0 24px; font-size: 16.5px; font-weight: 800; color: var(--mint); letter-spacing: -.01em }
.ab-footer .footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 18px }
.ab-footer .footer-link { color: var(--muted); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 11px; transition: color .2s ease, transform .2s ease }
.ab-footer .footer-link:hover { color: var(--mint); transform: translateX(5px) }
.ab-footer .link-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--teal); opacity: .45; transition: opacity .2s ease, transform .2s ease }
.ab-footer .footer-link:hover .link-dot { opacity: 1; transform: scale(1.25) }

/* Media sosial */
.ab-footer .social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px }
.ab-footer .social-btn { width: 48px; height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-surface); border: 1px solid var(--card-border); color: var(--ink); transition: all .22s ease }
.ab-footer .social-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(14,164,162,.35) }

/* Kontak */
.ab-footer .contact-stack { display: flex; flex-direction: column; gap: 20px }
.ab-footer .contact-item { display: flex; align-items: center; justify-content: space-between; gap: 14px }
.ab-footer .contact-main { display: flex; align-items: center; gap: 14px; font-size: 14px; min-width: 0 }
.ab-footer .contact-ico { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(14,164,162,.16); color: var(--mint) }
.ab-footer .contact-label { display: block; font-size: 12px; margin-bottom: 2px; color: var(--muted) }
.ab-footer .contact-value { font-weight: 700; font-size: 15px; color: var(--ink); overflow-wrap: break-word }
.ab-footer .contact-value:hover { text-decoration: underline }
.ab-footer .copy-pill { padding: 6px 14px; border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; background: var(--card-surface); border: 1px solid var(--card-border); color: var(--muted); cursor: pointer; flex-shrink: 0; transition: all .2s ease }
.ab-footer .copy-pill:hover { border-color: var(--teal); color: var(--mint); background: rgba(14,164,162,.14) }

/* Tombol toko aplikasi */
.ab-footer .store-badges-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px }
.ab-footer .store-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; flex: 1 1 148px; min-height: 48px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease }
.ab-footer .store-badge:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 10px 22px rgba(14,164,162,.22); color: #fff }
.ab-footer .store-badge small { display: block; font-size: 9.5px; opacity: .8; line-height: 1.2 }
.ab-footer .store-badge strong { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.2 }

/* Newsletter */
.ab-footer .newsletter-card { border-radius: 20px; padding: 32px 36px }
.ab-footer .news-head { display: flex; align-items: center; gap: 14px }
.ab-footer .news-head h4 { font-size: 17px; font-weight: 800; color: var(--mint) }
.ab-footer .news-text { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 16px 0 24px }
.ab-footer .news-fields { display: flex; flex-wrap: wrap; gap: 12px }
.ab-footer .news-input { flex: 1 1 180px; min-width: 0; width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; background: #fff; color: var(--navy); border: 1.5px solid rgba(255,255,255,.25); font-family: inherit; font-size: 14.5px; font-weight: 600; outline: none; transition: border-color .2s ease, box-shadow .2s ease }
.ab-footer .news-input::placeholder { color: #64748B; font-weight: 400 }
.ab-footer .news-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,164,162,.25) }
.ab-footer .news-input.is-error { border-color: var(--err-border); background: var(--err-bg); color: var(--err-ink) }
.ab-footer .news-submit { height: 48px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: #fff; font-family: inherit; font-weight: 700; font-size: 14.5px; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: transform .18s ease, background .2s ease, box-shadow .2s ease }
.ab-footer .news-submit:hover { background: #0C8F8D; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14,164,162,.35) }
.ab-footer .news-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none }
.ab-footer .news-feedback { font-size: 12px; font-weight: 600; margin-top: 10px; display: none }
.ab-footer .news-feedback.show { display: block }
.ab-footer .news-note { font-size: 12px; line-height: 1.6; color: var(--muted); opacity: .85; margin-top: 16px }
.ab-footer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }

/* Baris hak cipta */
.ab-footer .ab-footer-bottom { background: rgba(4,10,24,.88); border-top: 1px solid var(--divider); margin-top: 64px; padding: 32px 0 }
.ab-footer .bottom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px }
@media (max-width: 639px) { .ab-footer .bottom-row { justify-content: center } }
.ab-footer .copyright { font-size: 14px; font-weight: 600; color: var(--muted) }

/* Toast */
.ab-footer .toast-pill { position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-130%); z-index: 2000; display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: #1B2E59; color: #fff; border: 1px solid var(--teal); font-size: 13.5px; font-weight: 700; box-shadow: 0 14px 32px rgba(0,0,0,.35); opacity: 0; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; pointer-events: none }
.ab-footer .toast-pill.show { transform: translateX(-50%) translateY(0); opacity: 1 }
@media (prefers-reduced-motion: reduce) { .ab-footer * { transition: none !important } }
