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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #0D47A1;
  --color-primary-dark: #0A337A;
  --color-primary-light: #1565C0;
  --color-cyan: #0284C7;
  --color-cyan-light: #38BDF8;
  --color-accent: #D97706;
  --color-accent-light: #E5A93C;
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-slate-50: #F8FAFC;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  color: var(--color-slate-800);
  background-color: var(--color-slate-50);
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
}

/* Subtle Geometric Pattern Backgrounds */
.bg-grid-pattern {
  background-color: #F8FAFC;
  background-image: radial-gradient(#CBD5E1 0.8px, transparent 0.8px);
  background-size: 16px 16px;
}

.bg-dot-pattern {
  background-image: radial-gradient(rgba(13, 71, 161, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

@keyframes toastPop {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-beacon {
  animation: pulseBeacon 2s ease-in-out infinite;
}

/* Reveal on Scroll */
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 80ms; }
.delay-200 { transition-delay: 160ms; }
.delay-300 { transition-delay: 240ms; }
.delay-400 { transition-delay: 320ms; }

/* Solid Professional Card */
.solid-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.solid-card:hover {
  border-color: #94A3B8;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Feature Icon Boxes */
.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.solid-card:hover .icon-box {
  transform: scale(1.12) rotate(2deg);
}

.icon-box-navy {
  background-color: #EFF6FF;
  color: #0D47A1;
  border: 1px solid #BFDBFE;
}

.icon-box-cyan {
  background-color: #F0F9FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.icon-box-amber {
  background-color: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.icon-box-emerald {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* Compact Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.badge-navy {
  background-color: #EFF6FF;
  color: #0D47A1;
  border: 1px solid #BFDBFE;
}

.badge-cyan {
  background-color: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-amber {
  background-color: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

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

.badge-slate {
  background-color: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
}

/* Buttons with Tactile Physics */
.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7.5px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(13, 71, 161, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(13, 71, 161, 0.2);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7.5px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
  background-color: #B45309;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-slate-800);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7.5px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--color-slate-200);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.btn-secondary:hover {
  background-color: var(--color-slate-100);
  border-color: #94A3B8;
  color: var(--color-slate-900);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Nav Links */
.nav-link {
  color: var(--color-slate-700);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Accordion Smooth Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.open .accordion-content {
  max-height: 500px;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

/* Toast Container */
#toastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  min-width: 280px;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-slate-800);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-message.success {
  border-left: 4px solid #16A34A;
}

.toast-message.info {
  border-left: 4px solid #0D47A1;
}

/* Floating WhatsApp Chat Widget */
#waFloatingWidget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
}

#waChatBox {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 290px;
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

#waChatBox.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Live Toast Ticker */
.ticker-slide-in {
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Hide scrollbar for clean horizontal swipe touch carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sleek Admin Dark Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.4);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #475569;
}


