:root {
  --bg: #060B17;
  --surface: #0D1626;
  --surface-2: #121E38;
  --surface-3: #182844;
  --border: #1C2E50;
  --border-2: #26406E;
  --text: #DCE7F8;
  --text-sec: #6E8AB8;
  --text-muted: #3D5280;
  --gold: #2563EB;
  --gold-bg: rgba(37,99,235,0.08);
  --gold-border: rgba(37,99,235,0.22);
  --gold-glow: rgba(37,99,235,0.18);
  --teal: #22D3EE;
  --teal-bg: rgba(34,211,238,0.07);
  --green: #34D399;
  --green-bg: rgba(52,211,153,0.07);
  --red: #F87171;
  --red-bg: rgba(248,113,113,0.07);
  --purple: #A78BFA;
  --purple-bg: rgba(167,139,250,0.08);
  --amber: #FCD34D;
  --amber-bg: rgba(252,211,77,0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
}

[data-theme="light"] {
  --bg: #EFF4FC;
  --surface: #FFFFFF;
  --surface-2: #F5F8FF;
  --surface-3: #EBF0FA;
  --border: #D0DBF0;
  --border-2: #B8C8E8;
  --text: #0D1A30;
  --text-sec: #4A5E8A;
  --text-muted: #8A9EC0;
  --gold: #1D4ED8;
  --gold-bg: rgba(29,78,216,0.07);
  --gold-border: rgba(29,78,216,0.22);
  --gold-glow: rgba(29,78,216,0.15);
  --teal: #0891B2;
  --teal-bg: rgba(8,145,178,0.07);
  --green: #059669;
  --green-bg: rgba(5,150,105,0.07);
  --red: #DC2626;
  --red-bg: rgba(220,38,38,0.07);
  --purple: #7C3AED;
  --purple-bg: rgba(124,58,237,0.07);
  --shadow: 0 4px 20px rgba(0,40,100,0.10);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34,211,238,0.04) 0%, transparent 50%),
    linear-gradient(rgba(37,99,235,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.page-content{position:relative;z-index:1;}

/* ── NAV ── */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.brand-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-sec);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--gold); background: var(--gold-bg); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  position: relative;
}
.theme-toggle:hover { border-color: var(--border-2); background: var(--surface-3); }
.theme-toggle::before {
  content: '☀';
  font-size: 14px;
  color: var(--gold);
}
[data-theme="light"] .theme-toggle::before { content: '🌙'; }

.btn-login {
  background: var(--gold);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-login:hover { opacity: 0.88; }

/* ── HERO ── */
.hero {
  padding: 80px 40px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge span.dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:0.5;transform:scale(0.8);}
}

.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 18px;
}
.hero-headline .hl-gold { color: var(--gold); }

