/* Lapisan gerak dan interaksi situs Teman Inovasi.
   Dimuat SESUDAH situs.css. Semua aturan yang menyembunyikan sesuatu sebelum
   ia dianimasikan diikat ke `html.hd`, kelas yang hanya dipasang hidup.js.
   Kalau berkas JS itu gagal dimuat, halaman tampil utuh seperti sebelumnya.
   Yang dianimasikan hanya transform, opacity, dan filter. */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: hd-vt-keluar .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: hd-vt-masuk .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes hd-vt-keluar { to { opacity: 0; transform: translateY(-10px); } }
@keyframes hd-vt-masuk { from { opacity: 0; transform: translateY(14px); } }

::selection { background: #6b46ff; color: #fff; }

/* ------------------------------------------------------------ bilah baca */
.hd-bilah {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--hd-gulir, 0));
  background: linear-gradient(90deg, #a58bff, #6b46ff 40%, #ec2c80 70%, #ff8a00);
  box-shadow: 0 0 12px rgba(107, 70, 255, .6);
}

/* ------------------------------------------------------------ kepala */
.kepala { transition: box-shadow .35s, background-color .35s, border-color .35s; }
.kepala-isi { transition: min-height .35s cubic-bezier(.22, 1, .36, 1); }
html.hd .kepala.hd-tergulir { box-shadow: 0 10px 30px -18px rgba(11, 10, 22, .35); background: rgba(251, 248, 243, .78); }
html.hd .kepala.hd-tergulir .kepala-isi { min-height: 62px; }
.merek img { transition: transform .4s cubic-bezier(.34, 1.5, .5, 1); }
.merek:hover img { transform: scale(1.04) rotate(-1deg); }

.nav { position: relative; }
.nav a { position: relative; z-index: 1; }
.hd-pil {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; border-radius: 12px;
  background: rgba(107, 70, 255, .1); pointer-events: none; opacity: 0;
  transform: translate(var(--hd-x, 0), -50%); width: var(--hd-w, 0);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1), opacity .25s;
}
.hd-pil.hd-ada { opacity: 1; }
.nav a.hd-aktif { color: var(--p-tinta); }
.nav a:not(.nav-aksi):hover { background: transparent; }
.nav .nav-aksi { overflow: hidden; }

