/* Shared editorial tables, including classless CMS markup. */
.article-content { min-width: 0; }
.article-content .article-table-scroll {
  max-width: 100%; margin: 2rem 0; overflow-x: auto;
  border: 1px solid #244338; border-radius: 16px;
  background: #101714; box-shadow: 0 12px 32px rgb(0 0 0 / 16%);
  scrollbar-width: thin; scrollbar-color: #328365 #101714;
}
.article-content .article-table-scroll:focus-visible { outline: 2px solid #02e996; outline-offset: 4px; }
.article-content table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 2rem 0; border: 1px solid #244338; border-radius: 16px;
  background: #101714; color: #dae5df; font-size: 14px; line-height: 1.9;
  text-align: start; overflow: hidden;
}
.article-content .article-table-scroll > table { margin: 0; border: 0; border-radius: 0; }
.article-content table caption {
  caption-side: top; text-align: start; padding: 18px 22px;
  color: #f4faf7; background: #15241d; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid #244338;
}
.article-content table th, .article-content table td {
  padding: 16px 20px; text-align: start; vertical-align: top;
  border-bottom: 1px solid #26352d; border-inline-end: 1px solid #223028;
  overflow-wrap: anywhere;
}
.article-content table thead th { background: #183a2c; color: #8af2c7; font-weight: 700; }
.article-content table tbody th { color: #f2f8f5; font-weight: 600; background: rgb(2 233 150 / 3%); }
.article-content table tbody tr:nth-child(even) { background: #151f19; }
.article-content table th:last-child, .article-content table td:last-child { border-inline-end: 0; }
.article-content table tbody tr:last-child > * { border-bottom: 0; }
.article-content table a { color: #6ef2bc; text-decoration: underline; text-underline-offset: 3px; }
.article-content table p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; text-align: start; }
.article-content table ul, .article-content table ol { margin-bottom: 0; color: inherit; }
@media (hover: hover) {
  .article-content table tbody tr:hover { background: #1b3025; }
}
@media (max-width: 640px) {
  .article-content .article-table-scroll { margin: 1.5rem 0; border-radius: 12px; }
  .article-content table { font-size: 13px; }
  .article-content .article-table-scroll > table { min-width: 540px; }
  .article-content table caption { padding: 15px 16px; font-size: 15px; }
  .article-content table th, .article-content table td { padding: 13px 16px; }
  .article-content > table { display: block; overflow-x: auto; max-width: 100%; }
}
@media print {
  .article-content .article-table-scroll { overflow: visible; box-shadow: none; }
  .article-content .article-table-scroll > table { min-width: 0; }
}

* {
  font-family: "Vazirmatn", sans-serif;
  box-sizing: border-box;
}
body {
  background: #070707;
  color: #fff;
  margin: 0;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #070707;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #02e996;
}
.btn-glow {
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 28px rgba(2, 233, 150, 0.35);
  transform: translateY(-1px);
}
.cat-scroll::-webkit-scrollbar {
  display: none;
}
.cat-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-body.open {
  max-height: 300px;
}

.aurora {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 95%;
  background: radial-gradient(
    ellipse at center,
    rgba(2, 233, 150, 0.28) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}
.aurora-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(2, 233, 150, 0.5),
    transparent
  );
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.mobile-overlay.open {
  pointer-events: all;
  visibility: visible;
}
.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-overlay.open .mobile-backdrop {
  opacity: 1;
}
.mobile-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 85%;
  max-width: 380px;
  background: linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-overlay.open .mobile-panel {
  transform: translateX(0);
}
.mobile-panel::-webkit-scrollbar {
  width: 3px;
}
.mobile-panel::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 3px;
}
.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  color: #a4a4a4;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
.mob-nav-item:hover,
.mob-nav-item.active {
  color: #02e996;
  background: rgba(2, 233, 150, 0.07);
}
.mob-nav-item.active::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: #02e996;
  border-radius: 0 4px 4px 0;
}
.mob-nav-item iconify-icon {
  font-size: 20px;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.mob-nav-item:hover iconify-icon,
.mob-nav-item.active iconify-icon {
  opacity: 1;
}
.mob-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a4a4a4;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}
.mob-cat-chip:hover,
.mob-cat-chip.active {
  color: #02e996;
  border-color: rgba(2, 233, 150, 0.3);
  background: rgba(2, 233, 150, 0.08);
}
.mob-cat-chip iconify-icon {
  font-size: 14px;
}
.mob-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4a4a4;
  transition: all 0.25s ease;
  cursor: pointer;
}
.mob-social-btn:hover {
  color: #02e996;
  border-color: rgba(2, 233, 150, 0.3);
  background: rgba(2, 233, 150, 0.08);
}
@keyframes mobStagger {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mobile-overlay.open .mob-stagger {
  animation: mobStagger 0.4s ease forwards;
  opacity: 0;
}
.mobile-overlay.open .mob-stagger:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-overlay.open .mob-stagger:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-overlay.open .mob-stagger:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-overlay.open .mob-stagger:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-overlay.open .mob-stagger:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-overlay.open .mob-stagger:nth-child(6) {
  animation-delay: 0.3s;
}

.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}
.toast-msg.success {
  background: #02e996;
  color: #000;
}
.toast-msg.error {
  background: #ef4444;
  color: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(2, 233, 150, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(2, 233, 150, 0.1);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.article-content p {
  color: #a4a4a4;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 2rem;
  text-align: justify;
}
.article-content img {
  width: 100%;
  border-radius: 24px;
  margin: 1.5rem 0;
  display: block;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}
.article-content h1 {
  font-size: 2rem;
}
.article-content h2 {
  font-size: 1.5rem;
}
.article-content h3 {
  font-size: 1.25rem;
}
.article-content a {
  color: #02e996;
}
.article-content ul,
.article-content ol {
  color: #a4a4a4;
  padding-right: 1.5rem;
  margin-bottom: 2rem;
}
.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}
.article-content blockquote {
  border-right: 3px solid #02e996;
  padding-right: 1.25rem;
  margin: 2rem 0;
  color: #a4a4a4;
  font-style: italic;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-img-sm {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.logo-img-footer {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.logo-img-mob {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.loader-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #02e996;
  display: inline-block;
  margin: 0 4px;
  animation: loaderBounce 0.6s ease-in-out infinite;
}
.loader-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.loader-dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes loaderBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

.error-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