.hero-sub {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ── SEARCH ── */
.search-wrap {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.search-type-toggle {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.type-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  background: transparent;
  color: var(--text-muted);
}
.type-btn.active {
  background: var(--gold);
  color: #ffffff;
}
.search-divider {
  width: 1px;
  height: 22px;
  background: var(--border-2);
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  min-width: 0;
}
.search-input::placeholder { color: var(--text-muted); }
.search-coords {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-coords span {
  width: 4px; height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
}
.btn-cari {
  background: var(--gold);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.btn-cari:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-cari svg { width: 14px; height: 14px; fill: #060B17; }

/* ── STATS ── */
.stats-bar {
  padding: 0 40px 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.stats-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 22px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  border-radius: 0 0 2px 2px;
}
.stat-item.s-gold::before { background: var(--gold); }
.stat-item.s-teal::before { background: var(--teal); }
.stat-item.s-green::before { background: var(--green); }
.stat-item.s-purple::before { background: var(--purple); }
.stat-item.s-amber::before { background: var(--amber); }

.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.stat-item.s-gold .stat-num { color: var(--gold); }
.stat-item.s-teal .stat-num { color: var(--teal); }
.stat-item.s-green .stat-num { color: var(--green); }
.stat-item.s-purple .stat-num { color: var(--purple); }
.stat-item.s-amber .stat-num { color: var(--amber); }

.stat-label {
  font-size: 11px;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ── SECTION ── */
.section {
  padding: 0 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.section-sub {
  font-size: 13.5px;
  color: var(--text-sec);
  margin-top: 4px;
}

.layer-tabs {
  display: flex;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.ltab {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 20px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-sec);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ltab.active {
  background: var(--gold);
  color: #ffffff;
  font-weight: 600;
}

/* ── LAYER CARDS ── */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.layer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.layer-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translate(30px, 30px) scale(0.8);
}
.layer-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.layer-card:hover::before { opacity: 1; transform: translate(10px, 10px) scale(1); }

.layer-card.c-gold::before { background: var(--gold-bg); }
.layer-card.c-teal:hover { border-color: rgba(34,211,238,0.3); }
.layer-card.c-teal::before { background: var(--teal-bg); }
.layer-card.c-green:hover { border-color: rgba(52,211,153,0.3); }
.layer-card.c-green::before { background: var(--green-bg); }
.layer-card.c-purple:hover { border-color: rgba(167,139,250,0.3); }
.layer-card.c-purple::before { background: var(--purple-bg); }
.layer-card.c-red:hover { border-color: rgba(248,113,113,0.3); }
.layer-card.c-red::before { background: var(--red-bg); }
.layer-card.c-amber:hover { border-color: rgba(252,211,77,0.3); }
.layer-card.c-amber::before { background: var(--amber-bg); }
.layer-card.c-gold:hover { border-color: var(--gold-border); }

.card-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-gold .card-icon-wrap { background: var(--gold-bg); }
.c-teal .card-icon-wrap { background: var(--teal-bg); }
.c-green .card-icon-wrap { background: var(--green-bg); }
.c-purple .card-icon-wrap { background: var(--purple-bg); }
.c-red .card-icon-wrap { background: var(--red-bg); }
.c-amber .card-icon-wrap { background: var(--amber-bg); }

.card-icon-wrap svg { width: 20px; height: 20px; }
.c-gold .card-icon-wrap svg { fill: var(--gold); color: var(--gold); }
.c-teal .card-icon-wrap svg { fill: var(--teal); color: var(--teal); }
.c-green .card-icon-wrap svg { fill: var(--green); color: var(--green); }
.c-purple .card-icon-wrap svg { fill: var(--purple); color: var(--purple); }
.c-red .card-icon-wrap svg { fill: var(--red); color: var(--red); }
.c-amber .card-icon-wrap svg { fill: var(--amber); color: var(--amber); }

.card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text); line-height: 1.3;
  margin-bottom: 5px; letter-spacing: -0.2px;
}
.card-desc {
  font-size: 12.5px; color: var(--text-sec);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.card-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px; font-weight: 500;
}
.c-gold .card-tag { background: var(--gold-bg); color: var(--gold); }
.c-teal .card-tag { background: var(--teal-bg); color: var(--teal); }
.c-green .card-tag { background: var(--green-bg); color: var(--green); }
.c-purple .card-tag { background: var(--purple-bg); color: var(--purple); }
.c-red .card-tag { background: var(--red-bg); color: var(--red); }
.c-amber .card-tag { background: var(--amber-bg); color: var(--amber); }

.card-arrow {
  width: 26px; height: 26px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.card-arrow svg { width: 12px; height: 12px; fill: var(--text-sec); transition: fill 0.2s; }
.layer-card:hover .card-arrow { border-color: var(--border-2); }
.layer-card.c-gold:hover .card-arrow { background: var(--gold-bg); border-color: var(--gold-border); }
.layer-card.c-gold:hover .card-arrow svg { fill: var(--gold); }
.layer-card.c-teal:hover .card-arrow { background: var(--teal-bg); border-color: rgba(34,211,238,0.25); }
.layer-card.c-teal:hover .card-arrow svg { fill: var(--teal); }
.layer-card.c-green:hover .card-arrow { background: var(--green-bg); border-color: rgba(52,211,153,0.25); }
.layer-card.c-green:hover .card-arrow svg { fill: var(--green); }
.layer-card.c-purple:hover .card-arrow { background: var(--purple-bg); border-color: rgba(167,139,250,0.25); }
.layer-card.c-purple:hover .card-arrow svg { fill: var(--purple); }

/* Placeholder modules not yet built — explicit muted tokens (not filter/opacity)
   so the difference reads clearly even in light mode where card/page bg are both near-white */
.layer-card.disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: var(--surface-2);
  border: 1.5px dashed var(--border-2);
}
.layer-card.disabled .card-icon-wrap { background: var(--surface-3); }
.layer-card.disabled .card-icon-wrap svg { fill: var(--text-muted); color: var(--text-muted); }
.layer-card.disabled .card-title { color: var(--text-sec); }
.layer-card.disabled .card-desc { color: var(--text-muted); }
.layer-card.disabled .card-tag { background: var(--surface-3); color: var(--text-muted); }
.layer-card.disabled .card-arrow { background: var(--surface-3); border-color: var(--border-2); }
.layer-card.disabled .card-arrow svg { fill: var(--text-muted); }
.layer-card.disabled::after {
  content: 'Sedang Dibina';
  position: absolute;
  top: 14px; right: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.6px; text-transform: uppercase;
  background: var(--surface-3); color: var(--text-sec);
  border: 1px solid var(--border-2); border-radius: 20px;
  padding: 3px 9px;
}

/* ── FEATURED BANNER ── */
.featured-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.featured-banner::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 250px; height: 250px;
  background: var(--gold-bg);
  border-radius: 50%;
  filter: blur(40px);
}
.featured-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 200px;
  width: 160px; height: 160px;
  background: rgba(34,211,238,0.05);
  border-radius: 50%;
  filter: blur(30px);
}
.fb-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.fb-label::before {
  content: ''; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
}
.fb-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; margin-bottom: 8px; line-height: 1.2;
}
.fb-desc {
  font-size: 14px; color: var(--text-sec); line-height: 1.6; max-width: 480px;
}
.fb-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.btn-primary {
  background: var(--gold); color: #ffffff;
  font-size: 13.5px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--radius); border: none;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-sec);
  font-size: 13.5px; font-weight: 500;
  padding: 11px 20px; border-radius: var(--radius);
  border: 1px solid var(--border-2); cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

/* ── AGENCY GRID ── */
.agency-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.agency-grid.visible { display: grid; }
.layer-grid.hidden { display: none; }

/* ── DAERAH FILTER ── */
.filter-row {
  display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.filter-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-sec); cursor: pointer; transition: all 0.18s;
}
.filter-chip:hover { border-color: var(--border-2); color: var(--text); }
.filter-chip.active { background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-main { padding: 48px 40px 0; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-name { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.footer-about { font-size: 12.5px; color: var(--text-sec); line-height: 1.7; margin-bottom: 20px; max-width: 340px; }
.footer-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.8px;
  padding: 4px 9px; border-radius: 5px;
  border: 1px solid var(--border); color: var(--text-muted);
}

.footer-heading {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase; color: var(--text);
  margin-bottom: 16px;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: var(--text-sec); text-decoration: none; transition: color 0.18s; }
.footer-nav a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 12.5px; color: var(--text-sec); line-height: 1.55;
}
.footer-contact-item svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text-sec); text-decoration: none; transition: color 0.18s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social-btn svg { width: 15px; height: 15px; fill: var(--text-sec); transition: fill 0.2s; }
.footer-social-btn:hover { background: var(--gold-bg); border-color: var(--gold-border); }
.footer-social-btn:hover svg { fill: var(--gold); }

