:root {
  --primary: #38bdf8;
  --text-main: #FFFFFF;
  --text-muted: #EDF2FF;
  --success: #22C55E;
  --warning: #FACC15;
  --danger: #EF4444;
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ========================================================
   BACKGROUND UTAMA (STABIL TANPA CRASH CLOUDFLARE)
   ======================================================== */
.bg-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #030a17;
  background-image: url('https://lh3.googleusercontent.com/d/1jBN6BWJxHfyLxLRJYV0lL2X6Ls0d5kwz') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  z-index: -10 !important;
  pointer-events: none !important;
}

html,
body {
  background: transparent !important;
  color: var(--text-main);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body.dashboard-mode {
  padding-bottom: 30px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}

/* CONTAINER UTAMA: HAPUS TRANSFORM AGAR POSITION: FIXED HEADER BEKERJA 100% */
.app-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 20px 110px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
  /* JANGAN beri transform/filter di sini agar header fixed tidak rusak */
}

/* ========================================================
   HERO BANNER HEADER: PERSIS SEPERTI BOTTOM NAV (FIXED MELAYANG)
   ======================================================== */
.hero-banner-header {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 40px) !important;
  max-width: 1160px !important;
  min-height: 115px;
  background: rgba(8, 24, 52, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 16px 24px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2) !important;
  overflow: hidden !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  z-index: 9995 !important;
}

.hero-banner-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}

