/* RefurbERP shared visual styles */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: #111827;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.font-display {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.brand-logo {
  background: #382bd4;
  border-radius: 12px;
  box-shadow: 0 0 0 10px rgba(56, 43, 212, .08), 0 10px 24px rgba(56, 43, 212, .16);
  mix-blend-mode: normal;
  padding: 5px;
}

.gradient-text {
  background: linear-gradient(90deg, #1260e8, #08bfe4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.soft-gradient {
  background:
    radial-gradient(circle at 15% 20%, rgba(18, 96, 232, .10), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(8, 191, 228, .10), transparent 30%),
    #f8fcff;
}

.hero-grid {
  background-image: linear-gradient(rgba(18, 96, 232, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 96, 232, .045) 1px, transparent 1px);
  background-size: 45px 45px;
}

.glass {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dashboard-glow {
  position: absolute;
  inset: 10% 5% auto 5%;
  height: 500px;
  background: radial-gradient(circle, rgba(18, 96, 232, .20), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.dashboard-card {
  box-shadow: 0 30px 80px rgba(15, 23, 42, .13), 0 8px 25px rgba(18, 96, 232, .10);
}

.floating-card {
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes demo-pop {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes demo-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.feature-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .07);
}

.number-pill {
  transition: all .25s ease;
}

.feature-card:hover .number-pill {
  background: #1260e8;
  color: white;
}

.factory-line {
  position: relative;
}

.factory-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e2e8f0;
  z-index: 0;
}

.flow-card {
  position: relative;
  z-index: 2;
}

.footer-social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.footer-social-link:hover {
  color: #1260e8;
  background: #e6f7ff;
  transform: translateY(-2px);
}

#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(53, 37, 205, 0.14);
  border-radius: 14px;
  background: linear-gradient(135deg, #3525cd, #1260e8);
  box-shadow: 0 12px 28px rgba(53, 37, 205, 0.24);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#backToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
  box-shadow: 0 16px 34px rgba(53, 37, 205, 0.32);
  transform: translateY(-2px);
}

#backToTop:focus-visible {
  outline: 3px solid rgba(18, 96, 232, 0.28);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #backToTop {
    right: 16px;
    bottom: 16px;
  }
}

img[src="images/ICT_Logo.png"] {
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
  mix-blend-mode: normal !important;
  padding: 4px;
}

.demo-calendar-days button:disabled,
.demo-calendar-days-shared button:disabled {
  color: #b8c1cf;
  cursor: not-allowed;
  background: transparent;
}

.demo-calendar-days button:disabled:hover,
.demo-calendar-days-shared button:disabled:hover {
  background: transparent;
  color: #b8c1cf;
}
/* Active header navigation */
header nav a.nav-active {
  color: #3525cd !important;
  font-weight: 700 !important;
}

/* Active mobile navigation */
#homeMobileMenu a.nav-active {
  background: #eef2ff !important;
  color: #3525cd !important;
  font-weight: 700 !important;
}