:root {
  --crimson: #E50914;
  --crimson-bright: #FF1E27;
  --ruby-deep: #8B0000;
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, 0.8);
  --white-muted: rgba(255, 255, 255, 0.56);
  --glass-bg: rgba(20, 20, 26, 0.68);
  --glass-frost: rgba(255, 255, 255, 0.08);
  --glass-frost-strong: rgba(255, 255, 255, 0.14);
  --obsidian: #0B0B0F;
  --obsidian-2: #14141A;
  --verified-blue: #1D9BF0;

  /* 4-Neon Glow System */
  --neon-crimson: 0 0 18px rgba(229, 9, 20, 0.55);
  --neon-ruby-border: 1px solid rgba(255, 42, 56, 0.45);
  --neon-white-halo: 0 0 14px rgba(255, 255, 255, 0.35);
  --neon-vignette: 0 10px 30px rgba(0, 0, 0, 0.45);

  --max-w: 540px;
  --blur: blur(12px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--obsidian);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Lightweight Background (60fps GPU-friendly) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 10%, rgba(229, 9, 20, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(139, 0, 0, 0.28) 0%, transparent 48%),
    linear-gradient(180deg, #0B0B0F 0%, #14141A 52%, #0B0B0F 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

button, input {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ========================================
   FLOATING TOP TOOLBAR (DETACHED)
======================================== */
.topbar-shell {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 90;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 22px;
  background: rgba(16, 16, 22, 0.78);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--neon-ruby-border);
  box-shadow: var(--neon-vignette);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 42, 56, 0.65);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
  flex-shrink: 0;
  background: var(--obsidian-2);
}

.brand-name-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.brand-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.35px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(29, 155, 240, 0.5));
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Currency Pill */
.idr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 14px;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Bilingual Switcher */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 14px;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10.5px;
  font-weight: 600;
}

.lang-opt {
  padding: 4px 7px;
  border-radius: 11px;
  color: var(--white-muted);
  transition: all 0.22s var(--ease);
}

.lang-opt.active {
  background: var(--white);
  color: var(--obsidian);
  box-shadow: var(--neon-white-halo);
}

/* 3-Line Menu Trigger */
.menu-btn {
  width: 36px;
  height: 34px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 42, 56, 0.38);
  color: var(--white);
  transition: all 0.22s var(--ease);
}

.menu-btn:hover,
.menu-btn.active {
  background: var(--crimson);
  border-color: var(--crimson-bright);
  box-shadow: var(--neon-crimson);
}

/* ========================================
   ANCHORED POPUP MENU (BELOW 3-LINE ICON)
======================================== */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(5, 5, 8, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(306px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 20px;
  background: rgba(16, 16, 22, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--neon-ruby-border);
  box-shadow: var(--neon-vignette), 0 0 24px rgba(229, 9, 20, 0.2);
  transform-origin: top right;
  transform: translateY(-8px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
  z-index: 95;
}

.menu-popover.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popover-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.popover-close {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-frost);
  color: var(--white-soft);
}

.popover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.feat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 13px;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s var(--ease);
}

.feat-chip:hover,
.feat-chip:active {
  background: rgba(229, 9, 20, 0.22);
  border-color: rgba(255, 42, 56, 0.55);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.3);
}

.feat-chip svg {
  flex-shrink: 0;
  color: var(--crimson-bright);
}

.popover-ask-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--white-soft);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.popover-ask-form {
  display: flex;
  gap: 6px;
}

.popover-ask-input {
  flex: 1;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  outline: none;
}

.popover-ask-input:focus {
  border-color: var(--crimson-bright);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.32);
}

.popover-ask-send {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-crimson);
  flex-shrink: 0;
}

/* ========================================
   MAIN CONTAINER & SECTIONS
======================================== */
.app-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 82px 14px 144px;
}

.tab-page {
  display: none;
  animation: pageFade 0.3s var(--ease);
}

.tab-page.active {
  display: block;
}

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

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--neon-ruby-border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--neon-vignette);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  pointer-events: none;
}

/* Hero Banner with Text Overlay */
.banner-card {
  padding: 8px;
  margin-bottom: 14px;
}

