/* ═══════════════════════════════════════
   PorsiKita — style.css
   Light mode · #f1f1f1 / #1a1a1a · Accent #007ffa
   Desktop: sidebar + main | Mobile: stacked
════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* Product Sans isn't on Google Fonts publicly, so we cascade to the closest available */

/* ── ROOT TOKENS ── */
:root {
  --bg:         #f1f1f1;
  --surface:    #ffffff;
  --surface2:   #f8f8f8;
  --border:     #e4e4e4;
  --border2:    #eeeeee;
  --text:       #1a1a1a;
  --text2:      #3a3a3a;
  --text3:      #888888;
  --accent:     #007ffa;
  --accent-dim: rgba(0,127,250,0.10);
  --accent-mid: rgba(0,127,250,0.18);
  --green:      #1DB954;
  --green-dim:  rgba(34,197,94,0.10);
  --orange:     #f59e0b;
  --orange-dim: rgba(245,158,11,0.10);
  --red:        #ef4444;
  --red-dim:    rgba(239,68,68,0.10);
  --purple:     #7c3aed;
  --purple-dim: rgba(124,58,237,0.10);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);
  --radius:     16px;
  --radius-sm:  10px;
  --radius-xs:  7px;
  --font:       'Product Sans', 'Google Sans', 'Plus Jakarta Sans', sans-serif;
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;
  --sidebar-w:  260px;
  --topbar-h:   64px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   DESKTOP LAYOUT — Sidebar + Main
───────────────────────────────────────── */

.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.sidebar-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border2);
  
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff; /* samain sama background sidebar-nya */
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-logo img {
  height: 40px;
  width: auto;
  max-width: 180px; /* biar nggak kebablasan lebar */
}

.logo-emoji { font-size: 20px; }

.logo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.4px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 12px;
  margin-bottom: 6px;
  margin-top: 16px;
}

.nav-label:first-child { margin-top: 0; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  position: relative;
}

.nav-item:hover {
  background: var(--bg);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.nav-item i {
  width: 18px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* external link icon — pushed to far right */
.nav-ext-icon {
  margin-left: auto;
  font-size: 9px !important;
  width: auto !important;
  color: var(--text3);
  opacity: 0.6;
}

/* make <a> nav items look identical to <button> nav items */
a.nav-item {
  text-decoration: none;
}

/* external link nav item (Blog) */
.nav-item-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-item-ext {
  margin-left: auto;
  font-size: 9px;
  color: var(--text3);
  opacity: 0.6;
}

.nav-item-link:hover .nav-item-ext {
  opacity: 1;
  color: var(--accent);
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border2);
  font-size: 11px;
  color: var(--text3);
  line-height: 1.6;
}

.sidebar-footer strong { color: var(--text2); font-weight: 600; }

/* ── MAIN AREA ── */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── TOP BAR (desktop header, no mobile nav) ── */
.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-title i {
  color: var(--accent);
  font-size: 13px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  transition: all 0.15s;
}

.source-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── CONTENT ── */
.content {
  flex: 1;
  padding: 32px 32px 80px;
  max-width: 900px;
}

/* ── SECTIONS ── */
.section-page { display: none; }
.section-page.active { display: block; animation: fadeUp 0.22s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION HEADER ── */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.section-head p {
  font-size: 13.5px;
  color: var(--text3);
  font-weight: 400;
}

/* ── DIVIDER LABEL ── */
.seg {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 16px;
}

.seg-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.seg-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── SECTION SUB-TITLE ── */
.section-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text3);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── MAIN COUNTER CARD ── */
.main-counter-card {
  border: 1.5px solid var(--border);
  text-align: center;
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
}

.main-counter-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.main-since {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.rp-amount {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
  min-height: 46px;
}

.rp-terbilang {
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
  font-weight: 400;
  min-height: 20px;
  margin-bottom: 24px;
}

.progress-bar-wrap {
  background: var(--bg);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 1.2s ease;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text3);
  font-weight: 500;
  margin-bottom: 20px;
}

.per-hari-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  margin-bottom: 20px;
}

.per-hari-live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

.per-hari-live-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
}

.per-hari-live-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}

/* ── SHARE BUTTONS ── */
.share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.share-btn {
  flex: 1;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s;
}

.share-btn:hover { transform: translateY(-1px); }

