/* Beranda: lapisan gerak & kilau (dimuat setelah gaya halaman). Semua animasi hanya aktif bila perangkat tidak meminta "kurangi gerakan". */
.lp-hero { position: relative; }
.lp-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lp-aurora i { position: absolute; border-radius: 50%; opacity: .5; contain: strict; } /* gradien radial menggantikan filter:blur (jauh lebih ringan di GPU/CPU) */
.lp-aurora i:nth-child(1) { width: 440px; height: 440px; left: -140px; top: 40px; background: radial-gradient(closest-side, #40B5AD, rgba(64,181,173,0)); }
.lp-aurora i:nth-child(2) { width: 380px; height: 380px; right: -100px; top: -60px; background: radial-gradient(closest-side, #E9C46A, rgba(233,196,106,0)); opacity: .45; }
.lp-aurora i:nth-child(3) { width: 320px; height: 320px; left: 42%; top: 300px; background: radial-gradient(closest-side, #8FE3DB, rgba(143,227,219,0)); opacity: .5; }
.lp-hero > .container { position: relative; z-index: 1; }
.lp-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line, #dfe9e7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600; font-size: .86rem; color: var(--brand-700, #1f6e69); margin-bottom: 1.1rem; }
.lp-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #1fae6b; position: relative; }
.lp-badge .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1fae6b; opacity: 0; }
.lp-hero h1 .grad { background: linear-gradient(90deg, #1b6e69, #2D8C87, #94690A, #1b6e69); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #1f7a74; }

/* pita kemampuan */
.lp-marquee { margin: 54px auto 0; width: min(100% - 40px, 1140px); overflow: hidden; border-block: 1px solid var(--line, #dfe9e7); padding: 13px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee .track { display: flex; gap: 38px; width: max-content; }
.lp-marquee span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 .95rem var(--font-display, inherit); color: var(--ink-soft, #3a5453); }
.lp-marquee i { color: var(--brand, #40B5AD); }

/* interaksi */
.lp-stat { transition: background .25s, transform .25s; }
.lp-stat:hover { background: var(--brand-50, #eef9f8); }
.lp-stat .ic { transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .25s; }
.lp-stat:hover .ic { transform: rotate(-9deg) scale(1.14); background: var(--brand-100, #d3efec); }
.bento-item { transition: border-color .25s, box-shadow .3s, transform .35s cubic-bezier(.2,.8,.3,1); }
.bento-item:hover { transform: translateY(-5px); }
.bento-item .ic { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.bento-item:hover .ic { transform: rotate(-8deg) scale(1.12); }
.mock-row { transition: transform .25s, box-shadow .25s; }
.mock-row:hover { transform: translateX(6px); box-shadow: 0 8px 20px -14px rgba(16,64,60,.5); }
.step::before { transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .25s, color .25s; }
.step:hover::before { transform: scale(1.15); background: var(--brand, #40B5AD); color: #fff; }
.lp-nav .nav-link { transition: background .2s, color .2s; position: relative; }
.lp-nav .nav-link.active { background: var(--brand-50, #eef9f8); color: var(--brand-600, #2D8C87) !important; }
.btn { position: relative; overflow: hidden; }
.btn .rip { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); pointer-events: none; }
.btn-outline-primary .rip { background: rgba(64,181,173,.3); }

.row-item { transition: transform .22s, background .22s; border-radius: 12px; }
.row-item:hover { transform: translateX(5px); }
.steps .step::after { opacity: 0; transition: opacity .6s; transition-delay: calc(var(--i, 0) * 180ms + 250ms); }
.steps.in .step::after { opacity: 1; }
.lp-head h2::after { content: ''; display: block; width: 0; height: 4px; border-radius: 4px; margin-top: .6rem; background: linear-gradient(90deg, var(--brand, #40B5AD), #E9C46A); transition: width .8s .2s cubic-bezier(.2,.8,.3,1); }
.reveal.in .lp-head h2::after, .lp-head.in h2::after, .lp-head.reveal.in h2::after { width: 72px; }
.no-js-fallback .lp-head h2::after { width: 72px; }

@media (prefers-reduced-motion: no-preference) {
    .lp-aurora i:nth-child(1) { animation: auroraA 19s ease-in-out infinite; }
    .lp-aurora i:nth-child(2) { animation: auroraB 23s ease-in-out infinite; }
    .lp-aurora i:nth-child(3) { animation: auroraA 27s ease-in-out infinite reverse; }
    .lp-badge .dot::after { animation: dotPing 2s ease-out infinite; }
    .lp-hero h1 .grad { animation: gradMove 7s linear 3; }
    .lp-badge, .lp-hero h1, .lp-hero .lead, .lp-hero .d-flex, .lp-quick { animation: heroUp .8s cubic-bezier(.2,.8,.3,1) both; }
    .lp-hero h1 { animation-delay: .08s; } .lp-hero .lead { animation-delay: .18s; } .lp-hero .d-flex { animation-delay: .28s; } .lp-quick { animation-delay: .38s; }
    .lp-chip-a { animation: chipFloat 6s ease-in-out infinite; }
    .lp-chip-b { animation: chipFloat 7s ease-in-out -2s infinite; }
    .lp-marquee .track { animation: marquee 38s linear infinite; }
    .lp-marquee:hover .track { animation-play-state: paused; }
    .lp-cta { background-size: 220% 220%; animation: ctaMove 12s ease-in-out infinite; }
    .lp-cta::before { animation: slowSpin 40s linear infinite; }
    .lp-verify::before { animation: ringBreath 9s ease-in-out infinite; }
    .lp-stats { animation: heroUp .9s .45s cubic-bezier(.2,.8,.3,1) both; }
}
@keyframes auroraA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, 40px) scale(1.15); } }
@keyframes auroraB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, 60px) scale(1.1); } }
@keyframes dotPing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes gradMove { to { background-position: 260% 0; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes chipFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ctaMove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes ringBreath { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .7; } }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.lp-footer li, .lp-footer p { overflow-wrap: anywhere; }

/* Hemat sumber daya: animasi dijeda saat bagian di luar layar (kelas .is-off dipasang home_motion.js) atau tab tersembunyi */
.is-off, .is-off *, .is-off::before, .is-off::after { animation-play-state: paused !important; }
.tab-off *, .tab-off *::before, .tab-off *::after { animation-play-state: paused !important; }

