/* Halaman depan publik sdb.asia */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0a1020; color: #e7eaf3; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }

.lp-hero { position: relative; display: block; background: #0a1020; }
/* Gambar tampil UTUH selebar layar (tanpa potongan); tepi bawahnya dilebur ke warna solid. */
/* gambar latar abstrak (buatan sendiri) — boleh dipotong, dibatasi tingginya agar tidak terlalu lapang */
.lp-pic { display: block; width: 100%; height: 56vh; min-height: 300px; object-fit: cover; object-position: center 62%; }
.lp-blur { display: none; }
.lp-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,16,32,0) 0%, rgba(10,16,32,.25) 45%, rgba(10,16,32,.8) 82%, #0a1020 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 65%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 65%); }
/* tautan Portal Admin: samar, tanpa kotak gelap */
.lp-admin { position: absolute; left: 1.1rem; top: 1.05rem; z-index: 4; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; color: rgba(255,255,255,.42); text-decoration: none; background: none; border: none;
  padding: .3rem .4rem; border-radius: 8px; backdrop-filter: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.5); transition: color .15s ease, background .15s ease; }
.lp-admin:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.12); }
.lp-hero-in { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: .2rem 1.6rem 1.6rem; text-align: left; }
.lp-hero h1 { margin: 0 0 .45rem; font-size: 2.4rem; line-height: 1.1; letter-spacing: -.01em; }
.lp-sub { margin: 0 0 1.3rem; color: rgba(231,234,243,.8); font-size: 1rem; line-height: 1.6; max-width: 40rem; }
.lp-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 3px;
  background: #7c3aed; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(124,58,237,.35); }