.share-btn-wa  { background: #25d366; color: #fff; }
.share-btn-wa:hover { background: #1db954; }

.share-btn-ig  { background: #e1306c; color: #fff; }
.share-btn-ig:hover { opacity: 0.88; }

.share-btn-copy {
  background: var(--bg);
  color: var(--text2);
  border: 1px solid var(--border);
}

.share-btn-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── SOURCE TAG ── */
.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.15s;
}

.source-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── STATS GRID ── */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 12px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
}

/* ── PORSI CARD ── */
.porsi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.porsi-card::after {
  content: '🍱';
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 80px;
  opacity: 0.05;
  pointer-events: none;
}

.porsi-number {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--green);
  letter-spacing: -1.5px;
  margin-bottom: 6px;
}

.porsi-label {
  font-size: 13px;
  color: var(--text3);
  font-weight: 500;
}

.porsi-divider {
  height: 1px;
  background: var(--border2);
  margin: 16px 0;
}

.porsi-sub {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.65;
}

/* ── CHART ── */
.chart-wrap {
  position: relative;
  height: 240px;
  margin: 8px 0;
}

/* ── PREDICTION ROWS ── */
.prediction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border2);
}

.prediction-row:last-child { border-bottom: none; }

.pred-year  { font-size: 14px; font-weight: 600; color: var(--text2); }
.pred-date  { font-size: 11px; color: var(--text3); margin-top: 2px; }
.pred-amount { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--accent); text-align: right; }
.pred-amount-sub { font-size: 11px; color: var(--text3); margin-top: 2px; text-align: right; }

/* ── LEADERBOARD ── */
.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border2);
}

.lb-row:last-child { border-bottom: none; }

.lb-rank {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--text3);
}

.lb-rank.gold   { background: rgba(245,158,11,0.15); color: #b45309; }
.lb-rank.silver { background: rgba(160,160,160,0.15); color: #6b7280; }
.lb-rank.bronze { background: rgba(205,127,50,0.15);  color: #92400e; }

.lb-info { flex: 1; min-width: 0; }
.lb-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-pop  { font-size: 10.5px; color: var(--text3); margin-top: 1px; }

.lb-bar-wrap { width: 60px; background: var(--bg); border-radius: 100px; height: 5px; flex-shrink: 0; }
.lb-bar      { height: 100%; background: var(--accent); border-radius: 100px; transition: width 0.8s ease; }

.lb-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-align: right;
  flex-shrink: 0;
  min-width: 64px;
}

/* ── IMAGINE CARD ── */
.imagine-card { border-left: 3px solid var(--orange); }

.imagine-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.imagine-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.imagine-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.imagine-sub   { font-size: 11.5px; color: var(--text3); margin-top: 2px; }

.imagine-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--border2);
}

.imagine-row:last-child { border-bottom: none; }

.imagine-label     { font-size: 13px; color: var(--text2); font-weight: 500; }
.imagine-label-sub { font-size: 11px; color: var(--text3); margin-top: 2px; }
.imagine-val       { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); text-align: right; }
.imagine-val-sub   { font-size: 11px; color: var(--green); text-align: right; margin-top: 2px; font-weight: 600; }

/* ── MAP CONTAINER ── */
.map-container { display: none; }

/* ── DISCLAIMER CARD ── */
.disclaimer-card {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.disclaimer-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 4px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding: 0 0 24px 20px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--surface);
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.tl-dot.green  { background: var(--green);  box-shadow: 0 0 0 2px var(--green); }
.tl-dot.orange { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.tl-dot.purple { background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.tl-dot.red    { background: var(--red);    box-shadow: 0 0 0 2px var(--red); }

.tl-date  { font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.tl-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tl-desc  { font-size: 12.5px; color: var(--text3); line-height: 1.65; }

.tl-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border2); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  user-select: none;
}

.faq-q-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  color: var(--text3);
  font-size: 11px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--accent); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 360px; }

.faq-a-inner {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.75;
  padding-bottom: 16px;
}

.faq-a-inner strong { color: var(--text2); }

/* ── PAJAK CALCULATOR ── */
.pajak-input-group {
  margin-bottom: 16px;
}

.pajak-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pajak-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.pajak-input:focus { border-color: var(--accent); }

.pajak-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}

.pajak-select:focus { border-color: var(--accent); }

.preset-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.preset-btn {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.calc-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-btn:hover {
  background: #0065cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,127,250,0.28);
}

.pajak-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
  display: none;
}

.pajak-result.show {
  display: block;
  animation: fadeUp 0.25s ease;
}

