/* Custom Styles */
:root {
  --global-blue: #1E3A8A;
  --industrial-orange: #E05A2A;
  --supply-gray: #4B5563;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Taste-Skill: Container Scan Line Effect */
.scan-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border: 1px solid #e5e7eb; /* Default gray */
}

/* Horizontal line scanning vertically */
.scan-card::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--global-blue);
  box-shadow: 0 0 12px 2px rgba(30, 58, 138, 0.6);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.scan-card:hover {
  border-color: var(--global-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.scan-card:hover::after {
  opacity: 1;
  animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
  0% { top: 0; opacity: 1; }
  50% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-box {
  position: relative;
  overflow: hidden;
}

.reveal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--global-blue);
  z-index: 20;
  transition: transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-box.active::before {
  transform: translateX(200%);
}

.reveal-box > * {
  opacity: 0;
  transition: opacity 0.1s 0.3s;
}

.reveal-box.active > * {
  opacity: 1;
}

/* Forms & Inputs */
input, select, textarea {
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--global-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Progress bar filling */
.progress-fill {
  transition: width 1s ease-out;
}

/* Status dots */
.status-dot {
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.3;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Hide scrollbar for modals */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
