/* =========================================================
   Global Pustaka Academy — tampilan publik
   Bersih & profesional: biru merek, navy, abu-abu, aksen emas, kartu putih
   membulat, Plus Jakarta Sans, ornamen grid / titik / cincin.
   ========================================================= */

:root {
  --bg: #f3f6fa;
  --bg-2: #e8edf4;
  --surface: #ffffff;
  --tint: #f5f8fc;
  --tint-2: #e9f0fb;

  --brand: #24587e;
  --brand-btn: #1e4e70;
  --brand-700: #173d58;
  --brand-300: #9bb8cf;
  --brand-100: #dce8f1;
  --brand-50: #eef4f8;

  --ink: #0f1b2e;
  --ink-2: #475569;
  --ink-3: #7b8798;
  --line: #e2e8f0;
  --line-2: #cdd6e2;

  --ok: #15803d;
  --ok-soft: #e6f6eb;
  --warn-soft: #fbf5e4;
  --bad: #dc2626;
  --bad-soft: #fdecec;
  --wa: #16a34a;
  --dark: #10263d;
  --teal: #334155;
  --navy: #10263d;
  --navy-2: #173a58;
  --accent: #c9a557;
  --accent-2: #f7ecc9;
  --accent-soft: #fbf5e4;
  --accent-700: #7a5c1c;
  --accent-light: #f1e0af;
  --pat-orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68.4' height='68.4' viewBox='0 0 68.4 68.4'%3E%3Cdefs%3E%3Cg id='c' fill='none' stroke='%23fff' stroke-width='2.2' stroke-opacity='0.09'%3E%3Ccircle r='3.2'/%3E%3Ccircle r='10.2'/%3E%3Ccircle r='17.2'/%3E%3Ccircle r='24.2'/%3E%3Ccircle r='31.2'/%3E%3C/g%3E%3Cmask id='o' maskUnits='userSpaceOnUse' x='-34.5' y='-34.5' width='69' height='69'%3E%3Ccircle r='32.5' fill='%23fff'/%3E%3Ccircle cx='-34.2' cy='34.2' r='32.5'/%3E%3Ccircle cx='34.2' cy='-34.2' r='32.5'/%3E%3C/mask%3E%3Cmask id='e' maskUnits='userSpaceOnUse' x='-34.5' y='-34.5' width='69' height='69'%3E%3Ccircle r='32.5' fill='%23fff'/%3E%3Ccircle cx='-34.2' cy='-34.2' r='32.5'/%3E%3Ccircle cx='34.2' cy='34.2' r='32.5'/%3E%3C/mask%3E%3C/defs%3E%3Cg transform='translate%28-34.2 -34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%2834.2 -34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%28102.6 -34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%280 0%29' mask='url%28%23e%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%2868.4 0%29' mask='url%28%23e%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%28-34.2 34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%2834.2 34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%28102.6 34.2%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%280 68.4%29' mask='url%28%23e%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%2868.4 68.4%29' mask='url%28%23e%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%28-34.2 102.6%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%2834.2 102.6%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3Cg transform='translate%28102.6 102.6%29' mask='url%28%23o%29'%3E%3Cuse href='%23c'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 90px;

  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: var(--f-body);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 46, .05);
  --shadow: 0 1px 2px rgba(15, 27, 46, .04), 0 12px 32px -18px rgba(15, 27, 46, .16);
  --shadow-lg: 0 2px 4px rgba(15, 27, 46, .04), 0 36px 70px -34px rgba(15, 27, 46, .34);
  --shadow-brand: 0 12px 26px -12px rgba(30, 78, 112, .6);

  --pat-grid: linear-gradient(rgba(36, 88, 126, .08) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(36, 88, 126, .08) 1px, transparent 1px) 0 0 / 28px 28px;
  --pat-dot: radial-gradient(rgba(15, 27, 46, .13) 1px, transparent 1.4px) 0 0 / 18px 18px;

  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 1rem; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 100% -8%, rgba(36, 88, 126, .12), transparent 62%),
    radial-gradient(700px 480px at -10% 30%, rgba(212, 180, 110, .05), transparent 60%),
    var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(36, 88, 126, .55); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Tombol ---------- */
.btn {
  --bg: var(--surface); --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.3em; border: 1px solid var(--bd); border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; line-height: 1.15; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--brand-300); color: var(--brand-700); box-shadow: 0 10px 22px -14px rgba(15, 27, 46, .35); }
