/* Pretendard Variable Font */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('/static/fonts/PretendardVariable.woff2') format('woff2-variations');
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Marquee animation */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* Count-up animation placeholder */
.count-up {
  transition: all 0.3s ease;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tab sliding indicator */
.tab-indicator {
  position: absolute;
  border: 1px solid #4cff78;
  border-radius: 0.375rem;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

/* Tab active state */
.tab-btn.active {
  color: #4cff78;
  border-color: transparent;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #4cff78;
  box-shadow: 0 0 0 2px rgba(76, 255, 120, 0.15);
}

/* Modal animation */
.modal-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-panel {
  transform: translateX(0);
}

/* Navbar scroll effect */
.nav-scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(10, 15, 26, 0.85) !important;
}
