/* ==========================================================================
   SIMPEL DPMPTSP Provinsi Riau — Landing Page
   Argentina Blue (Biru Argentina) Enterprise Theme
   ========================================================================== */

/* ---------- 1. Design Tokens & Reset ---------- */
:root {
  /* Official Argentina Flag & Sol de Mayo Gold Palette 🇦🇷 */
  --blue-argentina: #6CACE4;
  --blue-argentina-vibrant: #75AADB;
  --blue-argentina-dark: #3f90db;
  --blue-argentina-darker: #216bb5;
  --blue-argentina-light: #b0d7f7;
  --blue-argentina-soft: #eaf4fd;
  --blue-argentina-glow: rgba(108, 172, 228, 0.5);

  --navy-900: #07192e;
  --navy-800: #0f2c4e;
  --navy-700: #174273;
  --navy-600: #205898;
  --navy-500: #2a6ebe;

  --sol-de-mayo: #FFB81C;
  --accent-gold: #FCBF49;
  --accent-gold-dark: #e09f07;
  --accent-gold-glow: rgba(255, 184, 28, 0.45);

  --surface: #FFFFFF;
  --surface-dim: #eaf4fd;
  --surface-container: #d6ebfb;
  --outline: #bce1f8;
  --on-surface: #0a1f38;
  --on-surface-muted: #4e739c;

  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(108, 172, 228, 0.45);
  --glass-highlight: rgba(255, 255, 255, 0.95);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 14px rgba(108, 172, 228, 0.08);
  --shadow-md: 0 10px 32px rgba(108, 172, 228, 0.16);
  --shadow-lg: 0 24px 64px rgba(108, 172, 228, 0.22);
  --shadow-blue-glow: 0 8px 32px var(--blue-argentina-glow);
  --shadow-gold-glow: 0 8px 32px var(--accent-gold-glow);

  --ease-out: cubic-bezier(.25, .46, .45, .94);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom Placeholder colors */
.hero-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
}
.hero-chat-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
}
.hero-chat-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--on-surface);
  background: var(--surface);
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* ---------- 2. Navbar ---------- */
.landing-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1050;
  height: 76px;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(116, 172, 223, 0.35);
  box-shadow: 0 4px 20px rgba(116, 172, 223, 0.15);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.landing-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(116, 172, 223, 0.25);
}

.landing-navbar .navbar-brand {
  color: #0a1f38;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
}
.landing-navbar .navbar-brand img { height: 42px; filter: none; }
.landing-navbar .navbar-brand small { color: #517199; font-weight: 600; }

.landing-navbar .nav-link {
  color: #1e3a5f;
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: color .3s, background .3s;
  letter-spacing: .2px;
}
.landing-navbar .nav-link:hover,
.landing-navbar .nav-link:focus {
  color: #1d4ed8;
  background: rgba(116, 172, 223, 0.18);
}
.landing-navbar .nav-link i { margin-right: 6px; font-size: .88rem; color: #2563eb; }

/* Metallic Shimmer Light Sweep Highlight Animation 🌟 */
@keyframes buttonShimmer {
  0% { transform: translateX(-150%) skewX(-25deg); }
  100% { transform: translateX(200%) skewX(-25deg); }
}

.btn-outline-gold::before,
.btn-gold::before,
.btn-cta-primary::before,
.btn-cta-secondary::before,
.hero-search-btn::before,
#heroChatSubmitBtn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .2s;
}

.btn-outline-gold:hover::before,
.btn-gold:hover::before,
.btn-cta-primary:hover::before,
.btn-cta-secondary:hover::before,
.hero-search-btn:hover::before,
#heroChatSubmitBtn:hover::before {
  opacity: 1;
  animation: buttonShimmer 0.85s ease-in-out;
}

.btn-outline-gold *,
.btn-gold *,
.btn-cta-primary *,
.btn-cta-secondary *,
.hero-search-btn *,
#heroChatSubmitBtn * {
  position: relative;
  z-index: 2;
}

/* Top Navbar Daftar Button (Ultra Crisp & High Contrast) */
.landing-navbar .btn-outline-gold,
.btn-outline-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  border-radius: 12px;
  border: 2px solid #6CACE4 !important;
  background: #FFFFFF !important;
  color: #061a33 !important;
  font-weight: 800 !important;
  font-size: .92rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.25) !important;
  transition: all .35s var(--ease-spring) !important;
  overflow: hidden;
}

.landing-navbar .btn-outline-gold:hover,
.landing-navbar .btn-outline-gold:focus,
.landing-navbar .btn-outline-gold:active,
.btn-outline-gold:hover,
.btn-outline-gold:focus,
.btn-outline-gold:active {
  background: linear-gradient(135deg, #6CACE4 0%, #2175c9 100%) !important;
  border-color: #2175c9 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(108, 172, 228, 0.55), 0 0 18px rgba(108, 172, 228, 0.4) !important;
}

/* Top Navbar Masuk Button (Ultra Luxury Gold) */
.landing-navbar .btn-gold,
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 26px;
  border-radius: 12px;
  border: none !important;
  background: linear-gradient(135deg, #FFB81C 0%, #FFC72C 100%) !important;
  color: #05162a !important;
  font-weight: 800 !important;
  font-size: .92rem !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(255, 184, 28, 0.45) !important;
  transition: all .35s var(--ease-spring) !important;
  overflow: hidden;
}

.landing-navbar .btn-gold:hover,
.landing-navbar .btn-gold:focus,
.landing-navbar .btn-gold:active,
.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active {
  background: linear-gradient(135deg, #FFC72C 0%, #FFB81C 100%) !important;
  color: #05162a !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 35px rgba(255, 184, 28, 0.65), 0 0 20px rgba(255, 199, 44, 0.5) !important;
}

/* mobile toggler */
.landing-navbar .navbar-toggler {
  border: 1.5px solid rgba(108, 172, 228, 0.45);
  padding: 6px 10px;
  border-radius: 8px;
}
.landing-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(7,25,46,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media(max-width:991.98px){
  .landing-navbar .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 12px;
    border: 1px solid rgba(108, 172, 228, 0.35);
    box-shadow: 0 20px 50px rgba(108, 172, 228, 0.25);
  }
  .landing-navbar .navbar-collapse .nav-link {
    color: #0a1f38;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
  }
  .landing-navbar .navbar-collapse .nav-link:hover,
  .landing-navbar .navbar-collapse .nav-link.active {
    color: #3485e1;
    background: rgba(108, 172, 228, 0.12);
  }
}

/* ---------- 3. Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  padding: 130px 0 80px;
  background:
    radial-gradient(circle at 85% 75%, rgba(255, 184, 28, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.65) 0%, transparent 60%),
    linear-gradient(135deg, #5ba3e6 0%, #6CACE4 35%, #88c2f3 65%, #5ba3e6 100%);
  background-size: 200% 200%;
  animation: heroGradientShift 12s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  animation: meshPulse 6s ease-in-out infinite;
}

@keyframes meshPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Argentina Gold accent line */
.hero-gold-accent {
  width: 65px;
  height: 4px;
  background: linear-gradient(90deg, #FFB81C, #FCBF49);
  border-radius: 4px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(255, 184, 28, 0.6);
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 184, 28, 0.3);
  border: 1.5px solid #FFB81C;
  color: #05162a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(255, 184, 28, 0.35);
}

.hero-subtitle-badge i {
  color: #d48b00;
  font-size: .85rem;
}

.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 800;
  color: #061a33;
  line-height: 1.18;
  margin-bottom: 1.3rem;
  letter-spacing: -.5px;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #FFB81C 25%, #ffffff 50%, #FFB81C 75%, #ffffff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  filter: drop-shadow(0 2px 12px rgba(6, 26, 51, 0.35));
  animation: shimmerGradient 6s ease-in-out infinite;
}

@keyframes shimmerGradient {
  0% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(116, 172, 223, 0.25);
  flex-wrap: wrap;
}

.hero-trust-item {
  color: #1e3a5f;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(116, 172, 223, 0.4);
  box-shadow: 0 4px 12px rgba(116, 172, 223, 0.15);
  transition: all .35s var(--ease-spring);
  opacity: 0;
  animation: trustBadgeEntrance 0.6s var(--ease-spring) forwards;
}

.hero-trust-item:nth-child(1) { animation-delay: 0.8s; }
.hero-trust-item:nth-child(2) { animation-delay: 1.0s; }
.hero-trust-item:nth-child(3) { animation-delay: 1.2s; }

@keyframes trustBadgeEntrance {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-trust-item:hover {
  background: #ffffff;
  border-color: #3485e1;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(116, 172, 223, 0.3);
}

.hero-trust-item:hover i {
  transform: scale(1.2);
}

.hero-trust-item i {
  font-size: .9rem;
  transition: transform .3s var(--ease-spring);
}

/* Glowing Biru Argentina Blob */
.hero-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(116, 172, 223, 0.25) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.decoration-1 {
  width: 440px; height: 440px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(116, 172, 223, 0.2) 0%, transparent 65%);
  animation: float 8s ease-in-out infinite;
}
.decoration-2 {
  width: 340px; height: 340px;
  bottom: -60px; left: -100px;
  background: radial-gradient(circle, rgba(186, 220, 248, 0.25) 0%, transparent 65%);
  animation: float 10s ease-in-out infinite 2s;
}
.decoration-3 {
  width: 200px; height: 200px;
  top: 35%; left: 45%;
  background: radial-gradient(circle, rgba(246, 180, 14, 0.12) 0%, transparent 65%);
  animation: float 12s ease-in-out infinite 4s;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-subtitle {
  display: inline-block;
  color: #d97706;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.hero-description {
  color: #334e68;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 530px;
  margin-bottom: 0;
  font-weight: 500;
}

/* Hero Card Glass (Light Theme + Animated Glow) */
.hero-tracking-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1.5px solid rgba(116, 172, 223, 0.45) !important;
  border-radius: 24px !important;
  box-shadow:
    0 24px 60px rgba(116, 172, 223, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset,
    0 0 40px rgba(108, 172, 228, 0.08) !important;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  animation: cardBorderGlow 6s linear infinite;
}

@keyframes cardBorderGlow {
  0%, 100% { border-color: rgba(116, 172, 223, 0.45); box-shadow: 0 24px 60px rgba(116, 172, 223, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.95) inset, 0 0 20px rgba(108, 172, 228, 0.06); }
  33% { border-color: rgba(255, 184, 28, 0.4); box-shadow: 0 24px 60px rgba(255, 184, 28, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.95) inset, 0 0 24px rgba(255, 184, 28, 0.08); }
  66% { border-color: rgba(108, 172, 228, 0.5); box-shadow: 0 24px 60px rgba(108, 172, 228, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.95) inset, 0 0 28px rgba(108, 172, 228, 0.1); }
}

.hero-tracking-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 72px rgba(116, 172, 223, 0.35),
    0 0 0 1px rgba(255, 255, 255, 1) inset,
    0 0 50px rgba(108, 172, 228, 0.15) !important;
  animation: none;
  border-color: rgba(108, 172, 228, 0.6) !important;
}

.hero-tracking-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 172, 223, 0.4), transparent);
  z-index: 1;
}

