/* ==========================================================================
   Little Beats — kerangka halaman statis (paket, about, kontak, shop, dll)
   Dipakai bersama oleh semua halaman di luar aplikasi React, supaya
   tampilannya konsisten tanpa memuat bundle 853 KB.
   ========================================================================== */
:root {
  --ink: #241F3D;          /* biru-tinta, bukan hitam murni */
  --line: #16121F;         /* garis & bayangan tetap pekat agar tegas */
  --paper: #FBF9F4;
  --purple: #5A3CF0;
  --pink: #FF3E82;
  --teal: #14C4C9;
  --yellow: #FFC531;
  --muted: #5F5A7A;        /* abu kebiruan, senada tipografi */
  --blue: #1265C6;         /* biru tua, dipakai untuk judul */
  --head: #1265C6;         /* warna judul */
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto }

/* Judul struktural yang hanya dibaca pembaca layar dan mesin pencari.
   Dipakai agar urutan h1-h2-h3 utuh tanpa mengubah tampilan. */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.lb-skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-160%); transition: transform .18s ease;
  background: var(--purple); color: #fff; font-weight: 800; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  text-decoration: none;
}
.lb-skip:focus { transform: translateY(0) }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Header ---------- */
.lb-head {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(100deg, #2BA8E8 0%, #E4145E 100%);
  border-bottom: 0;
}
/* Isi header dibalik jadi putih agar terbaca di atas gradasi. */
.lb-head .lb-logo { color: #fff }
/* Batang logo ikut putih; ragam tebal-tipisnya dijaga lewat kepekatan. */
.lb-head .lb-logo .bars i { background: #fff !important }
.lb-head .lb-logo .bars i:nth-child(1) { opacity: .8 }
.lb-head .lb-logo .bars i:nth-child(2) { opacity: .92 }
.lb-head .lb-logo .bars i:nth-child(4) { opacity: .88 }
.lb-head .lb-logo .bars i:nth-child(5) { opacity: .72 }
.lb-head .lb-nav a { color: #fff }
.lb-head .lb-nav a:hover { color: #fff; opacity: .78 }
.lb-head .lb-nav a[aria-current="page"] {
  color: #fff; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* Lambang putih polos, tanpa lingkaran. Letaknya di ujung merah muda
   gradasi, jadi putih justru paling terbaca di sana. */
.lb-head .btn.wa-ikon { background: transparent }
.lb-head .btn.wa-ikon svg { width: 26px; height: 26px; fill: #fff }
.lb-head .btn.wa-ikon:hover { filter: none; opacity: .78 }
.lb-head-in {
  max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lb-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 19px; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap; flex: 0 0 auto;
}
.lb-logo .bars { display: flex; align-items: flex-end; gap: 2px; height: 20px }
.lb-logo .bars i { width: 4px; border-radius: 3px; display: block }
.lb-logo .bars i:nth-child(1) { height: 40%; background: var(--pink) }
.lb-logo .bars i:nth-child(2) { height: 75%; background: var(--yellow) }
.lb-logo .bars i:nth-child(3) { height: 100%; background: var(--purple) }
.lb-logo .bars i:nth-child(4) { height: 60%; background: var(--teal) }
.lb-logo .bars i:nth-child(5) { height: 33%; background: var(--ink) }

.lb-nav { display: flex; gap: 18px; font-size: 14px; font-weight: 700 }
.lb-nav a { color: var(--ink); text-decoration: none }
.lb-nav a:hover, .lb-nav a[aria-current="page"] { color: var(--head) }
@media (max-width: 760px) { .lb-nav { display: none } }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font); font-size: 15px; font-weight: 800;
  border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; background: var(--purple); color: #fff;
  box-shadow: none;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06) }
/* Tanpa bingkai, tombol sekunder butuh dasar sendiri agar tetap terbaca. */
.btn.ghost { background: #EDEAE3; color: var(--ink) }
/* WhatsApp tampil tanpa bingkai: warnanya sudah cukup menandai dirinya. */
.btn.wa { background: #25D366; color: var(--ink) }
.btn.sm { min-height: 42px; padding: 9px 18px; font-size: 14px }
/* Versi ikon saja untuk header: lambang WhatsApp tanpa teks. */
.btn.wa-ikon { width: 42px; min-width: 42px; height: 42px; padding: 0;
               border-radius: 50%; gap: 0 }
.btn.wa-ikon svg { flex: 0 0 auto; width: 21px; height: 21px; fill: #fff }

/* ---------- Tata letak ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 0 20px 72px }
.lb-hero { padding: 48px 0 20px; max-width: 720px }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--head);
  background: transparent; border: 0; border-radius: 0;
  padding: 0; margin-bottom: 14px;
}
h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 14px; color: var(--head) }
h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; letter-spacing: -.01em; margin: 38px 0 12px; color: var(--head) }
h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; color: var(--ink) }
p  { color: var(--muted); font-weight: 500; margin: 0 0 12px }
.lead { font-size: 17px }

.grid { display: grid; gap: 18px }
@media (min-width: 760px) { .grid.two { grid-template-columns: 1fr 1fr } }
@media (min-width: 760px) { .grid.three { grid-template-columns: repeat(3, 1fr) } }

.card {
  background: #fff; border: 1px solid rgba(36, 31, 61, .09); border-radius: 18px;
  padding: 24px; box-shadow: none;
}
.card.tint  { background: #FFE9F1 }
.card.tint2 { background: #DFF9F9 }

/* ---------- Daftar pointer (pengganti kartu berbingkai) ---------- */
ul.points { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 18px }
@media (min-width: 760px) {
  ul.points.two   { grid-template-columns: 1fr 1fr; column-gap: 44px }
  ul.points.three { grid-template-columns: repeat(3, 1fr); column-gap: 32px }
}
ul.points > li { position: relative; padding-left: 26px }
ul.points > li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--purple);
}
ul.points > li:nth-child(4n+2)::before { background: var(--pink) }
ul.points > li:nth-child(4n+3)::before { background: var(--teal) }
ul.points > li:nth-child(4n+4)::before { background: var(--yellow) }
ul.points h3 { margin-bottom: 6px }
ul.points p { margin-bottom: 10px }
ul.points p:last-child { margin-bottom: 0 }
p.src { font-size: 13px }

/* Paragraf rata kiri-kanan untuk halaman naratif. */
.lb-why h2 { margin-top: 34px }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px }

/* ---------- Kartu paket ---------- */
.price { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 2px }
.price small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0 }
.badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  border: 0; background: var(--head); color: #fff; margin-bottom: 10px;
}
.badge.alt { background: #E4145E }
ul.ticks { list-style: none; margin: 14px 0 20px; padding: 0 }
ul.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-weight: 600; font-size: 15px }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px; border-left: 3px solid var(--purple);
  border-bottom: 3px solid var(--purple); transform: rotate(-45deg);
}

.note {
  border-left: 4px solid var(--yellow); background: #FFF7E3;
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 16px 0;
  font-size: 15px; font-weight: 600; color: var(--ink);
}

dl.faq { margin: 0 }
dl.faq dt { font-weight: 800; margin-top: 18px }
dl.faq dd { margin: 6px 0 0; color: var(--muted); font-weight: 500 }

/* ---------- Status "segera hadir" ---------- */
.soon { text-align: center; padding: 40px 24px }
.soon img { width: 132px; height: 172px; object-fit: contain; margin-bottom: 8px }

/* ---------- Footer (terang) ---------- */
.lb-foot { background: #fff; color: var(--ink); margin-top: 48px; padding: 36px 20px 26px;
           border-top: 1px solid rgba(36, 31, 61, .10) }
.lb-foot-in { max-width: 1100px; margin: 0 auto }
.lb-foot a { color: var(--ink); text-decoration: none }
.lb-foot a:hover { color: var(--head) }
.lb-foot .cols { display: grid; gap: 26px; margin-bottom: 28px }
@media (min-width: 760px) { .lb-foot .cols { grid-template-columns: 2fr 1fr 1fr } }
.lb-foot h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
              color: var(--head); margin: 0 0 10px; font-weight: 800 }