.banner-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--obsidian-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 9;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 15, 0.28) 0%,
    rgba(11, 11, 15, 0.15) 42%,
    rgba(11, 11, 15, 0.88) 100%
  );
}

.banner-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 42, 56, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--white);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.35);
}

.banner-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson-bright);
  box-shadow: 0 0 8px var(--crimson-bright);
}

.banner-bottom-text h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-bottom-text p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

/* Portal Title Block */
.portal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.portal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.portal-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--white-soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
}

.trust-pill svg {
  color: var(--crimson-bright);
}

/* Card Header with Icon */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.card-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.28), rgba(139, 0, 0, 0.45));
  border: 1px solid rgba(255, 42, 56, 0.5);
  color: var(--white);
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.28);
  flex-shrink: 0;
}

.card-label {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.card-sub {
  font-size: 11.5px;
  color: var(--white-muted);
}

.status-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.18);
  border: 1px solid rgba(255, 42, 56, 0.45);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

/* DANA Number Box */
.account-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
}

.account-meta {
  font-size: 10.5px;
  color: var(--white-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.account-number {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--neon-crimson);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary.copied {
  background: var(--white);
  color: var(--obsidian);
  box-shadow: var(--neon-white-halo);
}

.btn-full {
  width: 100%;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass-frost-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.btn-glass:hover {
  border-color: var(--crimson-bright);
  background: rgba(229, 9, 20, 0.22);
}

/* Step List */
.steps-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--white-soft);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(229, 9, 20, 0.24);
  border: 1px solid rgba(255, 42, 56, 0.5);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Quick QRIS Mini Card */
.qris-mini-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qris-mini-thumb {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--white);
  padding: 3px;
  border: 1px solid rgba(255, 42, 56, 0.5);
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.25);
  flex-shrink: 0;
}

.qris-mini-info {
  flex: 1;
  min-width: 0;
}

.qris-mini-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.qris-mini-info p {
  font-size: 11.5px;
  color: var(--white-muted);
  line-height: 1.45;
}

/* ========================================
   TAB 2: QRIS FULL CARD
======================================== */
.qris-merchant-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  margin-bottom: 14px;
}

.qris-merchant-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.qris-frame {
  width: 100%;
  max-width: 310px;
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  border: 2px solid rgba(229, 9, 20, 0.65);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.3);
  cursor: zoom-in;
  transition: transform 0.2s var(--ease);
}

.qris-frame:active {
  transform: scale(0.98);
}

.qris-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.wallet-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 14px;
}

.wallet-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--glass-frost);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--white-soft);
}

/* ========================================
   TAB 3: PROFIL SYATWOZ (UPGRADED)
======================================== */
.profile-hero-card {
  padding: 0;
  overflow: hidden;
}

.profile-cover {
  position: relative;
  height: 112px;
  background: linear-gradient(135deg, #2A0509, #0B0B0F);
  overflow: hidden;
}

.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.15) 0%, rgba(20, 20, 26, 0.96) 100%);
}

.profile-cover-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 15, 0.72);
  border: 1px solid rgba(255, 42, 56, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--white);
}

.profile-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px 18px;
  margin-top: -46px;
}

.profile-avatar-ring {
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson-bright), rgba(255, 255, 255, 0.35), var(--ruby-deep));
  box-shadow: var(--neon-crimson);
  margin-bottom: 10px;
}

.profile-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--obsidian);
  background: var(--obsidian-2);
}

.profile-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 3px;
}

.profile-handle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--crimson-bright);
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}

.profile-role {
  font-size: 12px;
  color: var(--white-muted);
  font-weight: 500;
  max-width: 340px;
  line-height: 1.5;
}

/* Profile Stats Grid */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 15px;
}

.stat-box {
  padding: 10px 8px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: center;
}

.stat-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.stat-lbl {
  font-size: 10px;
  color: var(--white-muted);
  font-weight: 500;
}