/* Hero Tracking & Chatbot Assistant Card Components */
.hero-sample-btn {
  font-size: .7rem;
  color: #1e3a5f;
  border: 1px solid rgba(116, 172, 223, 0.4);
  background: #ffffff;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 12px;
  transition: all .3s ease;
}

.hero-result-box {
  background: #f0f7fe;
  border: 1px solid rgba(116, 172, 223, 0.3);
  padding: 16px;
}

.hero-chat-window {
  background: #f4f9fd;
  border: 1px solid rgba(116, 172, 223, 0.35);
}

.hero-chat-bubble {
  background: #ffffff;
  border: 1px solid rgba(116, 172, 223, 0.35);
  color: #0a1f38;
  box-shadow: 0 2px 8px rgba(116, 172, 223, 0.1);
}

.hero-prompt-btn {
  font-size: .7rem;
  font-weight: 600;
  color: #1e3a5f;
  border: 1px solid rgba(116, 172, 223, 0.4);
  background: #ffffff;
  border-radius: 100px;
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(116, 172, 223, 0.12);
  transition: all .3s ease;
}

.hero-chat-input {
  background: #ffffff !important;
  border: 1.5px solid rgba(116, 172, 223, 0.4) !important;
  height: 42px;
  font-size: .82rem;
  border-radius: 10px;
  font-weight: 500;
  color: #0a1f38 !important;
}

.hero-sub-label {
  color: #517199;
  font-weight: 600;
  font-size: .72rem;
}

@keyframes cardShine {
  0% { transform: translateX(-80%) translateY(-80%) rotate(35deg); }
  50% { transform: translateX(80%) translateY(80%) rotate(35deg); }
  100% { transform: translateX(-80%) translateY(-80%) rotate(35deg); }
}

/* Hero Tab Switcher */
.hero-tab-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #eef6fc;
  border: 1px solid rgba(116, 172, 223, 0.35);
  margin-bottom: 1.25rem;
}

.hero-tab-btn {
  flex: 1;
  padding: 11px 18px;
  border: none;
  border-radius: 11px;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .35s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.hero-tab-btn.active {
  background: linear-gradient(135deg, #6CACE4 0%, #2175c9 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(108, 172, 228, 0.5);
}

.hero-tab-btn:not(.active) {
  background: transparent;
  color: #4e739c;
}

.hero-tab-btn:not(.active):hover {
  color: #061a33;
  background: rgba(108, 172, 228, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.25);
}

/* Hero Search Input */
.hero-search-container {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(108, 172, 228, 0.2);
  border: 2px solid rgba(108, 172, 228, 0.35);
  transition: border-color .3s, box-shadow .3s;
}

.hero-search-container:focus-within {
  border-color: #6CACE4;
  box-shadow: 0 4px 20px rgba(108, 172, 228, 0.25), 0 0 0 4px rgba(108, 172, 228, 0.18);
}

.hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex-shrink: 0;
  color: #6CACE4;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .92rem;
  font-weight: 600;
  color: #061a33;
  padding: 10px 8px;
}

.hero-search-input::placeholder {
  color: #718096;
  font-weight: 500;
}

.hero-search-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6CACE4, #2175c9);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .35s var(--ease-spring);
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.45);
}

.hero-search-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.hero-search-btn:hover::before {
  animation: buttonShimmer 0.85s ease-in-out;
}

.hero-search-btn:hover {
  background: linear-gradient(135deg, #75AADB, #6CACE4);
  box-shadow: 0 10px 28px rgba(108, 172, 228, 0.6);
  transform: translateY(-3px) scale(1.02);
}

/* CTA Buttons */
.btn-cta-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB81C, #FCBF49);
  color: #07192e !important;
  padding: 14px 34px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: .96rem;
  box-shadow: 0 4px 12px rgba(255, 184, 28, 0.3), 0 8px 28px rgba(255, 184, 28, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: all .4s var(--ease-spring);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  letter-spacing: .2px;
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(255, 184, 28, 0.3), 0 8px 28px rgba(255, 184, 28, 0.2); }
  50% { box-shadow: 0 4px 16px rgba(255, 184, 28, 0.45), 0 8px 36px rgba(255, 184, 28, 0.35), 0 0 20px rgba(255, 184, 28, 0.15); }
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #FCBF49, #FFB81C);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 8px 20px rgba(255, 184, 28, 0.4), 0 16px 42px rgba(255, 184, 28, 0.3), 0 0 30px rgba(255, 199, 44, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #07192e !important;
  animation: none;
}

.btn-cta-secondary {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid #6CACE4;
  color: #061a33 !important;
  padding: 14px 34px;
  border-radius: 14px;
  font-weight: 800;
  font-size: .96rem;
  transition: all .4s var(--ease-spring);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.15), 0 8px 24px rgba(108, 172, 228, 0.1);
}
.btn-cta-secondary:hover {
  background: linear-gradient(135deg, #6CACE4 0%, #2175c9 100%);
  border-color: #6CACE4;
  color: #ffffff !important;
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 8px 20px rgba(108, 172, 228, 0.35), 0 14px 36px rgba(108, 172, 228, 0.25), 0 0 24px rgba(108, 172, 228, 0.2);
}

/* ---------- 4. Dashboard Preview Card ---------- */
.dashboard-preview {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.dashboard-preview:hover { transform: translateY(-6px); }

.dashboard-preview::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  top: -60px; right: -60px;
  background: radial-gradient(circle, rgba(52, 133, 225, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.dashboard-title { font-size: 1.05rem; }
.dashboard-user { color: var(--blue-argentina-light) !important; }

.dashboard-menu li a {
  display: flex; align-items: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  transition: all .25s var(--ease-out);
}
.dashboard-menu li a.active {
  background: var(--blue-argentina) !important;
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--blue-argentina-glow);
}
.dashboard-menu li a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1 !important;
}

/* Stat items inside dashboard preview */
.dashboard-preview .stat-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px !important;
  transition: background .25s;
}
.dashboard-preview .stat-item:hover { background: rgba(255, 255, 255, 0.1) !important; }

.dashboard-preview .dashboard-badge {
  background: linear-gradient(135deg, var(--blue-argentina), var(--blue-argentina-dark)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-sm);
  padding: 10px 14px !important;
  box-shadow: 0 4px 16px var(--blue-argentina-glow);
}

/* Signature Argentina Gradient Section Divider 🇦🇷 */
.argentina-section-divider {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #6CACE4 0%, #75AADB 25%, #FFFFFF 48%, #FFB81C 50%, #FFFFFF 52%, #75AADB 75%, #6CACE4 100%);
  box-shadow: 0 2px 10px rgba(108, 172, 228, 0.4), 0 -2px 10px rgba(108, 172, 228, 0.15);
  position: relative;
  z-index: 10;
  border: none;
  margin: 0;
  overflow: hidden;
}

.argentina-section-divider::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: dividerShimmer 4s ease-in-out infinite;
}

@keyframes dividerShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ---------- 5. Stats Section ---------- */
.stats-section {
  background:
    radial-gradient(circle at 85% 75%, rgba(255, 184, 28, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(108, 172, 228, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #f4f9fe 0%, #eaf4fd 50%, #f4f9fe 100%);
  padding: 85px 0;
  position: relative;
}

.stats-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(52, 133, 225, 0.1);
  border: 1px solid rgba(52, 133, 225, 0.25);
  color: #3485e1;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.stats-section h2 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -.5px;
}

.stats-section .section-desc {
  color: #64748b;
  font-size: .9rem;
}

.stat-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 24px !important;
  border: 1.5px solid #bce1f8 !important;
  box-shadow: 0 10px 30px rgba(108, 172, 228, 0.12);
  transition: all .45s var(--ease-spring);
  overflow: hidden;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108, 172, 228, 0.05), rgba(255, 184, 28, 0.03));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(108, 172, 228, 0.2), 0 20px 45px rgba(108, 172, 228, 0.15);
  border-color: #6CACE4 !important;
}

.stat-card:hover::after { opacity: 1; }

.stat-card .icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .4s var(--ease-spring), box-shadow .4s ease;
}

.stat-card .icon-box.icon-blue {
  background: rgba(108, 172, 228, 0.15);
  color: #0d549e;
  border: 1.5px solid rgba(108, 172, 228, 0.4);
}
.stat-card .icon-box.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}
.stat-card .icon-box.icon-cyan {
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
  border: 1.5px solid rgba(14, 165, 233, 0.4);
}
.stat-card .icon-box.icon-gold {
  background: rgba(255, 184, 28, 0.22);
  color: #7a4d00;
  border: 1.5px solid #FFB81C;
}

.stat-card:hover .icon-box {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 6px 16px rgba(108, 172, 228, 0.25);
}

.stat-card .stat-label {
  color: #4e739c;
  font-size: .78rem;
  font-weight: 600;
}

.stat-card h4 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
  color: #061a33;
}

.stat-card .stat-tag {
  font-size: .74rem;
  font-weight: 700;
}

/* Stats Chart Container */
.stats-chart-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 12px 36px rgba(108, 172, 228, 0.15) !important;
  position: relative;
}

