/* =========================================================================
   J-PROJECT PREMIUM UI CORE 2026
   Features: Glassmorphism, Responsive Mobile Grid, Dark Mode Native, Custom Scrollbar
   ========================================================================= */

:root {
  --primary-blue: #0d6efd;
  --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --nav-height: 70px;
  --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --portfolio-card-bg: #ffffff;
  --portfolio-testi-bg: #f8f9fa;
  --shadow-sm-custom: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md-custom: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* DARK MODE OVERRIDE */
[data-bs-theme="dark"] {
  --glass-bg: rgba(20, 22, 25, 0.85);
  --bs-body-bg: #0f1113;
  --bs-border-color: rgba(255, 255, 255, 0.08);
  --portfolio-card-bg: #1e2022;
  --portfolio-testi-bg: rgba(255, 255, 255, 0.03);
  --shadow-sm-custom: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md-custom: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.text-dark-emphasis {
  font-size: 12px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Memastikan Row tidak menyebabkan horizontal scroll di mobile */
.row {
  --bs-gutter-x: 1.5rem;
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
}

/* --- KUSTOMISASI UTILITY BARU (SINKRONISASI VIEW) --- */
.fw-black {
  font-weight: 900;
}
.tracking-widest {
  letter-spacing: 0.2rem;
}
.extra-small {
  font-size: 11px;
}
.font-stylish {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.shadow-xs {
  box-shadow: var(--shadow-sm-custom);
}
.shadow-inner-xs {
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.05);
}

.bg-soft-primary {
  background-color: rgba(13, 110, 253, 0.06) !important;
}
.bg-soft-success {
  background-color: rgba(25, 135, 84, 0.06) !important;
}
.bg-soft-warning {
  background-color: rgba(255, 193, 7, 0.06) !important;
}

/* Jalur Premium Scrollbar Minimalis (Ulasan Halaman Detail & Landing Page) */
.custom-scrollbar-premium::-webkit-scrollbar,
.review-scroll-box::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar-premium::-webkit-scrollbar-track,
.review-scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}
[data-bs-theme="dark"] .custom-scrollbar-premium::-webkit-scrollbar-track,
[data-bs-theme="dark"] .review-scroll-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.custom-scrollbar-premium::-webkit-scrollbar-thumb,
.review-scroll-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
[data-bs-theme="dark"] .custom-scrollbar-premium::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] .review-scroll-box::-webkit-scrollbar-thumb {
  background: #475569;
}
.custom-scrollbar-premium::-webkit-scrollbar-thumb:hover,
.review-scroll-box::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- 1. PROMO TICKER --- */
.promo-ticker {
  background: var(--primary-gradient);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
}

/* --- 2. HEADER & GLASSMORPHISM --- */
.header-Home {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--bs-border-color);
  transition: var(--transition-standard);
}

/* --- 3. SEARCH BAR PREMIUM --- */
.search-container {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
  z-index: 1050;
  align-items: center;
}

.search-long {
  border-radius: 50px !important;
  padding-left: 50px !important;
  height: 48px;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 0.95rem;
}

.search-long:focus {
  background: #fff !important;
  border-color: #0d6efd !important;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15) !important;
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  z-index: 5;
  transition: color 0.3s;
}

.search-long:focus + .search-icon {
  color: #0d6efd;
}

#search-suggestion-box {
  position: absolute;
  top: 58px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  animation: searchSlideDown 0.3s ease-out;
  display: none;
}

@media (max-width: 991.98px) {
  #search-suggestion-box {
    position: fixed !important;
    top: 60px !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    margin: 0 auto;
    z-index: 1060;
  }
  #searchMenuMobile:focus {
    box-shadow: none;
  }
  .nav-icon-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@keyframes searchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
  margin: 4px 8px;
}

.search-result-item:hover {
  background: rgba(13, 110, 253, 0.08);
  transform: translateX(8px);
}

