:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --stroke: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;

  --accent: #0ea5e9;
  --accent2: #6366f1;

  --shadow: 0 20px 40px rgba(15, 23, 42, .08);
  --shadow2: 0 10px 24px rgba(15, 23, 42, .06);
  --radius: 18px;

  --glass: rgba(255, 255, 255, .92);
  --glass2: rgba(255, 255, 255, .75);

  --focus: 0 0 0 4px rgba(14, 165, 233, .25);

  /* ✅ tambahan (biar ga error) */
  --soft-border: #e5e7eb;
  --shadow-soft: 0 8px 18px rgba(15, 23, 42, .06);
  --shadow-lift: 0 14px 26px rgba(15, 23, 42, .10);
}

/* Reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(110, 231, 255, .22), transparent 60%),
    radial-gradient(860px 520px at 85% 24%, rgba(167, 139, 250, .18), transparent 60%),
    radial-gradient(980px 660px at 50% 96%, rgba(34, 211, 238, .12), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

/* Focus */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

/* Container */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* =========================
   ✅ TOPBAR (FIX - satu versi saja)
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .75);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(110, 231, 255, .18);
}

/* Wrapper pill kanan */
.navbar-pills {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .2rem;
  scrollbar-width: none;
}

.navbar-pills::-webkit-scrollbar {
  display: none;
}

/* Tombol pill */
.nav-pill-btn {
  border-radius: 999px;
  padding: .6rem 1rem;
  border: 1px solid var(--soft-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}

.nav-pill-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
  text-decoration: none;
}

.nav-pill-btn:active {
  transform: translateY(0px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, #ffffff, #f7f3f3);
  color: #07101b;
  box-shadow: 0 12px 26px rgba(14, 165, 233, .18);
}

.btn--primary:hover {
  box-shadow: 0 16px 34px rgba(14, 165, 233, .22);
  text-decoration: none;
}

.btn--ghost {
  background: #ffffff;
  border-color: var(--stroke);
  color: var(--text);
}

.btn--ghost:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 42px 0 26px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: start;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 12px;
}

.hero__title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 56ch;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow2);
}

.stat__value {
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 18px;
}

.stat__label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

/* Card */
.card {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__header {
  padding: 18px 18px 0;
}

.card__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.01em;
}

.card__desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card__body {
  padding: 16px 18px 18px;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, .12);
}

.item:last-of-type {
  border-bottom: none;
}

.item__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.item__value {
  font-weight: 900;
}

.divider {
  height: 1px;
  background: rgba(15, 23, 42, .10);
  margin: 14px 0;
}

.note {
  background: rgba(14, 165, 233, .08);
  border: 1px solid rgba(14, 165, 233, .20);
  color: var(--text);
  padding: 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.card__actions {
  display: grid;
  gap: 10px;
}

/* Sections */
.section {
  padding: 30px 0;
}

.section--muted {
  background: rgba(255, 255, 255, .55);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section__title {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.01em;
}

/* Grid 3 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .95);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
}

.mini__title {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.01em;
}

.mini__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Map */
.map {
  border-radius: 22px;
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, .95);
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .map iframe {
    height: 360px;
  }
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--soft-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(6px);
}

.brand {
  font-weight: 800;
  letter-spacing: .3px;
}

/* Nav pills wrapper */
.navbar-pills {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .4rem;
  scrollbar-width: none;
}

.navbar-pills::-webkit-scrollbar {
  display: none;
}

/* Nav pill button */
.nav-pill-btn {
  border-radius: 999px;
  padding: .6rem 1rem;
  border: 1px solid var(--soft-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}

.nav-pill-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.nav-pill-btn:active {
  transform: translateY(0px);
}

.nav-pill-btn.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .22);
}

/* =========================
   FINAL OVERRIDE TOPBAR MOBILE
   (biar ga ketabrak duplikasi)
   ========================= */
@media (max-width: 640px) {

  /* topbar lebih ringkas */
  .topbar {
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  /* paksa layout jadi stack (brand atas, pills bawah) */
  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  /* brand kecil + aman kalau kepanjangan */
  .brand {
    font-size: 16px;
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* pills lebih compact + snap */
  .navbar-pills {
    gap: 8px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0,
        #000 22px,
        #000 calc(100% - 22px),
        transparent 100%);
    mask-image: linear-gradient(90deg,
        transparent 0,
        #000 22px,
        #000 calc(100% - 22px),
        transparent 100%);
  }

  .navbar-pills>* {
    scroll-snap-align: start;
  }

  /* tombol pill lebih kecil */
  .nav-pill-btn {
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05) !important;
  }

  .nav-pill-btn:hover {
    transform: none;
    /* mobile ga butuh hover lift */
  }
}

/* HP super kecil */
@media (max-width: 360px) {
  .brand {
    font-size: 10px;
  }

  .nav-pill-btn {
    padding: 9px 11px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .center-heading h2 {
    font-size: 10px;
    line-height: 1.15;
  }
}