body {
  background-color: #EEF2F7;
  background-image:
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(79, 70, 229, 0.07) 0px, transparent 48%),
    radial-gradient(#CBD5E1 0.85px, transparent 0.85px);
  background-size: 100% 100%, 100% 100%, 20px 20px;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.thin-scroll::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}
.thin-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.thin-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.thin-scroll::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* FinTech Glass & Elevated Cards */
.kf-glass {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kf-card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease;
}

.kf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.11), 0 0 0 1px rgba(16, 185, 129, 0.18);
}

.kf-btn-sheen {
  position: relative;
  overflow: hidden;
}
.kf-btn-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.kf-btn-sheen:hover::after {
  left: 140%;
}

.kf-mesh-hero {
  background:
    radial-gradient(650px circle at 85% 15%, rgba(16, 185, 129, 0.26), transparent 55%),
    radial-gradient(500px circle at 10% 90%, rgba(99, 102, 241, 0.22), transparent 55%),
    linear-gradient(135deg, #090F1E 0%, #0F172A 48%, #062F24 100%);
}

@keyframes slideUpModal {
  from {
    transform: translateY(18px) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.animate-sheet {
  animation: slideUpModal 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.988);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-view {
  animation: fadeInScale 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes kfFloatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
.kf-float {
  animation: kfFloatSlow 5.5s ease-in-out infinite;
}

@keyframes kfToastIn {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.kf-toast-in {
  animation: kfToastIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animated Active Menus & Light Beam Effects */
.kf-nav-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.18s ease,
              color 0.18s ease,
              box-shadow 0.22s ease;
}

.kf-nav-item:hover:not(.kf-nav-active) {
  transform: translateX(3px);
  background-color: rgba(241, 245, 249, 0.9);
}

.kf-nav-item svg {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.kf-nav-item:hover svg {
  transform: scale(1.1);
}

.kf-nav-active {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 65%, #064E3B 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.48), 0 0 0 1px rgba(16, 185, 129, 0.32);
}

.kf-nav-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #34D399, #38BDF8);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
}

.kf-nav-active::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40%;
  width: 75%;
  height: 100%;
  background: radial-gradient(circle at right center, rgba(16, 185, 129, 0.22), transparent 70%);
  pointer-events: none;
}

.kf-aurora-border {
  position: relative;
}
.kf-aurora-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.45), rgba(99, 102, 241, 0.35), rgba(56, 189, 248, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.kf-light-sweep {
  position: relative;
  overflow: hidden;
}
.kf-light-sweep::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.14), transparent 42%);
  pointer-events: none;
}

.kf-spotlight-backdrop {
  background: rgba(9, 15, 30, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .kf-card:hover,
  .kf-float,
  .animate-sheet,
  .animate-view,
  .kf-toast-in,
  .kf-nav-item,
  .kf-nav-item svg,
  .kf-btn-sheen::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media print {
  body {
    background: #ffffff !important;
  }
  .no-print,
  header,
  aside,
  nav,
  #toastContainer,
  #globalModalRoot {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
}