.search-result-image {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.search-result-info h6 {
  margin-bottom: 2px;
  font-size: 0.95rem;
  font-weight: 700;
}

.search-result-info span {
  font-size: 0.8rem;
  opacity: 0.7;
}

#live-search-results::-webkit-scrollbar {
  width: 5px;
}
#live-search-results::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 10px;
}

/* DARK MODE ADAPTATION (SEARCH BAR) */
[data-bs-theme="dark"] .search-long {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8f9fa;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
[data-bs-theme="dark"] .search-long:focus {
  background: #1e1e1e !important;
  border-color: #3d8bfd !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-bs-theme="dark"] #search-suggestion-box {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
[data-bs-theme="dark"] .search-result-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #3d8bfd;
}
[data-bs-theme="dark"] #search-result-content {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 4. NAVIGATION ICONS & BADGES --- */
.nav-icon-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--bs-body-color);
  transition: var(--transition-standard);
  background: transparent;
  border: none;
  text-decoration: none;
}

.nav-icon-link:hover {
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.badge-notify {
  font-size: 9px;
  padding: 3px 6px;
  border: 2px solid var(--bs-body-bg);
  top: 5px !important;
  right: 3px !important;
}

/* --- 5. SUB NAV (MENU) --- */
nav.bg-white.border-top {
  background-color: var(--glass-bg) !important;
}

.nav-link-j {
  color: var(--bs-secondary-color) !important;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  padding: 10px 15px !important;
  transition: var(--transition-standard);
}

.nav-link-j::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-standard);
  transform: translateX(-50%);
}

.nav-link-j:hover::after,
.nav-link-j.active::after {
  width: 20px;
}

.nav-link-j:hover,
.nav-link-j.active {
  color: var(--primary-blue) !important;
}

/* --- 6. MOBILE RESPONSIVE OPTIMIZATION --- */
@media (max-width: 991.98px) {
  .navbar-brand img {
    width: 32px;
    height: 32px;
  }
  .navbar-brand span {
    font-size: 1.2rem;
  }

  nav.bg-white.border-top .container {
    padding: 0;
  }
  nav.bg-white.border-top ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px 15px;
    scrollbar-width: none;
  }
  nav.bg-white.border-top ul::-webkit-scrollbar {
    display: none;
  }
  .nav-link-j {
    white-space: nowrap;
    font-size: 11px;
  }
}

.dropdown-menu {
  border: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  border-radius: 15px !important;
  animation: slideUp 0.3s ease-out;
}

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

/* =========================================================
   HOME HERO SECTION 
   ========================================================= */
.text-gradient {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.abstract-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-size: 12vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.025);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  text-align: center;
}

[data-bs-theme="dark"] .abstract-bg {
  color: rgba(255, 255, 255, 0.015);
}

.hero-3d {
  border-radius: 40px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
  animation: float3D 6s ease-in-out infinite;
  transition: transform 0.5s ease;
}

@keyframes float3D {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-15px) rotate(1.5deg) scale(1.01);
  }
}

.btn-j-glow {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  border: none;
  color: white !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 16px;
  font-weight: 700;
}

.btn-j-glow:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
}

.interactive-hero-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.interactive-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md-custom) !important;
}
.kpi-icon-avatar {
  font-size: 13px;
}

@media (max-width: 991.98px) {
  #home {
    min-height: auto !important;
    text-align: center;
    padding-top: 40px !important;
  }
  .display-3 {
    font-size: 2.5rem;
  }
  .abstract-bg {
    font-size: 22vw;
    opacity: 0.08;
  }
  .interactive-hero-card {
    text-align: left;
  }
}

/* =========================================================================
   CORE COMPONENT: KATALOG & HORIZONTAL SCROLL INTERACTION
   ========================================================================= */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 20px 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* KOREKSI GLOBAL LEBAR KARTU DI DESKTOP: Gemuk & Proporsional */
.scroll-item {
  min-width: 345px; /* Dinaikkan agar kartu ber-budget terlihat tegap kokoh */
  flex: 0 0 auto;
}

