/* Mobile Navigation Styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 400px;
  background: white;
  z-index: 10000;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-nav-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  color: #6b7280;
}

.mobile-nav-content {
  padding: 16px;
  padding-bottom: 32px;
  min-height: calc(100vh - 72px);
}

.mobile-nav-section {
  margin-bottom: 8px;
}

.mobile-nav-section-button {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  color: #111827;
  transition: background-color 0.2s;
}

.mobile-nav-section-button:active {
  background: #e5e7eb;
}

.accordion-icon {
  transition: transform 0.2s;
}

.accordion-icon.open {
  transform: rotate(180deg);
}

.mobile-nav-links {
  padding-left: 16px;
  margin-top: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.mobile-nav-link:active {
  background: #e5e7eb;
  color: #111827;
}

.mobile-nav-direct-link {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.2s;
}

.mobile-nav-direct-link:active {
  background: #e5e7eb;
}

.mobile-nav-subsections {
  padding-left: 16px;
  margin-top: 8px;
}

.mobile-nav-subsection {
  margin-bottom: 16px;
}

.mobile-nav-subsection-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.mobile-nav-cta {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 24px;
  padding-bottom: 8px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-cta-button {
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-nav-cta-button-secondary {
  background-color: #e6e2e3;
  border-color: #e6e2e3;
  color: #111827;
}

.mobile-nav-cta-button-secondary:hover {
  background-color: #d6d2d3;
}

.mobile-nav-cta-button-primary {
  background-color: #5b5fef;
  border-color: #5b5fef;
  color: white;
}

.mobile-nav-cta-button-primary:hover {
  background-color: #4a4ed9;
}

