/* Semantic Engine Landing Custom Styles */

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

/* Glow Elements */
.glow-brand {
  box-shadow: 0 0 40px -10px rgba(16, 185, 129, 0.3);
}

.glow-accent {
  box-shadow: 0 0 40px -10px rgba(99, 102, 241, 0.3);
}

/* Terminal Animations */
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: #10b981;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Code Syntax Styling in Terminal */
.code-keyword { color: #818cf8; font-weight: 600; }
.code-func { color: #34d399; }
.code-string { color: #fde047; }
.code-comment { color: #6b7280; font-style: italic; }
.code-num { color: #fb923c; }

/* Pulse Animation for Live Dots */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-active {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Range Input Customization */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Smooth Tab Transitions */
.demo-tab.active {
  border-color: #10b981 !important;
  background-color: rgba(16, 185, 129, 0.15) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}
