/* ══ Patch 339 — gaya khusus BERANDA (resources/views/pages/landing.blade.php) ══

   Dimuat SESUDAH CSS build (public/build — beku, tidak dibangun ulang saat deploy), jadi aturan pengganti
   di sini menang tanpa !important bila kekhususannya sama. Kelas Tailwind BARU tidak ada di production:
   semua rupa baru ditulis di sini dengan awalan sendiri (.br-* umum, .st-* langkah order, .bf-* Benefit).

   Isi:
   1. font lokal untuk beranda (dulu Google Fonts)
   2. skala judul section yang seragam
   3. rem: animasi di luar layar dijeda, lapisan permanen dilepas, gulir halus tunggal
   4. section langkah order (.st-*)
   5. section Benefit (.bf-*) — rupa dari referensi 21st.dev "Ink Orbit Features", tema gelap
   6. section fitur "Kenapa kado ini terasa beda?" (.fx-*) — P341, bento hidup dari referensi bridgeplay.dev */

/* ── 1. Font lokal (OFL) ── */
@font-face {
    font-family: 'Press Start 2P';   /* jendela contoh Studio (.pixel-text) */
    src: url('../fonts/beranda/press-start-2p-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yellowtail';       /* kartu game kurir (courier.css) — dulu stylesheet Google penahan tampil */
    src: url('../fonts/beranda/yellowtail-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── 2. Skala judul section: HP ±30 px, laptop 48 px (dulu 24/36/48/60 px berbeda tiap section) ── */
.br-judul {
    font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;          /* baris dipenggal seimbang — tidak ada satu kata menggantung sendirian */
}
/* Sorotan ungu "terasa beda?" tidak boleh terpotong di tengah (di HP kotaknya pecah dua). */
#fitur [data-translate="features.title.highlight"] {
    display: inline-block;
    white-space: nowrap;
}

/* P340: judul showcase SELALU 2 baris (satu kalimat satu baris) di semua lebar layar. Dulu ukuran huruf tetap
   (30/36 px) lebih lebar dari layar HP ±330 px -> tiap kalimat terlipat -> 4 baris. Sekarang ukuran = yang lebih kecil
   dari ukuran desain atau (lebar wadah / R). R = lebar kalimat / ukuran huruf, DIUKUR dengan Geist asli 27 Okt
   (uji/alat/p339/ukur_judul.cjs rasio: ID 12,834 & 10,057; EN 13,934 & 12,269) + cadangan 4%. Wadah = max-w-5xl px-4. */
#showcase .sc-baris-1,
#showcase .sc-baris-2 {
    white-space: nowrap;
    font-size: min(var(--sc-maks), calc((min(100vw, 64rem) - 2rem) / var(--sc-r)));
}
#showcase .sc-baris-1 { --sc-maks: 1.875rem; --sc-r: 13.35; }
#showcase .sc-baris-2 { --sc-maks: 2.25rem; --sc-r: 10.46; }
html[lang="en"] #showcase .sc-baris-1 { --sc-r: 14.49; }
html[lang="en"] #showcase .sc-baris-2 { --sc-r: 12.76; }
@media (min-width: 768px) {
    #showcase .sc-baris-1 { --sc-maks: 2.25rem; }
    #showcase .sc-baris-2 { --sc-maks: 3rem; }
}
@media (min-width: 1024px) {
    #showcase .sc-baris-1 { --sc-maks: 3rem; }
    #showcase .sc-baris-2 { --sc-maks: 5rem; }
}

/* P340: sambungan fitur -> Studio MULUS. Tiga penyebab pita gelap yang terukur 27 Okt (uji/alat/p339/pindai_sambungan.py):
   1. CSS build beku: @media (max-width:390px) #fitur { margin-bottom:-.5rem !important } -> fitur (z-index 10) MENIMPA
      8 px teratas Studio -> dua lapisan gelap bertumpuk = pita 8 px. Ditiadakan (margin 0).
   2. Kotak kaca kartu fitur hanya 4 px di atas sambungan di HP (padding bawah 28 px, kotak menjorok 24 px) + bayangannya
      tumpah ke Studio. Jarak bawah dilegakan, bayangan dipendekkan.
   3. Lapisan gelap Studio menebal 2x lebih cepat dari ekor fitur -> "patahan". Kemiringan kedua sisi disamakan.
   Pemilih "main .courier-following …" lebih kuat dari courier.css (yang berada lebih akhir di dokumen) & CSS build. */
main .courier-following #fitur {
    margin-bottom: 0 !important;
    padding-bottom: 72px !important;
    background: linear-gradient(180deg, transparent calc(100% - 140px), rgba(20, 30, 72, .1) calc(100% - 80px), rgba(20, 30, 72, .3) 100%);
}
main .courier-following #cta-studio-section {
    background: linear-gradient(180deg, rgba(20, 30, 72, .3) 0, rgba(20, 30, 72, .44) 56px, rgba(20, 30, 72, .62) 112px,
        rgba(20, 30, 72, .78) 170px, rgba(20, 30, 72, .86) 220px, rgba(20, 30, 72, .9) 300px, rgba(14, 8, 40, .93) 65%, rgba(0, 0, 0, .96) 100%);
}
@media (min-width: 768px) {
    main .courier-following #fitur {
        padding-bottom: 96px !important;
        background: linear-gradient(180deg, transparent calc(100% - 180px), rgba(20, 30, 72, .1) calc(100% - 100px), rgba(20, 30, 72, .3) 100%);
    }
    main .courier-following #cta-studio-section {
        background: linear-gradient(180deg, rgba(20, 30, 72, .3) 0, rgba(20, 30, 72, .44) 70px, rgba(20, 30, 72, .62) 140px,
            rgba(20, 30, 72, .78) 210px, rgba(20, 30, 72, .86) 260px, rgba(20, 30, 72, .9) 360px, rgba(14, 8, 40, .93) 65%, rgba(0, 0, 0, .96) 100%);
    }
}
#fitur .fitur-kaca {
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
}

/* ── 3. Rem ── */

/* Section yang di luar layar: semua animasi CSS berhenti DI TEMPAT (animation-play-state — satu-satunya cara
   tanpa "lompat", pelajaran P241). Kelas dipasang/dilepas public/js/beranda.js lewat IntersectionObserver. */