.stats-chart-card h5 {
  color: #061a33 !important;
  font-weight: 800;
}

.stats-chart-card small {
  color: #4e739c;
  font-weight: 500;
}

.stats-chart-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats-chart-legend span {
  color: #475569;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Select2 Luxury Custom Styling */
.select2-container--bootstrap-5 .select2-selection {
  border-radius: 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 6px 12px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all .25s ease !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection:hover {
  border-color: #3485e1 !important;
  box-shadow: 0 4px 12px rgba(52, 133, 225, 0.15) !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-container--bootstrap-5 .select2-selection:focus {
  border-color: #3485e1 !important;
  box-shadow: 0 0 0 4px rgba(52, 133, 225, 0.15) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  padding: 6px !important;
  z-index: 1065 !important;
}

.select2-container--bootstrap-5 .select2-results__option {
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: .85rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  transition: all .2s ease !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
  background-color: #edf5fd !important;
  color: #3485e1 !important;
  font-weight: 700 !important;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
  background-color: #3485e1 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* ---------- 6. Pimpinan Section ---------- */
/* ---------- 6. Pimpinan Section ---------- */
.pimpinan-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(108, 172, 228, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(255, 184, 28, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, #eaf4fd 0%, #f4f9fe 50%, #eaf4fd 100%);
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.pimpinan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236CACE4' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.pimpinan-section .container {
  position: relative;
  z-index: 1;
}

.pimpinan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 184, 28, 0.25);
  border: 1.5px solid #FFB81C;
  color: #7a4d00;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(255, 184, 28, 0.2);
}

.pimpinan-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 22px !important;
  padding: 32px 24px !important;
  transition: all .45s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(108, 172, 228, 0.15);
}

.pimpinan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6CACE4, #FFB81C, #6CACE4);
  opacity: 0.8;
  transition: opacity .4s;
}

.pimpinan-card:hover {
  background: #ffffff !important;
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(108, 172, 228, 0.3);
  border-color: #6CACE4 !important;
}

.pimpinan-card:hover::before { opacity: 1; }

.pimpinan-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #6CACE4, #2175c9);
  border: 3px solid #FFB81C;
  box-shadow: 0 6px 20px rgba(255, 184, 28, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring), border-color .4s, box-shadow .4s;
}

.pimpinan-card:hover .pimpinan-avatar {
  transform: scale(1.08);
  border-color: #FFB81C;
  box-shadow: 0 8px 28px rgba(255, 184, 28, 0.5);
}

.pimpinan-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #061a33 !important;
  margin-bottom: 4px;
}

.pimpinan-sub {
  color: #4e739c !important;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 12px;
}

.pimpinan-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(108, 172, 228, 0.15);
  border: 1.5px solid rgba(108, 172, 228, 0.35);
  color: #0d549e;
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- 7. Features Section ---------- */
.features-section {
  background: #ffffff;
  padding: 85px 0;
  position: relative;
}

.features-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(52, 133, 225, 0.1);
  border: 1px solid rgba(52, 133, 225, 0.25);
  color: #3485e1;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 22px !important;
  padding: 36px 26px !important;
  transition: all .45s var(--ease-spring);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(108, 172, 228, 0.12);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6CACE4, #FFB81C, #6CACE4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-spring);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(108, 172, 228, 0.04), rgba(255, 184, 28, 0.02));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(108, 172, 228, 0.2), 0 20px 45px rgba(108, 172, 228, 0.15);
  border-color: #6CACE4 !important;
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }

.feature-card .icon-box-feature {
  width: 62px; height: 62px;
  border-radius: 18px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring), box-shadow .4s ease;
}

.feature-card:hover .icon-box-feature {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 8px 20px rgba(108, 172, 228, 0.2);
}

.feature-card h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #061a33 !important;
  margin-bottom: 8px;
}

.feature-card p {
  color: #4e739c;
  font-size: .88rem;
  line-height: 1.6;
}

.feature-card .icon-box {
  width: 60px !important; height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #6CACE4, #2175c9) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(108, 172, 228, 0.45);
  transition: all .4s var(--ease-spring);
}
.feature-card:hover .icon-box {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 12px 32px rgba(108, 172, 228, 0.5);
}

/* ---------- 8. Footer (Ultra Luxury Deep Celeste Navy & Sol de Mayo Gold 🇦🇷) ---------- */
.landing-footer {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(108, 172, 228, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 90%, rgba(255, 184, 28, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, #07192f 0%, #0a223f 60%, #05162a 100%) !important;
  padding: 70px 0 0;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.landing-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6CACE4 0%, #FFFFFF 48%, #FFB81C 50%, #FFFFFF 52%, #6CACE4 100%);
  box-shadow: 0 3px 12px rgba(108, 172, 228, 0.5);
}

.footer-brand-title {
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.3px;
}

.footer-brand-sub {
  color: #FFB81C !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: .88rem;
  line-height: 1.65;
}

.footer-heading {
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .5px;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, #FFB81C, #FFC72C);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: all .25s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #FFB81C !important;
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: #ffffff !important;
  line-height: 1.5;
}

.footer-contact-item strong {
  color: #FFB81C !important;
  font-weight: 800 !important;
}

.footer-contact-item span,
.footer-contact-item a {
  color: #ffffff !important;
  font-weight: 600;
}

.footer-contact-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(108, 172, 228, 0.18) !important;
  border: 1.5px solid rgba(108, 172, 228, 0.4) !important;
  color: #6CACE4 !important;
  box-shadow: 0 4px 12px rgba(108, 172, 228, 0.2) !important;
}

.social-icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(108, 172, 228, 0.18) !important;
  border: 1.5px solid rgba(108, 172, 228, 0.4) !important;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .3s var(--ease-spring);
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, #FFB81C, #FFC72C) !important;
  color: #05162a !important;
  border-color: #FFB81C !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 184, 28, 0.5);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(108, 172, 228, 0.3) !important;
  background: rgba(3, 13, 27, 0.95) !important;
  padding: 24px 0;
  margin-top: 50px;
  font-size: .86rem;
  color: rgba(255, 255, 255, 0.85) !important;
  width: 100% !important;
}

/* ---------- 9. Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-22px); }
}

.animate-fade-in-up {
  animation: fadeInUp .7s var(--ease-out) both;
}

.animate-delay-1 { animation-delay: .08s; }
.animate-delay-2 { animation-delay: .16s; }
.animate-delay-3 { animation-delay: .24s; }
.animate-delay-4 { animation-delay: .32s; }
.animate-delay-5 { animation-delay: .40s; }

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-section,
  .hero-section::before,
  .hero-gradient-text,
  .hero-tracking-card,
  .hero-tracking-card::after,
  .hero-trust-item,
  .btn-cta-primary,
  .argentina-section-divider::before,
  .decoration-1, .decoration-2, .decoration-3 {
    animation: none !important;
  }
  .hero-trust-item { opacity: 1 !important; }
}

/* ---------- 10. Responsive ---------- */