.pajak-result-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pajak-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border2);
}

.pajak-row:last-child { border-bottom: none; }

.pajak-row-label { font-size: 13px; color: var(--text2); }
.pajak-row-val   { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); }

.pajak-highlight {
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 14px;
  text-align: center;
}

.pajak-highlight-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 6px;
}

.pajak-highlight-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
}

.pajak-highlight-sub { font-size: 11px; color: var(--text3); margin-top: 4px; }

.pajak-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.pajak-mini {
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.pajak-mini-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.pajak-mini-val {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
}

.pajak-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(245,158,11,0.07);
  border-radius: var(--radius-xs);
  font-size: 11.5px;
  color: var(--text3);
  line-height: 1.65;
}

/* ── MAP SVG STUFF ── */
.map-wrapper { position: relative; width: 100%; max-width: 580px; margin: 0 auto; }
.map-wrapper img {
  width: 100%; display: block;
  mix-blend-mode: multiply;
  opacity: 0.55;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(160deg) brightness(1.1);
}
.map-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@keyframes pulseRing { 0% { r: 6; opacity: 0.6; } 100% { r: 18; opacity: 0; } }
.pulse-ring { animation: pulseRing 2.5s ease-out infinite; }

/* ── SURVEY BANNER ── */
.survey-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--text);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

/* subtle noise texture feel via pseudo */
.survey-banner::before {
  content: '📊';
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-size: 88px;
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
}

.survey-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.survey-banner:active {
  transform: translateY(0);
}

.survey-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.survey-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.survey-banner-title {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.survey-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.survey-banner-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.survey-banner:hover .survey-banner-cta {
  background: #0065cc;
}

@media (max-width: 480px) {
  .survey-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .survey-banner-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 28px 0 0;
  color: var(--text3);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.8;
  border-top: 1px solid var(--border2);
  margin-top: 32px;
}

footer strong { color: var(--text2); font-weight: 600; }

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border2);
}

.footer-links a {
  font-size: 11px;
  color: var(--text3);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--accent); }

.footer-dot {
  font-size: 11px;
  color: var(--border);
}

/* ─────────────────────────────────────────
   MOBILE TOPBAR (hamburger + brand)
   only shown on mobile
───────────────────────────────────────── */
.mobile-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  box-sizing: border-box;
}

.mobile-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.hamburger {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
}

/* sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 199;
}

/* ─────────────────────────────────────────
   MOBILE NAV TABS (bottom bar)
───────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.mobile-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-nav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border: none;
  background: transparent;
  font-family: var(--font);
  color: var(--text3);
  cursor: pointer;
  transition: color 0.18s;
  position: relative;
}

/* active pill top indicator */
.mobile-nav-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

.mobile-nav-item.active::before {
  transform: translateX(-50%) scaleX(1);
}

.mobile-nav-item .nav-icon-wrap {
  width: 40px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.18s;
}

.mobile-nav-item.active .nav-icon-wrap {
  background: var(--accent-dim);
}

.mobile-nav-item i {
  font-size: 15px;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.mobile-nav-item.active i {
  transform: scale(1.12);
}

.mobile-nav-item.active {
  color: var(--accent);
}

.mobile-nav-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1;
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE
───────────────────────────────────────── */
@media (max-width: 768px) {
  /* show mobile chrome */
  .mobile-topbar { display: flex; }
  .mobile-nav    { display: flex; }

  /* hide desktop chrome */
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { display: block; }
  .topbar  { display: none; }

  /* KEY FIX: undo the desktop margin-left from sidebar */
  .app-shell { display: block; overflow-x: clip; }
  html, body { overflow-x: clip; }
  .main-wrap {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  .content {
    padding: 76px 16px calc(80px + env(safe-area-inset-bottom));
    max-width: 100%;
    overflow-x: hidden;
  }

  /* sidebar on mobile: below topbar, above bottom nav */
  .sidebar {
    top: 56px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 201;
    border-right: none;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  }

  .sidebar-overlay {
    top: 56px;
    bottom: 0;
  }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .rp-amount { font-size: clamp(18px, 5vw, 28px); }
  .lb-bar-wrap { display: none; }
  .section-head h2 { font-size: 22px; }
  .pajak-mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .stats-row { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   DESKTOP — Widen content on large screens
───────────────────────────────────────── */
@media (min-width: 1200px) {
  .content { max-width: 960px; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
