/* Hero gradient */
.hero-gradient {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent);
}

/* Sticky header background */
#header.scrolled {
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

/* Keyboard key styling */
.kbd {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #e2e8f0;
  background-color: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(71, 85, 105, 0.5);
  border-radius: 0.375rem;
  box-shadow: 0 1px 0 rgba(71, 85, 105, 0.5);
}

/* FAQ chevron rotation */
.faq-toggle[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scrollbar */
html {
  scrollbar-color: #334155 transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #334155;
  border-radius: 4px;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: white;
}