/* === Tablet (max-width: 991px) === */
@media(max-width:991px){
  .hero-section {
    padding: 120px 0 60px;
    min-height: auto;
    text-align: center;
  }
  .hero-subtitle-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-gold-accent {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-title br { display: none; }
  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .d-flex.gap-3.flex-wrap.mt-4 {
    justify-content: center;
  }
  .hero-tracking-card {
    margin-top: 2rem;
  }
  .dashboard-preview { margin-top: 44px; }
  .stats-section, .features-section { padding: 56px 0; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* === Mobile Large (max-width: 767px) === */
@media(max-width:767px){
  .landing-navbar {
    height: auto;
    padding: 10px 0;
  }
  .landing-navbar .navbar-brand img {
    height: 36px;
  }

  .hero-section {
    padding: 105px 0 40px;
    text-align: center;
    background-size: 300% 300%;
  }

  /* Overlay gradient for mobile depth */
  .hero-section::after {
    background: radial-gradient(circle at 50% 80%, rgba(255, 184, 28, 0.25) 0%, transparent 50%);
  }

  .hero-subtitle-badge {
    font-size: .68rem;
    padding: 6px 14px;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
  }

  .hero-gold-accent {
    width: 50px;
    height: 3px;
    margin-bottom: .75rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.22;
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
  }
  .hero-title br { display: none; }

  .hero-gradient-text {
    display: block;
    margin-top: 2px;
  }

  .hero-description {
    font-size: .88rem;
    line-height: 1.65;
    max-width: 100%;
    color: #1e3a5f;
  }

  /* Stacked full-width CTA buttons */
  .d-flex.gap-3.flex-wrap.mt-4 {
    flex-direction: column;
    gap: 12px !important;
    margin-top: 1.5rem !important;
    width: 100%;
  }

  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: .92rem;
    border-radius: 14px;
  }

  .btn-cta-primary {
    animation: none;
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.35);
  }

  /* Trust badges — centered on mobile */
  .hero-trust-badges {
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    flex-wrap: wrap;
  }

  .hero-trust-item {
    font-size: .72rem;
    padding: 5px 12px;
    gap: 5px;
    opacity: 1;
    animation: none;
  }

  .hero-trust-item i {
    font-size: .75rem;
  }

  /* ===== Hero Tracking Card Mobile — Complete Fix ===== */
  .hero-tracking-card {
    margin-top: 1.5rem;
    border-radius: 18px !important;
    padding: 16px !important;
    animation: none !important;
  }

  .hero-tracking-card.p-4 {
    padding: 16px !important;
  }

  .hero-tracking-card::after {
    animation: none !important;
  }

  /* Tab switcher compact */
  .hero-tab-switcher {
    margin-bottom: 14px;
    border-radius: 12px;
    padding: 3px;
    gap: 3px;
  }

  .hero-tab-btn {
    padding: 9px 10px;
    font-size: .74rem;
    border-radius: 9px;
    gap: 4px;
  }

  .hero-tab-btn i {
    font-size: .72rem;
  }

  .hero-tab-btn .badge {
    font-size: .5rem !important;
    padding: 2px 5px !important;
    margin-left: 4px !important;
  }

  /* Card header row — stack on very small screens */
  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 .rounded-3,
  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 .rounded-circle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 .rounded-3 i,
  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 .rounded-circle i {
    font-size: .88rem !important;
  }

  .hero-tracking-card h6 {
    font-size: .85rem !important;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-3.mb-3 p {
    font-size: .68rem !important;
  }

  /* Online/AI badge compact */
  .hero-tracking-card .d-inline-flex.align-items-center.gap-2.px-2.py-1 {
    font-size: .58rem !important;
    padding: 3px 8px !important;
    gap: 4px !important;
    white-space: nowrap;
  }

  /* Form label */
  .hero-tracking-card label {
    font-size: .72rem !important;
    margin-bottom: 6px !important;
  }

  /* Search container — STACK vertically on mobile */
  .hero-search-container {
    flex-direction: column;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
  }

  .hero-search-icon {
    display: none;
  }

  .hero-search-input {
    font-size: .84rem;
    padding: 10px 12px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
  }

  .hero-search-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: .82rem;
    border-radius: 8px;
    justify-content: center;
  }

  /* Sample buttons row */
  .hero-tracking-card .d-flex.align-items-center.gap-2.flex-wrap.mb-3 {
    margin-bottom: 10px !important;
    gap: 6px !important;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-2.flex-wrap.mb-3 span {
    font-size: .68rem !important;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-2.flex-wrap.mb-3 button {
    font-size: .66rem !important;
    padding: 3px 10px !important;
  }

  /* Chat window */
  #heroChatLogs {
    height: 180px !important;
    padding: 10px !important;
    font-size: .74rem !important;
  }

  #heroChatLogs .px-3.py-2 {
    padding: 8px 10px !important;
    font-size: .74rem !important;
    max-width: 90% !important;
  }

  /* Chat input */
  .hero-tracking-card .hero-chat-input {
    height: 38px !important;
    font-size: .78rem !important;
    border-radius: 8px !important;
  }

  .hero-tracking-card form .btn {
    height: 38px !important;
    padding: 8px 14px !important;
    font-size: .78rem !important;
    border-radius: 8px !important;
  }

  /* Prompt suggestion pills */
  .hero-tracking-card .d-flex.align-items-center.gap-2.overflow-x-auto {
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
  }

  .hero-tracking-card .d-flex.align-items-center.gap-2.overflow-x-auto button {
    font-size: .64rem !important;
    padding: 5px 10px !important;
  }

  /* Card bottom trust footer */
  .hero-tracking-card .d-flex.align-items-center.justify-content-between.pt-3 {
    padding-top: 10px !important;
    margin-top: 6px !important;
    flex-direction: column;
    gap: 6px;
    align-items: center !important;
    text-align: center;
  }

  .hero-tracking-card .d-flex.align-items-center.justify-content-between.pt-3 span {
    font-size: .65rem !important;
  }

  /* Decorations: hide some on mobile for cleanliness */
  .hero-decoration.decoration-2,
  .hero-decoration.decoration-3 {
    display: none;
  }

  /* ===== Pimpinan Section Mobile ===== */
  .pimpinan-section {
    padding: 48px 0;
  }

  .pimpinan-section h2 {
    font-size: 1.45rem !important;
    margin-bottom: 4px !important;
  }

  .pimpinan-section .small.mb-5 {
    font-size: .78rem !important;
    margin-bottom: 1.5rem !important;
  }

  .pimpinan-badge {
    font-size: .62rem;
    padding: 6px 14px;
    letter-spacing: 1px;
    gap: 5px;
    margin-bottom: 1rem;
  }

  .pimpinan-badge i { font-size: .7rem; }

  /* Cards grid — keep 2 columns but compact */
  .pimpinan-section .row.g-4 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .pimpinan-card {
    padding: 18px 12px !important;
    border-radius: 16px !important;
    margin-bottom: 0;
    box-shadow: 0 6px 20px rgba(108, 172, 228, 0.1);
  }

  .pimpinan-card::before {
    height: 2px;
  }

  .pimpinan-avatar {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-width: 2.5px;
  }

  .pimpinan-avatar i {
    font-size: 1.25rem !important;
  }

  .pimpinan-title {
    font-size: .82rem;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .pimpinan-sub {
    font-size: .68rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .pimpinan-tag {
    font-size: .6rem;
    padding: 3px 10px;
    font-weight: 700;
  }

  /* ===== Stats Section Mobile ===== */
  .stats-section {
    padding: 48px 0 !important;
  }

  .stats-section .py-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .stats-section .section-badge {
    font-size: .62rem;
    padding: 5px 12px;
    letter-spacing: 0.8px;
    gap: 4px;
    margin-bottom: .75rem;
  }

  .stats-section h2 {
    font-size: 1.4rem !important;
    margin-bottom: 4px !important;
  }

  .stats-section .section-desc {
    font-size: .78rem !important;
    line-height: 1.5;
  }

  /* Filter dropdowns compact */
  .stats-section .d-flex.align-items-center.gap-2.flex-nowrap {
    gap: 6px !important;
  }

  .stats-section .d-flex.align-items-center.gap-2.flex-nowrap > div {
    width: auto !important;
    min-width: 0;
    flex: 1;
  }

  .stats-section .form-select,
  .stats-section .select2-ikm {
    font-size: .78rem !important;
    padding: 6px 10px !important;
    height: 36px !important;
  }

  /* Header section spacing */
  .stats-section .mb-5 {
    margin-bottom: 1.5rem !important;
  }

  /* Stat cards — 2 columns on mobile */
  .stats-section .row.g-4.mb-4 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
    margin-bottom: 0.75rem !important;
  }

  .stats-section .row.g-4.mb-4 > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

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

  .stat-card .p-4 {
    padding: 14px !important;
  }

  .stat-card .d-flex.align-items-center.gap-3 {
    gap: 10px !important;
    flex-direction: column;
    text-align: center;
  }

  .stat-card .icon-box {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  .stat-card .icon-box i {
    font-size: 1rem !important;
  }

  .stat-card .stat-label {
    font-size: .65rem !important;
    line-height: 1.3;
  }

  .stat-card h4 {
    font-size: 1.3rem !important;
    margin-bottom: 2px !important;
  }

  .stat-card .stat-tag {
    font-size: .6rem !important;
  }

  /* Chart cards */
  .stats-section .row.g-4:last-child {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  .stats-chart-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .stats-chart-card h5 {
    font-size: .88rem !important;
    line-height: 1.3;
    margin-bottom: 4px !important;
  }

  .stats-chart-card h5 i {
    font-size: .82rem !important;
    margin-right: 6px !important;
  }

  .stats-chart-card small {
    font-size: .68rem !important;
    line-height: 1.4;
  }

  /* Chart header divider */
  .stats-chart-card .d-flex.pb-3.mb-3 {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }

  /* Donut chart header — stack badge below */
  .stats-chart-card .d-flex.align-items-center.justify-content-between.pb-3.mb-3 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .stats-chart-card .badge {
    font-size: .6rem !important;
    padding: 3px 10px !important;
  }

  /* Legend compact */
  .stats-chart-legend {
    gap: 8px !important;
  }

  .stats-chart-legend span {
    font-size: .68rem !important;
  }

  .stats-chart-legend i {
    font-size: .4rem !important;
  }

  /* Chart height reduction */
  #permohonanChart,
  #sektorChart {
    min-height: 260px !important;
  }

  .stats-chart-card h6 {
    font-size: .82rem !important;
  }

  /* ===== IKM Section Mobile ===== */
  .ikm-section {
    padding: 44px 0;
  }

  .ikm-section .py-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .ikm-hero-badge {
    font-size: .6rem !important;
    padding: 5px 12px !important;
    letter-spacing: 0.8px;
  }

  .ikm-section h2 {
    font-size: 1.35rem !important;
    margin-bottom: 4px !important;
  }

  .ikm-section p.small {
    font-size: .76rem !important;
    line-height: 1.5;
  }

  /* IKM Header spacing */
  .ikm-section .mb-4 {
    margin-bottom: 1rem !important;
  }

  /* IKM Filter dropdowns */
  .ikm-section .d-flex.align-items-center.gap-2.flex-nowrap > div {
    width: auto !important;
    min-width: 0;
    flex: 1;
  }

  .ikm-section .form-select,
  .ikm-section .select2-ikm {
    font-size: .76rem !important;
    padding: 5px 8px !important;
    height: 34px !important;
  }

  /* Score card row */
  .ikm-section .row.g-4.mb-4 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
    margin-bottom: 0.6rem !important;
  }

  /* Main score card */
  .ikm-main-card {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .ikm-main-card .text-uppercase {
    font-size: .65rem !important;
    letter-spacing: 0.8px !important;
  }

  .ikm-main-card h5 {
    font-size: .9rem !important;
  }

  .ikm-main-card .badge {
    font-size: .68rem !important;
    padding: 5px 12px !important;
  }

  .ikm-score-big {
    font-size: 2.3rem !important;
  }

  .ikm-main-card .fs-5 {
    font-size: .85rem !important;
  }

  .ikm-main-card .d-flex.align-items-center.gap-2.mb-3 .fs-5 i {
    font-size: .82rem;
  }

  .ikm-main-card .d-flex.align-items-center.gap-2.mb-3 span.small {
    font-size: .76rem !important;
  }

  /* Responden footer */
  .ikm-main-card .pt-3.border-top {
    padding-top: 10px !important;
  }

  .ikm-main-card .pt-3.border-top .small {
    font-size: .7rem !important;
  }

  .ikm-main-card .pt-3.border-top .fs-6 {
    font-size: .82rem !important;
  }

  /* Mini cards — 2 columns */
  .ikm-section .col-lg-7 .row.g-3 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .ikm-section .col-lg-7 .row.g-3 > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .ikm-mini-card {
    padding: 12px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    text-align: center;
    gap: 8px !important;
  }

  .ikm-mini-card .rounded-circle {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 auto;
  }

  .ikm-mini-card .rounded-circle i {
    font-size: .9rem !important;
  }

  .ikm-mini-card .text-muted.small {
    font-size: .62rem !important;
  }

  .ikm-mini-card h6 {
    font-size: .72rem !important;
    line-height: 1.3;
  }

  .ikm-mini-card small {
    font-size: .6rem !important;
  }

  /* ===== IKM Unsur Grid Mobile ===== */
  .ikm-section .mb-3.mt-4 h5 {
    font-size: .88rem !important;
    line-height: 1.3;
  }

  .ikm-section .mb-3.mt-4 h5 i {
    font-size: .82rem !important;
  }

  .ikm-section #unsurGrid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .unsur-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .unsur-card h6 {
    font-size: .72rem !important;
    margin-bottom: 2px !important;
  }

  .unsur-card .text-muted {
    font-size: .6rem !important;
  }

  .unsur-card .fw-bold {
    font-size: .7rem !important;
  }

  /* ===== IKM Demografi & Distribusi Cards ===== */
  .ikm-section .row.g-4.mt-2 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-top: 0.5rem !important;
  }

  .ikm-section .row.g-4.mt-2 .p-4 {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .ikm-section .row.g-4.mt-2 h6 {
    font-size: .82rem !important;
    line-height: 1.3;
  }

  .ikm-section .row.g-4.mt-2 h6 i {
    font-size: .78rem !important;
    margin-right: 6px !important;
  }

  .ikm-section .row.g-4.mt-2 .badge {
    font-size: .58rem !important;
    padding: 3px 8px !important;
  }

  .ikm-section .row.g-4.mt-2 .d-flex.align-items-center.justify-content-between.mb-3 {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }

  /* Service type list items */
  .ikm-section .row.g-4.mt-2 .gap-3 {
    gap: 8px !important;
  }

  .ikm-section .row.g-4.mt-2 .gap-2 {
    gap: 6px !important;
  }

  /* ===== Features Section Mobile ===== */
  .features-section {
    padding: 44px 0 !important;
  }

  .features-section .section-badge {
    font-size: .6rem;
    padding: 5px 12px;
    margin-bottom: .75rem;
  }

  .features-section h2 {
    font-size: 1.35rem !important;
    margin-bottom: 4px !important;
  }

  .features-section p.text-muted.mb-5 {
    font-size: .78rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.55;
  }

  /* Feature cards — 2 columns */
  .features-section .row.g-4 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  .features-section .row.g-4 > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .feature-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  .feature-card .icon-box-feature {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px;
    margin-bottom: .6rem;
  }

  .feature-card .icon-box-feature i {
    font-size: 1.05rem !important;
  }

  .feature-card h5 {
    font-size: .78rem !important;
    margin-bottom: 4px !important;
    line-height: 1.3;
  }

  .feature-card p {
    font-size: .68rem !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  .feature-card .badge {
    font-size: .58rem !important;
    padding: 3px 8px !important;
  }

  /* ===== Section Dividers & Overall Spacing Mobile ===== */
  .argentina-section-divider {
    height: 3px;
    box-shadow: 0 1px 6px rgba(108, 172, 228, 0.25);
  }

  /* Reduce ALL section padding globally on mobile */
  .pimpinan-section,
  .stats-section,
  .features-section,
  .ikm-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* ===== Footer Mobile ===== */
  .landing-footer {
    padding: 32px 0 0;
  }

  .landing-footer::before {
    height: 3px;
  }

  .landing-footer .row.g-5 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 1.5rem;
  }

  /* Brand */
  .landing-footer .d-flex.align-items-center.gap-3.mb-3 img {
    height: 34px !important;
  }

  .footer-brand-title {
    font-size: 1rem !important;
  }

  .footer-brand-sub {
    font-size: .65rem !important;
  }

  .footer-desc {
    font-size: .78rem !important;
    line-height: 1.55;
    margin-bottom: 12px !important;
  }

  .landing-footer .badge {
    font-size: .62rem !important;
    padding: 4px 10px !important;
  }

  /* Nav heading */
  .footer-heading {
    font-size: .88rem !important;
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

  .footer-heading::after {
    width: 28px;
    height: 2px;
  }

  /* Nav links */
  .footer-links li {
    margin-bottom: 6px;
  }

  .footer-links a {
    font-size: .78rem !important;
    gap: 6px;
  }

  .footer-links a i {
    font-size: .58rem !important;
  }

  /* Contact items */
  .footer-contact-item {
    gap: 10px;
    margin-bottom: 10px;
    font-size: .78rem !important;
  }

  .footer-contact-item strong {
    font-size: .74rem !important;
  }

  .footer-contact-item span,
  .footer-contact-item a {
    font-size: .76rem !important;
  }

  .footer-contact-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px;
  }

  .footer-contact-icon i {
    font-size: .82rem !important;
  }

  /* Social icons */
  .social-icon-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px;
  }

  .social-icon-btn i {
    font-size: .82rem !important;
  }

  .landing-footer .mt-4 {
    margin-top: 12px !important;
  }

  .landing-footer .mt-4 span {
    font-size: .68rem !important;
  }

  /* Bottom bar */
  .footer-bottom-bar {
    padding: 12px 0;
    margin-top: 24px;
    font-size: .72rem !important;
  }

  .footer-bottom-bar .text-white-50 {
    font-size: .68rem !important;
  }

  .footer-bottom-bar .d-flex.align-items-center.gap-2 a,
  .footer-bottom-bar .d-flex.align-items-center.gap-2 span {
    font-size: .68rem !important;
  }
}

/* === Mobile Small (max-width: 575px) === */
@media(max-width:575px){
  .hero-section {
    padding: 100px 0 32px;
  }
  .hero-title {
    font-size: 1.55rem;
    margin-bottom: .8rem;
  }
  .hero-subtitle-badge {
    font-size: .62rem;
    padding: 5px 12px;
    letter-spacing: 0.6px;
  }
  .hero-description {
    font-size: .84rem;
    line-height: 1.6;
  }

  .hero-trust-item {
    font-size: .65rem;
    padding: 4px 10px;
  }

  .dashboard-preview { padding: 18px !important; border-radius: var(--radius-md); }
  .stats-section, .features-section { padding: 36px 0; }
  .feature-card { padding: 20px 16px !important; }

  /* Pimpinan extra compact for small phones */
  .pimpinan-section {
    padding: 32px 0;
  }

  .pimpinan-section h2 {
    font-size: 1.3rem !important;
  }

  .pimpinan-section .small.mb-5 {
    font-size: .72rem !important;
    margin-bottom: 1.25rem !important;
  }

  .pimpinan-section .row.g-4 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  .pimpinan-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }

  .pimpinan-avatar {
    width: 50px; height: 50px;
    margin: 0 auto 8px;
  }
  .pimpinan-avatar i { font-size: 1.1rem !important; }

  .pimpinan-title {
    font-size: .75rem;
    margin-bottom: 2px;
  }
  .pimpinan-sub {
    font-size: .62rem;
    margin-bottom: 6px;
  }
  .pimpinan-tag {
    font-size: .55rem;
    padding: 2px 8px;
  }

  /* Floating chat mobile */
  .floating-chat-widget {
    right: 8px;
    bottom: 80px;
    width: calc(100vw - 16px);
    max-width: 100%;
    border-radius: 18px;
  }
}