/* tombol menu layar kecil */
.hd-menu-tombol {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--garis); background: #fff; cursor: pointer; position: relative;
  transition: transform .2s, background-color .2s;
}
.hd-menu-tombol:active { transform: scale(.94); }
.hd-menu-tombol span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--tinta);
  transition: transform .4s cubic-bezier(.68, -.4, .3, 1.4), opacity .2s;
}
.hd-menu-tombol span:nth-child(1) { top: 16px; }
.hd-menu-tombol span:nth-child(2) { top: 22px; }
.hd-menu-tombol span:nth-child(3) { top: 28px; }
.hd-menu-buka .hd-menu-tombol span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hd-menu-buka .hd-menu-tombol span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hd-menu-buka .hd-menu-tombol span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hd-laci {
  position: fixed; inset: 0; z-index: 35; padding: 96px var(--sela) 40px;
  background: #0b0a16; color: #fff;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden;
  transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
}
.hd-menu-buka .hd-laci { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.hd-laci a {
  font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; color: #fff;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .3s, transform .3s, color .2s;
}
.hd-laci a::after { content: "→"; color: #a58bff; font-size: .8em; transition: transform .25s; }
.hd-laci a:hover::after { transform: translateX(6px); }
.hd-menu-buka .hd-laci a { opacity: 1; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.22, 1, .36, 1), color .2s; transition-delay: calc(.18s + var(--i) * 70ms); }
.hd-laci-kaki { margin-top: auto; color: #b7b0d8; font-size: .92rem; opacity: 0; transition: opacity .4s .5s; }
.hd-menu-buka .hd-laci-kaki { opacity: 1; }
.hd-menu-buka .kepala { background: rgba(11, 10, 22, .0); border-color: transparent; z-index: 50; }
.hd-menu-buka .kepala .merek img { filter: brightness(0) invert(1); }
.hd-menu-buka .hd-menu-tombol { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.hd-menu-buka .hd-menu-tombol span { background: #fff; }
html.hd-kunci { overflow: hidden; }

@media (max-width: 760px) {
  html.hd .kepala .nav { display: none; }
  html.hd .hd-menu-tombol { display: block; }
}

/* ------------------------------------------------------------ tombol */
.tombol {
  position: relative; overflow: hidden; isolation: isolate;
  transform: translate(var(--hd-mx, 0), var(--hd-my, 0));
  transition: box-shadow .25s, background-color .2s, color .2s, border-color .2s, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.tombol::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.tombol:hover::before { transform: translateX(120%); transition: transform .75s cubic-bezier(.22, 1, .36, 1); }
.tombol svg { transition: transform .3s cubic-bezier(.34, 1.6, .5, 1); }
.tombol:hover svg { transform: translateX(4px); }
.tombol:active { transform: translate(var(--hd-mx, 0), var(--hd-my, 0)) scale(.97); }
.tombol-utama { background: linear-gradient(120deg, #7c5cff, #6b46ff 45%, #5433d6); background-size: 200% 100%; transition: background-position .5s, box-shadow .25s, transform .35s cubic-bezier(.22, 1, .36, 1); }
.tombol-utama:hover { background-position: 100% 0; box-shadow: 0 14px 34px -12px rgba(107, 70, 255, .8); }
.tombol-produk:hover { box-shadow: 0 14px 30px -12px var(--p); }
.hd-riak {
  position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: currentColor; opacity: .35; pointer-events: none;
  animation: hd-riak .65s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes hd-riak { to { transform: scale(40); opacity: 0; } }
.tautan-sepi svg { transition: transform .3s cubic-bezier(.34, 1.6, .5, 1); }
.tautan-sepi:hover svg { transform: translate(3px, -3px); }

/* ------------------------------------------------------------ hero */
.hd-latar { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hd-gumpal {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen;
  will-change: transform;
}
.hd-gumpal:nth-child(1) { width: 520px; height: 520px; left: -140px; top: 30%; background: #4b2bd9; animation: hd-hanyut-a 18s ease-in-out infinite alternate; }
.hd-gumpal:nth-child(2) { width: 420px; height: 420px; right: 8%; top: -120px; background: #8f6dff; animation: hd-hanyut-b 22s ease-in-out infinite alternate; }
.hd-gumpal:nth-child(3) { width: 360px; height: 360px; right: -80px; bottom: -160px; background: #ec2c80; opacity: .28; animation: hd-hanyut-c 26s ease-in-out infinite alternate; }
@keyframes hd-hanyut-a { to { transform: translate(180px, -120px) scale(1.15); } }
@keyframes hd-hanyut-b { to { transform: translate(-220px, 140px) scale(.9); } }
@keyframes hd-hanyut-c { to { transform: translate(-160px, -90px) scale(1.2); } }

/* sorotan kursor di atas kisi */
.hd-senter {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(165, 139, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 139, 255, .35) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(220px circle at var(--hd-hx, 70%) var(--hd-hy, 30%), #000, transparent 70%);
  mask-image: radial-gradient(220px circle at var(--hd-hx, 70%) var(--hd-hy, 30%), #000, transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.hero-k:hover .hd-senter { opacity: 1; }
.hd-bintang {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(165, 139, 255, .8); opacity: 0;
  animation: hd-kelip var(--d, 5s) ease-in-out var(--t, 0s) infinite;
}
@keyframes hd-kelip { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 50% { opacity: .9; transform: translateY(-30px) scale(1); } }

/* judul per kata */
.hd-kata { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .02em .14em; margin: 0 -.02em -.14em; }
.hd-kata-i { display: inline-block; }
html.hd .hd-siap .hd-kata-i { transform: translateY(115%) rotate(4deg); opacity: 0; }
html.hd .hd-siap.hd-jalan .hd-kata-i {
  transform: none; opacity: 1;
  transition: transform .95s cubic-bezier(.22, 1, .36, 1), opacity .6s;
  transition-delay: calc(var(--k) * 55ms + .1s);
}
.sorot-k { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.sorot-k .hd-kata-i, .sorot-k:not(:has(.hd-kata)) {
  background: linear-gradient(92deg, #c4b5ff 0%, #8f6dff 30%, #ec8cff 50%, #8f6dff 70%, #c4b5ff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hd-kilau 7s linear infinite;
}
@keyframes hd-kilau { to { background-position: -300% 0; } }

html.hd .hd-naik { opacity: 0; transform: translateY(22px); filter: blur(6px); }
html.hd .hd-jalan .hd-naik, html.hd .hd-naik.hd-jalan {
  opacity: 1; transform: none; filter: none;
  transition: opacity .8s, transform .9s cubic-bezier(.22, 1, .36, 1), filter .8s;
  transition-delay: var(--hd-t, 0s);
}

.lencana-k { position: relative; }
.lencana-k .titik { position: relative; }
.lencana-k .titik::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d399;
  animation: hd-detak 2s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes hd-detak { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* panel portofolio: miring mengikuti kursor, tepi bercahaya berputar */
.hero-k-kisi { perspective: 1400px; }
.porto {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--hd-rx, 0deg)) rotateY(var(--hd-ry, 0deg));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.porto::before {
  content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--hd-sudut, 0deg), transparent 0 60%, #a58bff 75%, #ec2c80 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hd-putar-tepi 6s linear infinite;
}
@property --hd-sudut { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hd-putar-tepi { to { --hd-sudut: 360deg; } }
.porto::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: radial-gradient(380px circle at var(--hd-px, 50%) var(--hd-py, 0%), rgba(255, 255, 255, .09), transparent 60%);
}
html.hd .porto.hd-siap { opacity: 0; transform: translateY(40px) rotateX(10deg) scale(.96); }
html.hd .porto.hd-siap.hd-jalan { opacity: 1; transform: rotateX(var(--hd-rx, 0deg)) rotateY(var(--hd-ry, 0deg)); transition: opacity .9s .35s, transform 1.1s cubic-bezier(.22, 1, .36, 1) .35s; }
html.hd .porto.hd-siap.hd-jalan.hd-selesai { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
html.hd .porto.hd-siap .porto-daftar li { opacity: 0; transform: translateX(28px); }
html.hd .porto.hd-siap.hd-jalan .porto-daftar li { opacity: 1; transform: none; transition: opacity .6s, transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(.7s + var(--i) * 110ms); }

.porto-daftar a {
  position: relative; overflow: hidden;
  transition: border-color .25s, background-color .25s, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
}
.porto-daftar a::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--p) 28%, transparent), transparent 70%);
  transition: opacity .3s;
}
.porto-daftar a:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--p) 55%, transparent); box-shadow: 0 10px 30px -14px var(--p); }
.porto-daftar a:hover::before { opacity: 1; }
.porto-ubin { transition: transform .45s cubic-bezier(.34, 1.6, .5, 1); }
.porto-daftar a:hover .porto-ubin { transform: rotate(-8deg) scale(1.08); }
.porto-daftar a > svg { transition: transform .3s cubic-bezier(.34, 1.6, .5, 1), color .2s; }
.porto-daftar a:hover > svg { transform: translateX(4px); color: #fff; }
.porto-status i, .porto-jumlah i { animation: hd-denyut-hijau 2.4s ease-in-out infinite; }
@keyframes hd-denyut-hijau { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); } }

/* ------------------------------------------------------------ fakta */
.fakta-kisi li { position: relative; transition: background-color .3s; }
.fakta-kisi li::after {
  content: ""; position: absolute; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #6b46ff, #ec2c80);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.fakta-kisi li:first-child::after { left: 0; }
.fakta-kisi li:hover::after { transform: scaleX(1); }
.fakta-kisi b { font-variant-numeric: tabular-nums; display: inline-block; transition: transform .4s cubic-bezier(.34, 1.6, .5, 1), color .3s; }
.fakta-kisi li:hover b { transform: translateY(-4px); color: #6b46ff; }
html.hd .fakta-kisi li.hd-siap { opacity: 0; transform: translateY(18px); }
html.hd .fakta-kisi li.hd-siap.hd-jalan { opacity: 1; transform: none; transition: opacity .6s, transform .7s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i) * 100ms); }

/* ------------------------------------------------------------ pita berjalan */
.hd-pita-jalan {
  background: var(--tinta); color: #fff; overflow: hidden; padding: 18px 0;
  border-block: 1px solid rgba(255, 255, 255, .08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hd-pita-jalan > div { display: flex; width: max-content; animation: hd-jalan 38s linear infinite; }
.hd-pita-jalan:hover > div { animation-play-state: paused; }
.hd-pita-jalan span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-size: clamp(1.1rem, 1.4vw + .6rem, 1.6rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap;
}
.hd-pita-jalan span i { width: 10px; height: 10px; border-radius: 3px; background: var(--w); transform: rotate(45deg); box-shadow: 0 0 14px var(--w); }
.hd-pita-jalan span em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
@keyframes hd-jalan { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ judul pita */
.kicker::before {
  content: ""; width: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: width .7s cubic-bezier(.22, 1, .36, 1) .2s;
}
.tampil .kicker::before, .kicker.hd-jalan::before { width: 22px; }
.kicker:has(.titik)::before { display: none; }
html.js .kepala-k[data-reveal] { transform: translateY(34px); filter: blur(8px); }
html.js .kepala-k[data-reveal].tampil { filter: none; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), filter .8s; }

/* ------------------------------------------------------------ kartu produk */
.produk-k {
  position: relative;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, border-color .4s;
}
.produk-k:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--p) 35%, var(--garis));
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--p) 60%, transparent), 0 2px 6px rgba(11, 10, 22, .05);
}
html.js .produk-k[data-reveal] { opacity: 0; transform: translateY(60px) scale(.97); }
html.js .produk-k[data-reveal].tampil { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, border-color .4s; }
html.js .produk-k[data-reveal].tampil:hover { transform: translateY(-6px); }
html.js .produk-k[data-reveal] .produk-k-kata > * { opacity: 0; transform: translateY(18px); }
html.js .produk-k[data-reveal].tampil .produk-k-kata > * { opacity: 1; transform: none; transition: opacity .6s, transform .7s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(.25s + var(--j, 0) * 80ms); }
.produk-k-kata > :nth-child(1) { --j: 0; } .produk-k-kata > :nth-child(2) { --j: 1; } .produk-k-kata > :nth-child(3) { --j: 2; }
.produk-k-kata > :nth-child(4) { --j: 3; } .produk-k-kata > :nth-child(5) { --j: 4; } .produk-k-kata > :nth-child(6) { --j: 5; }
html.js .produk-k[data-reveal] .produk-k-gambar { clip-path: inset(0 100% 0 0 round 0); }
html.js .produk-k[data-reveal]:nth-child(even) .produk-k-gambar { clip-path: inset(0 0 0 100% round 0); }
html.js .produk-k[data-reveal].tampil .produk-k-gambar { clip-path: inset(0 0 0 0 round 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) .1s; }
@media (max-width: 920px) {
  html.js .produk-k[data-reveal] .produk-k-gambar, html.js .produk-k[data-reveal]:nth-child(even) .produk-k-gambar { clip-path: inset(0 0 100% 0); }
}

.produk-k-gambar { overflow: hidden; }
.produk-k-gambar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--hd-px, 50%) var(--hd-py, 50%), color-mix(in srgb, var(--p) 32%, transparent), transparent 65%);
  opacity: .55; transition: opacity .4s;
}
.produk-k:hover .produk-k-gambar::before { opacity: 1; }
.produk-k-gambar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.produk-k-gambar .adegan {
  position: relative; z-index: 1;
  transform: translate3d(var(--hd-gx, 0), calc(var(--hd-gy, 0px) + var(--hd-par, 0px)), 0) rotateX(var(--hd-rx, 0deg)) rotateY(var(--hd-ry, 0deg));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.produk-k:hover .adegan { filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--p) 45%, transparent)); }
.produk-k-mampu li svg { transition: transform .35s cubic-bezier(.34, 1.6, .5, 1); }
.produk-k-mampu li:hover svg { transform: scale(1.3) rotate(-10deg); }
.produk-k h3 { transition: color .3s; }
.produk-k:hover h3 { color: var(--p-tinta); }

/* ------------------------------------------------------------ bidang */
.kisi-bidang li { position: relative; overflow: hidden; isolation: isolate; transition: background-color .3s, transform .4s; }
.kisi-bidang li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(300px circle at var(--hd-px, 50%) var(--hd-py, 0%), color-mix(in srgb, var(--p) 14%, transparent), transparent 70%);
  transition: opacity .35s;
}
.kisi-bidang li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--p);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.kisi-bidang li:hover { background: #fff; }
.kisi-bidang li:hover::before { opacity: 1; }
.kisi-bidang li:hover::after { transform: scaleX(1); }
.bidang-ikon { transition: transform .5s cubic-bezier(.34, 1.6, .5, 1), background-color .3s, color .3s, box-shadow .3s; }
.kisi-bidang li:hover .bidang-ikon { transform: translateY(-4px) rotate(-8deg) scale(1.08); background: var(--p); color: var(--p-depan); box-shadow: 0 12px 24px -10px var(--p); }
.kisi-bidang h3 { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.kisi-bidang li:hover h3 { transform: translateX(3px); }

/* ------------------------------------------------------------ tahap */
.pita-tahap { position: relative; overflow: hidden; isolation: isolate; }
.pita-tahap::before {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; bottom: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 70, 255, .35), transparent);
  animation: hd-hanyut-a 20s ease-in-out infinite alternate;
}
.kisi-tahap li { border-top-color: transparent; }
.kisi-tahap li::after {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .16);
}
.kisi-tahap li::before {
  width: 100%; z-index: 1; background: linear-gradient(90deg, #a58bff, #ec2c80);
  transform: scaleX(.18); transform-origin: 0 50%;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}
.kisi-tahap li.tampil::before { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 180ms + .3s); }
html:not(.js) .kisi-tahap li::before { transform: scaleX(.18); }
.kisi-tahap li:hover::before { box-shadow: 0 0 14px rgba(165, 139, 255, .8); }
.tahap-no { display: inline-flex; width: max-content; transition: transform .4s cubic-bezier(.34, 1.6, .5, 1), color .3s; }
.kisi-tahap li:hover .tahap-no { transform: scale(1.25); color: #fff; }

/* ------------------------------------------------------------ ajakan */
.kontak-panel { background-size: 220% 220%; animation: hd-gradasi 12s ease-in-out infinite alternate; }
.kontak-panel { background-image: linear-gradient(125deg, #3b1fb8 0%, #6b46ff 30%, #8f3dff 55%, #c13bb0 80%, #5a36ef 100%); }
@keyframes hd-gradasi { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.kontak-panel::after { animation: hd-kisi-gerak 14s linear infinite; }
@keyframes hd-kisi-gerak { to { background-position: 44px 44px, 44px 44px; } }
.kontak-panel::before {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%;
  left: var(--hd-px, 70%); top: var(--hd-py, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent);
  transition: left .5s cubic-bezier(.22, 1, .36, 1), top .5s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.kontak-panel .tombol-terang:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------ kaki */
.kaki a { transition: color .2s; }

/* ------------------------------------------------------------ kembali ke atas */
.hd-atas {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 30;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--tinta); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(11, 10, 22, .6);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s, transform .45s cubic-bezier(.34, 1.5, .5, 1), background-color .2s;
}
.hd-atas.hd-ada { opacity: 1; transform: none; pointer-events: auto; }
.hd-atas:hover { background: #6b46ff; transform: translateY(-3px); }
.hd-atas svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hd-atas circle { fill: none; stroke: #a58bff; stroke-width: 2.5; stroke-dasharray: 145; stroke-dashoffset: calc(145 - 145 * var(--hd-gulir, 0)); stroke-linecap: round; }
.hd-atas b { font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.hd-atas:hover b { transform: translateY(-3px); }

/* ------------------------------------------------------------ muncul umum */
html.hd .hd-muncul { opacity: 0; transform: translateY(28px); }
html.hd .hd-muncul.hd-jalan { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 90ms); }

/* ------------------------------------------------------------ gerak dikurangi */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hd-gumpal, .hd-bintang, .hd-pita-jalan > div, .kontak-panel, .kontak-panel::after, .porto::before, .pita-tahap::before, .sorot-k .hd-kata-i { animation: none !important; }
  html.hd .hd-siap .hd-kata-i, html.hd .hd-naik, html.hd .porto.hd-siap, html.hd .porto.hd-siap .porto-daftar li,
  html.hd .fakta-kisi li.hd-siap, html.hd .hd-muncul,
  html.js .produk-k[data-reveal], html.js .produk-k[data-reveal] .produk-k-kata > *, html.js .kepala-k[data-reveal] {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  html.js .produk-k[data-reveal] .produk-k-gambar { clip-path: none !important; }
  .kisi-tahap li::before { transform: scaleX(1); }
  .tombol, .porto, .produk-k-gambar .adegan { transform: none !important; }
}

/* ------------------------------------------------------- logo produk asli */
/* Logo produk membawa latarnya sendiri, jadi ubin berwarna di belakangnya
   dilepas: dua kotak bertumpuk terbaca sebagai bingkai yang salah ukur. */
.logo-produk { display: block; object-fit: contain; border-radius: 24%; flex: none; }
.porto-ubin { background: none; padding: 0; overflow: visible; }
.porto-ubin .logo-produk { width: 44px; height: 44px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 16px -6px rgba(0, 0, 0, .55); }
.kaki-tanda.logo-produk { width: 26px; height: 26px; border-radius: 7px; background: none; padding: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.ajak-ubin .ajak-logo { width: clamp(44px, 5vw, 56px); height: auto; aspect-ratio: 1; box-shadow: 0 10px 22px -12px rgba(11, 10, 22, .55); transition: transform .45s cubic-bezier(.34, 1.6, .5, 1); }
.ajak-ubin:hover .ajak-logo { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.lain-ikon.logo-produk { width: 64px; height: 64px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); }
.nama-berlogo { display: flex; align-items: center; gap: 12px; }
.logo-judul { width: 40px; height: 40px; box-shadow: 0 6px 14px -8px rgba(11, 10, 22, .45); }
.hero-merek { display: flex; width: fit-content; align-items: center; gap: 12px; margin-bottom: 14px; font-family: Jakarta, ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-hero { width: 52px; height: 52px; box-shadow: 0 10px 24px -10px var(--p, rgba(0, 0, 0, .4)); animation: logo-masuk .7s cubic-bezier(.34, 1.5, .5, 1) both; }
@keyframes logo-masuk { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .logo-hero { animation: none; }
  .ajak-ubin .ajak-logo { transition: none; }
}
