/*!
 * MASAJID.ID — lapisan tampilan situs publik 2026: biru malam & emas, kedalaman 3D, gerak halus.
 * Dimuat setelah public.css, masajid.css dan landing.css.
 */
.mj { --navy: #0B1F44; --navy-2: #12305F; --deep: #071530; --royal: #1F5BC4; --gold: #E2B34A; --gold-2: #F4D77A; --gold-ink: #7A5710; --ink: #0F1B33; --soft: #B2BFD6; scroll-behavior: smooth; }
.mj h1, .mj h2 { font-family: 'Amiri', 'Times New Roman', serif; letter-spacing: 0; }
[lang=ar] .mj h1, [lang=ar] .mj h2 { line-height: 1.5; }
.mj ::selection { background: rgba(226, 179, 74, .35); }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* ---------- Kepala situs ----------------------------------------------------------------------- */
.mj-header { background: rgba(8, 21, 48, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(226, 179, 74, .22); transition: box-shadow .3s, background .3s; }
.mj-header.is-stuck { background: rgba(7, 21, 48, .95); box-shadow: 0 14px 40px rgba(4, 10, 26, .35); }
.mj-header-in { min-height: 68px; }
.mj-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
[dir=rtl] .mj-progress { transform-origin: 100% 50%; }
.mj-brand .brand-logo { color: var(--gold); }
.mj-brand em { color: var(--gold); font-style: normal; }
.mj-nav > a, .mj-nav > details > summary { position: relative; font-weight: 600; transition: color .2s; }
.mj-nav > a:not(.btn)::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.mj-nav > a:not(.btn):hover::after, .mj-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.mj-nav > a[aria-current="page"] { color: var(--gold-2) !important; }
.mj-drop-menu { border-radius: 16px; border: 1px solid rgba(226, 179, 74, .35); box-shadow: 0 30px 70px rgba(4, 10, 26, .35); padding: 8px; }
.mj-drop-menu a { border-radius: 10px; transition: background .15s, transform .15s; }
.mj-drop-menu a:hover { background: #EEF3FC; transform: translateX(3px); }
[dir=rtl] .mj-drop-menu a:hover { transform: translateX(-3px); }
.mj-mega { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mj-mega a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 10px 12px; }
.mj-mega a .mi { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #12305F, #0B1F44); color: var(--gold-2); }
.mj-mega a .mi svg { width: 20px !important; height: 20px !important; }
.mj-mega a b { align-self: end; }
.mj-mega a small { align-self: start; }
@media (max-width: 960px) { .mj-mega { min-width: 0; grid-template-columns: 1fr; } }
.mj-btn, .mj .btn.mj-btn, .mj .btn.sun, .mj .btn.gold { position: relative; overflow: hidden; background: linear-gradient(180deg, #F4D77A, #E2B34A); border-color: #D4A43C; color: #0B1F44 !important; font-weight: 800; box-shadow: 0 8px 22px rgba(226, 179, 74, .35); transition: transform .2s, box-shadow .2s; }
.mj-btn:hover, .mj .btn.mj-btn:hover, .mj .btn.sun:hover, .mj .btn.gold:hover { background: linear-gradient(180deg, #F8E08F, #E8BC56); border-color: #D4A43C; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(226, 179, 74, .45); }
.mj-btn::after, .mj .btn.sun::after, .mj .btn.gold::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-180%) skewX(-18deg); transition: transform .7s ease; pointer-events: none; }
.mj-btn:hover::after, .mj .btn.sun:hover::after, .mj .btn.gold:hover::after { transform: translateX(380%) skewX(-18deg); }
.mj .btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.mj .btn.line { border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .2s, background .2s, transform .2s; }
.mj .btn.line:hover { border-color: var(--gold-2); background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.mj .btn.navy, .mj .btn.ghost { transition: transform .2s, box-shadow .2s, border-color .2s; }
.mj .btn.navy:hover, .mj .btn.ghost:hover { transform: translateY(-2px); }

/* ---------- Pahlawan 3D ------------------------------------------------------------------------ */
.hx { position: relative; overflow: hidden; background: radial-gradient(1200px 700px at 78% 30%, #173A7A 0%, rgba(23, 58, 122, 0) 60%), linear-gradient(180deg, #071530 0%, #0B1F44 55%, #0A1A3A 100%); color: #fff; padding: 76px 0 92px; }
.hx::before { content: ''; position: absolute; inset: 0; background: url(../img/landing/girih-gold.svg) 0 0 / 150px; opacity: .07; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.hx-stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hx-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; border: 1px solid rgba(226, 179, 74, .45); background: rgba(226, 179, 74, .1); color: var(--gold-2); font-size: 13.5px; font-weight: 700; }
.hx-eyebrow b { padding: 3px 10px; border-radius: 999px; background: linear-gradient(180deg, #F4D77A, #E2B34A); color: #0B1F44; font-size: 12px; letter-spacing: .04em; }
.hx h1 { margin: 20px 0 16px; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; color: #fff; text-wrap: balance; }
.hx h1 em { font-style: normal; background: linear-gradient(180deg, #F8E08F, #E2B34A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx .lead { color: #C9D6EE; font-size: 18px; line-height: 1.65; max-width: 560px; }
.hx .lp-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hx .lp-quick { margin-top: 22px; display: flex; gap: 8px; max-width: 520px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hx .lp-quick input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .96); color: #0F1B33; font: inherit; }
.hx .lp-quick .btn { white-space: nowrap; border-radius: 11px; }
.hx .lp-note { margin-top: 12px; color: #9FB1D3; font-size: 13.5px; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; color: #C9D6EE; font-size: 14px; }
.hx-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hx-chips svg { width: 18px !important; height: 18px !important; color: var(--gold); }

.hx-stage { position: relative; height: 520px; perspective: 1500px; perspective-origin: 50% 40%; }
.hx-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(7deg + var(--py, 0deg))) rotateY(calc(-17deg + var(--px, 0deg))); transition: transform .35s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.hx-tv { position: absolute; left: 0; top: 7%; width: 96%; transform-style: preserve-3d; animation: hx-float 9s ease-in-out infinite; }
.hx-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #050B1A; border: 9px solid #0A0F1C; box-shadow: 0 0 0 1.5px rgba(226, 179, 74, .55), 0 50px 90px rgba(2, 6, 18, .65), 0 0 120px rgba(31, 91, 196, .35); }
.hx-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hx-screen img.on { opacity: 1; }
.hx-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 28%); pointer-events: none; }
.hx-stand { display: block; width: 26%; height: 16px; margin: 0 auto; background: linear-gradient(180deg, #1A2540, #0A0F1C); border-radius: 0 0 14px 14px; transform: translateZ(-20px); }
.hx-shadow { position: absolute; left: 12%; right: 12%; bottom: 3%; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 6, 18, .7), rgba(2, 6, 18, 0)); transform: translateZ(-80px) rotateX(80deg); }
.hx-card { position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(9, 24, 54, .72); border: 1px solid rgba(226, 179, 74, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px rgba(2, 6, 18, .5); color: #fff; }
.hx-c1 { right: -1%; top: 2%; transform: translateZ(150px); animation: hx-float 7s ease-in-out -2s infinite; }
.hx-c1 small { display: block; color: #C9D6EE; font-size: 12.5px; font-weight: 600; }
.hx-c1 b { display: block; font-size: 30px; font-weight: 800; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1.15; }
.hx-c2 { left: -3%; bottom: 13%; transform: translateZ(210px); display: flex; align-items: center; gap: 12px; animation: hx-float 8s ease-in-out -4s infinite; }
.hx-c2 .n { font-family: 'Amiri', serif; font-size: 40px; line-height: 1; font-weight: 700; color: var(--gold-2); }
.hx-c2 span { font-size: 13px; line-height: 1.35; color: #C9D6EE; font-weight: 600; }
.hx-phone { position: absolute; right: 3%; bottom: -2%; width: 23%; border-radius: 22px; overflow: hidden; border: 6px solid #0A0F1C; box-shadow: 0 0 0 1.5px rgba(226, 179, 74, .5), 0 30px 60px rgba(2, 6, 18, .6); transform: translateZ(120px) rotateY(10deg); animation: hx-float 10s ease-in-out -1s infinite; }
.hx-phone img { display: block; width: 100%; height: auto; }
.hx-star { position: absolute; left: 0; top: -2%; width: 120px; height: 120px; opacity: .9; transform: translateZ(-140px); animation: hx-spin 60s linear infinite; }
@keyframes hx-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }
@keyframes hx-spin { to { transform: translateZ(-140px) rotate(360deg); } }
.hx-scroll { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.hx-scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: hx-wheel 1.8s ease-in-out infinite; }
@keyframes hx-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1000px) {
  .hx { padding: 44px 0 70px; }
  .hx-grid { grid-template-columns: 1fr; gap: 20px; }
  .hx-stage { height: auto; aspect-ratio: 16 / 12.5; max-width: 620px; width: 100%; margin: 0 auto; perspective: 1100px; }
  .hx-scene { transform: rotateX(5deg) rotateY(-9deg); }
  .hx-c1 b { font-size: 22px; } .hx-c2 .n { font-size: 30px; } .hx-card { padding: 10px 14px; border-radius: 14px; }
  .hx-star { width: 80px; height: 80px; }
  .hx-scroll { display: none; }
}

/* ---------- Kepala bagian & kemunculan saat digulir -------------------------------------------- */
.lp-head h2, .mj-head h2, .band-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; color: var(--navy); text-wrap: balance; }
.lp-kicker, .mj-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.lp-kicker::before, .mj-eyebrow::before { content: ''; width: 14px; height: 14px; background: url(../img/landing/star8.svg) center / contain no-repeat; }
.mj-hero .mj-eyebrow { color: var(--gold-2); }
.js-anim .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-anim .rv.rv3d { transform: perspective(1200px) rotateX(14deg) translateY(40px); transform-origin: 50% 100%; }
.js-anim .rv.in { opacity: 1; transform: none; }

/* ---------- Koleksi desain (coverflow 3D) ------------------------------------------------------ */
.lp-sec.dark, .mj-band.dark { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 50% 0%, #173A7A 0%, rgba(23, 58, 122, 0) 70%), linear-gradient(180deg, #0B1F44, #071530); color: #fff; }
.lp-sec.dark .lp-head h2, .mj-band.dark h2 { color: #fff; }
.lp-sec.dark .lp-head p, .mj-band.dark .lead { color: #C9D6EE; }
.lp-sec.dark .lp-kicker { color: var(--gold-2); }
.cf { position: relative; height: 440px; margin-top: 30px; perspective: 1400px; outline: none; }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-item { position: absolute; left: 50%; top: 20px; width: min(600px, 72vw); margin: 0 0 0 calc(min(600px, 72vw) / -2); transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s, filter .7s; cursor: pointer; will-change: transform; }
.cf-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid rgba(226, 179, 74, .5); box-shadow: 0 40px 80px rgba(2, 6, 18, .6); background: #050B1A; }
.cf-item figcaption { margin-top: 16px; text-align: center; opacity: 0; transition: opacity .5s; }
.cf-item.on figcaption { opacity: 1; }
.cf-item figcaption b { display: block; font-family: 'Amiri', serif; font-size: 26px; color: #fff; }
.cf-item figcaption span { color: var(--gold-2); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cf-nav { position: absolute; top: 150px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(226, 179, 74, .6); background: rgba(9, 24, 54, .8); color: var(--gold-2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.cf-nav:hover { transform: scale(1.08); background: #12305F; }
.cf-nav svg { width: 22px !important; height: 22px !important; }
.cf-prev { left: max(8px, calc(50% - 420px)); } .cf-prev svg { transform: scaleX(-1); }
.cf-next { right: max(8px, calc(50% - 420px)); }
.cf-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.cf-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #DCE6F8; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.cf-cats a:hover { border-color: var(--gold); background: rgba(226, 179, 74, .12); color: var(--gold-2); }
.lp-sec.dark .lp-links { justify-content: center; margin-top: 22px; }
@media (max-width: 720px) { .cf { height: 330px; } .cf-nav { top: 96px; width: 42px; height: 42px; } .cf-item figcaption b { font-size: 21px; } }

/* ---------- Kartu 3D (latar, fitur, paket) ------------------------------------------------------ */
.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; will-change: transform; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.trio article { position: relative; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #DCE4F0; box-shadow: 0 16px 40px rgba(11, 31, 68, .08); }
.trio article:hover { border-color: rgba(226, 179, 74, .8); box-shadow: 0 30px 60px rgba(11, 31, 68, .18); }
.trio .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0B1F44; }
.trio .art img { width: 100%; height: 100%; object-fit: cover; display: block; transform: translateZ(0) scale(1.02); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.trio article:hover .art img { transform: scale(1.1); }
.trio .art .tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(9, 24, 54, .78); border: 1px solid rgba(226, 179, 74, .55); color: var(--gold-2); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[dir=rtl] .trio .art .tag { left: auto; right: 14px; }
.trio .art .tag svg { width: 15px !important; height: 15px !important; }
.trio .art .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0B1F44; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(2, 6, 18, .45); }
.trio .art .play svg { width: 24px !important; height: 24px !important; margin-left: 3px; fill: currentColor; }
.trio .txt { padding: 20px 22px 24px; transform: translateZ(30px); }
.trio h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.trio p { color: #5A6883; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.lp-feats article, .mj-features .fcard, .lp-plan, .plan-card, .lp-solutions article, .mj-solutions article { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.lp-feats article:hover, .mj-features .fcard:hover, .lp-solutions article:hover, .mj-solutions article:hover { transform: translateY(-6px); border-color: rgba(226, 179, 74, .8); box-shadow: 0 24px 50px rgba(11, 31, 68, .14); }
.lp-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-feats article { display: block; padding: 24px 22px 22px; border: 1px solid #DCE4F0; border-radius: 20px; background: #F8FAFE; box-shadow: 0 10px 26px rgba(11, 31, 68, .05); }
.lp-feats .ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin-bottom: 14px; }
.lp-feats h3 { margin-bottom: 6px; }
@media (max-width: 1000px) { .lp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-feats { grid-template-columns: minmax(0, 1fr); } }
.lp-feats .ico, .mj-features .ico { background: linear-gradient(160deg, #12305F, #0B1F44); color: var(--gold-2); border-radius: 14px; box-shadow: 0 10px 22px rgba(11, 31, 68, .22); }
.appx .lp-ticks { margin: 4px 0 24px; }
.appx .lp-ticks li::before { background-color: var(--gold); }
.lp-plan.top, .plan-card.featured { border-color: var(--gold); box-shadow: 0 30px 70px rgba(11, 31, 68, .2), 0 0 0 1px var(--gold) inset; }
.lp-plan:hover, .plan-card:hover { transform: translateY(-6px); }
.lp-today-card { border-radius: 22px; border: 1px solid rgba(226, 179, 74, .35); box-shadow: 0 30px 70px rgba(11, 31, 68, .16); }
.lp-times .next { box-shadow: 0 14px 30px rgba(11, 31, 68, .28); }
.lp-cycle-view .screen, .lp-orient-art img, .lp-setup-art .tv, .lp-phones figure, .lp-setup-art .ph { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(11, 31, 68, .25); border: 1px solid rgba(226, 179, 74, .35); }
.lp-phones figure, .lp-setup-art .ph { border-radius: 26px; border: 6px solid #0A0F1C; }
.lp-phones { perspective: 1200px; }
.lp-phones figure:nth-child(1) { transform: rotateY(16deg) translateZ(-30px); }
.lp-phones figure:nth-child(3) { transform: rotateY(-16deg) translateZ(-30px); }
.lp-phones figure { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lp-phones:hover figure { transform: none; }
.lp-faq details { border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.lp-faq details[open] { border-color: rgba(226, 179, 74, .7); box-shadow: 0 14px 34px rgba(11, 31, 68, .1); }
.lp-final { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 50% 120%, #1F5BC4 0%, rgba(31, 91, 196, 0) 70%), linear-gradient(180deg, #0B1F44, #071530); }
.lp-final::before { content: ''; position: absolute; inset: 0; background: url(../img/landing/girih-gold.svg) 0 0 / 140px; opacity: .08; pointer-events: none; }

/* ---------- Aplikasi Android TV --------------------------------------------------------------- */
.appx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.appx-art { position: relative; perspective: 1200px; }
.appx-art .tvx { border-radius: 16px; overflow: hidden; border: 10px solid #0A0F1C; box-shadow: 0 0 0 1.5px rgba(226, 179, 74, .55), 0 40px 80px rgba(11, 31, 68, .35); transform: rotateY(12deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.appx-art:hover .tvx { transform: none; }
.appx-art .tvx img { display: block; width: 100%; height: auto; }
.appx-art .remote { position: absolute; right: 4%; bottom: -8%; width: 74px; height: 210px; border-radius: 22px; background: linear-gradient(180deg, #1B2742, #0A0F1C); border: 1px solid rgba(226, 179, 74, .5); box-shadow: 0 24px 50px rgba(2, 6, 18, .45); transform: translateZ(80px) rotate(8deg); }
.appx-art .remote::before { content: ''; position: absolute; left: 50%; top: 26px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; border: 2px solid rgba(226, 179, 74, .8); }
.appx-art .remote::after { content: ''; position: absolute; left: 50%; top: 86px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #E2B34A; box-shadow: -18px 22px 0 #33415E, 18px 22px 0 #33415E, 0 44px 0 #33415E; }
.appx .ticks { margin: 18px 0 24px; }
.appx .dl-meta { display: block; margin-top: 10px; color: #5A6883; font-size: 13.5px; }
@media (max-width: 900px) { .appx { grid-template-columns: 1fr; gap: 34px; } .appx-art .remote { display: none; } }

/* ---------- Halaman dalam (mj-*) ---------------------------------------------------------------- */
.mj-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 85% 0%, #173A7A 0%, rgba(23, 58, 122, 0) 65%), linear-gradient(180deg, #071530, #0B1F44); }
.mj-hero::before { content: ''; position: absolute; inset: 0; background: url(../img/landing/girih-gold.svg) 0 0 / 150px; opacity: .07; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.mj-hero > * { position: relative; }
.mj-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; text-wrap: balance; }
.mj-hero .lead { color: #C9D6EE; }
.mj-band .ticks li::before { color: var(--gold-ink); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.dl-actions .btn svg { width: 20px !important; height: 20px !important; }
.dl-meta { color: #C9D6EE; font-size: 14px; }
.dl-steps { counter-reset: dl; list-style: none; margin: 30px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dl-steps li { counter-increment: dl; position: relative; padding: 56px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #DCE4F0; box-shadow: 0 12px 30px rgba(11, 31, 68, .06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.dl-steps li:hover { transform: translateY(-6px); border-color: rgba(226, 179, 74, .8); box-shadow: 0 24px 50px rgba(11, 31, 68, .14); }
.dl-steps li::before { content: counter(dl); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #12305F, #0B1F44); color: var(--gold-2); font-weight: 800; }
[dir=rtl] .dl-steps li::before { left: auto; right: 18px; }
.dl-steps b { display: block; color: var(--navy); margin-bottom: 6px; }
.dl-steps span { color: #5A6883; font-size: 14px; line-height: 1.55; }
@media (max-width: 1000px) { .dl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dl-steps { grid-template-columns: 1fr; } }
.dl-hash { padding: 12px 14px; border-radius: 12px; background: #0B1F44; overflow-x: auto; }
.dl-hash code { color: var(--gold-2); font-size: 12.5px; white-space: nowrap; }

/* Galeri desain publik */
.tg-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 22px; }
.tg-search { flex: 1 1 280px; max-width: 420px; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid #C6D2E4; font: inherit; background: #fff; }
.tg-search:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(31, 91, 196, .12); }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.tg-chips button { padding: 8px 16px; border-radius: 999px; border: 1px solid #C6D2E4; background: #fff; color: #33425C; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.tg-chips button:hover { border-color: var(--navy); }
.tg-chips button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tg-count { color: #5A6883; font-size: 14px; }
.tg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); perspective: 1600px; }
.tg-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #DCE4F0; box-shadow: 0 12px 30px rgba(11, 31, 68, .07); color: inherit !important; text-decoration: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.tg-card[hidden] { display: none; }
.tg-card:hover { transform: translateY(-8px) rotateX(3deg); border-color: rgba(226, 179, 74, .9); box-shadow: 0 34px 70px rgba(11, 31, 68, .2); }
.tg-card .shot { position: relative; aspect-ratio: 16 / 9; background: #0B1F44; overflow: hidden; }
.tg-card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tg-card.portrait .shot img { object-fit: contain; }
.tg-card:hover .shot img { transform: scale(1.06); }
.tg-card .shot .go { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7, 21, 48, .55); color: #fff; font-weight: 800; opacity: 0; transition: opacity .3s; }
.tg-card:hover .shot .go, .tg-card:focus-visible .shot .go { opacity: 1; }
.tg-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.tg-card .meta b { font-size: 15.5px; color: var(--navy); }
.tg-card .meta span { padding: 3px 10px; border-radius: 999px; background: #EEF3FC; color: #33425C; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tg-empty { padding: 40px 12px; text-align: center; color: #5A6883; }

/* ---------- Kaki situs & ke atas ---------------------------------------------------------------- */
.mj-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #0A1A3A, #071530); border-top: 1px solid rgba(226, 179, 74, .25); }
.mj-footer::before { content: ''; position: absolute; inset: 0; background: url(../img/landing/girih-gold.svg) 0 0 / 150px; opacity: .05; pointer-events: none; }
.mj-footer > * { position: relative; }
.mj-footer .foot-col h2 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--gold-2); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.mj-footer .foot-col a { transition: color .2s, transform .2s; display: block; }
.mj-footer .foot-col a:hover { color: var(--gold-2); transform: translateX(3px); }
[dir=rtl] .mj-footer .foot-col a:hover { transform: translateX(-3px); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(226, 179, 74, .7); background: #0B1F44; color: var(--gold-2); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 30px rgba(7, 21, 48, .35); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px !important; height: 20px !important; }
[dir=rtl] .to-top { right: auto; left: 20px; }

@media (max-width: 560px) {
  .hx .lp-quick { flex-direction: column; }
  .hx .lp-quick input { flex: none; width: 100%; height: 46px; }
  .hx .lp-actions .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
}
@media print { .js-anim .rv { opacity: 1 !important; transform: none !important; } .to-top, .hx-stars { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .hx-tv, .hx-card, .hx-phone, .hx-star, .hx-scroll::after { animation: none !important; }
  .js-anim .rv { transform: none !important; transition: opacity .7s ease !important; }
  .cf-item, .tilt, .tg-card, .mj-btn::after { transition: none !important; }
  html, .mj { scroll-behavior: auto; }
}

/* ---------- /donasi: kartu program infaq dari masjid di direktori ---------- */
.dn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dn-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; border: 1px solid #DCE4F0; background: #fff; text-decoration: none; color: #131C2B; box-shadow: 0 10px 26px rgba(11, 31, 68, .06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.dn-card:hover { transform: translateY(-4px); border-color: rgba(226, 179, 74, .7); box-shadow: 0 20px 44px rgba(11, 31, 68, .12); color: #131C2B; }
.dn-card b { font-size: 18px; line-height: 1.3; }
.dn-mosque { font-size: 13px; font-weight: 800; color: #7A5410; letter-spacing: .02em; }
.dn-mosque em { font-style: normal; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: #FBE3A8; color: #6E4A0B; font-size: 11px; }
.dn-city { font-size: 14px; color: #5C6779; }
.dn-bar { display: block; height: 8px; margin-top: 6px; border-radius: 999px; background: #E8ECF4; overflow: hidden; }
.dn-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E2B34A, #F4D77A); }
.dn-num { font-size: 14px; color: #3B4658; font-variant-numeric: tabular-nums; }

/* ---------- /partner ---------- */
.dl-steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dl-steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dl-steps.four { grid-template-columns: minmax(0, 1fr); } }
.pt-form { padding: 24px; border-radius: 22px; border: 1px solid #DCE4F0; background: #fff; box-shadow: 0 18px 44px rgba(11, 31, 68, .08); }
.pt-form .field input, .pt-form .field select, .pt-form .field textarea { border-radius: 12px; }
.pt-form .check.invalid span { color: var(--danger-ink); }
@media (max-width: 560px) { .pt-form { padding: 18px 16px; } }

/* ---------- Halaman /ai ---------- */
.ai-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; color: #C9D6EE; font-size: 15px; }
.ai-cards { margin-top: 26px; }
.ai-cards .fcard p { margin: 8px 0 0; color: #5A6883; font-size: 15px; line-height: 1.6; }

/* ---------- Kartu solusi di beranda: enam kartu, tiga kolom ---------- */
.lp-solutions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 0; }
.lp-solutions article, .lp-solutions article + article, .lp-solutions article:nth-child(3) { padding: 24px; border: 1px solid var(--mj-line); border-radius: 18px; background: #fff; }
@media (max-width: 960px) { .lp-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lp-solutions { grid-template-columns: minmax(0, 1fr); } }
.fcard-more { margin: auto 0 0; padding-top: 6px; font-size: 14.5px; font-weight: 700; }

/* ---------- Hero: masjid 3D (WebGL) di belakang TV ---------- */
.hx-stage { height: clamp(540px, calc(100vh - 250px), 660px); }
.hx-stage::before { content: ''; position: absolute; left: 6%; right: 6%; top: -2%; height: 60%; background: radial-gradient(closest-side, rgba(64, 120, 226, .42), rgba(64, 120, 226, 0)); pointer-events: none; }
.hx-3d { position: absolute; left: -10%; top: -9%; width: 120%; height: 72%; opacity: 0; transition: opacity 1.4s ease; cursor: grab; touch-action: pan-y; }
.hx-3d.on { opacity: 1; }
.hx-3d.off { display: none; }
.hx-3d:active { cursor: grabbing; }
.hx-scene { pointer-events: none; }
.hx-tv { left: 10%; top: 49%; width: 74%; }
.hx-shadow { bottom: -3%; }
.hx-c1 { right: -3%; top: 34%; }
.hx-c2 { left: -5%; bottom: 3%; }
.hx-phone { right: 1%; bottom: -5%; width: 18.5%; }
.hx-pause { position: absolute; right: 0; top: 0; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(226, 179, 74, .5); background: rgba(9, 24, 54, .6); color: var(--gold-2); cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-pause:hover { background: rgba(226, 179, 74, .18); }
.hx-pause i { display: block; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hx-pause[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-block: 7px solid transparent; border-inline-start: 11px solid currentColor; margin-inline-start: 3px; }
.hx-3d.off ~ .hx-pause { display: none; }
/* Gulir: kedalaman antara masjid (jauh) dan TV (dekat) */
.hx-3d { transform: translateY(calc(var(--hs, 0) * 70px)) scale(calc(1 - var(--hs, 0) * .06)); }
.hx-stage { transform: translateY(calc(var(--hs, 0) * -26px)); }
/* Ponsel dan tablet: adegan 3D tampil lebih dulu, di atas judul */
@media (max-width: 960px) {
  .hx-grid { display: flex; flex-direction: column; gap: 6px; }
  .hx-stage { order: -1; height: auto; aspect-ratio: 1 / .8; max-width: 560px; width: 100%; margin: -18px auto 0; }
  .hx-3d { left: -12%; width: 124%; top: -10%; height: 80%; }
  .hx-tv { left: 19%; top: 49%; width: 62%; }
  .hx-screen { border-width: 5px; border-radius: 9px; }
  .hx-phone { width: 15%; right: 10%; bottom: -3%; border-width: 3px; border-radius: 12px; }
  .hx-c1 { top: 44%; right: 0; }
  .hx-c2 { display: none; }
  .hx-pause { width: 32px; height: 32px; top: 8px; }
}
@media (max-width: 560px) { .hx-c1 { display: none; } }
.mj-brand .brand-logo { width: 34px; height: 34px; }

/* ---------- Peragaan fase layar: layar baru masuk dengan putaran 3D ---------- */
.lp-cycle-view { perspective: 1600px; }
.lp-cycle-view figure:not([hidden]) .screen { animation: cy-turn .7s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 50%; }
@keyframes cy-turn { from { opacity: .2; transform: rotateY(-22deg) rotateX(4deg) translateX(34px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Lambang 3D yang berputar (lapisan bertumpuk memberi ketebalan) ---------- */
.emblem3d { --s: 132px; position: relative; width: var(--s); height: var(--s); margin: 0 auto 26px; perspective: 900px; }
.emblem3d::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -22%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 6, 18, .6), rgba(2, 6, 18, 0)); }
.emblem3d-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: emblem-spin 9s ease-in-out infinite; }
.emblem3d-spin i { position: absolute; inset: 0; background: #A8781C; -webkit-mask: url(../img/brand/masajid-mark-white.svg) center / contain no-repeat; mask: url(../img/brand/masajid-mark-white.svg) center / contain no-repeat; transform: translateZ(calc((var(--i) - 6.5) * 1.25px)); }
.emblem3d-spin i:first-child, .emblem3d-spin i:last-child { background: linear-gradient(135deg, #FBEAB0 0%, #E2B34A 45%, #C08A22 100%); }
.emblem3d-spin i:last-child { background: linear-gradient(225deg, #FBEAB0 0%, #E2B34A 45%, #C08A22 100%); }
/* Berayun, tidak berputar penuh: ketebalannya terlihat tanpa pernah tampil dari sisi tipisnya. */
@keyframes emblem-spin { 0%, 100% { transform: rotateY(-56deg) rotateX(8deg); } 50% { transform: rotateY(56deg) rotateX(8deg); } }
@media (prefers-reduced-motion: reduce) {
  .emblem3d-spin { animation-duration: 24s; }
  .lp-cycle-view figure:not([hidden]) .screen { animation-name: cy-fade; }
}
@keyframes cy-fade { from { opacity: .2; } to { opacity: 1; } }
@media (max-width: 640px) { .emblem3d { --s: 104px; } }
@media (max-width: 960px) { .hx-stage { margin-bottom: 18px; } }
