/* ==========================================================================
   E-PPID SMART MINAHASA - DESIGN SYSTEM & STYLESHEET
   Style: Modern GovTech, Clean White Canvas, Crisp Borders, High Accessibility
   Colors: Deep Navy (#0F172A), Royal Blue (#2563EB), Slate Blue (#1E3A8A),
           Emerald (#10B981), Amber (#F59E0B), Crimson (#EF4444), Burgundy (#7F1D1D)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: rgb(26, 36, 50);
  /* R: 26, G: 36, B: 50 (#1A2432) per user request */
  --primary-navy-dark: #121A24;
  --navy-light: #243042;
  --royal-blue: #2563EB;
  --royal-blue-hover: #1D4ED8;
  --slate-blue: #1E3A8A;
  --gold-amber: #D97706;
  --gold-amber-light: #FEF3C7;

  --bg-slate: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card-blue: #EFF6FF;
  --border-soft: #E2E8F0;
  --border-focus: #3B82F6;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  /* SLA Color Tokens */
  --sla-safe-bg: #ECFDF5;
  --sla-safe-text: #065F46;
  --sla-safe-border: #6EE7B7;
  --sla-safe-solid: #10B981;

  --sla-warning-bg: #FFFBEB;
  --sla-warning-text: #92400E;
  --sla-warning-border: #FCD34D;
  --sla-warning-solid: #F59E0B;

  --sla-critical-bg: #FEF2F2;
  --sla-critical-text: #991B1B;
  --sla-critical-border: #FCA5A5;
  --sla-critical-solid: #EF4444;

  --sla-overdue-bg: #450A0A;
  --sla-overdue-text: #FEE2E2;
  --sla-overdue-border: #991B1B;
  --sla-overdue-solid: #7F1D1D;

  --sla-stopped-bg: #F1F5F9;
  --sla-stopped-text: #334155;
  --sla-stopped-border: #CBD5E1;
  --sla-stopped-solid: #64748B;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--royal-blue-hover);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: #0B1324;
  color: #94A3B8;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left i,
.top-bar-right i {
  color: var(--gold-amber);
}