/* ---------- IKM Live Dashboard Component ---------- */
.ikm-section {
  background: linear-gradient(180deg, #edf5fd 0%, #f4f8fe 100%);
  padding: 80px 0;
  position: relative;
}

.ikm-hero-badge {
  background: rgba(52, 133, 225, 0.12);
  color: #3485e1;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  border: 1px solid rgba(52, 133, 225, 0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ikm-main-card {
  background: linear-gradient(135deg, #4f9fe7 0%, #6CACE4 50%, #2175c9 100%) !important;
  border-radius: 20px;
  padding: 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(108, 172, 228, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

.ikm-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.ikm-score-big {
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 4px 16px rgba(6, 26, 51, 0.25);
  line-height: 1;
}

.ikm-mini-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(108, 172, 228, 0.12);
  transition: all .35s var(--ease-spring);
}

.ikm-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(108, 172, 228, 0.25);
  border-color: #6CACE4 !important;
}

.unsur-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(108, 172, 228, 0.12);
  transition: all .35s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.unsur-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(108, 172, 228, 0.25);
  border-color: #6CACE4 !important;
}

.unsur-progress {
  height: 8px;
  border-radius: 100px;
  background: #eaf4fd;
  overflow: hidden;
}

.unsur-progress-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #6CACE4, #FFB81C);
  transition: width 1s var(--ease-out);
}

/* Select2 Custom Theme Overrides */
.select2-container--bootstrap-5 {
  display: inline-block !important;
  vertical-align: middle;
}
.select2-container--bootstrap-5 .select2-selection {
  min-height: 38px !important;
  height: 38px !important;
  padding: 4px 12px !important;
  border-radius: 10px !important;
  border: 1.5px solid var(--blue-argentina) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  background-color: var(--surface) !important;
  box-shadow: 0 2px 8px rgba(52, 133, 225, 0.08) !important;
  display: flex !important;
  align-items: center !important;
}
.select2-container--bootstrap-5 .select2-selection__rendered {
  line-height: 28px !important;
  color: var(--on-surface) !important;
  padding-left: 0 !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
  border-radius: 12px !important;
  border: 1px solid var(--outline) !important;
  box-shadow: var(--shadow-md) !important;
  overflow: hidden;
  z-index: 1060 !important;
}
.select2-container--bootstrap-5 .select2-results__option {
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
  background-color: var(--blue-argentina) !important;
  color: #fff !important;
}