.btn:active { transform: translateY(0); }
.btn--navy, .btn--primary { --bg: var(--brand-btn); --fg: #fff; --bd: transparent; background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); box-shadow: var(--shadow-brand); }
.btn--navy:hover, .btn--primary:hover { --bg: var(--brand-700); color: #fff; border-color: transparent; box-shadow: 0 16px 30px -14px rgba(30, 78, 112, .7); }
.btn--ghost { --bg: var(--surface); }
.btn--yellow { --bg: var(--accent-light); --fg: var(--navy); --bd: transparent; box-shadow: 0 12px 26px -12px rgba(201, 165, 87, .55); }
.btn--yellow:hover { --bg: var(--accent-2); color: var(--navy); border-color: transparent; }
.btn--line { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .45); box-shadow: none; }
.btn--line:hover { --bg: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn--wa { --bg: var(--wa); --fg: #fff; --bd: transparent; box-shadow: 0 12px 24px -12px rgba(22, 163, 74, .55); }
.btn--wa:hover { --bg: #128a3e; color: #fff; border-color: transparent; }
.btn--sm { padding: .62em 1em; font-size: .88rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Menu ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 0; }
.nav__inner {
  width: min(1240px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 14px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(226, 232, 240, .9); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled .nav__inner { box-shadow: 0 16px 36px -22px rgba(15, 27, 46, .35); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__logo { width: 38px; height: 38px; color: var(--navy); flex: none; }
img.brand__logo { object-fit: contain; }
.brand__text { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand__text em { font-style: normal; color: var(--brand); }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a:not(.btn) { padding: 9px 13px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.nav__menu a:not(.btn):hover { background: var(--brand-50); color: var(--brand-700); }
.nav__menu a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.nav__menu a:not(.btn) { position: relative; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 3px; border-radius: 99px; background: var(--accent); transform: translateX(-50%); transition: width .25s ease; }
.nav__menu a:not(.btn):hover::after, .nav__menu a[aria-current="page"]::after { width: 18px; }
.nav__cta-m { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--brand-50); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Judul bagian ---------- */
.eyebrow, .sec-no {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border: 1px solid var(--brand-100); border-radius: 999px; background: rgba(255, 255, 255, .7);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); margin-left: 4px; animation: dot-pulse 2.4s ease-in-out infinite; }
.sec-no span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: var(--accent-light); font-size: .7rem; font-weight: 800; }
.sec { padding: clamp(56px, 8vw, 104px) 0; overflow-x: clip; position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-title { margin-top: .9rem; font-weight: 800; font-size: clamp(1.85rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.03em; }
.sec-title em, .page-title em, .ajak__t em { font-style: normal; color: var(--brand); }
.sec-title--sm { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 0; }
.sec-lead { margin-top: .9rem; color: var(--ink-2); font-size: 1.04rem; max-width: 60ch; }
.sec-lead a { color: var(--brand-700); font-weight: 700; }
.sec-more { margin-top: 2rem; text-align: center; }
.kosong { padding: 2rem; border: 1.5px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--ink-2); background: rgba(255, 255, 255, .7); }

/* ---------- Pembuka ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); overflow-x: clip; }
.hero::before, .katalog-head::before, .kd-head::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1; pointer-events: none;
  background: var(--pat-grid);
  -webkit-mask-image: radial-gradient(70% 90% at 70% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 70% 0%, #000 0%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.hero__title { margin-top: 1.1rem; font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: -.03em; }
.hero__title em {
  font-style: normal; color: var(--brand); padding-bottom: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='10' viewBox='0 0 60 10'%3E%3Cpath d='M0 6 Q 7.5 1 15 6 T 30 6 T 45 6 T 60 6' fill='none' stroke='%23c9a557' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 42px .26em repeat-x;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { margin-top: 1.25rem; max-width: 52ch; font-size: 1.08rem; color: var(--ink-2); }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.9rem; }
.hero__actions .btn { padding: .95em 1.45em; font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 2.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 560px; }
.stats div { padding: 1rem 1.15rem; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .1rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: .8rem; color: var(--ink-3); font-weight: 500; line-height: 1.35; }
.stats dd { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats div:first-child dd { color: var(--brand); }

.hero__fig { position: relative; isolation: isolate; padding: 34px 0 34px 30px; }
.hero__fig::before {
  content: ""; position: absolute; inset: 0 -4% 0 0; z-index: -1; border-radius: var(--r-xl);
  background:
    var(--pat-orn),
    radial-gradient(120% 90% at 0% 0%, #2f6a93 0%, transparent 60%),
    linear-gradient(135deg, #143450 0%, #173d58 100%);
  box-shadow: 0 40px 80px -40px rgba(30, 78, 112, .7);
}
.hero__fig::after {
  content: ""; position: absolute; right: -9%; bottom: -12%; width: 220px; height: 220px; z-index: -2; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(36, 88, 126, .22) 14px 15px);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%); mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}
.mock { position: relative; background: var(--surface); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin-right: 6%; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__bar span:first-child { background: var(--brand); }
.mock__bar span:nth-child(2) { background: var(--accent); }
.mock__bar p { margin-left: 8px; font-size: .74rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; padding: 14px; }
.mock__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(36, 88, 126, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(160deg, #173a58, #0f1b2e);
}
.mock__play { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 8px rgba(36, 88, 126, .25), 0 10px 24px -6px rgba(0, 0, 0, .5); }
.mock__play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(212, 180, 110, .6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.mock__play .i { width: 22px; height: 22px; margin-left: 3px; }
.mock__cap { position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font-size: .74rem; font-weight: 600; line-height: 1.3; }
.mock__cap::before { content: ""; display: block; height: 4px; margin-bottom: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-light) 38%, rgba(255, 255, 255, .25) 38%); }
.mock__toc { display: grid; align-content: start; gap: 4px; }
.mock__toc li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; padding: 7px 8px; border-radius: 10px; font-size: .7rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.mock__toc li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); font-size: .6rem; font-weight: 800; color: var(--ink-2); }
.mock__toc .is-done span { background: var(--ok-soft); color: var(--ok); }
.mock__toc .is-done { color: var(--ink-3); }
.mock__toc .is-now { background: var(--brand-50); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.mock__toc .is-now span { background: var(--brand); color: #fff; }
.mock__stamp {
  position: absolute; left: 0; bottom: 6px; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .82rem; font-weight: 800; line-height: 1.15; animation: floaty 6s ease-in-out infinite;
}
.mock__stamp i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.mock__stamp i .i { width: 18px; height: 18px; }
.mock__stamp small { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-3); }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.sticky {
  position: absolute; right: -2%; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: 230px;
  padding: 9px 14px 9px 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: .8rem; font-weight: 700; line-height: 1.2; animation: floaty 7s ease-in-out -2s infinite;
}
.sticky::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4e70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hero__figcap { margin-top: 14px; padding: 0 calc(6% + 4px) 0 240px; text-align: right; font-size: .78rem; line-height: 1.4; color: rgba(255, 255, 255, .92); }
.hero__figcap b { font-weight: 700; color: #fff; }

/* ---------- Kartu kelas ---------- */
.kk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.kk {
  position: relative; display: flex; flex-direction: column;
  padding: 12px 12px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.kk > :not(.kk__media):not(.kk__link) { padding-inline: 6px; }
.kk:hover { --ty: -4px; border-color: var(--brand-100); box-shadow: 0 30px 50px -30px rgba(30, 78, 112, .45); }
.kk__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.kk__media { position: relative; margin-bottom: 14px; }
.kk__cat { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); font-weight: 700; }
.kk .kk__title { margin-top: .3rem; font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.02em; }
.kk__batch { margin-top: .3rem; font-size: .8rem; color: var(--ink-3); }
.kk__stamp { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--accent-light); color: var(--navy); font-size: .7rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 14px -6px rgba(122, 92, 28, .6); }
.kk--soon .kk__stamp { background: var(--navy); color: #fff; box-shadow: none; }
.kk__stamp--red { background: var(--accent-light); }
.kk .kk__sum { margin-top: .7rem; font-size: .9rem; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kk__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .9rem; }
.kk__meta li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--ink-2); background: var(--bg-2); }
.kk__meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }
.kk__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.kk__meta + .kk__foot, .kk__sum + .kk__foot { margin-top: 1rem; }
.kk__price { display: flex; flex-direction: column; line-height: 1.15; }
.kk__price s { font-size: .78rem; color: var(--ink-3); }
.kk__price b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.kk__go { display: inline-flex; align-items: center; gap: 6px; padding: .5em .85em; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .84rem; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.kk__go .i { transition: transform .2s ease; }
.kk:hover .kk__go { background: var(--brand-btn); color: #fff; }
.kk:hover .kk__go .i { transform: translateX(3px); }
.kk--soon .kk__price b { color: var(--ink-2); }

/* Sampul kelas mendatar (16:9) */
.lcover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 16 / 9; padding: 16px 18px; overflow: hidden; isolation: isolate;
  border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #143450 0%, #1e4e70 100%);
}
.lcover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
}
.lcover::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; z-index: -1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(255, 255, 255, .16) 12px 13px);
}
.lcover--t1 { background: radial-gradient(90% 90% at 100% 0%, rgba(212, 180, 110, .3), transparent 60%), linear-gradient(135deg, #173a58 0%, #0f1b2e 100%); }
.lcover--t2 { background: radial-gradient(90% 90% at 100% 0%, rgba(155, 184, 207, .35), transparent 60%), linear-gradient(135deg, #64748b 0%, #334155 100%); }
.lcover--t3 { color: var(--ink); background: linear-gradient(135deg, #f6ebcb 0%, #e6cd8f 100%); }
.lcover--t3::before { background: linear-gradient(rgba(122, 92, 28, .1) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(122, 92, 28, .1) 1px, transparent 1px) 0 0 / 22px 22px; }
.lcover--t3::after { background: repeating-radial-gradient(circle, transparent 0 12px, rgba(122, 92, 28, .16) 12px 13px); }
.lcover__cat { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lcover--t3 .lcover__cat { background: rgba(255, 255, 255, .6); color: var(--accent-700); }
.kk .lcover__cat { display: none; }
.lcover__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 86%; font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.2; letter-spacing: -.02em; }
.lcover__logo { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; color: #fff; opacity: .3; }
.lcover--t3 .lcover__logo { color: var(--navy); opacity: .3; }
.lcover__title::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 10px; border-radius: 99px; background: var(--accent-light); }
.lcover--t3 .lcover__title::before { background: var(--navy); }
.lcover--img { padding: 0; background: var(--bg-2); }
.lcover--img::before, .lcover--img::after { display: none; }
.lcover--img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fitur ---------- */
.sec--fitur { background: var(--surface); border-block: 1px solid var(--line); }
.sec--fitur::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--pat-dot);
  -webkit-mask-image: radial-gradient(40% 60% at 0% 100%, #000, transparent 70%); mask-image: radial-gradient(40% 60% at 0% 100%, #000, transparent 70%);
}
.fitur__grid { position: relative; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.fitur__grid .sec-head { position: sticky; top: 120px; }
.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: toc; }
.toc__row { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.toc__row:hover { background: var(--surface); box-shadow: var(--shadow); transform: translateY(-2px); }
.toc__row::after { content: ""; position: absolute; left: 20px; top: 0; width: 34px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.toc__row:hover::after { width: calc(100% - 40px); }
.toc__row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.toc__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--brand); border: 1px solid var(--brand-100); box-shadow: 0 8px 18px -12px rgba(30, 78, 112, .6); }
.toc__ico .i { width: 22px; height: 22px; }
.toc__no { position: absolute; top: 16px; right: 18px; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--brand-300); opacity: .8; }
.toc__t { font-weight: 700; font-size: 1.06rem; line-height: 1.3; letter-spacing: -.02em; }
.toc__body p { margin-top: .4rem; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }

/* ---------- Cara daftar ---------- */
.sec--cara {
  margin-inline: clamp(8px, 2vw, 24px); border-radius: clamp(22px, 3vw, 36px); color: #fff; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, #2f6a93 0%, transparent 60%), linear-gradient(135deg, #143450 0%, #1e4e70 100%);
}
.sec--cara::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--pat-orn);
  -webkit-mask-image: radial-gradient(80% 100% at 15% 10%, #000, transparent 80%); mask-image: radial-gradient(80% 100% at 15% 10%, #000, transparent 80%);
}
.sec--cara::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; z-index: -1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(255, 255, 255, .14) 18px 19px);
}
.sec-head--light .sec-no { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.sec-head--light .sec-no span { background: var(--accent-light); color: var(--navy); }
.sec-head--light .sec-title em { color: var(--accent-light); }
.pinjam-card { color: var(--ink); }
.pinjam-card__head { display: none; }
.pinjam-card__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; counter-reset: step; }
.pinjam-card__rows li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 24px 40px -28px rgba(8, 21, 42, .6); }
.pinjam-card__rows li:not(:last-child)::after { content: ""; position: absolute; top: 42px; right: -18px; width: 18px; border-top: 2px dashed var(--accent-light); }
.pc__no { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-light); color: var(--navy); font-size: 1.1rem; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(201, 165, 87, .55); }
.pinjam-card__rows li > div { min-width: 0; }
.pinjam-card__rows h3 { font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.pinjam-card__rows p { font-size: .9rem; color: var(--ink-2); margin-top: .35rem; line-height: 1.6; }
.pc__stamp { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .74rem; font-weight: 700; }
.pc__stamp::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.cara__cta { margin-top: 2.2rem; }

/* ---------- Biaya ---------- */
.biaya__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.booktabs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.booktabs figcaption { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.booktabs figcaption b { padding: 2px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); font-size: .75rem; }
.booktabs table { width: 100%; border-collapse: collapse; }
.booktabs thead th { text-align: left; padding: .7rem 1.1rem; background: var(--tint); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.booktabs tbody th, .booktabs tbody td { padding: 1rem 1.1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; font-size: .93rem; }
.booktabs tbody tr { transition: background-color .15s ease; }
.booktabs tbody tr:hover { background: #f7faff; }
.booktabs tbody th a { font-weight: 700; text-decoration: none; }
.booktabs tbody th a:hover { color: var(--brand-700); }
.booktabs small { display: block; font-size: .78rem; color: var(--ink-3); margin-top: .15rem; }
.booktabs .tag-soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .66rem; font-weight: 700; vertical-align: 2px; }
.booktabs .num { text-align: right; white-space: nowrap; }
.booktabs .num s { display: block; font-size: .78rem; color: var(--ink-3); }
.booktabs .num b { font-size: 1.05rem; font-weight: 800; color: var(--brand-700); }
.booktabs__foot { padding: 12px 18px 16px; font-size: .84rem; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--tint); }
.bayar { position: relative; margin-top: 1.2rem; padding: 1.1rem 1.2rem 1.1rem 4.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: .93rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.bayar::before { content: ""; position: absolute; left: 1.1rem; top: 1.1rem; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4e70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / 20px no-repeat; }
.bayar__t { font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.bayar p + p { margin-top: .5rem; }

/* ---------- Ulasan ---------- */
.sec--ulasan { background: var(--bg-2); }
.sec--ulasan::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--pat-dot); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.sec--ulasan .wrap { position: relative; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.review { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.review::before {
  content: ""; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 12px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310263d'%3E%3Cpath d='M5 18c2-1 3-3 3-6H5V6h6v6c0 4-2 6.5-6 7.5zM14 18c2-1 3-3 3-6h-3V6h6v6c0 4-2 6.5-6 7.5z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.review blockquote { font-size: .98rem; line-height: 1.65; color: var(--ink); }
.review figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; margin-top: auto; padding-top: 1.1rem; font-size: .88rem; }
.review blockquote + figcaption { margin-top: 1.2rem; border-top: 1px dashed var(--line-2); }
.review__ava { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-300), var(--brand)); color: #fff; font-weight: 800; font-size: .8rem; }
.review figcaption b { font-weight: 700; line-height: 1.3; }
.review figcaption span:not(.review__ava) { color: var(--brand-700); font-size: .76rem; font-weight: 600; }

/* ---------- Tanya-jawab ---------- */
.tanya__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--brand-100); box-shadow: inset 4px 0 0 var(--accent), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem 1rem 1.25rem; font-weight: 700; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-size: 1.2rem; font-weight: 500; line-height: 1; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__a { padding: 0 1.25rem 1.15rem; color: var(--ink-2); max-width: 66ch; font-size: .95rem; }
.faq__a p + p { margin-top: .6rem; }

/* ---------- Ajakan ---------- */
.ajak { padding: 0 0 clamp(48px, 6vw, 80px); }
.ajak__in {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem;
  padding: clamp(28px, 5vw, 52px); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(36, 88, 126, .55), transparent 65%), linear-gradient(135deg, #132f4a 0%, #0f1b2e 100%);
  box-shadow: var(--shadow-lg);
}
.ajak__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pat-orn); -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.ajak__in::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 16px, rgba(212, 180, 110, .2) 16px 17px); }
.ajak__t { font-weight: 800; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -.03em; max-width: 24ch; }
.ajak__t em { display: block; color: var(--accent-light); }
.ajak__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.foot { position: relative; isolation: isolate; background: var(--dark); border-top: 4px solid var(--accent-light); color: rgba(226, 234, 246, .78); padding: clamp(44px, 6vw, 72px) 0 2rem; overflow-x: clip; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pat-orn); opacity: .8; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }
.foot__big { font-weight: 800; font-size: clamp(2.4rem, 7.4vw, 5.8rem); line-height: 1; letter-spacing: -.055em; background: linear-gradient(90deg, #fff 0%, #d6e4ef 50%, var(--accent-light) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__big em { font-style: normal; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: 2rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.foot__t { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); margin-bottom: .8rem; }
.foot__list { display: grid; gap: .5rem; }
.foot a { color: inherit; text-decoration: none; transition: color .15s ease; }
.foot a:hover { color: #fff; }
.foot__list b { color: #fff; }
.colophon { font-size: .84rem; }
.colophon a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.colophon__lic { margin-top: .6rem; opacity: .6; font-size: .8rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 16px 30px -12px rgba(22, 163, 74, .65); transition: transform .18s ease, box-shadow .18s ease; }
.wa-float .i { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(22, 163, 74, .75); }

/* ---------- Katalog ---------- */
.katalog-head { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 76px) 0 1rem; }
.page-title { margin-top: 1rem; font-weight: 800; font-size: clamp(2.2rem, 4.8vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.saring { margin-top: 1.8rem; display: grid; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.saring__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .86rem; color: var(--ink-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.chip.is-on { background: var(--brand-btn); border-color: var(--brand-btn); color: #fff; box-shadow: var(--shadow-brand); }
.saring__row { display: flex; flex-wrap: wrap; gap: 10px; }
.saring select, .saring input { padding: .7em .95em; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); min-width: 0; font-size: .92rem; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.saring input { flex: 1 1 240px; padding-left: 2.6em; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") .9em center / 18px no-repeat; }
.saring select:focus, .saring input:focus { outline: none; border-color: var(--brand-300); background-color: #fff; box-shadow: 0 0 0 4px rgba(36, 88, 126, .14); }
.sec--katalog { padding-top: 2rem; }
.usul { position: relative; overflow: hidden; margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--brand-100); border-radius: var(--r-lg); background: linear-gradient(90deg, var(--brand-50), var(--surface)); }
.usul p { max-width: 62ch; font-size: .95rem; color: var(--ink-2); }
.usul b { color: var(--ink); }

/* ---------- Detail kelas ---------- */
.jejak { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .84rem; color: var(--ink-3); }
.jejak a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.jejak a:hover { color: var(--brand-700); }
.jejak span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; color: var(--ink); font-weight: 600; }
.kd-head { position: relative; isolation: isolate; padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 52px); }
.kd-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4vw, 60px); align-items: center; margin-top: 1.4rem; }
.kd-title { margin-top: 1rem; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -.04em; }
.kd-sum { margin-top: .9rem; font-size: 1.05rem; color: var(--ink-2); max-width: 60ch; }
.kd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.kd-meta li { display: flex; flex-direction: column; padding: .65rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: .92rem; line-height: 1.3; box-shadow: var(--shadow-sm); }
.kd-meta small { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); }
.kd-by { display: flex; align-items: center; gap: 8px; margin-top: 1.1rem; font-size: .93rem; color: var(--ink-2); }
.kd-by::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e4e70' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E") center / 14px no-repeat; }
.kd-by b { color: var(--ink); }
.kd-cover { position: relative; isolation: isolate; }
.kd-cover::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: var(--r-lg); background: radial-gradient(rgba(201, 165, 87, .55) 1.3px, transparent 1.8px) 0 0 / 14px 14px; }
.kd-cover .lcover { border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-lg); }
.kd-cover .lcover__title { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.kd-cover .lcover__cat { left: 16px; top: 16px; }

.kd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.info-strip { margin-bottom: 1.2rem; padding: .85rem 1.1rem; border: 1px solid #ecd9a6; border-left: 4px solid var(--accent); border-radius: 12px; background: var(--warn-soft); font-size: .93rem; }
.kd-sec { padding: clamp(18px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.kd-sec + .kd-sec { margin-top: 18px; }
.kd-h { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; font-weight: 800; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 1.1rem; }
.kd-h::before { content: ""; width: 6px; height: 1.15em; border-radius: 99px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.kd-h small { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); font-size: .74rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.kd-h--sm { font-size: 1.05rem; margin-bottom: .6rem; }
.prose { font-size: .99rem; line-height: 1.8; color: var(--ink-2); max-width: 68ch; }
.prose strong { color: var(--ink); }
.prose p + p { margin-top: .9em; }
.kuasai { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .7rem 1.4rem; }
.kuasai li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.kuasai .i { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: .05em; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.silabus { margin-top: -.3rem; }
.silabus__bab { display: inline-flex; margin: 1rem 0 .4rem; padding: 4px 10px; border-radius: 8px; background: var(--brand-50); font-size: .74rem; letter-spacing: .03em; text-transform: uppercase; color: var(--brand-700); font-weight: 700; }
.silabus__list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: .8rem; align-items: center; padding: .7rem .6rem; border-radius: 12px; transition: background-color .15s ease; }
.silabus__list li + li { box-shadow: 0 -1px 0 var(--line); }
.silabus__list li:hover { background: var(--tint); }
.sl__no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--bg-2); font-size: .76rem; font-weight: 800; color: var(--ink-2); }
.sl__t { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.sl__dur { font-size: .76rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sl__lock { color: var(--ink-3); opacity: .7; }
.sl__play { display: inline-flex; align-items: center; gap: 5px; padding: .42em .8em; border: 0; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .78rem; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.sl__play:hover { background: var(--brand-btn); color: #fff; }
.sl__play .i { width: .9em; height: .9em; }
.is-free .sl__no { background: var(--accent-light); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(201, 165, 87, .55); }
.pengajar { display: flex; gap: 1rem; align-items: flex-start; }
.pengajar__foto { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-300), var(--brand)); color: #fff; font-size: 1.3rem; font-weight: 800; overflow: hidden; box-shadow: 0 0 0 4px var(--brand-50); }
.pengajar__foto img { width: 100%; height: 100%; object-fit: cover; }
.pengajar__nama { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.pengajar p + p { color: var(--ink-2); margin-top: .3rem; font-size: .94rem; }
.kd-sec--two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.kd-sec--two p { color: var(--ink-2); }

.kd-side { position: sticky; top: 104px; }
.karcis { position: relative; overflow: hidden; padding: 1.5rem 1.4rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.karcis::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--navy) 10px 20px); background-size: 28.28px 100%; animation: stripes-x 1.6s linear infinite; }
.karcis::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, rgba(36, 88, 126, .12) 10px 11px); pointer-events: none; }
.karcis__t { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--brand-50); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); }
.karcis__price { display: flex; flex-direction: column; margin-top: .8rem; line-height: 1.1; }
.karcis__price s { font-size: .9rem; color: var(--ink-3); }
.karcis__price b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; }
.karcis__price .karcis__ask { font-size: 1.5rem; }
.karcis__note { margin-top: .35rem; font-size: .84rem; color: var(--ink-2); }
.karcis__inc { display: grid; gap: .55rem; margin: 1.1rem 0; padding-top: 1.1rem; border-top: 1px dashed var(--line-2); font-size: .9rem; }
.karcis__inc li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.45; }
.karcis__inc .i { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.karcis__form { display: grid; gap: .75rem; margin: 1.1rem 0 1rem; }
.karcis__form label span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: .3rem; }
.karcis__form label i { font-style: normal; font-weight: 500; color: var(--ink-3); }
.karcis__form input { width: 100%; padding: .72em .9em; border: 1px solid var(--line-2); border-radius: 12px; background: var(--tint); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.karcis__form input:focus { outline: none; border-color: var(--brand-300); background: #fff; box-shadow: 0 0 0 4px rgba(36, 88, 126, .14); }
.karcis__form .is-need input { border-color: var(--bad); background: var(--bad-soft); }
.karcis__form .is-need span::after { content: " — mohon diisi"; color: var(--bad); font-weight: 600; }
.karcis .btn--wa { padding: .95em 1.2em; font-size: .98rem; }
.karcis__help { margin-top: .8rem; font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
.karcis__login { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.karcis__login a { font-weight: 700; color: var(--brand-700); }

.sec--lain { padding-top: clamp(48px, 7vw, 80px); }

.pratinjau { width: min(920px, calc(100% - 24px), calc((100vh - 150px) * 1.77)); max-height: calc(100vh - 24px); overflow: hidden; padding: 0; border: 0; border-radius: var(--r-lg); background: #0a1a2b; color: #fff; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.pratinjau::backdrop { background: rgba(15, 27, 46, .7); backdrop-filter: blur(4px); }
.pratinjau__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem .85rem 1.2rem; }
.pratinjau__head p { font-weight: 700; min-width: 0; }
.pratinjau__head button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: .95rem; }
.pratinjau__head button:hover { background: var(--brand); }
.pratinjau__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.pratinjau__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pratinjau__foot { padding: .7rem 1.2rem; font-size: .8rem; opacity: .75; }

/* ---------- Muncul saat di-scroll ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1), transform .22s ease, box-shadow .22s ease, background-color .2s ease, border-color .22s ease; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Rak kelas yang bisa digeser ---------- */
.sec--rak { padding-top: clamp(24px, 4vw, 48px); }
.geser { position: relative; container-type: inline-size; }
.geser__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; grid-auto-columns: max(280px, calc((100cqi - 48px) / 3)); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 4px;
  padding: 6px 6px 24px 4px; margin: -6px -6px 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--brand-300) transparent;
}
.geser__track::-webkit-scrollbar { height: 6px; }
.geser__track::-webkit-scrollbar-track { background: transparent; }
.geser__track::-webkit-scrollbar-thumb { background: var(--brand-100); border-radius: 99px; }
.geser__track > .kk { scroll-snap-align: start; }
.geser__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.geser.is-over .geser__track { cursor: grab; }
.geser.is-over:not(.at-end)::after { content: ""; position: absolute; top: 0; right: -2px; bottom: 24px; width: 64px; pointer-events: none; background: linear-gradient(90deg, rgba(243, 246, 250, 0), var(--bg)); }
.geser__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; }
.geser__hint { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.geser__hint b { font-weight: 600; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.geser__hand { color: var(--brand); animation: geser-nudge 1.4s ease-in-out infinite; }
@keyframes geser-nudge { 50% { transform: translateX(5px); } }
.geser.at-end .geser__hand { animation: none; }
.geser__btns { display: flex; gap: 10px; }
.geser__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: background-color .15s ease, color .15s ease, opacity .15s ease, transform .15s ease; }
.geser__btn:hover:not(:disabled) { background: var(--brand-btn); border-color: var(--brand-btn); color: #fff; transform: translateY(-1px); }
.geser__btn:disabled { opacity: .4; cursor: default; }
.geser__btn .i { width: 20px; height: 20px; }

/* ---------- Responsif ---------- */
@media (max-width: 1000px) {
  .nav__toggle { display: flex; }
  .nav__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 100px var(--gutter) 32px; background: var(--pat-grid), var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; overflow-y: auto;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu a:not(.btn) { padding: min(1.8vh, 16px) 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: clamp(1.1rem, 3.2vh, 1.5rem); color: var(--ink); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .nav__cta-m { display: inline-flex; margin-top: 18px; padding: 1em; font-size: 1rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__fig { max-width: 600px; width: 100%; margin-inline: auto; }
  .fitur__grid, .biaya__grid, .tanya__grid { grid-template-columns: minmax(0, 1fr); }
  .fitur__grid .sec-head { position: static; }
  .kd-grid { grid-template-columns: minmax(0, 1fr); }
  .kd-side { position: static; max-width: 560px; }
  .kd-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .pinjam-card__rows li::after { display: none; }
  .geser__track { grid-auto-columns: max(260px, calc((100cqi - 24px) / 2)); }
}
@media (max-width: 640px) {
  body { font-size: .97rem; }
  .nav { padding-top: 10px; }
  .brand__text { font-size: .98rem; line-height: 1.05; }
  .brand__text em { display: block; }
  .brand__logo { width: 34px; height: 34px; }
  .nav__cta { padding: .6em .85em; }
  .hero__actions .btn { width: 100%; }
  .stats { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats div { padding: .8rem .75rem; }
  .stats dd { font-size: 1.3rem; }
  .stats dt { font-size: .72rem; }
  .hero__fig { padding: 46px 0 40px 14px; }
  .hero__fig::before { right: -14px; }
  .mock { margin-right: 14px; }
  .mock__body { grid-template-columns: minmax(0, 1fr); }
  .mock__toc li:nth-child(n+3) { display: none; }
  .mock__stamp { left: -4px; bottom: 4px; padding: 8px 12px 8px 8px; }
  .sticky { right: 0; top: 4px; max-width: 200px; font-size: .74rem; }
  .hero__figcap { display: none; }
  .toc { grid-template-columns: minmax(0, 1fr); }
  .kd-head__grid { grid-template-columns: minmax(0, 1fr); }
  .kd-cover { order: -1; max-width: 460px; }
  .kd-cover::before { inset: 10px -10px -10px 10px; }
  .kd-meta li { flex: 1 1 40%; }
  .kd-h small { margin-left: 0; }
  .silabus__list li { grid-template-columns: 28px minmax(0, 1fr) auto; gap: .6rem; padding: .65rem .3rem; }
  .sl__dur { display: none; }
  .booktabs thead th:nth-child(2), .booktabs tbody td:nth-child(2) { display: none; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
  .geser__track { grid-auto-columns: 84cqi; gap: 16px; }
  .geser__btn { width: 42px; height: 42px; }
  .ajak__btns { width: 100%; }
  .ajak__btns .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .brand__text em { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .geser__hand, .mock__play::after, .mock__stamp, .sticky { animation: none; }
}

/* =========================================================
   Gerak & animasi
   ========================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fig-in { from { opacity: 0; transform: translateX(46px) scale(.96) rotate(1.5deg); } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes wave { to { background-position: 42px 100%; } }
@keyframes drift { to { background-position: 28px 28px, 28px 28px; } }
@keyframes drift64 { to { background-position: 90px 90px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stripes-x { to { background-position: 28.28px 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 7px var(--accent-soft); } }
@keyframes pop { 0% { transform: scale(.4) rotate(-12deg); opacity: 0; } 70% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; opacity: 1; } }
@keyframes ring-out { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }
@keyframes glow-shift { 50% { background-position: 100% 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }

/* Pembuka: muncul berurutan */
.hero__text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(2) { animation-delay: .14s; }
.hero__text > :nth-child(3) { animation-delay: .24s; }
.hero__text > :nth-child(4) { animation-delay: .34s; }
.hero__text > :nth-child(5) { animation-delay: .44s; }
.hero__fig { animation: fig-in 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.hero::before { animation: drift 30s linear infinite; }
.hero__title em { animation: wave 2.6s linear infinite; }
.mock { animation: bob 7s ease-in-out 1.2s infinite; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease; }
.mock__cap::before { background-size: 200% 100%; animation: glow-shift 6s ease-in-out infinite; }

/* Ornamen bergerak di sekitar gambar pembuka */
.orn { position: absolute; pointer-events: none; z-index: 0; }
.orn--ring { left: -34px; top: -26px; width: 130px; height: 130px; border-radius: 50%; border: 2px dashed rgba(36, 88, 126, .35); animation: spin 28s linear infinite; }
.orn--ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(212, 180, 110, .25); }
.orn--stripes { right: 12%; bottom: 14px; width: 128px; height: 14px; border-radius: 99px; background: repeating-linear-gradient(-45deg, var(--accent-light) 0 10px, transparent 10px 20px); background-size: 28.28px 100%; animation: stripes-x 1.4s linear infinite; z-index: 1; }

/* Pita kuning berjalan */
.pita { position: relative; z-index: 2; margin: 0 -3vw; padding: 13px 0; overflow: hidden; background: linear-gradient(90deg, #f1e0af, #e4cb8c 50%, #f1e0af); color: var(--navy); transform: rotate(-1.6deg); box-shadow: 0 18px 40px -22px rgba(122, 92, 28, .7); }
.pita::before { content: ""; position: absolute; inset: auto 0 -1px 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--navy) 0 8px, transparent 8px 16px); opacity: .85; }
.pita__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.pita:hover .pita__track { animation-play-state: paused; }
.pita span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.pita span::after { content: ""; width: 10px; height: 10px; background: var(--navy); transform: rotate(45deg); border-radius: 2px; }
.pita + .sec--rak { padding-top: clamp(56px, 8vw, 96px); }

/* Garis kuning di bawah kata berwarna pada judul bagian */
.sec-title em, .page-title em { background: linear-gradient(var(--accent), var(--accent)) 0 94% / 100% .16em no-repeat; transition: background-size .9s cubic-bezier(.2, .7, .2, 1) .25s; }
.sec-head--light .sec-title em { background-image: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)); }
.js .reveal:not(.is-in) .sec-title em { background-size: 0 .16em; }
.page-title em { animation: none; }

/* Muncul saat digulir, dengan jeda berurutan */
.js .reveal { transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms, 0ms, 0ms; }
.js .reveal--zoom { scale: .94; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1), scale .6s cubic-bezier(.2, .7, .2, 1), transform .22s ease, box-shadow .22s ease; }
.js .reveal--zoom.is-in { scale: 1; transition-delay: var(--rd, 0ms), var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms; }
.pinjam-card__rows li.is-in .pc__no { animation: pop .6s cubic-bezier(.2, .7, .2, 1) calc(var(--rd, 0ms) + .25s) both; }
.faq details[open] .faq__a { animation: fade-down .35s ease; }

/* Kartu kelas: miring mengikuti kursor + sorotan */
.kk { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.kk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(36, 88, 126, .09), transparent 45%); }
.kk:hover::after { opacity: 1; }
.kk:hover .lcover::after { animation: breathe 3s ease-in-out infinite; }

/* Tombol: kilau menyapu + panah bergeser */
.btn--navy, .btn--yellow, .btn--wa, .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--navy::after, .btn--yellow::after, .btn--wa::after, .btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); transition: transform .7s ease; pointer-events: none; }
.btn--navy:hover::after, .btn--yellow:hover::after, .btn--wa:hover::after, .btn--primary:hover::after { transform: translateX(130%); }
.btn .i { transition: transform .22s ease; }
.btn:hover > .i:last-child:not(:first-child) { transform: translateX(4px); }

/* Tombol WhatsApp melayang: gelombang halus */
.wa-float::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--wa); animation: ring-out 2.8s ease-out infinite; }

/* Bagian lain */
.sec--cara::after { animation: breathe 9s ease-in-out infinite; }
.ajak__in::after { animation: breathe 8s ease-in-out infinite; }
.foot::before { animation: drift64 60s linear infinite; }

/* Garis kemajuan baca di atas layar */
.scroll-prog { position: fixed; left: 0; top: 0; z-index: 210; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px rgba(212, 180, 110, .7); pointer-events: none; }

@media (max-width: 640px) {
  .orn--ring { width: 96px; height: 96px; left: -14px; top: -10px; }
  .orn--stripes { width: 90px; right: 10%; bottom: 8px; }
  .pita span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal--zoom { opacity: 1; translate: none; scale: none; }
  .pita__track { animation: none !important; }
}
