/* imm.creates — shared stylesheet, dark navy redesign */

:root {
  --font-headline: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: #0f131f;
  color: #dfe2f3;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
}

/* Custom 3D tactile buttons */
.btn-3d {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  top: 0;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  cursor: pointer;
}

.btn-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  margin-bottom: 2px;
}

.btn-primary-3d {
  background-color: #ec6a06;
  color: #ffffff;
  border-bottom-color: #a54602;
  box-shadow: 0 4px 20px rgba(236, 106, 6, 0.25);
}

.btn-primary-3d:hover {
  box-shadow: 0 8px 25px rgba(236, 106, 6, 0.4);
}

.btn-secondary-3d {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 3px solid rgba(255, 255, 255, 0.25);
  color: #F8FAFC;
}

.btn-secondary-3d:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(173, 198, 255, 0.4);
  border-bottom-color: rgba(173, 198, 255, 0.6);
}

.btn-blue-3d {
  background: linear-gradient(135deg, #4d8eff 0%, #3b74db 100%);
  color: #ffffff;
  border-bottom-color: #004395;
  box-shadow: 0 4px 20px rgba(77, 142, 255, 0.25);
}

.btn-blue-3d:hover {
  box-shadow: 0 8px 25px rgba(77, 142, 255, 0.4);
}

/* Glassmorphism styles */
.glass-card {
  background: rgba(27, 31, 44, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(173, 198, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(77, 142, 255, 0.15);
}

.glass-panel {
  background: rgba(15, 19, 31, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-dropdown {
  background: rgba(23, 27, 40, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Shimmer & glow */
.text-glow {
  text-shadow: 0 0 20px rgba(173, 198, 255, 0.5);
}

.text-gradient-purple-blue {
  background: linear-gradient(135deg, #adc6ff 0%, #d0bcff 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-sunset {
  background: linear-gradient(135deg, #ffb690 0%, #ec6a06 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0e1a;
}

::-webkit-scrollbar-thumb {
  background: #262a37;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4d8eff;
}

/* Wave background canvas host */
.wave-bg-host {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  z-index: 0;
}

.wave-bg-host canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95;
}

.wave-bg-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.8), transparent, rgba(10, 14, 26, 0.4));
  pointer-events: none;
}

/* Ensure page content sits above the fixed wave background */
main, header, footer {
  position: relative;
  z-index: 10;
}

/* Navbar states */
#site-navbar-bar {
  background: rgba(23, 27, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#site-navbar-bar.is-scrolled {
  background: rgba(15, 19, 31, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.nav-link-active {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(77,142,255,0.25), rgba(87,27,193,0.25));
  border: 1px solid rgba(77,142,255,0.5) !important;
}

.nav-link-active.mobile-nav-link {
  background: rgba(77,142,255,0.2) !important;
  color: #adc6ff !important;
  border: 1px solid rgba(77,142,255,0.3) !important;
  font-weight: 700;
}