.hero-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: moveShine 8s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes moveShine {
  0% {
    left: -150%;
  }

  35% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.digital-glow-1 {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  filter: blur(25px);
  pointer-events: none;
}

.hero-text-wrapper {
  position: relative;
  z-index: 10;
  max-width: 65%;
}

.hero-title-text {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-badge {
  background: rgba(11, 28, 62, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.4px;
}

.hero-art-container {
  position: absolute;
  z-index: 10;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-visual-art {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-icon-box {
  position: relative;
  width: 50px;
  height: 50px;
  background: rgba(14, 38, 80, 0.65);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.glass-icon-box i {
  font-size: 22px;
  color: #38bdf8;
  filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.6));
}

.art-orbit-1 {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1.5px dashed rgba(56, 189, 248, 0.6);
  border-radius: 50%;
  animation: spinOrbit 15s linear infinite;
  z-index: 1;
}

.art-orbit-2 {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  animation: spinOrbit 20s linear infinite reverse;
  z-index: 1;
}

@keyframes spinOrbit {
  100% {
    transform: rotate(360deg);
  }
}

.hero-top-right {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
}

a.btn-buat {
  background-color: #22c55e;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transition: 0.2s;
}

a.btn-buat:hover {
  transform: scale(0.96);
}

.btn-menu {
  background: rgba(11, 28, 62, 0.85);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

/* ========================================================
   LAYER AUTH, CHECKOUT & PEMBAYARAN MANUAL
   ======================================================== */
#authCheckoutLayer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px 12px;
  position: relative;
  z-index: 10;
}

#dashboardLayer {
  display: none;
  position: relative;
  z-index: 10;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 23, 0.9);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #38bdf8;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.top-nav-buttons {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 100;
}

.btn-admin-top {
  background: rgba(11, 28, 62, 0.85);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.btn-admin-top:hover {
  background: #38bdf8;
  color: #000;
}

.welcome-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(8, 24, 52, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 10;
}

.login-card.active {
  display: block;
}

.brand-text {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 22px;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(8, 26, 58, 0.75);
  border-radius: 50px;
  padding: 13px 18px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.input-group:focus-within {
  border-color: rgba(56, 189, 248, 0.8);
}

.input-group i.fa-solid {
  color: #64748b;
  font-size: 14px;
  width: 24px;
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}

.input-group input::placeholder {
  color: #94a3b8;
}

.eye-icon {
  position: absolute;
  right: 18px;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: #94a3b8;
  cursor: pointer;
  margin-bottom: 18px;
}

.btn-signin {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.btn-blue {
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
}

.btn-dark-purple {
  background: rgba(38, 35, 77, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
}

.btn-success {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.card-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  color: #94a3b8;
}

.admin-link {
  color: #38bdf8;
  font-weight: 700;
  cursor: pointer;
}

.reminder-text {
  font-size: 11px;
  color: #facc15;
  text-align: center;
  margin: 14px 0;
  line-height: 1.4;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 18px 0;
  width: 100%;
}

.inner-box {
  background: rgba(8, 26, 58, 0.65);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-input {
  width: 100%;
  background: rgba(6, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.total-pay-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.pay-amount-highlight {
  font-size: 28px;
  font-weight: 800;
  color: #facc15;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}

.btn-copy-mini {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
}

.payment-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pay-tab-btn {
  flex: 1;
  background: rgba(8, 26, 58, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 4px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.3s;
}

.pay-tab-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #000;
  border-color: #38bdf8;
}

.qris-image-container {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 260px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.qris-img-fluid {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.bank-info-card {
  background: rgba(8, 26, 58, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  padding: 16px;
}

.badge-active {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 9.5px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 50px;
}

.btn-copy-action {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border: none;
  color: #000;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.btn-whatsapp-confirm {
  background: linear-gradient(90deg, #128C7E 0%, #25D366 100%);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  font-size: 14px;
}

/* ========================================================
   SEKSI STATS & BANNER
   ======================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.stat-card {
  background: rgba(8, 26, 60, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  background: rgba(11, 32, 70, 0.8) !important;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-header span {
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 500;
}

.stat-icon {
  background: rgba(56, 189, 248, 0.22);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #38bdf8;
  font-size: 15px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  margin-top: 14px;
  color: #ffffff;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(8, 26, 60, 0.55);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 30px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 10, 23, 0.88) 0%, rgba(3, 10, 23, 0.3) 60%, transparent 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.slide-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--warning);
  color: #000;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
  letter-spacing: 1px;
}

.slide h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
  line-height: 1.2;
}

.slide p {
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.4;
}

/* ========================================================
   MENU UTAMA & NAVIGASI
   ======================================================== */
.menu-section-title {
  font-size: 17px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 16px;
  border-left: 4px solid var(--warning);
  padding-left: 12px;
  color: #fff;
  letter-spacing: 0.5px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 14px;
  background: rgba(8, 26, 60, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.menu-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  background: rgba(11, 32, 70, 0.8) !important;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.menu-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 20px;
}

.menu-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.menu-card p {
  font-size: 10.5px;
  color: #94a3b8;
}

/* ========================================================
   PENCARIAN & FILTER KATALOG
   ======================================================== */
.search-explore-wrapper {
  background: rgba(8, 26, 60, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 22px;
  padding: 20px 24px;
  margin: 10px 0 25px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.search-input-box {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.search-input-box input {
  width: 100%;
  background: rgba(3, 10, 23, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 50px;
  padding: 14px 20px 14px 48px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.search-input-box i.fa-magnifying-glass {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #38bdf8;
  font-size: 16px;
}

.category-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cat-filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 30px;
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}

.cat-filter-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #000;
  border-color: #38bdf8;
}

.cat-divider {
  display: flex;
  justify-content: center;
  margin: 35px 0 18px 0;
}

.cat-badge {
  background: rgba(11, 28, 62, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid #38bdf8;
  border-radius: 40px;
  padding: 8px 24px;
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
}

/* ========================================================
   GRID KATALOG
   ======================================================== */
.katalog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 35px;
}

.katalog-card {
  background: rgba(8, 26, 60, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 22px !important;
  padding: 24px 16px !important;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 220px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.katalog-card:hover {
  transform: translateY(-6px) !important;
  border-color: #38bdf8 !important;
  background: rgba(11, 32, 70, 0.8) !important;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.3) !important;
}

.katalog-icon {
  width: 62px !important;
  height: 62px !important;
  border-radius: 18px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px !important;
}

.katalog-icon i {
  color: #ffffff;
  font-size: 26px !important;
}

.katalog-title {
  color: #ffffff;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

.katalog-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 7px 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: 0.3s;
}

.katalog-card:hover .katalog-btn {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
}

.katalog-card:nth-child(7n+1) .katalog-icon {
  background: #eab308;
}

.katalog-card:nth-child(7n+2) .katalog-icon {
  background: #ef4444;
}

.katalog-card:nth-child(7n+3) .katalog-icon {
  background: #0ea5e9;
}

.katalog-card:nth-child(7n+4) .katalog-icon {
  background: #a855f7;
}

.katalog-card:nth-child(7n+5) .katalog-icon {
  background: #84cc16;
}

.katalog-card:nth-child(7n+6) .katalog-icon {
  background: #ec4899;
}

.katalog-card:nth-child(7n+7) .katalog-icon {
  background: #f97316;
}

.zip-warning-box {
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  margin: 10px 0 22px 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.zip-warning-box i.fa-file-zipper {
  font-size: 32px;
  color: #eab308;
  margin-bottom: 10px;
}

.zip-warning-box h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.zip-warning-box p {
  color: #cbd5e1;
  font-size: 11.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-tutorial-zip {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 11.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   BOTTOM NAVIGATION
   ======================================================== */
.bottom-nav {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 440px !important;
  background: rgba(8, 24, 52, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(56, 189, 248, 0.38) !important;
  border-radius: 35px !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  padding: 10px 14px !important;
  z-index: 9999 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.nav-item i {
  font-size: 18px;
}

.nav-item:hover,
.nav-item.active {
  color: #38bdf8;
}

/* ========================================================
   SIDEBAR & POPUP
   ======================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  visibility: visible;
  opacity: 1;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 270px;
  height: 100%;
  background: rgba(5, 14, 30, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  border-left: 1px solid rgba(56, 189, 248, 0.3);
}

.sidebar-menu.active {
  right: 0;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.close-sidebar {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #94a3b8;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.menu-label {
  font-size: 10.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  font-weight: 700;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12.5px;
  border-radius: 10px;
  transition: 0.2s;
  margin-bottom: 4px;
}

.sidebar-link.active {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #000;
  font-weight: 700;
}

.sidebar-footer {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toast-popup {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(11, 28, 62, 0.95);
  border: 1px solid #38bdf8;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

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

.social-proof-popup {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 9999;
  background: rgba(11, 28, 62, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #22c55e;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  opacity: 0;
  max-width: 310px;
  pointer-events: none;
}

.social-proof-popup.show {
  top: 18px;
  opacity: 1;
  pointer-events: auto;
}

.sp-icon {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  flex-shrink: 0;
}

.sp-text p {
  margin: 0;
  line-height: 1.35;
  font-size: 11px;
}

.sp-product {
  color: #22c55e;
  font-weight: 700;
}

.sp-time {
  font-size: 9.5px;
  color: #64748b;
  margin-top: 3px;
  display: block;
}

.sp-close {
  background: transparent;
  border: none;
  color: #64748b;
  position: absolute;
  top: 6px;
  right: 6px;
  cursor: pointer;
  font-size: 11px;
}

/* ========================================================
   MODAL POP-UP MELAYANG
   ======================================================== */
.premium-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(3, 10, 23, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.premium-overlay.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.premium-modal-box {
  background: linear-gradient(145deg, rgba(14, 30, 66, 0.98), rgba(7, 18, 42, 0.98)) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 22px !important;
  padding: 26px 20px !important;
  width: 100% !important;
  max-width: 480px !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
  color: #ffffff !important;
  transform: translateY(20px) !important;
  transition: transform 0.3s ease !important;
}

.premium-overlay.show .premium-modal-box {
  transform: translateY(0) !important;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #facc15;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
}

.modal-greeting {
  font-size: 12.5px;
  text-align: center;
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.modal-text {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: center;
}

.accent-container {
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.green-accent {
  background: rgba(163, 230, 53, 0.1);
  border-left: 4px solid #a3e635;
}

.purple-accent {
  background: rgba(139, 92, 246, 0.1);
  border-left: 4px solid #8b5cf6;
}

.accent-title {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.benefit-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cbd5e1;
}

.benefit-list li i {
  color: #38bdf8;
  margin-top: 2px;
  font-size: 13px;
  flex-shrink: 0;
}

.highlight-box {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin-bottom: 14px;
}

.highlight-box h4 {
  color: #facc15;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.highlight-box p {
  font-size: 11.5px;
  color: #fff;
  margin: 0;
}

.modal-closing {
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.tutorial-note {
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.4;
}

.btn-tutup {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  margin-top: 14px;
  font-size: 13px;
}

.btn-video-tutorial {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 13px;
  color: #e0f2fe;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 13px 14px 13px;
  color: #94a3b8;
  font-size: 11.5px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-item.active .faq-question {
  color: #38bdf8;
}

.btn-wa-support {
  display: block;
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  font-size: 12.5px;
}

.materi-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 4px;
}

.materi-step-btn {
  display: flex;
  align-items: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: #fff;
}

.materi-step-btn.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: #a855f7;
}

.materi-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #a855f7;
  font-size: 12px;
  flex-shrink: 0;
}

.materi-step-text span {
  font-size: 9px;
  color: #a855f7;
  font-weight: 800;
  text-transform: uppercase;
}

.materi-step-text strong {
  font-size: 12px;
  color: #e2e8f0;
  display: block;
}

/* ========================================================
   RESPONSIVE MOBILE / TABLET
   ======================================================== */
@media (max-width: 768px) {
  .app-container {
    padding: 135px 14px 95px 14px !important;
    gap: 16px !important;
    max-width: 100% !important;
  }

  /* HEADER TETAP DIAM DI ATAS (FIXED DOCK) PERSIS BOTTOM NAV */
  .hero-banner-header {
    position: fixed !important;
    top: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    min-height: 105px !important;
    padding: 12px 14px !important;
    border-radius: 22px !important;
    background: rgba(8, 24, 52, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 16px rgba(56, 189, 248, 0.2) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    z-index: 9995 !important;
  }

  .hero-text-wrapper {
    max-width: 68% !important;
  }

  .hero-title-text {
    font-size: 20px !important;
    margin-bottom: 5px !important;
  }

  .hero-badges {
    display: flex !important;
    gap: 4px !important;
  }

  .hero-badge {
    padding: 3px 8px !important;
    font-size: 9px !important;
  }

  .hero-top-right {
    top: 12px !important;
    right: 12px !important;
    gap: 6px !important;
  }

  a.btn-buat {
    padding: 5px 9px !important;
    font-size: 9.5px !important;
  }

  .btn-menu {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
  }

  .hero-art-container {
    right: 56px !important;
    top: 52% !important;
    transform: translateY(-50%) !important;
  }

  .hero-visual-art {
    width: 48px !important;
    height: 48px !important;
  }

  .glass-icon-box {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .glass-icon-box i {
    font-size: 18px !important;
  }

  .art-orbit-1 {
    width: 54px !important;
    height: 54px !important;
  }

  .art-orbit-2 {
    width: 66px !important;
    height: 66px !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .stat-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .stat-value {
    font-size: 1.4rem !important;
  }

  .banner-slider {
    height: 175px !important;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .menu-card {
    padding: 16px 10px !important;
    border-radius: 18px !important;
  }

  .katalog-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }

  .katalog-card {
    min-height: 185px !important;
    padding: 16px 8px !important;
    border-radius: 18px !important;
  }

  .katalog-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
  }

  .katalog-icon i {
    font-size: 20px !important;
  }

  .katalog-title {
    font-size: 10px !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.2px !important;
  }

  .katalog-btn {
    font-size: 8px !important;
    padding: 5px 10px !important;
  }

  .bottom-nav {
    width: calc(100% - 30px) !important;
    max-width: 400px !important;
    bottom: 14px !important;
    padding: 8px 12px !important;
    border-radius: 30px !important;
  }

  .admin-grid {
    grid-template-columns: 1fr !important;
  }

  .top-nav-buttons {
    top: 14px !important;
    right: 14px !important;
  }

  .btn-admin-top {
    padding: 5px 10px !important;
    font-size: 10.5px !important;
  }
}

/* ========================================================
   HEADER BESAR (TABLET & LAPTOP/PC) + GRID KATALOG 3/4 KOLOM
   ======================================================== */
@media (min-width: 769px) {
  .app-container {
    padding-top: 220px !important;
  }

  .hero-banner-header {
    min-height: 180px !important;
    padding: 24px 32px !important;
  }

  .hero-text-wrapper {
    max-width: 60% !important;
  }

  .hero-title-text {
    font-size: clamp(32px, 4.2vw, 42px) !important;
    margin-bottom: 14px !important;
  }

  .hero-badges {
    gap: 10px !important;
  }

  .hero-badge {
    padding: 7px 18px !important;
    font-size: 13px !important;
  }

  .hero-top-right {
    top: 22px !important;
    right: 26px !important;
    gap: 12px !important;
  }

  a.btn-buat {
    padding: 9px 20px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }

  .btn-menu {
    width: 40px !important;
    height: 40px !important;
    font-size: 17px !important;
  }

  .hero-art-container {
    right: 56px !important;
    top: 58% !important;
  }

  .hero-visual-art {
    width: 110px !important;
    height: 110px !important;
  }

  .glass-icon-box {
    width: 84px !important;
    height: 84px !important;
    border-radius: 24px !important;
  }

  .glass-icon-box i {
    font-size: 38px !important;
  }

  .art-orbit-1 {
    width: 112px !important;
    height: 112px !important;
  }

  .art-orbit-2 {
    width: 138px !important;
    height: 138px !important;
  }
}

/* Katalog: HP 3 kolom, tablet 4 kolom, laptop/PC 4 kolom */
.katalog-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 599px) {
  .katalog-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ========================================================
   KARTU PILIH PRODUK (Daftar & Beli Akses)
   ======================================================== */
.choose-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  text-align: left;
  color: #fff;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 16px 16px 14px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform .15s, border-color .15s, background .15s;
}
.choose-opt:hover, .choose-opt:focus-visible {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  outline: none;
}
.choose-opt.alt {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.5);
}
.choose-opt.alt:hover, .choose-opt.alt:focus-visible {
  border-color: #a78bfa;
  background: rgba(124, 92, 255, 0.2);
}
.choose-opt strong { font-size: 17px; font-weight: 800; }
.choose-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.choose-opt.alt .choose-tag { color: #c4b5fd; }
.choose-desc { font-size: 12.5px; line-height: 1.5; color: #cbd5e1; }
.choose-price { font-size: 13px; color: #94a3b8; margin-top: 2px; }
.choose-price b { font-size: 20px; color: #38bdf8; font-weight: 800; }
.choose-opt.alt .choose-price b { color: #c4b5fd; }
.choose-price s { margin-right: 4px; }