.br-jeda,
.br-jeda *,
.br-jeda *::before,
.br-jeda *::after {
    animation-play-state: paused !important;
}
/* Tombol berkilau yang tergeser keluar layar (carousel produk menggeser kartu ke samping). */
.br-diam.hey-kilau,
.br-diam.hey-kilau-putih,
.br-diam.hey-kilau::after,
.br-diam.hey-kilau-putih::after,
.br-diam.hey-kilau-lintas::after,
.br-diam.hey-kilau-lintas-terang::after {
    animation-play-state: paused;
}
/* Slide Studio yang tersembunyi (opacity 0) tidak perlu terus berdenyut. */
#studio-carousel .carousel-slide.opacity-0 *,
#studio-carousel .carousel-slide.opacity-0 *::before,
#studio-carousel .carousel-slide.opacity-0 *::after {
    animation-play-state: paused;
}
/* CSS build memasang will-change permanen pada .animate-on-scroll (±40 elemen = ±40 lapisan GPU selamanya).
   Sesudah elemen muncul, petunjuk itu tidak berguna lagi. */
.animate-on-scroll.animated {
    will-change: auto;
}
/* CSS build: .product-card { transform-style: preserve-3d; backface-visibility: hidden } memaksa lapisan
   sendiri untuk ±33 kartu (3 salinan) + gambar di dalamnya. Kartu ini tidak berputar 3D. */
#produk .product-card,
#produk .product-card .animate-on-scroll {
    transform-style: flat;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
/* Gulir halus: CSS build menyetel scroll-behavior:smooth DAN app.js menggerakkan gulir sendiri tiap bingkai
   (smoothScrollTo) — dua mesin berebut, gulirnya tersendat. Di beranda cukup satu: app.js untuk menu,
   scrollIntoView halus (beranda.js) untuk tautan # lain. */
html.scroll-smooth {
    scroll-behavior: auto;
}

