/* Azora Solutions - Scoped Stylesheet for Bootstrap 5.3 Service, Local & Resource Pages */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Roboto'), local('Segoe UI'), local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Tight Fallback';
  src: local('Roboto'), local('Segoe UI'), local('Arial');
  size-adjust: 101%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --az-dark: #0B1320;
  --az-ink: #121B2C;
  --az-blue: #1C273B;
  --az-card: #162238;
  --az-accent: #2469EB;
  --az-accent-soft: rgba(36, 105, 235, 0.14);
  --az-border: rgba(255, 255, 255, 0.1);
  --az-muted: rgba(255, 255, 255, 0.68);
}

html {
  scroll-behavior: smooth;
  background-color: var(--az-dark);
}

body.az-page {
  background-color: var(--az-dark);
  color: #ffffff;
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.az-heading,
h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter Tight Fallback', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

.az-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.az-bg-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Header */
.az-navbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 0.75rem 1rem 0;
}

.az-nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 23, 38, 0.86);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-radius: 1rem;
  padding: 0.7rem 1.25rem;
}

.az-brand-badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--az-blue);
}

.az-nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  transition: color 0.25s ease;
}

.az-nav-link:hover,
.az-nav-link.active {
  color: #ffffff;
}

.az-nav-link.active {
  color: #5b96ff;
}

.az-btn-primary {
  background-color: var(--az-accent);
  border-color: var(--az-accent);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 10px 30px -10px rgba(36, 105, 235, 0.55);
  transition: transform 0.25s ease, filter 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.az-btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.az-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.65rem 1.35rem;
  background: transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.az-btn-outline:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Badges & Cards */
.az-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(36, 105, 235, 0.35);
  background: rgba(36, 105, 235, 0.12);
  color: #7eb0ff;
  padding: 0.4rem 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.az-card {
  background: rgba(18, 27, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.15rem;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.az-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 105, 235, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.65);
}

.az-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 0.85rem;
  display: inline-grid;
  place-items: center;
  background: rgba(36, 105, 235, 0.15);
  border: 1px solid rgba(36, 105, 235, 0.3);
  color: #5b96ff;
}

.az-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.az-breadcrumb a:hover {
  color: #ffffff;
}

/* FAQ Accordion */
.az-faq-item {
  background: rgba(18, 27, 44, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem;
}

.az-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.az-faq-item summary::-webkit-details-marker {
  display: none;
}

.az-faq-item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: #5b96ff;
}

.az-faq-item[open] summary::after {
  content: '-';
}

.az-faq-item p {
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: var(--az-muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

/* Article prose */
.az-prose h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.az-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: #e2e8f0;
}

.az-prose p,
.az-prose li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.75;
}

.az-prose ul,
.az-prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.az-prose li {
  margin-bottom: 0.45rem;
}

.az-callout {
  background: rgba(36, 105, 235, 0.1);
  border: 1px solid rgba(36, 105, 235, 0.3);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

/* Footer */
.az-footer {
  background: #070D18;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.az-footer a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.az-footer a:hover {
  color: #ffffff;
}

.az-footer-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