/* Profile Highlights Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(255, 42, 56, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.service-title {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.service-sub {
  font-size: 10px;
  color: var(--white-muted);
  margin-top: 2px;
}

.about-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--white-soft);
}

.wa-card-desc {
  font-size: 12px;
  color: var(--white-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* ========================================
   MINIMAL COPYRIGHT FOOTER (NO CARD/BOX)
======================================== */
.site-footer {
  margin-top: 22px;
  padding: 8px 6px 4px;
  text-align: center;
}

.footer-copy {
  font-size: 11px;
  color: var(--white-muted);
  line-height: 1.6;
}

.footer-credit {
  margin-top: 3px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.44);
}

.footer-credit strong {
  color: var(--white-soft);
  font-weight: 600;
}

/* ========================================
   FLOATING BOTTOM NAVIGATION BAR
======================================== */
.bottom-nav-shell {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 85;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 7px;
  border-radius: 26px;
  background: rgba(16, 16, 22, 0.84);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--neon-ruby-border);
  box-shadow: var(--neon-vignette);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px;
  border-radius: 20px;
  color: var(--white-muted);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.24s var(--ease);
}

.nav-item.active {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  box-shadow: var(--neon-crimson);
}

.nav-item svg {
  transition: transform 0.22s var(--ease);
}

.nav-item.active svg {
  transform: translateY(-1px);
}

/* ========================================
   ASSISTANT BOT (RAISED ABOVE BOTTOM BAR)
======================================== */
.bot-anchor {
  position: fixed;
  bottom: 102px;
  left: 0;
  right: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 14px;
  pointer-events: none;
  z-index: 86;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bot-fab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--neon-crimson), var(--neon-vignette);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.bot-fab:hover {
  transform: translateY(-2px);
}

.bot-fab:active {
  transform: scale(0.96);
}

.bot-panel {
  pointer-events: none;
  width: min(350px, calc(100vw - 28px));
  max-height: min(440px, calc(100dvh - 196px));
  margin-bottom: 10px;
  border-radius: 22px;
  background: rgba(15, 15, 21, 0.94);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--neon-ruby-border);
  box-shadow: var(--neon-vignette), 0 0 26px rgba(229, 9, 20, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(12px) scale(0.94);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease), visibility 0.2s;
}

.bot-panel.open {
  pointer-events: auto;
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(229, 9, 20, 0.14);
  border-bottom: 1px solid rgba(255, 42, 56, 0.3);
}

.bot-head-info {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bot-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-crimson);
}

.bot-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.bot-status {
  font-size: 10.5px;
  color: var(--white-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.bot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson-bright);
  box-shadow: 0 0 8px var(--crimson-bright);
}

.bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.55;
  word-wrap: break-word;
}

.msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.35);
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 2px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.4;
  animation: blink 1s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.q-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(255, 42, 56, 0.42);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--white);
  transition: all 0.18s var(--ease);
}

.q-chip:hover {
  background: var(--crimson);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.45);
}

.bot-form {
  display: flex;
  gap: 7px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 11, 15, 0.65);
}

.bot-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  outline: none;
}

.bot-input:focus {
  border-color: var(--crimson-bright);
}

.bot-send {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-bright));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-crimson);
  flex-shrink: 0;
}

/* ========================================
   QRIS FULLSCREEN ZOOM MODAL
======================================== */
.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}

.zoom-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.zoom-card {
  width: 100%;
  max-width: 390px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(20, 20, 26, 0.92);
  border: var(--neon-ruby-border);
  box-shadow: var(--neon-vignette), 0 0 30px rgba(229, 9, 20, 0.3);
  text-align: center;
}

.zoom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.zoom-img-box {
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
}

.zoom-img-box img {
  width: 100%;
  border-radius: 10px;
}

/* ========================================
   TOAST NOTIFICATION
======================================== */
.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 130;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--obsidian);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--neon-white-halo), var(--neon-vignette);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   RESPONSIVE FINE TUNING
======================================== */
@media (max-width: 390px) {
  .brand-title { font-size: 11px; }
  .idr-pill { padding: 4px 6px; font-size: 10px; }
  .lang-opt { padding: 4px 5.5px; font-size: 10px; }
  .account-number { font-size: 16.5px; }
  .banner-bottom-text h2 { font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; }
}

