/* Custom Design System Extensions */

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f7f9fb;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Navigation Bar */
.glass-nav {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
  background-color: rgba(247, 249, 251, 0.92) !important;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.03), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Engineering/Technical grid backgrounds */
.grid-lines {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
}

.grid-pattern {
  background-size: 24px 24px;
  background-image: 
    radial-gradient(circle, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
}

/* Large decorative watermark text */
.watermark-text {
  position: absolute;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: rgba(226, 232, 240, 0.2);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

/* Card Hover Micro-interactions */
.card-hover {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  border-color: rgba(0, 88, 190, 0.2) !important;
}

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

/* Step transitions for Questionnaire */
.form-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Custom interactive selections */
.interactive-card {
  border: 2px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.interactive-card:hover {
  border-color: rgba(0, 88, 190, 0.4);
}

.interactive-card.selected {
  border-color: #0058be;
  background-color: rgba(0, 88, 190, 0.02);
}