/* ---------- 10. Floating Chat Widget ---------- */
.floating-chat-widget {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: linear-gradient(165deg, #09172c 0%, #0d2545 60%, #13335c 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  overflow: hidden !important;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(52, 133, 225, 0.25);
  animation: widgetSlideUp .35s var(--ease-spring);
}

@keyframes widgetSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.floating-chat-body {
  flex: 1;
  min-height: 0;
  white-space: normal !important;
  overflow-y: auto !important;
}

.custom-horizontal-chips {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.custom-horizontal-chips::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.pulse-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

/* ---------- 11. Ultra Luxury Page Preloader (Argentina Sky Blue Identity) ---------- */
#pagePreloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999999 !important;
  background: linear-gradient(135deg, #4f9fe7 0%, #6CACE4 45%, #2570be 85%, #07192e 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

/* Aurora gradient overlay */
#pagePreloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 20% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 80% 80%, rgba(255, 184, 28, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(108, 172, 228, 0.45) 0%, transparent 50%);
  animation: preloaderAurora 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes preloaderAurora {
  0% { opacity: 0.7; transform: scale(1) translate(0, 0); }
  50% { opacity: 1; transform: scale(1.1) translate(2%, -2%); }
  100% { opacity: 0.8; transform: scale(1.05) translate(-1%, 1%); }
}

/* Floating geometric shapes */
.preloader-geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.preloader-geo-1 {
  top: 12%; left: 8%;
  width: 40px; height: 40px;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  animation: geoFloat 7s ease-in-out infinite;
}
.preloader-geo-2 {
  top: 18%; right: 12%;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid #FFB81C;
  animation: geoFloat 9s ease-in-out infinite 1s;
}
.preloader-geo-3 {
  bottom: 20%; left: 15%;
  width: 24px; height: 24px;
  background: #ffffff;
  transform: rotate(45deg);
  animation: geoFloat 8s ease-in-out infinite 2s;
}
.preloader-geo-4 {
  bottom: 15%; right: 10%;
  width: 32px; height: 32px;
  border: 2.5px solid #FFB81C;
  border-radius: 50%;
  animation: geoFloat 10s ease-in-out infinite 0.5s;
}
.preloader-geo-5 {
  top: 45%; left: 5%;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #ffffff;
  animation: geoFloat 11s ease-in-out infinite 3s;
}

@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.35; }
}

/* Gold accent borders top & bottom */
.preloader-gold-border-top,
.preloader-gold-border-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, #FFB81C 30%, #ffffff 50%, #FFB81C 70%, transparent 95%);
  z-index: 2;
  opacity: 0.9;
}
.preloader-gold-border-top { top: 0; }
.preloader-gold-border-bottom { bottom: 0; }

/* Content wrapper */
.preloader-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hexagonal logo frame */
.preloader-brand-box {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-hex-frame {
  position: absolute;
  width: 130px;
  height: 130px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(135deg, #ffffff, #FFB81C);
  animation: hexBreath 3s ease-in-out infinite;
}

.preloader-hex-frame::before {
  content: '';
  position: absolute;
  inset: 2.5px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(135deg, #07192e, #133965);
}

@keyframes hexBreath {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 50px rgba(255, 184, 28, 0.6)); transform: scale(1.04); }
}

/* Orbiting particles */
.preloader-orbit {
  position: absolute;
  width: 140px;
  height: 140px;
  top: 0; left: 0;
}

.preloader-orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -3px 0 0 -3px;
}

.preloader-orbit-dot-1 {
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 24px rgba(255, 255, 255, 0.8);
  animation: orbitA 3s linear infinite;
}
.preloader-orbit-dot-2 {
  background: #FFB81C;
  box-shadow: 0 0 12px #FFB81C, 0 0 24px rgba(255, 184, 28, 0.8);
  animation: orbitB 4.5s linear infinite;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
}
.preloader-orbit-dot-3 {
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.6);
  animation: orbitC 6s linear infinite;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
}

@keyframes orbitA {
  0% { transform: rotate(0deg) translateX(68px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(68px) rotate(-360deg); }
}
@keyframes orbitB {
  0% { transform: rotate(120deg) translateX(72px) rotate(-120deg); }
  100% { transform: rotate(480deg) translateX(72px) rotate(-480deg); }
}
@keyframes orbitC {
  0% { transform: rotate(240deg) translateX(65px) rotate(-240deg); }
  100% { transform: rotate(600deg) translateX(65px) rotate(-600deg); }
}

.preloader-logo-container {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07192e, #1d4ed8);
  border: 2.5px solid #FFB81C;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 184, 28, 0.3);
  position: relative;
  z-index: 2;
}

/* Metallic gradient title */
.preloader-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.preloader-title .preloader-version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFB81C, #e5a00d);
  color: #07192e;
  -webkit-text-fill-color: #07192e;
  font-size: 0.55em;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 3px 12px rgba(255, 184, 28, 0.5);
  border: 1px solid #ffffff;
}

/* Letterpress subtitle */
.preloader-sub {
  color: #FFB81C !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 6px 20px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* 5-segment progress indicator */
.preloader-segments {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  position: relative;
}

.preloader-segment {
  width: 48px;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.preloader-segment.active {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.preloader-segment.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFB81C, #ffffff);
  border-radius: 100px;
  animation: segmentFill 0.5s ease-out forwards;
  box-shadow: 0 0 10px rgba(255, 184, 28, 0.8);
}

.preloader-segment.active::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: segmentShimmer 1.5s ease-in-out infinite 0.5s;
}

@keyframes segmentFill {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

@keyframes segmentShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Typewriter status text */
.preloader-status-text {
  font-size: .82rem;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  min-height: 22px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

.preloader-status-text .preloader-pct {
  color: #FFB81C !important;
  font-weight: 900;
  margin-left: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Split-reveal dismiss animation */
.preloader-split-left,
.preloader-split-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(135deg, #4f9fe7, #2570be);
  z-index: 3;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
  opacity: 0;
}
.preloader-split-left { left: 0; }
.preloader-split-right { right: 0; }

#pagePreloader.split-reveal .preloader-split-left {
  opacity: 1;
  transform: translateX(-100%);
}
#pagePreloader.split-reveal .preloader-split-right {
  opacity: 1;
  transform: translateX(100%);
}
#pagePreloader.split-reveal .preloader-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.preloader-split-left { left: 0; }
.preloader-split-right { right: 0; }

#pagePreloader.split-reveal .preloader-split-left {
  opacity: 1;
  transform: translateX(-100%);
}
#pagePreloader.split-reveal .preloader-split-right {
  opacity: 1;
  transform: translateX(100%);
}
#pagePreloader.split-reveal .preloader-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* White flash overlay */
.preloader-flash {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

#pagePreloader.flash-active .preloader-flash {
  opacity: 0.8;
}

/* Final hidden state */
#pagePreloader.preloader-hidden,
#pagePreloader.fade-out {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader-orbit-dot-1,
  .preloader-orbit-dot-2,
  .preloader-orbit-dot-3,
  .preloader-hex-frame,
  .preloader-geo-1, .preloader-geo-2, .preloader-geo-3, .preloader-geo-4, .preloader-geo-5,
  #pagePreloader::before {
    animation: none !important;
  }
  .preloader-title { animation: none !important; }
  .preloader-segment.active::after { animation: none !important; }
}

