/* ==========================================================================
   INSYNTIVE Excel — tambahan kecil untuk beranda excel.insyntive.com (src/excel-page.js). Gaya utama = landing Academy
   (home.css, <body class="... home">): hero .hx, section .k-sec / .k-dark, kartu .k-card, .plan, .steps-x, .faq-x, .end.
   File ini hanya menambah bagian yang tidak ada di landing Academy. Dimuat SETELAH app.css, toko.css & home.css.
   ========================================================================== */

/* Lompatan ke #katalog / #harga / #contoh tidak tertutup header lengket. */
.xl-pg main [id] { scroll-margin-top: calc(var(--header-h, 68px) + 12px); }

/* Mockup HP hero: ikon notifikasi (centang) & gambar mini template. */
.home .xl-notif { display: grid; place-items: center; border-radius: 30%; background: var(--k-green, #0E9F6E); color: #fff; }
.home .xl-notif .i { width: 60%; height: 60%; }
.home .ui-ic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: inherit; }

/* ── Contoh hasil: kartu tangkapan layar ──────────────────────────────── */
.xl-shots { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.xl-shot { overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.xl-shot a { display: grid; height: 100%; color: inherit; text-decoration: none; }
.xl-shot:hover { transform: translateY(-3px); }
.xl-shot__img { display: block; aspect-ratio: 36 / 25; overflow: hidden; background: var(--k-soft, #F4F7FA); border-bottom: 1px solid var(--k-line, #E6EBF1); }
.xl-shot__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s var(--ease); }
.xl-shot:hover .xl-shot__img img { transform: scale(1.04); }
.xl-shot__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.xl-shot__body small { font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--k-cyan-ink, var(--cyan-ink)); }
.xl-shot__body b { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--k-ink, var(--text)); }
.xl-shot__price { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--k-ink, var(--text)); }
@media (prefers-reduced-motion: reduce) { .xl-shot, .xl-shot__img img { transition: none; } .xl-shot:hover, .xl-shot:hover .xl-shot__img img { transform: none; } }

/* ── Section gelap: kategori sebagai pill kaca ────────────────────────── */
.xl-cats { list-style: none; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.xl-cats .pill { gap: 8px; }
.xl-cats__n { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .75rem; font-weight: 800; color: var(--k-lime, var(--lime)); }

/* ── Harga: catatan lisensi di bawah kartu ────────────────────────────── */
.xl-noresell { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 22px auto 0; max-width: 760px; text-align: center; }
.xl-noresell .i { flex: none; }

/* ── Katalog: tombol "Tampilkan lebih banyak" ─────────────────────────── */
.home #katalog .toko-cat__more .pill { min-width: 220px; }

/* ── Hero: jendela template Excel (gaya terang landing Academy) ───────── */
.home .xl-stage { min-height: 0; place-items: center; padding-inline: var(--gutter, 20px); padding-bottom: clamp(24px, 4vw, 48px); }
.xl-stage__inner { position: relative; z-index: 1; width: min(100%, 980px); margin-inline: auto; padding: clamp(12px, 3vw, 36px) clamp(0px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.xl-win {
  position: relative; z-index: 2; margin: 0; overflow: hidden; border-radius: 18px; background: #fff;
  border: 1px solid var(--k-line, #E6EBF1); box-shadow: 0 2px 4px rgba(11, 18, 32, .04), 0 40px 80px -30px rgba(11, 18, 32, .35);
}
.xl-win__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; background: var(--k-soft, #F4F7FA); border-bottom: 1px solid var(--k-line, #E6EBF1); }
.xl-win__bar span { width: 11px; height: 11px; border-radius: 50%; }
.xl-win__bar span:nth-child(1) { background: #FF6159; } .xl-win__bar span:nth-child(2) { background: #FFBD2E; } .xl-win__bar span:nth-child(3) { background: #28C941; }
.xl-win__bar b { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; font-weight: 700; color: var(--k-ink-3, #5F6B7C); }
.xl-win img { display: block; width: 100%; height: auto; }
.xl-back { position: absolute; z-index: 1; top: 8%; width: 46%; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--k-line, #E6EBF1); box-shadow: 0 24px 50px -24px rgba(11, 18, 32, .35); }
.xl-back img { display: block; width: 100%; height: auto; }
.xl-back--l { left: 0; transform: rotate(-6deg); }
.xl-back--r { right: 0; transform: rotate(6deg); }
@media (max-width: 719.98px) { .xl-back { display: none; } }
.xl-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 16px;
  font-size: .875rem; font-weight: 800; color: var(--k-ink, #0B1220); background: #fff; box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .45), 0 0 0 1px var(--k-line, #E6EBF1);
}
.xl-float--a { top: 0; left: clamp(0px, 4vw, 40px); background: var(--k-lime, #D6FD91); box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .45); }
.xl-float--a .i { width: 16px; height: 16px; }
.xl-float--b { right: clamp(0px, 4vw, 40px); bottom: 4px; padding: 10px 16px 10px 10px; }
.xl-float--b > span:last-child { display: grid; gap: 1px; }
.xl-float--b b { font-size: .875rem; }
.xl-float--b small { font-size: .75rem; font-weight: 600; color: var(--k-ink-3, #5F6B7C); }
.xl-float__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--k-green-bg, #E7F7F0); color: var(--k-green, #0E9F6E); }
.xl-float__ic .i { width: 18px; height: 18px; }
@media (max-width: 479.98px) { .xl-float { font-size: .75rem; padding: 8px 10px; } .xl-float--b small { display: none; } .xl-float__ic { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: no-preference) {
  .js-anim .xl-float--a { animation: xl-bob 6s ease-in-out infinite; }
  .js-anim .xl-float--b { animation: xl-bob 7s ease-in-out -2s infinite; }
}
@keyframes xl-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ── Section gelap: deret tangkapan layar template (marquee gaya landing Academy) ─────────────── */
.xl-reel {
  display: grid; gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(8px, 2vw, 16px); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.home .xl-reel .tpl-row span {
  width: clamp(220px, 26vw, 340px); aspect-ratio: 36 / 25; border-radius: 14px; overflow: hidden; background: #141C27;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.home .xl-reel .tpl-row img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .92; }
.xl-reel.is-paused .tpl-row { animation-play-state: paused; }

/* ── Penutup: tumpukan template + kartu unduhan ───────────────────────── */
.xl-endstage { position: relative; width: min(100% - 2 * var(--gutter, 20px), 760px); margin: clamp(28px, 4vw, 48px) auto 0; aspect-ratio: 16 / 9; }
.xl-endstage__card {
  position: absolute; width: 58%; overflow: hidden; border-radius: 14px; background: #fff;
  border: 1px solid var(--k-line, #E6EBF1); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .4);
}
.xl-endstage__card img { display: block; width: 100%; height: auto; }
.xl-endstage__card--1 { left: 0; top: 14%; transform: rotate(-7deg); }
.xl-endstage__card--2 { left: 21%; top: 0; z-index: 2; }
.xl-endstage__card--3 { right: 0; top: 16%; transform: rotate(7deg); z-index: 1; }
.xl-float--c { left: 50%; bottom: 0; transform: translateX(-50%); z-index: 3; padding: 10px 16px 10px 10px; white-space: nowrap; }
.xl-float--c > span:last-child { display: grid; gap: 1px; }
.xl-float--c small { font-size: .75rem; font-weight: 600; color: var(--k-ink-3, #5F6B7C); }
@media (max-width: 479.98px) { .xl-float--c small { display: none; } }
.home .xl-end { padding-bottom: clamp(48px, 7vw, 96px); }

/* ── Katalog: label & saring kelas harga ──────────────────────────────── */
.toko-card__price { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.toko-cls { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.toko-cls--premium { background: var(--ink-800, #0E1620); color: var(--lime, #D6FD91); }
.toko-cls--basic { background: var(--bg-tint, #EAF3FC); color: var(--blue-ink, #1F5FB8); }
.xl-cls { margin-bottom: 4px; }

/* ── Halaman kategori: tautan kategori lain ───────────────────────────── */
.xl-cat-others__h { margin-top: clamp(32px, 4vw, 48px); }
.xl-cat-others { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xl-cat-others a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line, #E2E8EF); color: var(--text, #0E1620); font-size: .875rem; font-weight: 700; text-decoration: none; }
.xl-cat-others a:hover { border-color: var(--blue, #3581E1); }
.xl-cat-others span { font-size: .75rem; color: var(--text-3, #5A6676); }
a.toko-card__pick { text-decoration: none; }