/* =========================================================================
   PREMIUM CARDS DESIGN (FULL BUDGET CONTROL)
   ========================================================================= */
.product-card {
  border: none !important;
  border-radius: 25px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--portfolio-card-bg, #ffffff) !important;
}

.portfolio-card-premium {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md-custom, 0 10px 20px rgba(0,0,0,0.05)) !important;
}

.media-box-premium {
  height: 190px;
  background-color: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}
.media-box-premium img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
}
.portfolio-card-premium:hover .media-box-premium img {
  transform: scale(1.03);
}

/* =========================================================================
   MINIMALIST LANDSCAPE BADGE (BUDGET 0 EFFECT)
   ========================================================================= */
.max-width-700-premium { 
  max-width: 700px; 
}
.project-row-divider { 
  position: relative; 
}

.minimalist-landscape-badge {
  background-color: #ffffff !important;
  border: 1px solid #edf2f7 !important;
  transition: all 0.2s ease-in-out;
}
.minimalist-landscape-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04) !important;
}

.media-box-landscape-premium {
  width: 105px;
  height: 105px;
  background-color: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-box-landscape-premium img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Teks Desktop Fallback */
.text-truncate-3lines,
.text-truncate-3lines-landscape {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4 !important;
  color: #64748b !important;
}

.minimalist-executor-badge {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.btn-minimalist-trigger {
  background-color: #f8fafc !important;
  transition: all 0.2s ease;
}
.btn-minimalist-trigger:hover {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
}

.btn-audit-trigger-premium {
  transition: all 0.2s ease;
}
.btn-audit-trigger-premium:hover {
  background-color: var(--primary-blue, #0d6efd) !important;
  color: #ffffff !important;
  border-color: var(--primary-blue, #0d6efd) !important;
}

.bubble-title {
  font-weight: 900;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}
.inner-block-blank-premium {
  background-color: rgba(0, 0, 0, 0.01);
}

/* =========================================================================
   RESPONSIVE DESIGN (TUNING MOBILE LEVEL EXPERT - ANTI KEPOTONG)
   ========================================================================= */
@media (max-width: 768px) {
  .scroll-container {
    gap: 16px;
    padding: 12px 4px;
  }
  
  /* TUNING UTAMA: Kartu lebar proporsional (88vw) memenuhi layar HP, sisa 12% intipan card sebelah */
  .scroll-item {
    min-width: 88vw !important;
    max-width: 670px;
    flex: 0 0 auto;
  }
  
  .media-box-premium {
    height: 160px !important;
  }
  
  /* BONGKAR TOTAL KUNCI TRUNCATE: Judul, Deskripsi & Tanggal Mengalir Utuh ke Bawah */
  .portfolio-card-title,
  .product-card h5,
  .minimalist-landscape-badge .text-truncate,
  .text-truncate-3lines,
  .text-truncate-3lines-landscape {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
  }
  
  /* Restrukturisasi Kartu Tanpa Budget Landscape -> Tegak Indah di HP */
  .minimalist-landscape-badge .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .media-box-landscape-premium {
    width: 100% !important;
    height: 160px !important; /* Dipertinggi di HP agar visual mantap */
    border-radius: 16px !important;
    margin-bottom: 12px;
    background-color: rgba(0, 0, 0, 0.01);
  }
  
  .minimalist-landscape-badge h6 {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-top: 4px;
    font-weight: 800 !important;
  }

  .neraca-container-premium {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .neraca-container-premium div {
    justify-content: space-between !important;
    width: 100%;
  }
  
  .bubble-title {
    font-size: 1.7rem !important;
  }
  .display-3 {
    font-size: 2.3rem !important;
  }

  .mobile-button-stack {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
  }
  .mobile-button-stack > div {
    width: 100% !important;
  }
  .mobile-button-stack .btn {
    height: 42px !important;
    font-size: 0.85rem;
  }
}

/* Fallback breakpoint kecil */
@media (max-width: 575.98px) {
  .sub-nav-mobile-fix {
    justify-content: center !important;
    gap: 5px;
  }
  .sub-nav-mobile-fix .nav-link-j {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* =========================================================
   KUNCI RESPONSIVE LANDSCAPE BUDGET 0 (ANTI-KEMBALI KE VERTIKAL)
   ========================================================= */
.sub-card-landscape-premium {
  flex-direction: row !important; /* Paksa mutlak tetap horizontal kiri-kanan di HP */
  align-items: center !important;
  width: 100%;
}

@media (max-width: 768px) {
  /* Lebarkan frame gambar di HP sedikit biar proporsional pas */
  .sub-card-landscape-premium .media-box-landscape-premium {
    width: 95px !important;
    height: 110px !important;
    margin-bottom: 0 !important; /* Buang margin bottom bawaan lama */
    border-radius: 12px !important;
  }
  
  /* Reset seting teks agar melebar normal ke kanan gambar */
  .text-start-mobile-fix {
    padding-left: 12px !important;
  }

  .sub-title-landscape-premium {
    font-size: 14px !important;
    white-space: normal !important;
    overflow: visible !important;
    display: block !important;
    line-height: 1.3 !important;
  }

  .sub-desc-landscape-premium {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  
  .m-date-landscape-premium {
    margin-top: 4px;
  }
}

/* =========================================================================
   DARK MODE ADAPTATION UTILITY
   ========================================================================= */
[data-bs-theme="dark"] .text-dark {
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .minimalist-landscape-badge,
[data-bs-theme="dark"] .minimalist-executor-badge {
  background-color: #161819 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-bs-theme="dark"] .media-box-landscape-premium {
  background-color: rgba(255, 255, 255, 0.03) !important;
}
[data-bs-theme="dark"] .text-dark-premium,
[data-bs-theme="dark"] .text-truncate-3lines,
[data-bs-theme="dark"] .text-truncate-3lines-landscape {
  color: #94a3b8 !important;
}
[data-bs-theme="dark"] .btn-minimalist-trigger {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}
[data-bs-theme="dark"] .btn-minimalist-trigger:hover {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
}
[data-bs-theme="dark"] .grayscale-img-dark {
  filter: brightness(0.85) contrast(1.05);
}
[data-bs-theme="dark"] .inner-block-blank-premium {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

/* =========================================================
   TESTIMONI SECTION
   ========================================================= */
.testi-card {
  background: var(--portfolio-testi-bg) !important;
  border-radius: 25px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--bs-border-color) !important;
}
.landing-testi-card-premium:hover {
  transform: translateY(-3px);
  background-color: var(--portfolio-card-bg) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: var(--shadow-md-custom) !important;
}
.testi-text {
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .testi-slider-container {
    margin: 0 -15px;
    overflow: hidden;
  }
  .flex-nowrap-mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding: 10px 20px 30px 20px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .flex-nowrap-mobile::-webkit-scrollbar {
    display: none;
  }
  .testi-item {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center;
    padding: 0 10px;
  }
}

/* =========================================================
   FOOTER PREMIUM
   ========================================================= */
.footer-premium {
  background: var(--portfolio-card-bg);
  color: var(--bs-body-color);
  border-top: 1px solid var(--bs-border-color);
  transition: var(--transition-standard);
}
.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 110, 253, 0.15);
}
.social-icon:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}
.icon-box-footer {
  width: 38px;
  height: 38px;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.map-wrapper {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--shadow-sm-custom);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
}
.footer-bottom {
  background: var(--primary-gradient);
  color: white;
}
.footer-bottom a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

[data-bs-theme="dark"] .footer-premium { background: #0f1214; }
[data-bs-theme="dark"] .social-icon { background: rgba(255, 255, 255, 0.05); color: #3d8bfd; border-color: rgba(255, 255, 255, 0.1); }
[data-bs-theme="dark"] .icon-box-footer { background: rgba(61, 139, 253, 0.15); color: #3d8bfd; }
[data-bs-theme="dark"] .map-wrapper iframe { filter: grayscale(1) invert(0.9) contrast(1.1); }
[data-bs-theme="dark"] .footer-bottom { background: #0d6efd; }

/* =========================================================
   ADMIN PREVIEW BAR 
   ========================================================= */
.admin-preview-bar {
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  z-index: 10000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
body.admin-preview-active { padding-top: 45px; }
.admin-preview-active .promo-ticker { top: 45px !important; }
.admin-preview-active .header-Home { top: 35px !important; }

.badge-preview {
  transform: translateY(5px);
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
}
.admin-status-text { transform: translateY(-2px); }
@media (min-width: 768px) {
  .badge-preview, .admin-status-text { transform: translateY(0px); }
}

.btn-return-admin {
  background: #ffffff !important;
  color: var(--primary-blue) !important;
  border: none;
  padding: 6px 18px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-return-admin:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
}
.preview-icon-wrapper {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.preview-icon-wrapper i { animation: pulse-eye 2s infinite; }
@keyframes pulse-eye {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* =========================================================
   DETAIL PORTOFOLIO SUB-PAGE PREMIUM SYSTEM
   ========================================================= */
.product-detail-page .price-box-blue {
  background: rgba(13, 110, 253, 0.03);
  border-left: 5px solid var(--primary-blue) !important;
}
.product-detail-page .side-nav-blue .nav-link {
  color: var(--bs-body-color);
  border-radius: 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  background: var(--portfolio-card-bg);
  border: 1px solid var(--bs-border-color);
}
.product-detail-page .side-nav-blue .nav-link.active {
  background: var(--primary-blue) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

@media (min-width: 768px) {
  .border-start-md-timeline { border-left: 1px dashed rgba(0, 0, 0, 0.1) !important; }
  [data-bs-theme="dark"] .border-start-md-timeline { border-left: 1px dashed rgba(255, 255, 255, 0.1) !important; }
}

/* =========================================================================
   ASET CSS PRESETS - PORTAL SHOWCASE JA SOFTWARE SOLUTION
   ========================================================================= */
.dynamic-hero-section, .dynamic-testimoni-section { background-color: #ffffff !important; }
.text-premium-bold-black { color: #1e293b !important; }
.testi-card { background-color: #f8f9fa !important; }
.bg-premium-arrow-btn { background-color: #ffffff !important; }
.interactive-hero-card { background-color: #f8f9fa !important; border-color: #e2e8f0 !important; }
.tag-featured-premium { background-color: #ffffff !important; }

/* OVERRIDE SYSTEM NATIVE DARK MODE BROWSER SWITCH */
[data-bs-theme="dark"] .dynamic-hero-section,
[data-bs-theme="dark"] .dynamic-testimoni-section { background-color: #0f1113 !important; }
[data-bs-theme="dark"] .text-premium-bold-black { color: #f8f9fa !important; }
[data-bs-theme="dark"] .testi-card { background-color: rgba(255, 255, 255, 0.03) !important; }
[data-bs-theme="dark"] .bg-premium-arrow-btn { background-color: #1e2022 !important; }
[data-bs-theme="dark"] .interactive-hero-card { background-color: rgba(255, 255, 255, 0.02) !important; border-color: rgba(255, 255, 255, 0.08) !important; }
[data-bs-theme="dark"] .tag-featured-premium { background-color: #1e2022 !important; }

.glass-hero-3d-box {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04) !important;
  animation: premiumFloat3D 6s ease-in-out infinite;
}
[data-bs-theme="dark"] .glass-hero-3d-box {
  background-color: #161819;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

@keyframes premiumFloat3D {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}
.neon-glow-back { width: 100%; height: 100%; filter: blur(80px); z-index: 1; }

.canvas-holder-premium { height: 150px; position: relative; }
.img-cover-holder {
  width: 80px;
  height: 62px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background-color: rgba(0, 0, 0, 0.02);
  overflow: hidden;
}
.img-cover-holder img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
[data-bs-theme="dark"] .img-cover-holder { background-color: rgba(255, 255, 255, 0.03); }

/* --- GLOBAL UTILS --- */
.font-monospace-premium { font-size: 11px; letter-spacing: 0.05rem; }
.hero-main-title { letter-spacing: -1px; line-height: 1.1; }
.hero-lead-text { font-size: 14.5px; text-align: justify; line-height: 1.6; }
.action-btn-premium { font-size: 13px; }
.kpi-number { font-size: 16px; }
.kpi-label { font-size: 10px; }
.quote-icon-premium { font-size: 28px; }
.font-monospace-review { font-size: 12.5px; text-align: justify; font-style: italic; }
.text-max-width-180 { max-width: 180px; }
.m-max-width-600 { max-width: 600px; }
.extra-small-status { font-size: 8px; }

/* =========================================================================
   ASET CSS PRESETS - HALAMAN DETAIL AUDIT FINANSIAL EVENT
   ========================================================================= */
.bg-detail-main-workspace { background-color: #f8fafc !important; }
.info-surface-premium, .block-surface-premium { background-color: #ffffff !important; border-color: #e2e8f0 !important; }
.inner-block-card { background-color: #f1f5f9 !important; border-color: #e2e8f0 !important; }
.text-premium-bold { color: #0f172a !important; }
.text-muted-premium { color: #64748b !important; }
.border-card-premium { border-color: #e2e8f0 !important; }
.badge-meta-premium { background-color: #ffffff !important; }
.bg-btn-link-premium { background-color: #ffffff !important; border-color: #cbd5e1 !important; }
.bg-btn-disabled-premium { background-color: #e2e8f0 !important; }
.wrapper-media-frame { background-color: #ffffff !important; border-color: #e2e8f0 !important; }

/* TRANSISI NATIVE DARK MODE BROWSER SECTION DETAIL */
[data-bs-theme="dark"] .bg-detail-main-workspace { background-color: #0f1113 !important; }
[data-bs-theme="dark"] .info-surface-premium, [data-bs-theme="dark"] .block-surface-premium { background-color: #161819 !important; border-color: rgba(255, 255, 255, 0.06) !important; }
[data-bs-theme="dark"] .inner-block-card { background-color: rgba(255, 255, 255, 0.02) !important; border-color: rgba(255, 255, 255, 0.05) !important; }
[data-bs-theme="dark"] .text-premium-bold { color: #f8f9fa !important; }
[data-bs-theme="dark"] .text-muted-premium { color: #94a3b8 !important; }
[data-bs-theme="dark"] .border-card-premium { border-color: rgba(255, 255, 255, 0.06) !important; }
[data-bs-theme="dark"] .badge-meta-premium { background-color: #1e2022 !important; border-color: rgba(255, 255, 255, 0.1) !important; }
[data-bs-theme="dark"] .bg-btn-link-premium { background-color: #1e2022 !important; border-color: rgba(255, 255, 255, 0.1) !important; }
[data-bs-theme="dark"] .bg-btn-disabled-premium { background-color: rgba(255, 255, 255, 0.05) !important; }
[data-bs-theme="dark"] .wrapper-media-frame { background-color: #1e2022 !important; border-color: rgba(255, 255, 255, 0.06) !important; }
[data-bs-theme="dark"] .placeholder-muted-premium::placeholder { color: rgba(255, 255, 255, 0.2) !important; }

.hero-title-detail { font-size: 26px; }
.description-text-detail { text-align: justify; }
.m-font-9 { font-size: 9px !important; }
.m-font-14 { font-size: 14px !important; }
.m-max-width-180 { max-width: 180px; }
.text-justify { text-align: justify; }

.thumb-img { opacity: 0.5; transition: all 0.2s ease; }
.thumb-img:hover, .thumb-img.active { opacity: 1; border-color: #0d6efd !important; transform: scale(1.03); }

.premium-budget-card { transition: all 0.2s ease; }
.premium-budget-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03); border-color: #0d6efd !important; }
[data-bs-theme="dark"] .premium-budget-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }

@media (min-width: 768px) {
  .border-end-md-premium { border-right: 1px dashed rgba(0, 0, 0, 0.1) !important; }
  [data-bs-theme="dark"] .border-end-md-premium { border-right: 1px dashed rgba(255, 255, 255, 0.08) !important; }
  .border-start-md-timeline-premium { border-left: 1px dashed rgba(0, 0, 0, 0.1) !important; }
  [data-bs-theme="dark"] .border-start-md-timeline-premium { border-left: 1px dashed rgba(255, 255, 255, 0.08) !important; }
}

.pulse-button { animation: pulseAnimPremium 2s infinite; border: none; background-color: #6f42c1; color: white !important; }
@keyframes pulseAnimPremium {
  0% { box-shadow: 0 0 0 0 rgba(111, 66, 193, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(111, 66, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 66, 193, 0); }
}

/* =========================================================================
   ASET CSS PRESETS - HEADER & SMART SEARCH SYSTEM ADAPTATION
   ========================================================================= */
.header-brand-text { color: #111111 !important; }
.bg-search-input { background: rgba(0, 0, 0, 0.04) !important; }
.text-premium-bold { color: #1e293b !important; }
.dynamic-search-dropdown-surface { background: #ffffff !important; border: 1px solid #e2e8f0 !important; }
.mobile-search-header-context { background: #f8f9fa !important; }
.bg-search-mobile-input { background: #ffffff !important; }
.inner-search-item-card { background-color: #ffffff; transition: all 0.2s ease; }
.inner-search-item-card:hover { background-color: #f1f5f9 !important; transform: translateX(4px); }
.dropdown-surface-premium { background-color: #ffffff !important; }
.profile-trigger-surface { background-color: #f8f9fa !important; border-color: #e2e8f0 !important; }
.notif-unread-premium { background-color: rgba(13, 110, 253, 0.03) !important; }

/* TRANSISI DARK MODE SMART SEARCH HEADER */
[data-bs-theme="dark"] .header-brand-text { color: #ffffff !important; }
[data-bs-theme="dark"] .bg-search-input { background: rgba(255, 255, 255, 0.08) !important; color: #f8f9fa !important; }
[data-bs-theme="dark"] .text-premium-bold { color: #f8f9fa !important; }
[data-bs-theme="dark"] .dynamic-search-dropdown-surface { background: #161819 !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; }
[data-bs-theme="dark"] .mobile-search-header-context { background: #1e2022 !important; }
[data-bs-theme="dark"] .bg-search-mobile-input { background: rgba(0, 0, 0, 0.2) !important; border-color: rgba(255, 255, 255, 0.08) !important; }
[data-bs-theme="dark"] .inner-search-item-card { background-color: rgba(255, 255, 255, 0.01); }
[data-bs-theme="dark"] .inner-search-item-card:hover { background-color: rgba(255, 255, 255, 0.04) !important; }
[data-bs-theme="dark"] .dropdown-surface-premium { background-color: #161819 !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; }
[data-bs-theme="dark"] .profile-trigger-surface { background-color: rgba(255, 255, 255, 0.05) !important; border-color: rgba(255, 255, 255, 0.08) !important; }
[data-bs-theme="dark"] .notif-unread-premium { background-color: rgba(13, 110, 253, 0.1) !important; }
[data-bs-theme="dark"] .dropdown-item:hover { background-color: rgba(255, 255, 255, 0.05) !important; color: #3d8bfd !important; }
[data-bs-theme="dark"] #search-result-content { border-top-color: rgba(255, 255, 255, 0.08) !important; }

@media (max-width: 991.98px) {
  #search-suggestion-box {
    position: fixed !important;
    top: 55px !important;
    left: 4% !important;
    right: 4% !important;
    width: 92% !important;
    margin: 0 auto;
    z-index: 10050;
  }
}