.main-navbar {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.navbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-badge-smart {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #FFFFFF;
  font-size: 0.6875rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.brand-subtitle {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #60A5FA;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #38BDF8;
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile & Desktop Display Utilities */
@media (min-width: 1024.02px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: flex !important;
  }
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.max-w-full {
  max-width: 100% !important;
}

.w-full {
  width: 100% !important;
}

.btn-block {
  width: 100% !important;
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-hamburger-btn:active {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0.96);
}

/* Mobile Collapsible Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: #0A192F;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.mobile-nav-drawer.active {
  display: block;
  animation: slideDownNav 0.22s ease-out;
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-drawer-inner {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E2E8F0;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: rgba(255, 255, 255, 0.08);
  color: #60A5FA;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  line-height: 1.25;
}

/* Button Shimmer / Sheen Sweep Animation on Hover */
.btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.btn:hover::after {
  left: 140%;
  opacity: 1;
}

/* Button Tactile Press (Spring Physics Click) */
.btn:active {
  transform: scale(0.96) translateY(1px) !important;
  transition-duration: 0.1s !important;
}

/* Button Icon Micro-Interactions */
.btn i {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.btn:hover i {
  transform: scale(1.15);
}

.btn:hover .fa-paper-plane,
.btn:hover .fa-arrow-right {
  transform: translateX(4px) scale(1.15);
}

.btn:hover .fa-magnifying-glass,
.btn:hover .fa-magnifying-glass-location {
  transform: scale(1.22) rotate(-10deg);
}

.btn:hover .fa-plus-circle,
.btn:hover .fa-file-circle-plus {
  transform: scale(1.2) rotate(15deg);
}

.btn:hover .fa-download {
  transform: translateY(2px) scale(1.15);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary-navy {
  background: linear-gradient(135deg, #1E3A8A, #0F172A);
  color: #FFFFFF;
  border-color: #1E3A8A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-primary-navy:hover {
  background: linear-gradient(135deg, #2563EB, #0F172A);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.6), 0 0 14px rgba(59, 130, 246, 0.35);
  transform: translateY(-2.5px);
  border-color: #3B82F6;
}

.btn-royal {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-royal:hover {
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  color: #FFFFFF;
  box-shadow: 0 10px 25px -2px rgba(37, 99, 235, 0.55), 0 0 16px rgba(96, 165, 250, 0.4);
  transform: translateY(-2.5px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2.5px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary-navy);
  border-color: var(--border-soft);
}

.btn-outline-navy:hover {
  background: #F1F5F9;
  border-color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-danger {
  background-color: #DC2626;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background-color: #B91C1C;
  color: #FFFFFF;
  transform: translateY(-2.5px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}

.btn-warning {
  background-color: #D97706;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-warning:hover {
  background-color: #B45309;
  color: #FFFFFF;
  transform: translateY(-2.5px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
}

.btn-success {
  background-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-success:hover {
  background-color: #047857;
  color: #FFFFFF;
  transform: translateY(-2.5px);
  box-shadow: 0 8px 22px -2px rgba(16, 185, 129, 0.5), 0 0 14px rgba(52, 211, 153, 0.35);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-gold {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.badge-blue {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

/* SLA Badges */
.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border-width: 1px;
  border-style: solid;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-safe {
  background-color: var(--sla-safe-bg);
  color: var(--sla-safe-text);
  border-color: var(--sla-safe-border);
}

.badge-warning {
  background-color: var(--sla-warning-bg);
  color: var(--sla-warning-text);
  border-color: var(--sla-warning-border);
}

.badge-critical {
  background-color: var(--sla-critical-bg);
  color: var(--sla-critical-text);
  border-color: var(--sla-critical-border);
}

.badge-overdue {
  background-color: var(--sla-overdue-bg);
  color: var(--sla-overdue-text);
  border-color: var(--sla-overdue-border);
}

.badge-stopped {
  background-color: var(--sla-stopped-bg);
  color: var(--sla-stopped-text);
  border-color: var(--sla-stopped-border);
}

/* ==========================================================================
   CONTAINER & SECTION LAYOUTS
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: var(--royal-blue);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 10px auto 0;
}

/* ==========================================================================
   HERO SECTION (2-COLUMN GRID)
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-kemenkumham-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--royal-blue);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hero Search Box */
.hero-search-card {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 16px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-input-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 1rem;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hero-footnotes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-footnotes a {
  color: var(--royal-blue);
  font-weight: 600;
}

.hero-footnotes a:hover {
  text-decoration: underline;
}

/* Hero Right: SLA Side Card */
.sla-side-card {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.sla-side-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #10B981, #2563EB);
}

.sla-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.sla-card-badge {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sla-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 6px;
}

/* Circular Metric Gauge */
.metric-gauge-wrapper {
  background: var(--bg-card-blue);
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.gauge-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#10B981 0% 98%, #E2E8F0 98% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.gauge-circle-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #065F46;
  line-height: 1;
}

.gauge-max {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: 600;
}

.gauge-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.gauge-info p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Timeline Bar */
.sla-timeline-bar {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
}

.sla-timeline-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.timeline-track {
  height: 8px;
  background-color: #E2E8F0;
  border-radius: var(--radius-full);
  position: relative;
  margin-bottom: 16px;
}

.timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10B981 0%, #3B82F6 70%, #F59E0B 100%);
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-secondary);
}

.timeline-labels span strong {
  color: var(--primary-navy);
}

/* ==========================================================================
   PERFORMANCE STATISTICS SECTION (3 METRIC CARDS)
   ========================================================================== */
.stats-section {
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat-card {
  background: rgba(18, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  transition: color 0.25s ease;
}

.stat-card:hover .stat-label {
  color: #E2E8F0;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  display: inline-block;
}

.stat-card:hover .stat-number {
  transform: scale(1.05);
  color: #38BDF8;
}

.stat-delta {
  font-size: 0.875rem;
  font-weight: 700;
  color: #10B981;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.stat-card:hover .stat-delta {
  transform: scale(1.08);
}

.stat-desc {
  font-size: 0.9375rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.55;
  transition: color 0.25s ease;
}

.stat-card:hover .stat-desc {
  color: #F8FAFC;
}

/* ==========================================================================
   SOP FLOW SECTION (RGB: 26, 36, 50 with Dot Grid Pattern)
   ========================================================================== */
.sop-section {
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: #FFFFFF;
  padding: 72px 0 80px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sop-section .section-tag {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sop-section .section-title {
  color: #FFFFFF;
  margin-top: 10px;
}

.sop-section .section-desc {
  color: rgba(226, 232, 240, 0.85);
}

.sop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.sop-card {
  background: rgba(18, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  cursor: default;
}

.sop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.6), 0 0 26px rgba(59, 130, 246, 0.28);
  border-color: #3B82F6;
}

.sop-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sop-step-badge {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #60A5FA;
  background-color: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.sop-card:hover .sop-step-badge {
  background-color: rgba(37, 99, 235, 0.4);
  border-color: #93C5FD;
  color: #FFFFFF;
  transform: scale(1.05);
}

.sop-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sop-card:hover .sop-icon {
  transform: scale(1.18) rotate(8deg);
  background: rgba(37, 99, 235, 0.35);
  border-color: #60A5FA;
  color: #93C5FD;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.4);
}

.sop-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.sop-card:hover .sop-title {
  color: #60A5FA;
}

.sop-desc {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  transition: color 0.25s ease;
}

.sop-card:hover .sop-desc {
  color: #F8FAFC;
}

.sop-feature-badge {
  background-color: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.sop-card:hover .sop-feature-badge {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateX(3px);
  background-color: rgba(30, 58, 138, 0.4);
}

/* ==========================================================================
   CLASSIFICATION CATALOG SECTION (RGB: 26, 36, 50 with Dot Grid Pattern)
   ========================================================================== */
.catalog-section {
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: #FFFFFF;
  padding: 72px 0 80px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-section .section-tag {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.catalog-section .section-title {
  color: #FFFFFF;
  margin-top: 10px;
}

.catalog-section .section-desc {
  color: rgba(226, 232, 240, 0.85);
}

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

.catalog-card {
  background: rgba(18, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.catalog-card:hover {
  border-color: #F59E0B;
  box-shadow: 0 22px 42px -10px rgba(0, 0, 0, 0.6), 0 0 28px rgba(245, 158, 11, 0.28);
  transform: translateY(-8px);
}

.catalog-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.catalog-card:hover .catalog-card-icon {
  transform: scale(1.18) rotate(-8deg);
  background-color: rgba(245, 158, 11, 0.25);
  border-color: #F59E0B;
  color: #FBBF24;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
}

.catalog-pasal {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease;
  display: inline-block;
}

.catalog-card:hover .catalog-pasal {
  transform: translateX(2px);
}

.catalog-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.catalog-card:hover .catalog-title {
  color: #FBBF24;
}

.catalog-desc {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  transition: color 0.25s ease;
}

.catalog-card:hover .catalog-desc {
  color: #F8FAFC;
}

.catalog-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.catalog-btn i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.catalog-card:hover .catalog-btn {
  color: #60A5FA;
  transform: translateX(4px);
}

.catalog-card:hover .catalog-btn i {
  transform: translateX(6px);
}

/* ==========================================================================
   ACCOUNTABILITY CALLOUT SECTION
   ========================================================================== */
.callout-section {
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: #FFFFFF;
  padding: 68px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.callout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.callout-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.callout-desc {
  font-size: 1.05rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.6;
  margin-bottom: 28px;
}

.callout-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.callout-side-card {
  background: rgba(18, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.callout-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(217, 119, 6, 0.2);
  border: 1px solid #D97706;
  color: #FBBF24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.callout-side-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.callout-side-desc {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.55;
  margin-bottom: 16px;
}

.callout-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  font-size: 0.8125rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  max-width: 920px;
  margin: 0 auto 48px auto;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-contact-list {
  list-style: none;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-list i {
  color: #38BDF8;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--royal-blue);
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-card {
  background: rgba(18, 26, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 36px;
  backdrop-filter: blur(10px);
  color: #FFFFFF;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 6px;
}

.form-label .required {
  color: #EF4444;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background-color: rgba(18, 26, 36, 0.8);
  color: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  background-color: rgba(18, 26, 36, 0.95);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-hint {
  font-size: 0.775rem;
  color: #94A3B8;
  margin-top: 4px;
}

/* Password Toggle Visibility Helper */
.password-toggle-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle-wrapper .form-control {
  padding-right: 44px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 8px 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  z-index: 5;
}

.password-toggle-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.password-toggle-btn:focus {
  outline: none;
  color: #38BDF8;
}

/* ==========================================================================
   TABLES & DASHBOARD UI
   ========================================================================== */
.dashboard-wrapper {
  padding: 36px 0 60px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.dashboard-subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.gov-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.gov-table th {
  background-color: #F8FAFC;
  color: var(--primary-navy);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.gov-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.gov-table tbody tr:hover {
  background-color: #F8FAFC;
}

.gov-table tbody tr:last-child td {
  border-bottom: none;
}

/* Modal styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #1A2432;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.modal-dialog-lg {
  max-width: 900px;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #94A3B8;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-body {
  padding: 24px;
  color: #E2E8F0;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: rgba(18, 26, 36, 0.6);
}

/* Alert Boxes */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.alert-danger {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.alert-warning {
  background-color: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.alert-info {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* Redact Tool Workspace */
.redact-workspace {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.canvas-wrapper {
  background-color: #334155;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

#redactCanvas {
  background-color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: crosshair;
  max-width: 100%;
  height: auto;
}

/* Responsive Grid Utilities */
.admin-sla-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}

.warga-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  width: 100%;
}

.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE FIRST & DESKTOP TUNING)
   ========================================================================== */
@media (max-width: 1200px) {
  .admin-sla-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar-inner {
    padding: 12px 18px;
    gap: 16px;
  }

  .brand-wrapper {
    gap: 10px;
    margin-right: 8px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  .navbar-inner {
    padding: 10px 20px;
  }

  .brand-wrapper {
    flex: 1;
  }

  .hero-grid,
  .callout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-grid,
  .sop-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 36px;
  }

  .redact-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* 1. TOP BAR HIDE: Main navbar is topmost */
  .top-bar,
  .desktop-top-bar {
    display: none !important;
  }

  /* 2. NAVBAR MOBILE FIRST */
  .navbar-inner {
    padding: 10px 16px;
    gap: 10px;
  }

  .brand-wrapper {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.675rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 3. HERO & SEARCH BOX (NO HORIZONTAL OVERFLOW) */
  .hero-section {
    padding: 36px 0 44px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-search-card {
    padding: 14px;
  }

  .search-input-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .search-input-box {
    width: 100%;
    min-width: 0;
  }

  .search-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    font-size: 0.875rem;
  }

  .search-input-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-footnotes {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.775rem;
  }

  /* SLA Side Card */
  .sla-side-card {
    padding: 20px 16px;
  }

  .sla-headline {
    font-size: 1.25rem;
  }

  .metric-gauge-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px 12px;
  }

  .timeline-labels {
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
  }

  /* 4. STATISTICS, SOP, & CATALOG GRIDS */
  .stats-grid,
  .sop-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card,
  .sop-card,
  .catalog-card {
    padding: 22px 18px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* 5. CALLOUT SECTION */
  .callout-section {
    padding: 44px 0;
  }

  .callout-title {
    font-size: 1.5rem;
  }

  .callout-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .callout-actions .btn {
    width: 100%;
  }

  .callout-side-card {
    padding: 20px 16px;
  }

  /* 6. FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  /* 7. DASHBOARDS (ADMIN & CITIZEN) */
  .dashboard-wrapper {
    padding: 20px 0 44px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .dashboard-title {
    font-size: 1.4rem;
  }

  .admin-sla-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .warga-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .responsive-grid-2,
  .responsive-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Form card padding */
  .form-card {
    padding: 20px 16px;
  }

  /* Modals */
  .modal-dialog {
    max-width: 95vw;
    margin: 10px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px;
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   DISKOMINFO MINAHASA HERO SECTION (RGB: 26, 36, 50)
   Exact design matching user's reference screenshot
   ========================================================================== */
.hero-section-diskominfo {
  background-color: rgb(26, 36, 50);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: #FFFFFF;
  padding: 68px 0 84px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-diskominfo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-left-diskominfo {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Badge Capsule */
.diskominfo-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Title */
.diskominfo-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  width: 70%;
  max-width: 70%;
}

/* Subtitle */
.diskominfo-hero-desc {
  font-size: 1.05rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.65;
  margin: 0 0 28px;
  width: 70%;
  max-width: 70%;
}

/* Desk Card (3 Information Items Box) */
.diskominfo-desk-card {
  background: rgba(18, 26, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 50%;
  max-width: 50%;
  margin-bottom: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.diskominfo-desk-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 22px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}

.desk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: default;
}

.desk-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.desk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desk-item:hover .desk-icon {
  transform: scale(1.15) rotate(7deg);
  background: rgba(245, 158, 11, 0.25);
  border-color: #F59E0B;
  color: #FBBF24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.desk-content {
  display: flex;
  flex-direction: column;
}

.desk-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
  transition: color 0.25s ease;
}

.desk-item:hover .desk-label {
  color: #CBD5E1;
}

.desk-val {
  font-size: 0.925rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: color 0.25s ease;
}

.desk-item:hover .desk-val {
  color: #FBBF24;
}

/* Search Row */
.diskominfo-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.diskominfo-search-input-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.diskominfo-search-input-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.diskominfo-search-input {
  width: 100%;
  background: rgba(18, 26, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #FFFFFF;
  padding: 13px 16px 13px 40px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.diskominfo-search-input:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 8px 20px rgba(0, 0, 0, 0.25);
  background: rgba(18, 26, 36, 0.98);
  transform: translateY(-1px);
}

.diskominfo-search-input:focus+i,
.diskominfo-search-input-box:focus-within i {
  color: #F59E0B;
  transform: translateY(-50%) scale(1.15);
}

.diskominfo-search-input::placeholder {
  color: #94A3B8;
}

.btn-search-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-search-gold::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.btn-search-gold:hover::after {
  left: 140%;
  opacity: 1;
}

.btn-search-gold:hover {
  background: linear-gradient(135deg, #FBBF24, #D97706);
  color: #0F172A;
  transform: translateY(-2.5px);
  box-shadow: 0 10px 25px -2px rgba(245, 158, 11, 0.6), 0 0 16px rgba(251, 191, 36, 0.4);
}

.btn-search-gold:active {
  transform: scale(0.96) translateY(1px);
}

.btn-search-gold i {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-search-gold:hover i {
  transform: scale(1.22) rotate(-10deg);
}

/* Right Illustration Composition */
.diskominfo-ill-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.ill-glow-bg {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

/* Gentle Floating Animation Keyframes */
@keyframes illFloatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes illFloatRot {

  0%,
  100% {
    transform: rotate(5deg) translateY(0);
  }

  50% {
    transform: rotate(5deg) translateY(-8px);
  }
}

/* Floating Badge: 100% Keterbukaan Publik */
.ill-float-badge-top {
  position: absolute;
  top: 15px;
  left: 30px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 10;
  backdrop-filter: blur(6px);
  animation: illFloatSlow 4.5s ease-in-out infinite;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.ill-float-badge-top:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.35);
  z-index: 30;
}

.dot-pulse-green {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

.badge-text-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.badge-text-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Monitor Visual */
.ill-monitor {
  position: relative;
  z-index: 5;
  width: 320px;
  background: #111827;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ill-monitor:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(37, 99, 235, 0.25);
}

.ill-monitor-screen {
  background: #0F172A;
  border-radius: 10px;
  padding: 16px;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ill-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.chart-bar {
  width: 16px;
  border-radius: 4px 4px 0 0;
  transition: height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s ease;
}

.ill-monitor:hover .chart-bar-1 {
  height: 75px;
}

.ill-monitor:hover .chart-bar-2 {
  height: 110px;
}

.ill-monitor:hover .chart-bar-3 {
  height: 60px;
}

.ill-monitor:hover .chart-bar-4 {
  height: 125px;
}

.chart-bar-1 {
  height: 60px;
  background: #2563EB;
}

.chart-bar-2 {
  height: 95px;
  background: #06B6D4;
}

.chart-bar-3 {
  height: 45px;
  background: #F59E0B;
}

.chart-bar-4 {
  height: 110px;
  background: #3B82F6;
}

.ill-monitor-shield {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  font-size: 1.8rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ill-monitor:hover .ill-monitor-shield {
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.45);
  border-color: #F59E0B;
}

.ill-monitor-stand {
  width: 50px;
  height: 24px;
  background: #1F2937;
  margin: 0 auto;
}

.ill-monitor-base {
  width: 120px;
  height: 8px;
  background: #374151;
  border-radius: 4px;
  margin: 0 auto;
}

/* Floating Card on Left (Mini Document) */
.ill-float-card-left {
  position: absolute;
  left: 10px;
  bottom: 85px;
  width: 135px;
  background: #1E293B;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 12;
  animation: illFloatSlow 5s ease-in-out 1s infinite;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.ill-float-card-left:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.55), 0 0 22px rgba(37, 99, 235, 0.35);
  z-index: 30;
}

.ill-float-card-left::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 24px;
  height: 48px;
  background: rgba(37, 99, 235, 0.4);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-15deg);
  z-index: -1;
  pointer-events: none;
}

.ill-skel-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  margin-bottom: 7px;
}

.ill-skel-toggle {
  width: 44px;
  height: 18px;
  background: #2563EB;
  border-radius: 9px;
  margin-top: 10px;
}

/* Floating White Document Certificate */
.ill-float-doc-right {
  position: absolute;
  right: 12px;
  top: 75px;
  width: 170px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 14px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  z-index: 15;
  transform: rotate(5deg);
  animation: illFloatRot 5.5s ease-in-out 0.5s infinite;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.ill-float-doc-right:hover {
  transform: rotate(2deg) scale(1.08) translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 26px rgba(245, 158, 11, 0.3);
  z-index: 30;
}

.ill-float-doc-right::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -8px;
  width: 28px;
  height: 50px;
  background: rgba(245, 158, 11, 0.32);
  border-radius: 50% 50% 0 50%;
  transform: rotate(-25deg);
  z-index: -1;
  pointer-events: none;
}

.ill-float-doc-right::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -8px;
  width: 32px;
  height: 54px;
  background: rgba(245, 158, 11, 0.28);
  border-radius: 50% 50% 50% 0;
  transform: rotate(15deg);
  z-index: -1;
  pointer-events: none;
}

.doc-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.doc-line-dark {
  height: 4px;
  background: #CBD5E1;
  border-radius: 2px;
  margin-bottom: 6px;
}

.doc-seal-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 1.5px solid #F59E0B;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 12px 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ill-float-doc-right:hover .doc-seal-badge {
  transform: scale(1.15) rotate(10deg);
}

/* Floating Badge: SLA Timer */
.ill-float-badge-bottom {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 20;
  backdrop-filter: blur(6px);
  animation: illFloatSlow 4s ease-in-out 1.5s infinite;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.ill-float-badge-bottom:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.35);
  z-index: 30;
}

.sla-icon-gold {
  color: #F59E0B;
  font-size: 1.4rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ill-float-badge-bottom:hover .sla-icon-gold {
  transform: rotate(15deg) scale(1.15);
}

@media (max-width: 991px) {
  .hero-diskominfo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diskominfo-hero-title {
    font-size: 2.1rem;
    width: 100%;
    max-width: 100%;
  }

  .diskominfo-hero-desc,
  .diskominfo-desk-card {
    width: 100%;
    max-width: 100%;
  }

  .diskominfo-ill-wrap {
    min-height: 360px;
    transform: scale(0.92);
  }
}