.lp-cta:hover { background: #6d28d9; }

.lp-wrap { max-width: 860px; margin: 0 auto; padding: 1.6rem 1.1rem 3rem; }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 0 0 1.6rem; position: relative; z-index: 2; }
.lp-card { background: rgba(18,26,51,.92); border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: .9rem .8rem; text-align: center; backdrop-filter: blur(10px); }
.lp-card i { color: #a78bfa; font-size: 1.1rem; }
.lp-card b { display: block; margin: .35rem 0 .1rem; font-size: 1rem; }
.lp-card span { font-size: .76rem; color: #9aa3b8; }

.lp-sec { background: rgba(18,26,51,.7); border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.lp-sec h2 { margin: 0 0 .8rem; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.lp-sec h2 i { color: #a78bfa; }

.lp-tnc { counter-reset: t; margin: 0; padding: 0; list-style: none; }
.lp-tnc li { position: relative; counter-increment: t; padding: .5rem 0 .5rem 1.9rem; font-size: .9rem; line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.07); color: #d7dbe8; }
.lp-tnc li:last-child { border-bottom: none; }
.lp-tnc li::before { content: counter(t); position: absolute; left: 0; top: .55rem; width: 1.3rem; height: 1.3rem;
  border-radius: 999px; background: rgba(167,139,250,.18); color: #c4b5fd; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }

.lp-form label { display: block; font-size: .78rem; color: #9aa3b8; margin-bottom: .7rem; }
.lp-form .opt { color: #6b7280; }
.lp-form input, .lp-form textarea { display: block; width: 100%; margin-top: .25rem; padding: .62rem .7rem;
  border-radius: 3px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  color: #e7eaf3; font: inherit; font-size: .92rem; }
.lp-form input:focus, .lp-form textarea:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18); }
.lp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.lp-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.lp-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.lp-actions button, .lp-wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: 3px; border: 1px solid transparent; font-weight: 700; font-size: .92rem;
  cursor: pointer; text-decoration: none; }
.lp-actions button { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.lp-actions button:hover { background: #6d28d9; }
.lp-wa { background: #25D366; color: #06281a; border-color: #25D366; }
.lp-ok { background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.4); color: #86efac;
  padding: .7rem .9rem; border-radius: 3px; font-size: .9rem; margin: 0 0 .9rem; }
.lp-err { background: rgba(220,38,38,.16); border: 1px solid rgba(248,113,113,.4); color: #fecaca;
  padding: .7rem .9rem; border-radius: 3px; font-size: .9rem; margin: 0 0 .9rem; }

.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem .2rem 0; font-size: .82rem; color: #6b7280; }
.lp-foot a { color: #9aa3b8; text-decoration: none; }
.lp-foot a:hover { color: #e7eaf3; }

@media (max-width: 720px) {
  .lp-hero-in { padding: .1rem 1.1rem 1.2rem; }
  .lp-hero h1 { font-size: 1.6rem; }
  /* HP: lapisan lebur mengikuti tinggi gambar (rasio 3:2 → 66,7vw), bukan tinggi hero */
  .lp-shade { top: 0; bottom: auto; height: 46vh;
    background: linear-gradient(180deg, rgba(10,16,32,0) 74%, rgba(10,16,32,.8) 92%, #0a1020 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 74%, #000 92%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0) 74%, #000 92%);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
  .lp-hero h1 { font-size: 1.55rem; }
  .lp-cards { grid-template-columns: 1fr; margin-top: .2rem; }
  .lp-grid { grid-template-columns: 1fr; }
}

/* popup konfirmasi pendaftaran */
.lp-dlg { border: none; padding: 0; border-radius: 3px; background: transparent; }
.lp-dlg::backdrop { background: rgba(6,10,22,.72); backdrop-filter: blur(3px); }
.lp-dlg-in { width: min(92vw, 380px); text-align: center; padding: 1.6rem 1.3rem 1.3rem;
  background: #121a33; border: 1px solid rgba(255,255,255,.12); border-radius: 3px; color: #e7eaf3; }
.lp-dlg-in i { font-size: 2.2rem; color: #22c55e; }
.lp-dlg-in b { display: block; margin: .6rem 0 .35rem; font-size: 1.05rem; }
.lp-dlg-in p { margin: 0 0 1.1rem; font-size: .9rem; line-height: 1.6; color: #9aa3b8; }
.lp-dlg-in button { width: 100%; padding: .7rem 1rem; border-radius: 3px; border: 1px solid #7c3aed;
  background: #7c3aed; color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; }
.lp-form select { display: block; width: 100%; margin-top: .25rem; padding: .62rem .7rem; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #e7eaf3; font: inherit; font-size: .92rem; }
.lp-form select:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18); }
.lp-form select option { background: #121a33; color: #e7eaf3; }
.lp-form .hint { display: block; margin-top: .25rem; font-size: .72rem; color: #6b7280; }

/* ===== dropdown wilayah bertingkat (tema sendiri, bukan tampilan bawaan sistem) ===== */
.lp-field { margin-bottom: .7rem; }
.lp-field .lab { display: block; font-size: .78rem; color: #9aa3b8; margin-bottom: .25rem; }
.lp-dd { position: relative; }
.lp-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%;
  padding: .62rem .7rem; border-radius: 3px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #7f8aa3; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.lp-dd-btn.terisi { color: #e7eaf3; }
.lp-dd-btn:disabled { opacity: .5; cursor: not-allowed; }
.lp-dd-btn i { font-size: .7rem; opacity: .7; }
.lp-dd.open .lp-dd-btn { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18); }
.lp-dd-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .3rem);
  background: rgba(16,23,45,.98); border: 1px solid rgba(255,255,255,.14); border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); padding: .35rem; backdrop-filter: blur(14px); }
.lp-dd-q { width: 100%; margin: 0 0 .35rem; padding: .45rem .55rem; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #e7eaf3; font: inherit; font-size: .86rem; }
.lp-dd-items { max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; }
.lp-dd-item { display: block; width: 100%; text-align: left; padding: .45rem .55rem; border: none; border-radius: 3px;
  background: none; color: #d7dbe8; font: inherit; font-size: .88rem; cursor: pointer; }
.lp-dd-item:hover { background: rgba(167,139,250,.18); color: #fff; }
/* batang gulir mengikuti tema */
.lp-dd-items { scrollbar-width: thin; scrollbar-color: rgba(167,139,250,.5) transparent; }
.lp-dd-items::-webkit-scrollbar { width: 6px; }
.lp-dd-items::-webkit-scrollbar-track { background: transparent; }
.lp-dd-items::-webkit-scrollbar-thumb { background: rgba(167,139,250,.45); border-radius: 999px; }
.lp-dd-items::-webkit-scrollbar-thumb:hover { background: rgba(167,139,250,.7); }
.lp-dd-item[hidden] { display: none; }

/* pilihan jenis KIT Starlink */
.lp-kit { grid-column: 1 / -1; }
.lp-kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .5rem; }
.lp-kit-opt { position: relative; display: block; padding: .6rem .75rem; border-radius: 3px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); margin: 0; }
.lp-kit-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lp-kit-opt .nm { display: block; font-size: .92rem; font-weight: 700; color: #e7eaf3; }
.lp-kit-opt .st { display: block; margin-top: .15rem; font-size: .72rem; color: #86efac; }
.lp-kit-opt:hover { border-color: rgba(167,139,250,.5); }
.lp-kit-opt:has(input:checked) { border-color: #a78bfa; background: rgba(167,139,250,.14); box-shadow: 0 0 0 3px rgba(167,139,250,.14); }
.lp-kit-opt.habis { opacity: .55; cursor: not-allowed; }
.lp-kit-opt.habis .st { color: #fca5a5; }

/* keterangan stok di dalam dropdown jenis Starlink */
.lp-dd-item .st { display: block; font-size: .72rem; color: #86efac; margin-top: .1rem; }
.lp-dd-item.habis { opacity: .55; cursor: not-allowed; }
.lp-dd-item.habis .st { color: #fca5a5; }
.lp-dd-item.habis:hover { background: none; color: #d7dbe8; }

/* tombol Daftar di pojok kanan atas gambar — gaya kaca seperti tombol di situs Starlink */
.lp-cta-top { position: absolute; right: 1.1rem; top: .8rem; z-index: 4; padding: .5rem 1.05rem; font-size: .88rem;
  border-radius: 8px; background: transparent; color: #fff; font-weight: 600;
  border: 1px solid transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .15s ease, border-color .15s ease; }
.lp-cta-top:hover, .lp-cta-top:focus-visible { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
@media (max-width: 720px) {
  .lp-cta-top { right: .7rem; top: .6rem; padding: .5rem .8rem; font-size: .82rem; }
}

/* bilah atas gambar: Portal Admin (kiri) · judul+subjudul · tombol Daftar (kanan) */
.lp-topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center;
  justify-content: space-between; gap: 1.2rem; padding: .85rem 1.2rem; }
.lp-topbar .lp-admin, .lp-topbar .lp-cta-top { position: static; flex: 0 0 auto; }
.lp-titles { position: relative; margin-left: auto; text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.lp-titles h1 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
/* subjudul dikeluarkan dari aliran supaya JUDUL benar-benar sejajar dengan tombol Daftar */
.lp-titles .lp-sub { position: absolute; top: 100%; right: 0; margin: .2rem 0 0; width: max-content; max-width: 34rem;
  font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.82); text-align: right; }
@media (max-width: 900px) {
  .lp-titles h1 { font-size: 1.1rem; }
  .lp-titles .lp-sub { font-size: .76rem; }
}
@media (max-width: 720px) {
  /* HP: tombol tetap di bilah atas, judul & subjudul turun ke bagian bawah gambar (area yang sudah gelap) */
  .lp-topbar { position: static; display: block; padding: 0; }
  .lp-topbar .lp-admin { display: none; }            /* pintu admin tidak perlu tampil di HP */
  .lp-topbar .lp-cta-top { position: absolute; right: .7rem; top: .7rem; }
  /* HP: judul & subjudul turun ke area gelap di bawah gambar (tidak menimpa isi gambar) */
  .lp-titles { position: static; margin: 0; padding: .1rem 1.1rem .2rem; text-align: left; }
  .lp-titles h1 { font-size: 1.2rem; }
  .lp-titles .lp-sub { position: static; width: auto; max-width: none; margin: .2rem 0 0; font-size: .8rem; text-align: left; }
}
.lp-disc { margin: 1.2rem 0 0; padding: .8rem .9rem; border-radius: 3px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08); font-size: .74rem; line-height: 1.6; color: #8b93a7; }