/* ── 4. Langkah order (.st-*) ── */
.st-bagian {
    position: relative;
    padding: 96px 0;
    background: #000;
    overflow: hidden;
}
.st-wadah {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 24px;
}
.st-kepala {
    text-align: center;
    margin-bottom: 48px;
}
.st-sub {
    max-width: 42rem;
    margin: 16px auto 0;
    color: #9ca3af;
    line-height: 1.6;
}
.st-kartu {
    max-width: 56rem;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
.st-kartu-kepala {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 18px;
}
.st-kartu-kepala h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
}
.st-status {
    flex: none;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    transition: color .3s ease, background-color .3s ease;
}
.st-status--mulai   { color: #22d3ee; background: rgba(34, 211, 238, .1); }
.st-status--proses  { color: #facc15; background: rgba(250, 204, 21, .1); }
.st-status--final   { color: #c084fc; background: rgba(192, 132, 252, .1); }
.st-status--selesai { color: #4ade80; background: rgba(74, 222, 128, .1); }
.st-isi {
    display: grid;
    gap: 20px;
    padding: 0 24px 24px;
}
@media (min-width: 768px) {
    .st-isi {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
        gap: 28px;
    }
}
.st-daftar {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.st-langkah {
    position: relative;
}
.st-langkah:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15.5px;
    top: 42px;
    bottom: 2px;
    width: 1px;
    background: rgba(255, 255, 255, .2);
    transition: background-color .3s ease;
}
.st-langkah.is-selesai:not(:last-child)::after {
    background: rgba(52, 211, 153, .55);
}
.st-tombol {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 6px 0 18px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.st-tombol:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 4px;
    border-radius: 10px;
}
.st-ikon {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px #4b5563;
    transition: box-shadow .3s ease;
}
.st-angka {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #9ca3af;
    font-size: .875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}
.st-ikon-selesai {
    position: absolute;
    inset: 0;
    width: 32px;
    height: 32px;
    color: #34d399;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.st-langkah.is-aktif .st-ikon { box-shadow: inset 0 0 0 2px #a855f7; }
.st-langkah.is-aktif .st-angka { background: #6f02d2; color: #fff; }
.st-langkah.is-selesai .st-ikon { box-shadow: none; }
.st-langkah.is-selesai .st-angka { opacity: 0; }
.st-langkah.is-selesai .st-ikon-selesai { opacity: 1; transform: none; }
.st-teks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}
.st-judul {
    font-weight: 500;
    color: #9ca3af;
    transition: color .3s ease;
}
.st-langkah.is-aktif .st-judul { color: #fff; }
.st-langkah.is-selesai .st-judul { color: #6b7280; }
.st-ringkas {
    font-size: .875rem;
    line-height: 1.5;
    color: #9ca3af;
}
.st-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.st-gambar {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0b10;
}
.st-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease;
}
.st-img.is-aktif { opacity: 1; }
.st-keterangan { display: grid; }
.st-ket {
    grid-area: 1 / 1;
    margin: 0;
    font-size: .875rem;
    line-height: 1.6;
    color: #d1d5db;
    opacity: 0;
    transition: opacity .4s ease;
}
.st-ket.is-aktif { opacity: 1; }
@media (max-width: 767px) {
    .st-bagian { padding: 72px 0; }
    .st-wadah { padding: 0 16px; }
    .st-kepala { margin-bottom: 32px; }
    .st-kartu-kepala { padding: 18px 16px 14px; }
    .st-isi { padding: 0 16px 16px; }
    .st-tombol { padding-bottom: 14px; }
}

/* ── 5. Benefit (.bf-*) — angka dari referensi Ink Orbit (tema gelap), aksen ungu HeyTML ── */
.bf-akar {
    --bf-page: #050507;
    --bf-hatch: rgba(255, 255, 255, .045);
    --bf-paper: #0f0f13;
    --bf-card: #15151a;
    --bf-raise: #1c1c22;
    --bf-ink: #eeeeee;
    --bf-soft: #c9c9c9;
    --bf-muted: #8d8d8d;
    --bf-faint: #5d5d5d;
    --bf-line: #26262c;
    --bf-line-strong: #36363d;
    --bf-bracket: #44444b;
    --bf-inv: #efefef;
    --bf-inv-ink: #121212;
    --bf-aksen: #9466ff;
    --bf-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
    --bf-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bf-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: clamp(40px, 6vw, 72px) clamp(10px, 2.4vw, 28px);
    background-color: var(--bf-page);
    background-image: repeating-linear-gradient(135deg, var(--bf-hatch) 0 1px, transparent 1px 10px);
    color: var(--bf-ink);
    font-family: var(--bf-sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.bf-akar :where(*) { box-sizing: border-box; }
.bf-akar :focus-visible { outline: 2px solid var(--bf-aksen); outline-offset: 2px; }
.bf-akar :where(svg) { display: block; max-width: none; flex: none; }
.bf-akar :where(h2, h3, p) { margin: 0; padding: 0; }
.bf-sembunyi { position: absolute; width: 0; height: 0; overflow: hidden; }
.bf-cangkang {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    container-type: inline-size;
}
.bf-bagian {
    position: relative;
    padding: clamp(36px, 6cqw, 72px) clamp(16px, 4cqw, 48px);
    background: var(--bf-paper);
    border: 1px solid var(--bf-line);
}
.bf-ungkap {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.bf-ungkap[data-in="true"] { opacity: 1; transform: none; }
.bf-kepala {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(28px, 4.5cqw, 52px);
    text-align: center;
}
.bf-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11.5px;
    letter-spacing: .02em;
    color: var(--bf-soft);
    background: var(--bf-card);
    border: 1px solid var(--bf-line);
}
.bf-h2 { color: var(--bf-ink); }
.bf-h2 > span { display: block; }
.bf-redup { color: var(--bf-faint); }
.bf-bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 3cqw, 34px);
}
@container (min-width: 720px) {
    .bf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-lebar { grid-column: 1 / -1; width: min(100%, 820px); justify-self: center; }
}
.bf-bingkai { position: relative; display: flex; flex-direction: column; }
.bf-bingkai > .bf-kartu { flex: 1; }
.bf-siku {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--bf-bracket);
    border-style: solid;
    border-width: 0;
    pointer-events: none;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.bf-siku-ka { top: -6px; left: -6px; border-top-width: 1.5px; border-left-width: 1.5px; }
.bf-siku-kn { top: -6px; right: -6px; border-top-width: 1.5px; border-right-width: 1.5px; }
.bf-siku-ba { bottom: -6px; left: -6px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bf-siku-bn { bottom: -6px; right: -6px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
@media (hover: hover) {
    .bf-bingkai-hover:hover > .bf-siku { border-color: var(--bf-ink); }
    .bf-bingkai-hover:hover > .bf-siku-ka { transform: translate(-3px, -3px); }
    .bf-bingkai-hover:hover > .bf-siku-kn { transform: translate(3px, -3px); }
    .bf-bingkai-hover:hover > .bf-siku-ba { transform: translate(-3px, 3px); }
    .bf-bingkai-hover:hover > .bf-siku-bn { transform: translate(3px, 3px); }
    .bf-kartu:hover { border-color: var(--bf-line-strong); box-shadow: var(--bf-shadow); }
}
.bf-kartu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(14px, 2cqw, 22px);
    background: linear-gradient(180deg, var(--bf-raise), var(--bf-card));
    border: 1px solid var(--bf-line);
    transition: border-color .3s, box-shadow .35s;
}
.bf-kartu-lebar { padding: 0; overflow: hidden; }
.bf-kartu h3 {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.005em;
    color: var(--bf-ink);
}
.bf-kartu p {
    max-width: 40ch;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--bf-muted);
}
.bf-salinan { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.bf-salinan-lebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 22px 20px;
}
.bf-salinan-lebar > div { display: flex; flex-direction: column; gap: 4px; }
@container (min-width: 560px) {
    .bf-salinan-lebar { grid-template-columns: 1fr 1fr; }
    .bf-salinan-lebar > div:last-child { justify-self: end; text-align: left; }
}
.bf-diagram { width: 100%; height: auto; overflow: visible; }
/* Kartu lebar punya dua diagram: alur kiri->kanan (lebar) dan alur atas->bawah skala 1:1 untuk kartu sempit (HP). */
.bf-diagram-hp { display: none; }
@container (max-width: 559px) {
    .bf-diagram-lebar { display: none; }
    .bf-diagram-hp { display: block; margin: 8px auto 0; max-width: 360px; }
}
.bf-label-hp { font-size: 8.5px; fill: var(--bf-muted); }
.bf-diagram text { font-family: var(--bf-sans); }
.bf-mono { font-family: var(--bf-mono) !important; font-size: 7px; fill: var(--bf-muted); }
.bf-redup-teks { fill: var(--bf-faint); }
.bf-alir { stroke: var(--bf-line-strong); fill: none; stroke-width: 1.2; transition: stroke .3s; }
.bf-alir-nyala { stroke: var(--bf-aksen); }
.bf-putus { stroke-dasharray: 3 4; animation: bf-putus 1.2s linear infinite; }
.bf-paket { fill: var(--bf-aksen); }
.bf-paket-pilih { opacity: 0; transition: opacity .2s; }
.bf-paket-pilih.bf-nyala { opacity: 1; }
.bf-simpul { fill: var(--bf-raise); stroke: var(--bf-line-strong); transition: stroke .3s; }
.bf-chip { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.bf-chip-teks { font-size: 8.5px; letter-spacing: 1.4px; font-weight: 600; fill: var(--bf-soft); }
.bf-glif { fill: none; stroke: var(--bf-ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.bf-bahan { cursor: pointer; outline: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
.bf-bahan:hover, .bf-bahan:focus-visible { transform: scale(1.18); }
.bf-bahan:focus-visible .bf-simpul { stroke: var(--bf-aksen); }
.bf-tip { opacity: 0; transition: opacity .2s; pointer-events: none; }
.bf-tip rect { fill: var(--bf-inv); }
.bf-tip text { font-size: 7.5px; fill: var(--bf-inv-ink); }
.bf-bahan:hover .bf-tip, .bf-bahan:focus .bf-tip, .bf-bahan.bf-nyala .bf-tip { opacity: 1; }
.bf-lembar { fill: var(--bf-raise); stroke: var(--bf-line-strong); }
.bf-lembar-baru { animation: bf-lembar-masuk .7s cubic-bezier(.2, .8, .2, 1) both; }
.bf-alamat { font-family: var(--bf-mono) !important; font-size: 8.4px; font-weight: 600; fill: var(--bf-ink); }
.bf-alamat-domain { fill: var(--bf-muted); font-weight: 400; }
.bf-kirim { fill: var(--bf-aksen); }
.bf-kirim-teks { font-size: 7px; font-weight: 600; fill: #fff; }
.bf-denyut { animation: bf-denyut 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bf-alat { cursor: pointer; outline: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
.bf-alat:hover, .bf-alat.bf-nyala { transform: translateY(-2px); }
.bf-alat .bf-simpul { transition: stroke .3s; }
.bf-alat.bf-nyala .bf-simpul, .bf-alat:focus-visible .bf-simpul { stroke: var(--bf-aksen); }
.bf-alat-nama { font-size: 8px; fill: var(--bf-muted); opacity: 0; transition: opacity .25s; }
.bf-alat.bf-nyala .bf-alat-nama, .bf-alat:hover .bf-alat-nama, .bf-alat:focus .bf-alat-nama { opacity: 1; }
.bf-status { fill: var(--bf-faint); }
/* P340: kartu "Masih bisa diubah sesudah jadi" = WEBSITE KADO MINI yang diperbarui bergiliran (dulu grafik garis). */
.bf-mini {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    border: 1px solid var(--bf-line-strong);
    border-radius: 10px;
    background: #101015;
    box-shadow: var(--bf-shadow);
    font-size: 12px;
    line-height: 1.35;
}
.bf-mini-atas {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--bf-line);
    background: var(--bf-raise);
}
.bf-mini-titik { flex: none; width: 7px; height: 7px; border-radius: 999px; background: var(--bf-line-strong); }
.bf-mini-alamat {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--bf-line);
    background: #0c0c10;
    color: var(--bf-muted);
    font-family: var(--bf-mono);
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
}
.bf-mini-alamat svg { flex: none; fill: none; stroke: var(--bf-muted); stroke-width: 1.2; }
.bf-mini-domain { overflow: hidden; text-overflow: ellipsis; }
.bf-mini-domain b { color: var(--bf-ink); font-weight: 600; }
/* tiga teks keadaan ditumpuk di satu sel: lebar = teks terpanjang, yang tampil hanya milik data-keadaan sekarang */
.bf-mini-tumpuk { display: grid; }
.bf-mini-tumpuk > [data-k] { grid-area: 1 / 1; visibility: hidden; }
.bf-mini[data-keadaan="online"] .bf-mini-tumpuk > [data-k="online"],
.bf-mini[data-keadaan="proses"] .bf-mini-tumpuk > [data-k="proses"],
.bf-mini[data-keadaan="selesai"] .bf-mini-tumpuk > [data-k="selesai"] { visibility: visible; }
.bf-mini-status {
    flex: none;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, .28);
    background: rgba(52, 211, 153, .1);
    color: #a7f3d0;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s, background-color .3s, border-color .3s;
}
.bf-mini-status > [data-k] { display: inline-flex; align-items: center; justify-self: center; gap: 5px; }
.bf-mini-status i { flex: none; width: 6px; height: 6px; border-radius: 999px; background: #34d399; }
.bf-mini[data-keadaan="proses"] .bf-mini-status { border-color: rgba(148, 102, 255, .4); background: rgba(148, 102, 255, .14); color: #ddd0ff; }
.bf-mini[data-keadaan="proses"] .bf-mini-status i { background: var(--bf-aksen); animation: bf-kedip 1s ease-in-out infinite; }
.bf-mini-isi { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.bf-mini-baris {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
    transition: border-color .3s, background-color .3s;
}
.bf-mini-baris.is-sorot { border-color: rgba(148, 102, 255, .55); background: rgba(148, 102, 255, .08); }
.bf-mini-label { font-family: var(--bf-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--bf-faint); }
.bf-mini-tukar { display: grid; min-width: 0; }
.bf-mini-lama,
.bf-mini-baru { grid-area: 1 / 1; justify-self: start; max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* isi lama: dicoret (0-.35 dtk) lalu memudar (.4-.6); isi baru tersibak dari kiri SESUDAHNYA (.6-1,1) supaya dua teks
   tidak bertumpuk. Masuk = berjeda (terbaca), keluar = cepat. Lebar = selebar teks, jadi coretan berhenti di ujung teks. */
.bf-mini-lama { position: relative; color: var(--bf-soft); transition: opacity .2s; }
.bf-mini-lama::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    height: 1.5px;
    background: #f87171;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}
.bf-mini-baru { color: var(--bf-ink); clip-path: inset(0 100% 0 0); transition: clip-path .2s; }
.bf-mini-baris.is-baru .bf-mini-lama { opacity: 0; transition: opacity .2s ease .4s; }
.bf-mini-baris.is-baru .bf-mini-lama::after { transform: scaleX(1); transition: transform .35s ease; }
.bf-mini-baris.is-baru .bf-mini-baru { clip-path: inset(0 0 0 0); transition: clip-path .5s cubic-bezier(.4, 0, .2, 1) .6s; }
.bf-mini-ucapan { font-weight: 600; }
.bf-mini-lagu { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bf-mini-not { flex: none; fill: none; stroke: var(--bf-aksen); stroke-width: 1.3; }
.bf-mini-lagu small { margin-left: 3px; color: var(--bf-muted); font-size: 10.5px; }
.bf-mini-eq { flex: none; margin-left: auto; display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.bf-mini-eq i { width: 2px; height: 100%; border-radius: 1px; background: var(--bf-aksen); transform-origin: bottom; animation: bf-eq .9s ease-in-out infinite; }
.bf-mini-eq i:nth-child(2) { animation-delay: -.3s; }
.bf-mini-eq i:nth-child(3) { animation-delay: -.6s; }
.bf-mini-galeri { display: flex; gap: 6px; }
.bf-mini-ubin { position: relative; flex: none; width: 30px; height: 30px; border-radius: 6px; overflow: hidden; }
.bf-mini-ubin::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 5px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
}
.bf-mini-ubin::after {
    content: '';
    position: absolute;
    z-index: 1;
    left: 3px;
    right: 3px;
    bottom: 3px;
    height: 11px;
    background: rgba(255, 255, 255, .42);
    clip-path: polygon(0 100%, 32% 25%, 52% 65%, 72% 35%, 100% 100%);
}
.bf-mini-ubin-1 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.bf-mini-ubin-2 { background: linear-gradient(135deg, #60a5fa, #a78bfa); }
.bf-mini-ubin-3 i { position: absolute; inset: 0; }
.bf-mini-ubin-lama { background: linear-gradient(135deg, #3f3f46, #71717a); }
.bf-mini-ubin-baru { background: linear-gradient(135deg, #f472b6, #fb923c); clip-path: inset(0 100% 0 0); transition: clip-path .2s; }
.bf-mini-baris.is-baru .bf-mini-ubin-baru { clip-path: inset(0 0 0 0); transition: clip-path .55s cubic-bezier(.4, 0, .2, 1) .4s; }
.bf-mini-proses { display: flex; align-items: center; gap: 8px; padding: 0 10px 10px; }
.bf-mini-bilah { position: relative; flex: 1; height: 4px; border-radius: 999px; background: var(--bf-line); overflow: hidden; }
.bf-mini-bilah i { position: absolute; inset: 0; background: var(--bf-aksen); transform: scaleX(0); transform-origin: left; }
.bf-mini[data-keadaan="proses"] .bf-mini-bilah i { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.4, 0, .2, 1); }
.bf-mini[data-keadaan="selesai"] .bf-mini-bilah i { transform: scaleX(1); background: #34d399; }
.bf-mini-proses-teks { flex: none; font-family: var(--bf-mono); font-size: 10px; color: var(--bf-faint); transition: color .3s; }
.bf-mini-proses-teks > [data-k] { justify-self: end; white-space: nowrap; }
.bf-mini[data-keadaan="proses"] .bf-mini-proses-teks { color: #c4b5fd; }
.bf-mini[data-keadaan="selesai"] .bf-mini-proses-teks { color: #6ee7b7; }
.bf-pilih { display: flex; flex-wrap: wrap; gap: 6px; container-type: inline-size; }
.bf-pil {
    appearance: none;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--bf-line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--bf-soft);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s, background-color .2s, border-color .2s;
}
.bf-pil:hover { border-color: var(--bf-muted); color: var(--bf-ink); }
.bf-pil.is-aktif { border-color: rgba(148, 102, 255, .65); background: rgba(148, 102, 255, .16); color: #fff; }
@container (max-width: 300px) {
    .bf-pil { padding: 5px 8px; font-size: 10.5px; letter-spacing: -.01em; }
}
/* menurut LEBAR KARTU (bento 2 kolom di tablet membuat kartu sempit walau layar lebar) */
@container (max-width: 380px) {
    .bf-mini-titik { display: none; }
    .bf-mini-alamat { margin-left: 0; }
}
@container (max-width: 300px) {
    .bf-mini-baris { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .bf-mini-proses { flex-wrap: wrap; row-gap: 5px; }
    .bf-mini-bilah { flex-basis: 100%; }
    .bf-mini-proses-teks > [data-k] { justify-self: start; }
    .bf-mini-alamat svg { display: none; }
    .bf-mini-status { padding: 3px 7px; font-size: 10px; }
}
@keyframes bf-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes bf-kedip { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bf-putus { to { stroke-dashoffset: -14; } }
@keyframes bf-denyut { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.035); } }
@keyframes bf-lembar-masuk { from { opacity: 0; transform: translate(14px, -10px) rotate(4deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .bf-ungkap { opacity: 1; transform: none; transition: none; }
    .bf-putus, .bf-denyut, .bf-lembar-baru { animation: none; }
    .bf-mini *, .bf-mini *::before, .bf-mini *::after { transition: none !important; animation: none !important; }
    .bf-paket { display: none; }
    .st-img, .st-ket, .st-ikon-selesai { transition: none; }
}

/* ── 6. Section fitur "Kenapa kado ini terasa beda?" (.fx-*) — P341, rupa dari bridgeplay.dev "What Bridgeplay does." ──
   Ubin gelap di atas kaca ungu, judul pendek bertitik, layar mini yang bekerja sendiri HANYA saat ubinnya terlihat
   (.fx-jeda dari public/js/beranda.js menghentikan gerak CSS di ubin yang di luar layar). Gerak = transform/opacity:
   pergantian warna latar memakai LAPISAN ::before yang memudar, bukan transisi background/box-shadow/filter (yang itu
   dihitung prosesor tiap bingkai — terukur 27 Okt: HP 41-48 fps -> lihat uji/alat/p341/ukur_fitur.cjs). */
#fitur {
    --fx-ubin: #0d0d10;
    --fx-naik: #161619;
    --fx-naik-2: #1c1c1f;
    --fx-naik-3: #2c2c2f;
    --fx-naik-4: #3a3a3e;
    --fx-garis: rgba(255, 255, 255, .07);
    --fx-garis-kuat: rgba(255, 255, 255, .15);
    --fx-tinta: #f5f5f7;
    --fx-tinta-2: #a1a1a6;
    --fx-tinta-3: #86868b;
    --fx-ungu: #9466ff;
    --fx-ungu-tua: #7334f1;
    --fx-iri: linear-gradient(180deg, #8b7bff, #4fb3ff 55%, #ff7ac6);
    --fx-mudah: cubic-bezier(.16, 1, .3, 1);
    --fx-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
}
.fx-wadah {
    box-sizing: border-box;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 16px;
}
#fitur .fitur-kaca { top: -12px; right: -10px; bottom: -12px; left: -10px; }
.fx-bento {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .fx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .fx-u-desain { grid-column: span 2; }
}
@media (min-width: 768px) {
    .fx-wadah { padding: 0 32px; }
    #fitur .fitur-kaca { top: -24px; right: -24px; bottom: -24px; left: -24px; }
}
@media (min-width: 1024px) {
    .fx-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(310px, auto) minmax(250px, auto); }
}
.fx-ubin {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 22px 22px 20px;
    border-radius: 14px;
    overflow: hidden;
    container-type: inline-size;
    background: var(--fx-ubin);
    border: 1px solid var(--fx-garis);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 22px 44px -24px rgba(16, 8, 48, .6);
    color: var(--fx-tinta);
    text-align: left;
    font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: -.012em;
    -webkit-font-smoothing: antialiased;
    transition: border-color .3s;
}
.fx-ubin :where(*) { box-sizing: border-box; }
.fx-ubin :where(h3, p, ul, li) { margin: 0; padding: 0; }
.fx-ubin :where(button) { -webkit-tap-highlight-color: transparent; }
.fx-ubin :focus-visible { outline: 2px solid var(--fx-ungu); outline-offset: 2px; }
.fx-ubin h3 { font-size: 20px; line-height: 1.15; letter-spacing: -.022em; font-weight: 600; color: var(--fx-tinta); }
.fx-salin p { margin-top: 6px; max-width: 30em; color: var(--fx-tinta-2); font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.fx-demo { margin-top: auto; }
.fx-catatan { margin: 0 2px 2px 0; text-align: right; font-size: 11px; line-height: 1.2; color: var(--fx-tinta-3); }
.fx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* teks berganti = beberapa teks ditumpuk di satu sel (lebar tetap = terpanjang); yang tampil dipilih data-* induknya */
.fx-tumpuk { display: inline-grid; }
.fx-tumpuk > [data-k] { grid-area: 1 / 1; visibility: hidden; }
@media (hover: hover) {
    .fx-ubin:hover { border-color: var(--fx-garis-kuat); }
}
/* muncul sekali saat ubin terlihat (JS memasang data-fx-siap; tanpa JS / kurangi gerak = langsung tampil) */
.fx-bento[data-fx-siap] .fx-ubin {
    transition: opacity .7s var(--fx-mudah) var(--fx-tunda, 0ms), transform .7s var(--fx-mudah) var(--fx-tunda, 0ms), border-color .3s;
}
.fx-bento[data-fx-siap] .fx-ubin:not(.is-on) { opacity: 0; transform: translateY(16px); }
/* hanya elemen yang beranimasi terus (bukan "semua anak": pemilih * membuat seluruh isi ubin dihitung ulang tiap
   ubin masuk/keluar layar — terukur 57-65 ms di HP lambat) */
.fx-jeda .fx-eq i,
.fx-jeda .fx-pita-jalur,
.fx-jeda .fx-kursor,
.fx-jeda .fx-cepat-kirim::after { animation-play-state: paused !important; }

/* 6a. Katalog desain (dari ubin "Steam library") — baris tengah = dipilih, daftar bergulir satu baris */
.fx-katalog {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, #1e1733 0%, #130f22 100%);
    border: 1px solid rgba(255, 255, 255, .07);
}
.fx-katalog-atas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 11.5px;
}
.fx-katalog-judul { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #ece8ff; }
.fx-katalog-judul svg { flex: none; display: block; border-radius: 3px; }
.fx-katalog-jumlah { font-family: var(--fx-mono); font-size: 10.5px; color: #9a92c2; white-space: nowrap; }
.fx-katalog-jumlah b { color: #ece8ff; font-weight: 600; }
.fx-katalog-jendela {
    position: relative;
    height: 140px;              /* 3 baris x 44 px - sela + padding */
    padding: 6px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}
.fx-katalog-daftar {
    display: grid;
    gap: 4px;
    list-style: none;
    transition: transform .6s var(--fx-mudah);
}
.fx-baris {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 5px 6px;
    position: relative;
    isolation: isolate;
    border-radius: 8px;
    color: #ece8ff;
    text-decoration: none;
}
.fx-baris::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 255, 255, .07);
    opacity: 0;
    transition: opacity .4s var(--fx-mudah);
}
.fx-baris-gbr {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover;
    background: linear-gradient(135deg, #3b2a5a, #1a1230);
}
.fx-baris-nama { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.fx-baris-tombol {
    min-width: 76px;
    padding: 6px 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    isolation: isolate;
    color: #d9ccff;
    background: rgba(148, 102, 255, .18);
}
.fx-baris-tombol::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--fx-ungu-tua);
    opacity: 0;
    transition: opacity .3s;
}
.fx-baris-tombol > [data-k="pilih"] { visibility: visible; }
.fx-baris.is-live::before,
.fx-baris.is-live .fx-baris-tombol::before { opacity: 1; }
.fx-baris.is-live .fx-baris-tombol { color: #fff; }
.fx-baris.is-live .fx-baris-tombol > [data-k="pilih"] { visibility: hidden; }
.fx-baris.is-live .fx-baris-tombol > [data-k="dipilih"] { visibility: visible; }

/* 6b. Sesuai maumu (dari ubin "frame generation") — nama besar diketik ulang, pilihan momen, pita foto & lagu */
.fx-kustom { display: grid; gap: 10px; }
.fx-kustom-nama {
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 46px;
    line-height: .95;
    font-weight: 700;
    letter-spacing: -.045em;
}
.fx-kursor {
    flex: none;
    width: 3px;
    height: 36px;
    margin-left: 4px;
    border-radius: 2px;
    background: var(--fx-ungu);
    animation: fx-kedip 1.05s steps(1) infinite;
}
.fx-kustom-salam { font-size: 13px; font-weight: 500; color: var(--fx-tinta-2); }
.fx-kustom[data-mode="ultah"] .fx-kustom-salam > [data-k="ultah"],
.fx-kustom[data-mode="anniv"] .fx-kustom-salam > [data-k="anniv"],
.fx-kustom[data-mode="valentine"] .fx-kustom-salam > [data-k="valentine"] { visibility: visible; }
.fx-mode { display: inline-flex; justify-self: start; gap: 2px; padding: 3px; border-radius: 999px; background: var(--fx-naik-2); }
.fx-mode-pil {
    appearance: none;
    margin: 0;
    padding: 5px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fx-tinta-2);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}
.fx-mode-pil::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--fx-naik-4);
    opacity: 0;
    transition: opacity .35s var(--fx-mudah);
}
.fx-mode-pil:hover { color: var(--fx-tinta); }
.fx-mode-pil[aria-pressed="true"] { color: var(--fx-tinta); }
.fx-mode-pil[aria-pressed="true"]::before { opacity: 1; }
.fx-pita { position: relative; height: 34px; overflow: hidden; border-radius: 8px; background: #141417; }
.fx-pita::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--fx-ubin), transparent 14%, transparent 86%, var(--fx-ubin));
}
.fx-pita-jalur { display: flex; gap: 4px; width: max-content; height: 100%; padding: 6px 0; animation: fx-jalan 9s linear infinite; }
.fx-pita-jalur i { flex: none; width: 7px; border-radius: 2px; }
.fx-pita-jalur i.l { background: var(--fx-iri); }
.fx-legenda { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: var(--fx-tinta-2); }
.fx-legenda > span { display: inline-flex; align-items: center; gap: 6px; }
.fx-legenda i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.fx-leg-foto { background: linear-gradient(135deg, #f59e0b, #f472b6); }
.fx-leg-lagu { background: var(--fx-iri); }

/* 6c. Jadi dalam hitungan menit (dari ubin "upscale") — formulir dikirim, website tumbuh dari kecil-buram ke penuh-tajam */
.fx-cepat { display: grid; gap: 10px; }
.fx-cepat-bingkai {
    position: relative;
    height: 132px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 12.5%,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 8.333% 100%,
        #121214;
}
.fx-cepat-form {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46%;
    height: 66%;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 5px;
    padding: 9px;
    border-radius: 7px;
    background: #1c1c20;
    border: 1px solid rgba(255, 255, 255, .1);
    transform: translate(-50%, -58%);
    transition: opacity .3s, transform .45s var(--fx-mudah);
}
.fx-cf-garis { display: block; height: 5px; border-radius: 3px; background: #3a3a40; }
.fx-cf-1 { width: 62%; }
.fx-cf-2 { width: 88%; }
.fx-cf-3 { width: 54%; }
.fx-cf-kotak { display: block; border-radius: 4px; background: linear-gradient(135deg, rgba(245, 158, 11, .55), rgba(244, 114, 182, .55)); }
.fx-cepat-kirim {
    appearance: none;
    position: absolute;
    left: 50%;
    bottom: 7px;
    margin: 0;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--fx-ungu-tua);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: transform .2s var(--fx-mudah), opacity .25s, visibility 0s linear .25s;
}
.fx-cepat-kirim::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 2px rgba(148, 102, 255, .6);
    opacity: 0;
    pointer-events: none;
}
.fx-cepat-web {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #2a1550 0%, #4c1d95 45%, #be185d 100%);
    transform-origin: 50% 50%;
    transition: opacity .9s var(--fx-mudah), transform 1.4s var(--fx-mudah), filter 1.4s var(--fx-mudah);
}
.fx-cw-atas {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, .35);
    font-family: var(--fx-mono);
    font-size: 9.5px;
    color: rgba(255, 255, 255, .75);
}
.fx-cw-atas i { flex: none; width: 5px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.fx-cw-atas span { margin-left: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-cw-isi { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; text-align: center; }
.fx-cw-isi b { font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.fx-cw-foto { display: flex; gap: 5px; }
.fx-cw-foto i { width: 26px; height: 26px; border-radius: 5px; border: 2px solid rgba(255, 255, 255, .85); }
.fx-cw-foto i:nth-child(1) { background: linear-gradient(135deg, #f59e0b, #ef4444); transform: rotate(-6deg); }
.fx-cw-foto i:nth-child(2) { background: linear-gradient(135deg, #60a5fa, #a78bfa); }
.fx-cw-foto i:nth-child(3) { background: linear-gradient(135deg, #f472b6, #fb923c); transform: rotate(6deg); }
.fx-cepat-bawah { display: flex; align-items: center; gap: 10px; }
.fx-cepat-bilah { position: relative; flex: 1; height: 4px; border-radius: 999px; overflow: hidden; background: #26262b; }
.fx-cepat-bilah i { position: absolute; inset: 0; background: var(--fx-ungu); transform: scaleX(1); transform-origin: left; }
.fx-cepat-label { flex: none; font-family: var(--fx-mono); font-size: 11px; color: var(--fx-tinta-3); }
.fx-cepat-label > [data-k] { justify-self: end; white-space: nowrap; }
/* tahap: form -> kirim (tombol ditekan) -> proses (website tumbuh, bilah terisi) -> tayang */
.fx-cepat[data-tahap="form"] .fx-cepat-web,
.fx-cepat[data-tahap="kirim"] .fx-cepat-web {
    opacity: 0;
    transform: scale(.5);
    filter: blur(3px);
    transition: opacity .35s, transform 0s linear .35s, filter 0s linear .35s;
}
.fx-cepat[data-tahap="proses"] .fx-cepat-form,
.fx-cepat[data-tahap="tayang"] .fx-cepat-form { opacity: 0; transform: translate(-50%, -58%) scale(.9); }
.fx-cepat[data-tahap="form"] .fx-cepat-kirim,
.fx-cepat[data-tahap="kirim"] .fx-cepat-kirim { opacity: 1; visibility: visible; transition: transform .2s var(--fx-mudah), opacity .25s, visibility 0s; }
.fx-cepat[data-tahap="form"] .fx-cepat-kirim::after { animation: fx-ajak 1.6s ease-out infinite; }
.fx-cepat[data-tahap="kirim"] .fx-cepat-kirim { transform: translateX(-50%) scale(.9); background: #5b21d6; }
/* buram = filter yang menggeser piksel -> tak bisa ditangani kartu grafis; di layar sentuh cukup membesar & muncul */
@media (hover: none), (pointer: coarse) {
    .fx-cepat[data-tahap="form"] .fx-cepat-web,
    .fx-cepat[data-tahap="kirim"] .fx-cepat-web { filter: none; }
}
.fx-cepat[data-tahap="form"] .fx-cepat-bilah i,
.fx-cepat[data-tahap="kirim"] .fx-cepat-bilah i { transform: scaleX(0); }
.fx-cepat[data-tahap="proses"] .fx-cepat-bilah i { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.4, 0, .2, 1); }
.fx-cepat[data-tahap="tayang"] .fx-cepat-bilah i { background: #34d399; }
.fx-cepat[data-tahap="form"] .fx-cepat-label > [data-k="form"],
.fx-cepat[data-tahap="kirim"] .fx-cepat-label > [data-k="form"],
.fx-cepat[data-tahap="proses"] .fx-cepat-label > [data-k="proses"],
.fx-cepat[data-tahap="tayang"] .fx-cepat-label > [data-k="tayang"] { visibility: visible; }
.fx-cepat[data-tahap="proses"] .fx-cepat-label { color: #c4b5fd; }
.fx-cepat[data-tahap="tayang"] .fx-cepat-label { color: #6ee7b7; }

/* 6d. Semudah isi formulir (dari ubin "guided install") — langkah menyala bergiliran, bisa diketuk */
.fx-langkah { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chip {
    appearance: none;
    margin: 0;
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    background: var(--fx-naik-2);
    color: var(--fx-tinta-3);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}
.fx-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--fx-naik-3);
    opacity: 0;
    transition: opacity .35s;
}
.fx-chip.is-selesai,
.fx-chip.is-kini { color: var(--fx-tinta); }
.fx-chip.is-selesai::before,
.fx-chip.is-kini::before { opacity: 1; }
.fx-chip.is-selesai:last-child { color: #000; }
.fx-chip.is-selesai:last-child::before { background: var(--fx-tinta); }
.fx-chip.is-kini::before { background: var(--fx-naik-4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
@media (hover: hover) {
    .fx-chip:hover { color: var(--fx-tinta); }
}

/* 6e. Lagu (dari ubin "Metal HUD") — pembacaan mono + equalizer; ketuk = lagu berikutnya */
.fx-lagu { display: grid; gap: 8px; }
.fx-hud {
    appearance: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(28, 28, 30, .92);
    color: var(--fx-tinta);
    font: 500 11.5px/1.4 var(--fx-mono);
    text-align: left;
    cursor: pointer;
    transition: border-color .25s;
}
.fx-hud:hover { border-color: rgba(255, 255, 255, .18); }
.fx-hud-k { color: var(--fx-tinta-3); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.fx-hud-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .22s; }
.fx-hud-v.fx-tumpuk { display: grid; }
.fx-hud-waktu { color: #7dff8a; font-variant-numeric: tabular-nums; }
.fx-lagu[data-sumber="cari"] .fx-hud-v > [data-k="cari"],
.fx-lagu[data-sumber="unggah"] .fx-hud-v > [data-k="unggah"] { visibility: visible; }
.fx-lagu.is-ganti .fx-hud-v { opacity: 0; }
.fx-eq { display: flex; align-items: flex-end; gap: 2px; height: 26px; padding: 0 2px; }
.fx-eq i {
    flex: 1;
    height: 100%;
    border-radius: 1px;
    background: linear-gradient(180deg, #c4b5fd, #7334f1);
    transform-origin: bottom;
    transform: scaleY(.3);
    animation: fx-eq 1.2s ease-in-out infinite;
}
.fx-eq i:nth-child(2n) { animation-duration: .9s; animation-delay: -.4s; }
.fx-eq i:nth-child(3n) { animation-duration: 1.45s; animation-delay: -.9s; }
.fx-eq i:nth-child(5n) { animation-duration: 1.05s; animation-delay: -.2s; }
.fx-eq i:nth-child(7n+1) { animation-duration: .8s; animation-delay: -.6s; }

/* 6f. QR kado berbentuk (dari ubin "Retina") — QR ASLI di kanvas, bentuk bergiliran / dipilih */
.fx-u-qr { justify-content: space-between; }
.fx-u-qr .fx-demo { margin-top: 0; }
.fx-qr { display: flex; align-items: center; justify-content: center; gap: 14px; }
.fx-qr-kartu {
    flex: none;
    width: 132px;
    height: 132px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .7);
}
.fx-qr-kanvas { display: block; width: 100%; height: 100%; }
.fx-qr-pilih { display: grid; gap: 6px; }
.fx-qr-pil {
    appearance: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: var(--fx-naik);
    color: var(--fx-tinta-3);
    cursor: pointer;
    position: relative;
    isolation: isolate;
}
.fx-qr-pil::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--fx-qr-warna, #d6284a);
    opacity: 0;
    transition: opacity .3s;
}
.fx-qr-pil svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fx-qr-pil:hover { color: var(--fx-tinta); }
.fx-qr-pil[aria-pressed="true"] { color: #fff; }
.fx-qr-pil[aria-pressed="true"]::before { opacity: 1; }

/* 6g. Pelanggan bahagia (dari ubin "Any controller") — momen menyala satu per satu, "dibuka" + hati */
.fx-momen { display: grid; gap: 6px; }
.fx-momen-baris {
    appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 6px 10px 6px 7px;
    border: 0;
    border-radius: 9px;
    background: var(--fx-naik);
    color: var(--fx-tinta-2);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    isolation: isolate;
    transition: color .4s;
}
.fx-momen-baris::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #1f1f23;
    opacity: 0;
    transition: opacity .3s;
}
.fx-momen-foto { flex: none; display: block; width: 24px; height: 24px; border-radius: 999px; object-fit: cover; opacity: .5; filter: grayscale(.7); transition: opacity .4s, filter .4s; }
.fx-momen-nama { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-momen-status {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #ff9dbb;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .25s var(--fx-mudah), transform .25s var(--fx-mudah);
}
.fx-momen-status svg { display: block; fill: #ff5c8a; }
.fx-ubin.is-on .fx-momen-baris { color: var(--fx-tinta); }
.fx-ubin.is-on .fx-momen-foto { opacity: 1; filter: none; }
.fx-ubin.is-on .fx-momen-baris:nth-child(1),
.fx-ubin.is-on .fx-momen-baris:nth-child(1) .fx-momen-foto { transition-delay: .2s; }
.fx-ubin.is-on .fx-momen-baris:nth-child(2),
.fx-ubin.is-on .fx-momen-baris:nth-child(2) .fx-momen-foto { transition-delay: .7s; }
.fx-ubin.is-on .fx-momen-baris:nth-child(3),
.fx-ubin.is-on .fx-momen-baris:nth-child(3) .fx-momen-foto { transition-delay: 1.2s; }
.fx-momen-baris.is-tekan::before { opacity: 1; }
.fx-momen-baris.is-tekan .fx-momen-status { opacity: 1; transform: none; }
.fx-momen-baris.is-tekan .fx-momen-foto { box-shadow: 0 0 0 3px rgba(255, 92, 138, .28); }
.fx-momen-baris.is-letup .fx-momen-status svg { animation: fx-letup .55s var(--fx-mudah); }

/* ubin sempit (bento 4 kolom di layar 1024-1180, atau HP 320) */
@container (max-width: 236px) {
    .fx-mode-pil { padding: 4px 8px; font-size: 11px; }
    .fx-kustom-nama { font-size: 40px; }
    .fx-qr-kartu { width: 118px; height: 118px; }
    .fx-baris-tombol { min-width: 64px; padding: 6px 7px; }
    .fx-chip { padding: 5px 9px; font-size: 11.5px; }
}
@keyframes fx-jalan { to { transform: translateX(-50%); } }
@keyframes fx-kedip { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fx-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes fx-ajak { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.9); } }
@keyframes fx-letup { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    #fitur .fx-ubin,
    #fitur .fx-ubin *,
    #fitur .fx-ubin *::before,
    #fitur .fx-ubin *::after { transition: none !important; animation: none !important; }
    .fx-eq i:nth-child(2n) { transform: scaleY(.6); }
    .fx-eq i:nth-child(3n) { transform: scaleY(.9); }
    .fx-eq i:nth-child(5n) { transform: scaleY(.45); }
    .fx-kursor { display: none; }
}