.footer-partners {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 36px 40px 32px;
  margin-top: 40px;
}
.footer-partners-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.footer-partners-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-partners-logos {
  display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-partner-logo { height: 40px; width: auto; object-fit: contain; opacity: 0.9; transition: opacity 0.2s, transform 0.2s; }
.footer-partner-logo:hover { opacity: 1; transform: translateY(-2px); }
[data-theme="dark"] .footer-partner-logo {
  background: #ffffff; padding: 6px 12px; border-radius: 8px;
}

.footer-divider { width: 60px; height: 1px; background: var(--border-2); margin: 0 auto 22px; }

.footer-copy-line { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.footer-disclaimer { font-size: 11px; color: var(--text-muted); line-height: 1.65; max-width: 720px; margin: 0 auto; }
.footer-disclaimer strong { color: var(--text-sec); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-partners-logos { gap: 32px; }
}



/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: fadeUp 0.5s ease both; }
.hero-headline { animation: fadeUp 0.55s 0.07s ease both; }
.hero-sub { animation: fadeUp 0.55s 0.14s ease both; }
.search-wrap { animation: fadeUp 0.55s 0.21s ease both; }
.stats-strip { animation: fadeUp 0.55s 0.28s ease both; }
.layer-card { animation: fadeUp 0.5s ease both; }
.layer-card:nth-child(1){animation-delay:.05s;}
.layer-card:nth-child(2){animation-delay:.09s;}
.layer-card:nth-child(3){animation-delay:.13s;}
.layer-card:nth-child(4){animation-delay:.17s;}
.layer-card:nth-child(5){animation-delay:.21s;}
.layer-card:nth-child(6){animation-delay:.25s;}
.layer-card:nth-child(7){animation-delay:.29s;}
.layer-card:nth-child(8){animation-delay:.33s;}
.layer-card:nth-child(9){animation-delay:.37s;}
.layer-card:nth-child(10){animation-delay:.41s;}
.layer-card:nth-child(11){animation-delay:.45s;}
.layer-card:nth-child(12){animation-delay:.49s;}

/* ── FAQ PAGE ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-sec); text-decoration: none; transition: color 0.18s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-2); }
.breadcrumb-current { color: var(--gold); }

.faq-hero {
  padding: 56px 40px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.faq-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  border-radius: 20px; padding: 5px 14px 5px 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.faq-badge span.dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s ease infinite; }
.faq-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 46px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.2px; color: var(--text);
  margin-bottom: 14px;
}
.faq-headline .hl-gold { color: var(--gold); }
.faq-sub { font-size: 15px; color: var(--text-sec); line-height: 1.65; max-width: 640px; }

.faq-section { padding-top: 0; }

.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--gold-border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; background: transparent; border: none;
  cursor: pointer; text-align: left; font-family: 'DM Sans', sans-serif;
  font-size: 14.5px; font-weight: 600; color: var(--text);
}
.faq-question:hover { background: var(--surface-2); }
.faq-icon {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-2);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--text-sec);
  transition: transform 0.25s, background 0.2s;
}
.faq-icon::before { top: 50%; left: 5px; right: 5px; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 5px; bottom: 5px; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #ffffff; }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg) scaleY(0); }

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 13.5px; color: var(--text-sec); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p + p { margin-top: 10px; }

.faq-module-groups {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 14px;
}
.faq-module-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
  padding: 3px 9px; border-radius: 5px; display: inline-block; margin-bottom: 10px;
}
.faq-module-label.c-gold { background: var(--gold-bg); color: var(--gold); }
.faq-module-label.c-purple { background: var(--purple-bg); color: var(--purple); }
.faq-sublist { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.faq-sublist li {
  font-size: 13px; color: var(--text-sec); line-height: 1.4;
  padding-left: 14px; position: relative;
}
.faq-sublist li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--border-2);
}

.faq-contact-banner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.faq-contact-banner::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; background: var(--gold-bg);
  border-radius: 50%; filter: blur(40px);
}
.faq-contact-title {
  font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 700;
  color: var(--text); letter-spacing: -0.4px; margin-bottom: 6px; position: relative; z-index: 1;
}
.faq-contact-desc { font-size: 13.5px; color: var(--text-sec); position: relative; z-index: 1; max-width: 460px; }
.faq-contact-banner .btn-primary { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .faq-module-groups { grid-template-columns: 1fr; }
  .faq-contact-banner { flex-direction: column; align-items: flex-start; }
}

/* ── API PAGE ── */
.api-section { padding-top: 0; }

.api-guide {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 36px;
}
.api-guide-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; gap: 14px;
}
.api-guide-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 700;
  color: var(--gold-border); flex-shrink: 0; line-height: 1;
}
.api-guide-title { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.api-guide-desc { font-size: 12px; color: var(--text-sec); line-height: 1.55; }

.api-card-list { display: flex; flex-direction: column; gap: 18px; }
.api-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 26px 28px;
}
.api-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.api-icon-wrap {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.api-icon-wrap svg { width: 22px; height: 22px; }
.api-icon-wrap.c-gold { background: var(--gold-bg); }
.api-icon-wrap.c-gold svg { fill: var(--gold); }
.api-icon-wrap.c-purple { background: var(--purple-bg); }
.api-icon-wrap.c-purple svg { fill: var(--purple); }
.api-icon-wrap.c-teal { background: var(--teal-bg); }
.api-icon-wrap.c-teal svg { fill: var(--teal); }
.api-card-title { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.api-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--green);
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }
.api-card-desc { font-size: 13.5px; color: var(--text-sec); line-height: 1.6; margin-bottom: 18px; }