/* ---------- 12. Ultra Luxury Login Page (Argentina Theme 🇦🇷) ---------- */
.auth-split-wrapper {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  background: #eaf4fd;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.auth-brand-side {
  width: 46%;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 184, 28, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #4f9fe7 0%, #6CACE4 50%, #2175c9 100%) !important;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}

.auth-brand-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.auth-metric-card-3d {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 20px;
  padding: 20px 22px;
  transition: all .4s var(--ease-spring);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.auth-metric-card-3d:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: #FFB81C !important;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 24px rgba(255, 184, 28, 0.5) !important;
}

.btn-gold-luxury {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB81C 0%, #FFC72C 100%) !important;
  color: #05162a !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 12px 28px !important;
  box-shadow: 0 8px 24px rgba(255, 184, 28, 0.45) !important;
  transition: all .35s var(--ease-spring) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-gold-luxury:hover {
  background: linear-gradient(135deg, #FFC72C 0%, #FFB81C 100%) !important;
  color: #05162a !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 35px rgba(255, 184, 28, 0.65), 0 0 20px rgba(255, 199, 44, 0.5) !important;
}

.btn-gold-luxury i {
  color: #05162a !important;
}

.auth-form-side {
  width: 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  background:
    radial-gradient(circle at 85% 75%, rgba(255, 184, 28, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(108, 172, 228, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #f4f9fe 0%, #eaf4fd 50%, #f4f9fe 100%);
  position: relative;
}

.login-card-luxury {
  width: 100%;
  max-width: 470px;
  background: #ffffff;
  border-radius: 24px;
  padding: 42px 38px;
  box-shadow: 0 20px 50px rgba(108, 172, 228, 0.2);
  border: 1.5px solid #bce1f8;
  position: relative;
  overflow: hidden !important;
}

.login-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6CACE4, #FFB81C, #6CACE4);
}

.custom-input-box {
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 14px !important;
  height: 52px !important;
  padding: 0 16px !important;
  transition: all 0.25s var(--ease-spring) !important;
  position: relative !important;
  width: 100% !important;
}

.custom-input-box:focus-within {
  border-color: #6CACE4 !important;
  box-shadow: 0 0 0 4px rgba(108, 172, 228, 0.2) !important;
  background: #ffffff !important;
}

.custom-input-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6CACE4 !important;
  font-size: 1.25rem !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
}

.custom-input-box input,
.custom-input-box input.form-control,
.custom-input-box input.fw-bold,
.custom-input-box .flatpickr-input,
.custom-input-box textarea {
  flex: 1 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  color: #061a33 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.custom-input-box input:focus,
.custom-input-box input.form-control:focus,
.custom-input-box .flatpickr-input:focus {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Fix Chrome Autofill Blue Box Overlay */
.custom-input-box input:-webkit-autofill,
.custom-input-box input:-webkit-autofill:hover,
.custom-input-box input:-webkit-autofill:focus,
.custom-input-box input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #061a33 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

.custom-input-box input::placeholder {
  color: #718096 !important;
  font-weight: 500 !important;
}

.custom-input-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important;
  flex-shrink: 0 !important;
  color: #4e739c !important;
}

.btn-login-submit {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #6CACE4 0%, #2175c9 100%) !important;
  border: none !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  transition: all .35s var(--ease-spring) !important;
  box-shadow: 0 8px 24px rgba(108, 172, 228, 0.45) !important;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-login-submit i {
  color: #ffffff !important;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #FFB81C 0%, #FFC72C 100%) !important;
  color: #05162a !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 36px rgba(255, 184, 28, 0.65), 0 0 20px rgba(255, 199, 44, 0.5) !important;
}

.btn-login-submit:hover i {
  color: #05162a !important;
}

/* Luxury Register Button */
.btn-register-luxury {
  color: #061a33 !important;
  background: #ffffff !important;
  border: 1.5px solid #6CACE4 !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  transition: all .35s var(--ease-spring) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.2) !important;
}

.btn-register-luxury:hover {
  background: linear-gradient(135deg, #6CACE4 0%, #2175c9 100%) !important;
  border-color: #6CACE4 !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(108, 172, 228, 0.5) !important;
}

/* Custom Checkbox */
.custom-checkbox {
  width: 19px !important;
  height: 19px !important;
  border: 1.5px solid #6CACE4 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  margin-top: 0 !important;
  flex-shrink: 0 !important;
}

.custom-checkbox:checked {
  background-color: #6CACE4 !important;
  border-color: #6CACE4 !important;
  box-shadow: 0 2px 8px rgba(108, 172, 228, 0.4) !important;
}

@media(max-width: 991px) {
  .auth-split-wrapper { flex-direction: column; }
  .auth-brand-side, .auth-form-side { width: 100%; }
  .auth-brand-side { padding: 40px 24px; }
  .auth-form-side { padding: 40px 20px; }
  .login-card-luxury { padding: 30px 24px; }
}

/* ==========================================================================
   THEME TOGGLE (Light / Dark / System)
   ========================================================================== */
.theme-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 172, 228, 0.15);
  border: 1.5px solid rgba(108, 172, 228, 0.3);
  border-radius: 100px;
  padding: 3px;
  gap: 3px;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: all .3s ease;
  font-size: .82rem;
}

.theme-toggle-btn i {
  color: inherit;
  font-weight: 700;
}

.theme-toggle-btn:hover {
  color: #3485e1;
  background: rgba(52, 133, 225, 0.15);
}

.theme-toggle-btn.active {
  background: #FFB81C;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(255, 184, 28, 0.4);
}

.theme-toggle-btn.active i {
  color: #0f172a !important;
}

/* Scrolled navbar toggle */
.landing-navbar.scrolled .theme-toggle-wrapper {
  background: rgba(108, 172, 228, 0.15);
  border-color: rgba(108, 172, 228, 0.3);
}

.landing-navbar.scrolled .theme-toggle-btn {
  color: #334155 !important;
}

.landing-navbar.scrolled .theme-toggle-btn:hover {
  color: #3485e1 !important;
  background: rgba(52, 133, 225, 0.15);
}

.landing-navbar.scrolled .theme-toggle-btn.active {
  background: #FFB81C !important;
  color: #0f172a !important;
}

/* Base Section Badge Component */
.section-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 7px 18px !important;
  border-radius: 100px !important;
  background: rgba(52, 133, 225, 0.1) !important;
  border: 1px solid rgba(52, 133, 225, 0.25) !important;
  color: #3485e1 !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
  width: auto !important;
  max-width: fit-content !important;
}

/* ==========================================================================
   BERITA SECTION — Matched with Layanan Unggulan
   ========================================================================== */
.berita-section {
  background: linear-gradient(180deg, #f4f9fe 0%, #edf5fd 50%, #f4f9fe 100%);
  padding: 85px 0;
  position: relative;
}

/* Card Link */
.berita-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

/* Card */
.berita-card {
  background: #ffffff !important;
  border: 1.5px solid #bce1f8 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  transition: all .45s var(--ease-spring) !important;
  position: relative;
  box-shadow: 0 10px 30px rgba(108, 172, 228, 0.12) !important;
}

.berita-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6CACE4, #FFB81C, #6CACE4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-spring);
  z-index: 5;
}

.berita-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 12px 28px rgba(108, 172, 228, 0.2), 0 20px 45px rgba(108, 172, 228, 0.15) !important;
  border-color: #6CACE4 !important;
}

.berita-card:hover::before {
  transform: scaleX(1);
}

/* Card Image */
.berita-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf4fd 0%, #d6ebfb 100%);
  position: relative;
}

.berita-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.berita-card:hover .berita-card-img img {
  transform: scale(1.1);
}

.berita-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(52, 133, 225, 0.12), rgba(108, 172, 228, 0.2));
  color: #3485e1;
  font-size: 2.8rem;
}

/* Card Body */
.berita-card {
  text-align: left !important;
}

.berita-card-body {
  padding: 20px;
  text-align: left !important;
}

.berita-kategori-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(52, 133, 225, 0.1), rgba(108, 172, 228, 0.08));
  color: var(--blue-argentina-dark);
  border: 1px solid rgba(52, 133, 225, 0.18);
}

.berita-views {
  font-size: .65rem;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.berita-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0a1f38;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -.2px;
  transition: color .3s;
  text-align: left !important;
}

.berita-card:hover .berita-card-title {
  color: var(--blue-argentina-dark);
}

.berita-card-desc {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  text-align: left !important;
}

.berita-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .7rem;
  color: #94a3b8;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid rgba(108, 172, 228, 0.1);
  text-align: left !important;
}

.berita-card-meta i {
  margin-right: 4px;
  font-size: .62rem;
  color: var(--blue-argentina);
}

/* CTA Button */
.btn-cta-berita {
  display: inline-flex;
  align-items: center;
  padding: 14px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-argentina), var(--blue-argentina-dark));
  border: none;
  text-decoration: none;
  transition: all .4s var(--ease-spring);
  box-shadow: 0 6px 24px var(--blue-argentina-glow);
  gap: 4px;
}

.btn-cta-berita:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px var(--blue-argentina-glow);
  color: #ffffff;
}

.btn-cta-berita:hover i {
  transform: translateX(4px);
}

.btn-cta-berita i {
  transition: transform .3s var(--ease-spring);
}

/* Premium Empty State */
.berita-empty-card {
  max-width: 420px;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(108, 172, 228, 0.3);
}

.berita-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 172, 228, 0.1), rgba(255, 184, 28, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--blue-argentina);
  border: 2px solid rgba(108, 172, 228, 0.15);
  box-shadow: 0 4px 16px rgba(108, 172, 228, 0.1);
}

/* Skeleton Loading */
.skeleton-card { pointer-events: none; }

.skeleton-shimmer {
  background: linear-gradient(90deg, #eef5fc 25%, #dce9f5 50%, #eef5fc 75%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.5s infinite;
  height: 200px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef5fc 25%, #dce9f5 50%, #eef5fc 75%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.5s infinite;
}

@keyframes shimmerLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* IKM Demografi Cards & Sub-items */
.ikm-demografi-card {
  background: #ffffff;
  border-color: rgba(108, 172, 228, 0.2) !important;
  transition: all .3s ease;
}

.ikm-sub-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all .3s ease;
}

.ikm-sub-card .text-dark {
  color: #0a1f38 !important;
}

.ikm-sub-card .progress {
  background: #e2e8f0;
}

/* ==========================================================================
   DARK MODE OVERRIDES
   ========================================================================== */
html[data-theme="dark"] {
  --surface: #0d1b2a;
  --surface-dim: #162a3f;
  --surface-container: #1a3150;
  --outline: #2a4a6b;
  --on-surface: #e2e8f0;
  --on-surface-muted: #94a3b8;
  --glass-bg: rgba(13, 27, 42, 0.95);
  --glass-border: rgba(108, 172, 228, 0.3);
}

/* Smooth dark mode transition on key containers */
body,
.landing-navbar,
.hero-section,
.stats-section,
.pimpinan-section,
.ikm-section,
.features-section,
.berita-section,
.landing-footer,
.stat-card,
.stats-chart-card,
.pimpinan-card,
.feature-card,
.berita-card,
.ikm-mini-card,
.ikm-main-card,
.section-badge,
.form-select {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}