.lb-foot ul { list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700 }
.lb-foot li { margin-bottom: 7px }
.lb-foot p { color: var(--muted); font-size: 14px }
.lb-social { display: flex; gap: 12px; margin-top: 14px }
.lb-social a { display: flex; align-items: center; justify-content: center;
               width: 46px; height: 46px; border-radius: 14px;
               background: #fff; border: 1px solid rgba(36, 31, 61, .13); color: var(--ink) }
.lb-social a:hover { background: var(--head); color: #fff }
.lb-social svg { width: 20px; height: 20px }
.lb-bottom { border-top: 1px solid rgba(36,31,61,.10); padding-top: 18px;
             display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
             font-size: 12px; color: var(--muted) }

/* ---------- Katalog produk (Shop) ---------- */
/* 290px membuat enam produk jatuh rapi jadi 3+3 di layar lebar. */
.grid.prods { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) }
.grid.prods + ul.points { margin-top: 26px }
.card.prod { display: flex; flex-direction: column; padding: 18px }
.card.prod .thumb {
  display: flex; align-items: center; justify-content: center;
  height: 140px; font-size: 56px; line-height: 1;
  border: 1px solid rgba(36, 31, 61, .09); border-radius: 14px; margin-bottom: 14px;
}
/* Thumbnail berisi foto produk, bukan emoji. Kotak 4:3 dengan latar sewarna
   latar foto, jadi sisa ruangnya tidak terlihat sebagai bingkai. */
.card.prod .thumb.foto { display: block; height: auto; aspect-ratio: 4 / 3;
                         background: #EBF2FF; overflow: hidden; padding: 0 }
.card.prod .thumb.foto img { width: 100%; height: 100%; object-fit: contain; display: block }
.card.prod h3 { font-size: 16px; margin-bottom: 4px }
.card.prod p { font-size: 14px; margin-bottom: 10px; flex: 1 1 auto }
.price.sm { font-size: 20px; margin: 0 0 12px }
.disclaimer {
  border: 0; border-left: 4px solid var(--yellow); background: #FFF7E3;
  border-radius: 0 14px 14px 0;
  padding: 16px 20px; margin: 0 0 24px; font-weight: 600;
}
.disclaimer strong { color: var(--ink) }

/* ==========================================================================
   Landing — visual, dua pintu, dan satu jalur WhatsApp
   ========================================================================== */
/* Halaman depan: latar putih polos, tanpa aksen dekoratif. */
body.lb-landing { display: flex; flex-direction: column; min-height: 100svh; background: #fff }

.lb-land {
  flex: 1 1 auto; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 30px 20px calc(26px + env(safe-area-inset-bottom));
}
.lb-land__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 4px }
.lb-land__logo .bars { display: flex; align-items: flex-end; gap: 3px; height: 26px }
.lb-land__logo .bars i { width: 5px; border-radius: 3px; display: block }
.lb-land__logo span { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink) }

.lb-art { position: relative; width: min(84vw, 380px); margin: 0 auto }
.lb-land__art { display: block; width: 76%; margin: 0 auto; height: auto;
                animation: lb-bob 3.4s ease-in-out infinite }

/* Hiasan not balok & kilau. Dekoratif murni, jadi disembunyikan dari
   pembaca layar dan tidak menghalangi sentuhan. */
.lb-deco { position: absolute; display: block; height: auto;
           pointer-events: none; user-select: none;
           animation: lb-float 4.6s ease-in-out infinite }
/* Maskot berada di atas hiasan supaya tangannya tidak tertimpa not balok. */
.lb-land__art { position: relative; z-index: 2 }
.lb-deco--1 { width: 13%; left: -2%;  top: 37%; animation-delay: .0s }   /* not pink  */
.lb-deco--2 { width: 15%; right: -1%; top: 28%; animation-delay: .8s }   /* not kuning */
.lb-deco--3 { width: 10%; left: 2%;   top: 61%; animation-delay: 1.6s }  /* not ungu  */
.lb-deco--4 { width: 13%; right: 2%;  top: 57%; animation-delay: 2.3s }  /* not biru  */
.lb-deco--5 { width: 9%;  left: 14%;  top: 7%;  animation-delay: 1.1s }  /* kilau     */
@keyframes lb-float {
  0%,100% { transform: translateY(0) rotate(0deg) }
  50%     { transform: translateY(-11px) rotate(-4deg) }
}
@media (prefers-reduced-motion: reduce) { .lb-deco { animation: none } }

/* Judul dua warna, seperti contoh: baris pertama tinta, baris kedua ungu. */
.lb-land__title {
  margin: 6px 0 6px; font-size: clamp(30px, 8vw, 46px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.05; color: var(--ink);
}
.lb-land__title em { font-style: normal; color: var(--head); display: block }
.lb-land__tag {
  margin: 0 0 24px; font-size: clamp(13px, 3.2vw, 15px); font-weight: 600;
  color: var(--muted); max-width: 34ch; line-height: 1.45;
}

.lb-doors { display: grid; gap: 13px; width: min(100%, 420px); grid-auto-rows: 1fr }
.lb-door {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px; border-radius: 20px; border: 0;
  text-decoration: none; text-align: left; min-height: 92px;
  transition: transform .14s ease, filter .14s ease;
}
.lb-door:hover { transform: translateY(-2px); filter: brightness(1.05) }
.lb-door:active { transform: translateY(0) }
.lb-door__ico {
  flex: 0 0 auto; width: 62px; height: 62px; display: grid; place-items: center;
}
.lb-door__ico svg { width: 100%; height: 100% }
.lb-door__txt { flex: 1 1 auto; min-width: 0 }
.lb-door b { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; text-wrap: balance }
.lb-door small { display: block; font-size: 12.5px; font-weight: 600; opacity: .9; margin-top: 4px }
.lb-door__arr {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--head);
  display: grid; place-items: center; font-size: 17px; font-weight: 800;
}
.lb-door--why  { background: linear-gradient(100deg, #2BA8E8 0%, #1265C6 100%); color: #fff }
.lb-door--join { background: linear-gradient(105deg, #FF6BA4 0%, #E4145E 100%); color: #fff }
.lb-door--why  .lb-door__arr { color: #1265C6 }
.lb-door--join .lb-door__arr { color: #E4145E }

/* Baris WhatsApp berbentuk pil terang */
.lb-land__wa {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  padding: 13px 20px 13px 14px; border-radius: 20px;   /* disamakan dengan dua kartu di atas */
  background: #F1EFEA; text-decoration: none; color: var(--ink);
  transition: transform .14s ease, background-color .14s ease;
}
.lb-land__wa:hover { transform: translateY(-2px); background: #EAE7E0 }
.lb-land__wa .wa-ico {
  width: 38px; height: 38px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; flex: 0 0 auto;
}
.lb-land__wa .wa-ico svg { width: 22px; height: 22px; fill: #fff }
.lb-land__wa span { display: block; text-align: left }
.lb-land__wa .atas { font-size: 12px; font-weight: 600; color: var(--muted) }
.lb-land__wa .bawah { font-size: 15px; font-weight: 800 }

@keyframes lb-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@media (prefers-reduced-motion: reduce) { .lb-land__art { animation: none } }
@media (max-width: 400px) {
  .lb-door { padding: 14px 14px; gap: 11px; min-height: 88px }
  .lb-door__ico { width: 54px; height: 54px }
  .lb-door b { font-size: 15px }
}

/* ==========================================================================
   Kartu hub (why / join)
   ========================================================================== */
.hub { display: grid; gap: 18px }
@media (min-width: 720px) { .hub { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) } }
a.hub-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid rgba(36, 31, 61, .09); border-radius: 18px;
  padding: 24px; box-shadow: none;
  transition: transform .14s ease, box-shadow .14s ease;
}
a.hub-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(36, 31, 61, .08) }
a.hub-card .ico { font-size: 34px; line-height: 1; display: block; margin-bottom: 12px }
a.hub-card h3 { color: var(--head) }
a.hub-card p { margin-bottom: 0 }
a.hub-card.tint  { background: #FFEFF5 }
a.hub-card.tint2 { background: #E9FAFA }

/* ==========================================================================
   Learning Loop — ikon animatif, tanpa menambah beban teks
   ========================================================================== */
.loop { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) }
.loop .step {
  background: #fff; border: 1px solid rgba(36, 31, 61, .09); border-radius: 16px;
  padding: 20px 16px; text-align: center; box-shadow: none;
}
.loop .dot {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 17px;
  animation: lb-pulse 2.4s ease-in-out infinite;
}
.loop .step:nth-child(1) .dot { background: #5A3CF0; animation-delay: 0s }
.loop .step:nth-child(2) .dot { background: #14C4C9; animation-delay: .25s }
.loop .step:nth-child(3) .dot { background: #FF3E82; animation-delay: .5s }
.loop .step:nth-child(4) .dot { background: #FFC531; animation-delay: .75s; color: var(--ink) }
.loop .step:nth-child(5) .dot { background: #241F3D; animation-delay: 1s }
.loop h3 { margin: 0 0 5px; font-size: 14px; font-weight: 800; letter-spacing: .08em;
           text-transform: uppercase; color: var(--ink) }
.loop p { font-size: 13px; margin: 0 }
@keyframes lb-pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.13) } }
@media (prefers-reduced-motion: reduce) { .loop .dot { animation: none } }

/* ==========================================================================
   Tabel kurikulum
   ========================================================================== */
.tbl-wrap { overflow-x: auto; border: 1px solid rgba(36, 31, 61, .09); border-radius: 16px; background: #fff }
table.syl { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px }
table.syl th, table.syl td { padding: 13px 16px; text-align: left; vertical-align: top }
table.syl thead th { background: var(--head); color: #fff; font-size: 12px;
                     letter-spacing: .1em; text-transform: uppercase }
table.syl tbody tr + tr { border-top: 1px solid rgba(36,31,61,.08) }
table.syl td:first-child { font-weight: 800; color: var(--head); white-space: nowrap }
table.syl td b { color: var(--ink) }

/* ==========================================================================
   Transisi antar halaman
   ========================================================================== */
.lb-trans {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; background: var(--paper);
  opacity: 0; transition: opacity .22s ease;
}
.lb-trans.on { display: flex; opacity: 1 }
.lb-trans .eq { display: flex; align-items: flex-end; gap: 6px; height: 40px }
.lb-trans .eq i { width: 8px; border-radius: 4px; display: block;
                  animation: lb-eqx .85s ease-in-out infinite }
.lb-trans .eq i:nth-child(1) { background: #FF3E82 }
.lb-trans .eq i:nth-child(2) { background: #FFC531; animation-delay: .12s }
.lb-trans .eq i:nth-child(3) { background: #5A3CF0; animation-delay: .24s }
.lb-trans .eq i:nth-child(4) { background: #14C4C9; animation-delay: .36s }
.lb-trans .eq i:nth-child(5) { background: #241F3D; animation-delay: .48s }
@keyframes lb-eqx { 0%,100% { height: 10px } 50% { height: 40px } }
@media (prefers-reduced-motion: reduce) {
  .lb-trans { transition: none } .lb-trans .eq i { animation: none; height: 22px }
}