.api-endpoint-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.api-endpoint {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
}
.api-endpoint-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.api-method {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.5px; padding: 2px 8px; border-radius: 5px;
  background: var(--green-bg); color: var(--green);
}
.api-method.mvt { background: var(--purple-bg); color: var(--purple); }
.api-endpoint-label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.api-endpoint-url-row { display: flex; align-items: center; gap: 8px; }
.api-url {
  flex: 1; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  color: var(--text-sec); background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 10px; overflow-x: auto; white-space: nowrap;
}
.api-copy-btn {
  flex-shrink: 0; font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text-sec); cursor: pointer; transition: all 0.18s;
}
.api-copy-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.api-copy-btn.copied { background: var(--green-bg); border-color: var(--green); color: var(--green); }

.api-daerah-details summary {
  cursor: pointer; font-size: 11.5px; font-weight: 600; color: var(--gold);
  list-style: none; user-select: none;
}
.api-daerah-details summary::-webkit-details-marker { display: none; }
.api-daerah-details summary::before { content: '▸ '; }
.api-daerah-details[open] summary::before { content: '▾ '; }
.api-daerah-grid {
  display: flex; flex-direction: column; gap: 6px; margin-top: 10px;
  max-height: 260px; overflow-y: auto; padding-right: 4px;
}
.api-daerah-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 8px;
}
.api-daerah-name { flex-shrink: 0; width: 110px; font-size: 11px; font-weight: 600; color: var(--text-sec); }
.api-daerah-row .api-url { padding: 6px 8px; font-size: 11px; }
.api-daerah-row .api-copy-btn { padding: 6px 10px; font-size: 11px; }

.api-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.api-param-hint { font-size: 11.5px; color: var(--text-muted); }
.api-param-hint code {
  font-family: 'IBM Plex Mono', monospace; background: var(--surface-2); border-radius: 4px;
  padding: 1px 6px; margin-left: 3px; color: var(--text-sec);
}

@media (max-width: 900px) {
  .api-guide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .api-card-actions { flex-direction: column; align-items: flex-start; }
}