/* === Dark Navbar === */
html[data-theme="dark"] .landing-navbar.scrolled {
  background: rgba(13, 27, 42, 0.97) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .nav-link {
  color: rgba(226, 232, 240, 0.85) !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .nav-link:hover,
html[data-theme="dark"] .landing-navbar.scrolled .nav-link.active {
  color: #FFB81C !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .navbar-brand span {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-wrapper {
  background: rgba(108, 172, 228, 0.15) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-btn {
  color: rgba(226, 232, 240, 0.75) !important;
}

html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-btn.active {
  background: #FFB81C !important;
  color: #0f172a !important;
}

/* Mobile Navbar Dark Mode Overrides */
html[data-theme="dark"] .landing-navbar .navbar-toggler {
  border-color: rgba(108, 172, 228, 0.4) !important;
}

html[data-theme="dark"] .landing-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(226,232,240,.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  html[data-theme="dark"] .landing-navbar .navbar-collapse {
    background: rgba(13, 27, 42, 0.97) !important;
    border-color: rgba(108, 172, 228, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
  }

  html[data-theme="dark"] .landing-navbar .navbar-collapse .nav-link {
    color: #e2e8f0 !important;
  }

  html[data-theme="dark"] .landing-navbar .navbar-collapse .nav-link:hover,
  html[data-theme="dark"] .landing-navbar .navbar-collapse .nav-link.active {
    color: #FFB81C !important;
    background: rgba(108, 172, 228, 0.15) !important;
  }
}

/* === Dark Hero === */
html[data-theme="dark"] .hero-section {
  background:
    radial-gradient(circle at 70% 20%, rgba(108, 172, 228, 0.15) 0%, transparent 55%),
    radial-gradient(circle at 20% 90%, rgba(255, 184, 28, 0.1) 0%, transparent 50%),
    linear-gradient(170deg, #0d1b2a 0%, #162a3f 40%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .hero-title {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .hero-description {
  color: #94a3b8 !important;
}

/* === Dark Hero Tracking Card Overrides === */
html[data-theme="dark"] .hero-tracking-card {
  background: rgba(15, 32, 54, 0.88) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .hero-tab-switcher {
  background: rgba(10, 22, 38, 0.7) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
}

html[data-theme="dark"] .hero-tab-btn {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .hero-tab-btn.active {
  background: linear-gradient(135deg, #3485e1, #1d4ed8) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(52, 133, 225, 0.4) !important;
}

html[data-theme="dark"] .hero-tracking-card h6 {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hero-tracking-card label {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .hero-sub-label {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .hero-search-container {
  background: rgba(26, 49, 80, 0.7) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
}

html[data-theme="dark"] .hero-search-input {
  background: transparent !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hero-search-input::placeholder {
  color: rgba(226, 232, 240, 0.6) !important;
}

html[data-theme="dark"] .hero-search-icon {
  color: #6CACE4 !important;
}

html[data-theme="dark"] .hero-sample-btn,
html[data-theme="dark"] .hero-prompt-btn {
  background: rgba(26, 49, 80, 0.6) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .hero-result-box {
  background: rgba(26, 49, 80, 0.7) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hero-chat-window {
  background: rgba(10, 22, 38, 0.7) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
}

html[data-theme="dark"] .hero-chat-bubble {
  background: rgba(26, 49, 80, 0.85) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hero-chat-input {
  background: rgba(26, 49, 80, 0.7) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hero-chat-input::placeholder {
  color: rgba(226, 232, 240, 0.6) !important;
}

/* === Dark Stats === */
html[data-theme="dark"] .stats-section {
  background:
    radial-gradient(circle at 85% 75%, rgba(255, 184, 28, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(108, 172, 228, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0d1b2a 0%, #162a3f 50%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .stats-section h2,
html[data-theme="dark"] .features-section h2,
html[data-theme="dark"] .berita-section h2 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .stats-section .section-desc,
html[data-theme="dark"] .stats-section p,
html[data-theme="dark"] .features-section p.text-muted,
html[data-theme="dark"] .berita-section p.text-muted {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .stat-card {
  background: rgba(26, 49, 80, 0.6) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .stat-card .stat-label {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .stat-card h4 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .stats-chart-card {
  background: rgba(26, 49, 80, 0.6) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .stats-chart-card h5,
html[data-theme="dark"] .stats-chart-card h6 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .stats-chart-card small {
  color: #94a3b8 !important;
}

/* === Dark Pimpinan === */
html[data-theme="dark"] .pimpinan-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 172, 228, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #0d1b2a 0%, #162a3f 50%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .pimpinan-section h2 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .pimpinan-section p,
html[data-theme="dark"] .pimpinan-section .small {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .pimpinan-card {
  background: rgba(26, 49, 80, 0.5) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .pimpinan-title {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .pimpinan-sub {
  color: #94a3b8 !important;
}

/* === Dark IKM === */
html[data-theme="dark"] .ikm-section {
  background: linear-gradient(180deg, #0d1b2a 0%, #162a3f 50%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .ikm-section h2 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .ikm-section p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .ikm-mini-card {
  background: rgba(26, 49, 80, 0.5) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .ikm-mini-card h6 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .ikm-section .p-4.bg-white,
html[data-theme="dark"] .ikm-demografi-card {
  background: rgba(15, 32, 54, 0.75) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .ikm-section .p-4.bg-white h6,
html[data-theme="dark"] .ikm-demografi-card h6 {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .ikm-sub-card {
  background: rgba(26, 49, 80, 0.6) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
}

html[data-theme="dark"] .ikm-sub-card .text-dark {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .ikm-sub-card .text-muted {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .ikm-sub-card .progress {
  background: rgba(15, 27, 44, 0.8) !important;
}

/* === Dark Features === */
html[data-theme="dark"] .features-section {
  background:
    radial-gradient(circle at 80% 80%, rgba(255, 184, 28, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0d1b2a 0%, #162a3f 50%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .feature-card {
  background: rgba(26, 49, 80, 0.5) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .feature-card h5 {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .feature-card p {
  color: #94a3b8 !important;
}

/* === Dark Berita === */
html[data-theme="dark"] .berita-section {
  background:
    radial-gradient(circle at 15% 80%, rgba(108, 172, 228, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #0d1b2a 0%, #162a3f 50%, #0d1b2a 100%) !important;
}

html[data-theme="dark"] .berita-card {
  background: rgba(26, 49, 80, 0.5) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .berita-card-title {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .berita-card:hover .berita-card-title {
  color: #6CACE4 !important;
}

html[data-theme="dark"] .berita-card-desc {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .berita-card-meta {
  color: #64748b !important;
  border-color: rgba(108, 172, 228, 0.15) !important;
}

html[data-theme="dark"] .berita-card-img {
  background: linear-gradient(135deg, #162a3f, #1a3150) !important;
}

html[data-theme="dark"] .berita-card-img-placeholder {
  background: linear-gradient(135deg, #162a3f, #1a3150) !important;
  color: rgba(108, 172, 228, 0.2);
}

html[data-theme="dark"] .skeleton-shimmer,
html[data-theme="dark"] .skeleton-line {
  background: linear-gradient(90deg, #162a3f 25%, #1a3150 50%, #162a3f 75%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.5s infinite;
}

/* === Dark Section Badges === */
html[data-theme="dark"] .section-badge {
  background: rgba(108, 172, 228, 0.15) !important;
  color: #6CACE4 !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
}

/* === Dark Divider === */
html[data-theme="dark"] .argentina-section-divider {
  box-shadow: 0 2px 10px rgba(108, 172, 228, 0.2);
}

/* === Dark text utilities === */
html[data-theme="dark"] .text-dark {
  color: #e2e8f0 !important;
}

html[data-theme="dark"] .text-muted {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .bg-white {
  background-color: rgba(26, 49, 80, 0.5) !important;
}

html[data-theme="dark"] .border-light-subtle {
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .border-bottom {
  border-color: rgba(108, 172, 228, 0.18) !important;
}

html[data-theme="dark"] .berita-empty-card {
  background: rgba(15, 32, 54, 0.8) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
}

html[data-theme="dark"] .berita-empty-icon {
  background: rgba(108, 172, 228, 0.15) !important;
  border-color: rgba(108, 172, 228, 0.25) !important;
}

/* === Dark unsur cards === */
html[data-theme="dark"] .unsur-card {
  background: rgba(26, 49, 80, 0.5) !important;
  border-color: rgba(108, 172, 228, 0.2) !important;
}

html[data-theme="dark"] .unsur-card h6 {
  color: #e2e8f0 !important;
}

/* === Form Control & Placeholder Base === */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

/* === Search Input Group Component === */
.search-input-group {
  background: #ffffff;
  border-color: rgba(108, 172, 228, 0.3) !important;
  transition: all .3s ease;
}

.search-input-group .form-control {
  background: transparent !important;
  color: #0a1f38 !important;
}

/* === Dark Form Elements & Placeholders === */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .select2-ikm,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .form-select,
html[data-theme="dark"] .select2-ikm {
  background-color: rgba(26, 49, 80, 0.6) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
}

html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] ::placeholder {
  color: rgba(226, 232, 240, 0.65) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .search-input-group {
  background: rgba(26, 49, 80, 0.75) !important;
  border-color: rgba(108, 172, 228, 0.35) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .search-input-group .form-control {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .search-input-group .form-control::placeholder {
  color: rgba(226, 232, 240, 0.7) !important;
  opacity: 1 !important;
}

/* === Berita Section Mobile (767px) === */
@media(max-width: 767px) {
  .berita-section {
    padding: 36px 0 !important;
  }

  .berita-section h2 {
    font-size: 1.35rem !important;
  }

  .berita-section .section-badge {
    font-size: .6rem;
    padding: 5px 12px;
  }

  .berita-section p.text-muted {
    font-size: .78rem !important;
    margin-bottom: 1.25rem !important;
  }

  .berita-section .mb-5 {
    margin-bottom: 1.25rem !important;
  }

  .berita-section .row.g-4 {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.6rem;
  }

  .berita-card-img {
    height: 160px;
  }

  .berita-card-body {
    padding: 14px;
  }

  .berita-card-title {
    font-size: .88rem;
  }

  .berita-card-desc {
    font-size: .74rem;
    -webkit-line-clamp: 2;
  }

  .berita-card-meta {
    font-size: .65rem;
    gap: 10px;
    padding-top: 10px;
  }

  .btn-cta-berita {
    padding: 11px 24px;
    font-size: .82rem;
  }

  .berita-section .mt-5 {
    margin-top: 1.25rem !important;
  }

  /* Theme toggle on mobile */
  .theme-toggle-btn {
    width: 26px;
    height: 26px;
    font-size: .68rem;
  }
}

/* === Berita Section Small Mobile (575px) === */
@media(max-width: 575px) {
  .berita-section .row.g-4 > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .berita-card-img {
    height: 180px;
  }
}

/* === Tracking Result Cards (Light & Dark Theme Responsive) === */
.track-title-card {
  background: #f0f7fe;
  border: 1.5px solid #bce1f8;
  box-shadow: 0 4px 14px rgba(108, 172, 228, 0.12);
  transition: all 0.3s ease;
}

.track-info-card {
  background: #ffffff;
  border: 1.5px solid #d6ebfb;
  box-shadow: 0 4px 12px rgba(108, 172, 228, 0.08);
  transition: all 0.3s ease;
}

.track-flow-card {
  background: linear-gradient(135deg, #eaf4fd 0%, #f4f9fe 100%);
  border: 1.5px solid #bce1f8;
  transition: all 0.3s ease;
}

.track-text-header {
  color: #061a33;
}

.track-text-muted {
  color: #4e739c;
}

.track-text-value {
  color: #061a33;
}

/* === DARK MODE OVERRIDES FOR TRACKING CARDS === */
html[data-theme="dark"] .track-title-card {
  background: rgba(22, 42, 70, 0.95) !important;
  border-color: rgba(108, 172, 228, 0.35) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .track-info-card {
  background: rgba(26, 49, 80, 0.9) !important;
  border-color: rgba(108, 172, 228, 0.3) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .track-flow-card {
  background: linear-gradient(135deg, rgba(15, 32, 54, 0.95) 0%, rgba(22, 45, 75, 0.9) 100%) !important;
  border-color: rgba(108, 172, 228, 0.35) !important;
}

html[data-theme="dark"] .track-text-header,
html[data-theme="dark"] .track-text-value {
  color: #f8fafc !important;
}

html[data-theme="dark"] .track-text-muted {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .track-badge-done {
  background: rgba(34, 197, 94, 0.2) !important;
  color: #4ade80 !important;
  border: 1.5px solid rgba(34, 197, 94, 0.4) !important;
}

html[data-theme="dark"] .track-badge-process {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
}

