/* =====================================================
   DARK VERSION FOOTER STYLESHEET - IBR DESAIN
   Flat Design (Zero Box-Shadows)
===================================================== */

.ibr-footer-dark {
  background: #0b0f17;
  color: #94a3b8;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1e293b;
}

.ibr-footer-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a64c4 0%, #2563eb 50%, #38bdf8 100%);
}

/* -----------------------------------------------------
   CTA BANNER PRE-FOOTER
----------------------------------------------------- */

.ibr-footer-cta {
  padding: 60px 0;
  border-bottom: 1px solid #1e293b;
  background: linear-gradient(180deg, #0f172a 0%, #0b0f17 100%);
}

.ibr-footer-cta__container {
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #161e2e;
  border: 1px solid #283548;
  border-radius: 20px;
  padding: 40px 48px;
}

.ibr-footer-cta__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ibr-footer-cta__content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.ibr-footer-cta__content p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  max-width: 580px;
  line-height: 1.5;
}

.ibr-footer-cta__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ibr-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ibr-btn-cta--wa {
  background: #059669;
  color: #ffffff;
  border: 1px solid #059669;
}

.ibr-btn-cta--wa:hover {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
}

.ibr-btn-cta--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #334155;
}

.ibr-btn-cta--outline:hover {
  background: #334155;
  color: #ffffff;
}

/* -----------------------------------------------------
   MAIN FOOTER BODY
----------------------------------------------------- */

.ibr-footer-main {
  padding: 70px 0 50px;
}

.ibr-footer-main__container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.ibr-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.ibr-footer-col {
  display: flex;
  flex-direction: column;
}

.ibr-footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.ibr-footer-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 22px;
}

.ibr-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ibr-footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #161e2e;
  border: 1px solid #283548;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ibr-footer-socials a:hover {
  background: #0a64c4;
  border-color: #0a64c4;
  color: #ffffff;
  transform: translateY(-2px);
}

.ibr-footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 8px;
}

.ibr-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #0a64c4;
  border-radius: 2px;
}

.ibr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ibr-footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ibr-footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.ibr-footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ibr-footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.45;
}

.ibr-contact-ic {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #161e2e;
  border: 1px solid #283548;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* -----------------------------------------------------
   BOTTOM FOOTER BAR
----------------------------------------------------- */

.ibr-footer-bottom {
  padding: 22px 0;
  border-top: 1px solid #1e293b;
  background: #070a10;
}

.ibr-footer-bottom__container {
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ibr-copyright {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.ibr-footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.ibr-footer-legal a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ibr-footer-legal a:hover {
  color: #38bdf8;
}

.ibr-sep {
  color: #334155;
  font-size: 10px;
}

/* -----------------------------------------------------
   RESPONSIVE STYLES
----------------------------------------------------- */

@media (max-width: 1024px) {
  .ibr-footer-cta__container {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }

  .ibr-footer-cta__actions {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .ibr-footer-cta {
    padding: 40px 0;
  }

  .ibr-footer-cta__container {
    padding: 24px;
    border-radius: 14px;
  }

  .ibr-footer-cta__content h2 {
    font-size: 20px;
  }

  .ibr-footer-cta__actions {
    flex-direction: column;
    gap: 10px;
  }

  .ibr-btn-cta {
    width: 100%;
    justify-content: center;
  }

  .ibr-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ibr-footer-bottom__container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* =====================================================
   FLOATING WHATSAPP CUSTOMER SERVICE WIDGET
   With Animated Pulse Waves & Gentle Hover Motion
===================================================== */

.ibr-wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.ibr-wa-float * {
  pointer-events: auto;
}

/* Tooltip Badge */
.ibr-wa-float__tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: ibrWaFloatBounce 3s ease-in-out infinite;
}

.ibr-wa-float__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: ibrWaStatusPulse 2s infinite;
}

.ibr-wa-float__text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

/* Floating WA Button */
.ibr-wa-float__btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: ibrWaFloatBounce 3s ease-in-out infinite;
}

.ibr-wa-float__btn:hover {
  background: #16a34a;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* Pulse Wave Aura */
.ibr-wa-float__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: ibrWaPulseWave 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

/* Keyframe Animations */
@keyframes ibrWaFloatBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ibrWaStatusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

@keyframes ibrWaPulseWave {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .ibr-wa-float {
    bottom: 20px;
    right: 20px;
  }
  .ibr-wa-float__tooltip {
    display: none;
  }
  .ibr-wa-float__btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
