/* Header */
#header {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

#header.scrolled {
  background: rgba(26, 43, 74, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

/* Hero pattern */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out both;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Mobile menu burger animation */
#mobile-menu-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#mobile-menu-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Prose content for legal pages */
.prose-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1A2B4A;
  margin-bottom: 0.75rem;
}

.prose-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A2B4A;
  margin-bottom: 0.5rem;
}

.prose-content p {
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.prose-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-content li {
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 0.375rem;
}

.prose-content a {
  color: #1A97CD;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose-content a:hover {
  color: #147FAE;
}

.prose-content strong {
  color: #1A2B4A;
}
