/* ═══════════════════════════════════════════════════════════════════
   MyOstad — Public.css v5.0
   CSS برای صفحه عمومی (مهمان) + Auth Modal شیک چند مرحله‌ای
   ═══════════════════════════════════════════════════════════════════ */

/* ── Public Shell ─────────────────────────────────────────────── */
.mo-public-shell {
  min-height: 100dvh;
  background: var(--navy-950, #050c1a);
  color: rgba(255,255,255,0.87);
  font-family: var(--font-fa, 'Vazirmatn', system-ui, sans-serif);
  direction: rtl;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════════
   PUBLIC HEADER
   ════════════════════════════════════════════════════════════════ */
.mo-pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,12,26,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: env(safe-area-inset-top) 0 0;
}

.mo-pub-header__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mo-pub-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mo-pub-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37,99,235,0.35);
}

.mo-pub-logo-name {
  font-size: 1.125rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.mo-pub-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════════ */
.mo-pub-hero {
  position: relative;
  padding: 52px 24px 48px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.mo-pub-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mo-pub-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.mo-pub-hero__orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  top: -200px; right: -160px;
  animation: hero-float 10s ease-in-out infinite;
}

.mo-pub-hero__orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,160,23,0.14) 0%, transparent 70%);
  bottom: -120px; left: -100px;
  animation: hero-float 13s ease-in-out infinite reverse;
}

.mo-pub-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

@keyframes hero-float {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px,-20px); }
}

.mo-pub-hero__content { position: relative; z-index: 1; }

.mo-pub-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.28);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
  font-weight: 600;
}

.mo-pub-hero__badge-dot {
  width: 7px; height: 7px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59,130,246,0.8);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.6; transform:scale(0.85); }
}

.mo-pub-hero__title {
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: white;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.mo-pub-hero__title-em {
  background: linear-gradient(135deg, #60a5fa 0%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.mo-pub-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  margin: 0 0 32px;
  line-height: 1.7;
}

.mo-pub-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.mo-pub-hero__cta .mo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mo-pub-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.mo-pub-stat {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
}

.mo-pub-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
}

.mo-pub-stat span {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.42);
  margin-top: 2px;
  display: block;
}

.mo-pub-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   PUBLIC FEED (SSR) — این بخش را گوگل ایندکس می‌کند
   ════════════════════════════════════════════════════════════════ */
.mo-pub-feed {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 120px;
}

.mo-pub-section-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mo-pub-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.mo-pub-section-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
}

.mo-pub-posts {
  display: flex;
  flex-direction: column;
}

/* ── پست عمومی (SSR) ── */
.mo-pub-post {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
  position: relative;
}

.mo-pub-post:hover { background: rgba(255,255,255,0.02); }

.mo-pub-post__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mo-pub-post__meta { flex: 1; }

.mo-pub-post__author {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  line-height: 1.3;
}

.mo-pub-post__time {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
}

.mo-pub-post__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: rgba(255,255,255,0.97);
  margin: 0 0 10px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.mo-pub-post__body { margin-bottom: 14px; }

.mo-pub-post__preview {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.72;
  margin: 0;
}

.mo-pub-post__figure {
  margin: 0 -20px 14px;
  overflow: hidden;
}

.mo-pub-post__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.mo-pub-post__footer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mo-pub-post__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: none;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-family: inherit;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.18s;
  font-weight: 600;
}

.mo-pub-post__action:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

.mo-pub-post__action--read {
  margin-right: auto;
  color: rgba(59,130,246,0.85);
  border-color: rgba(59,130,246,0.2);
}

.mo-pub-post__action--read:hover {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.35);
  color: #60a5fa;
}

/* ── Load More ── */
.mo-pub-load-more {
  padding: 24px 20px;
  text-align: center;
}

.mo-pub-load-more__btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: auto;
  padding: 16px 32px;
  border-style: dashed;
}

.mo-pub-load-more__hint {
  font-size: 0.75rem;
  opacity: 0.55;
  font-weight: 400;
}

/* ── Empty State ── */
.mo-pub-empty {
  padding: 64px 20px;
  text-align: center;
}

.mo-pub-empty__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  animation: hero-float 4s ease-in-out infinite;
}

.mo-pub-empty h3 {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 20px;
  font-weight: 700;
}

/* ── Join CTA (sticky bottom) ── */
.mo-pub-join-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(to top, rgba(5,12,26,0.98) 0%, rgba(5,12,26,0.92) 80%, transparent 100%);
  padding: 24px 20px max(16px, env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}

.mo-pub-join-cta__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(8,20,42,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4), 0 4px 24px rgba(37,99,235,0.15);
}

.mo-pub-join-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mo-pub-join-cta__text strong {
  font-size: 0.875rem;
  color: white;
  font-weight: 700;
  line-height: 1.3;
}

.mo-pub-join-cta__text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
}

/* ════════════════════════════════════════════════════════════════
   AUTH MODAL — شیک، چند مرحله‌ای، Bottom Sheet
   ════════════════════════════════════════════════════════════════ */
.mo-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* [BUGFIX] به جای display:none روی [hidden]، از visibility/opacity استفاده می‌کنیم
   تا وقتی JS با removeAttribute('hidden') مودال را نمایش می‌دهد،
   هیچ قانون !important ای در CSS جلوی flex را نگیرد. */
.mo-auth-modal[hidden] {
  display: none !important;
}

/* [FIX] وقتی JS به صورت inline style.display=none ست می‌کنه،
   pointer-events رو هم غیرفعال کن تا backdrop کلیک‌ها رو بلاک نکنه */
.mo-auth-modal[style*="display: none"],
.mo-auth-modal[style*="display:none"] {
  pointer-events: none !important;
}

/* وقتی hidden برداشته می‌شود، modal با flex نمایش داده می‌شود */
/* [FIX] این rule را حذف کردیم تا با JS inline style (display:flex) تداخل نداشته باشد
   JS به صورت صریح display:flex را ست می‌کند */
/* .mo-auth-modal:not([hidden]) {
  display: flex !important;
} */

/* Backdrop با blur */
.mo-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modal-backdrop-in 0.3s ease;
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Sheet اصلی */
.mo-auth-modal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 92dvh;
  background: rgba(6,16,36,0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow:
    0 -8px 60px rgba(0,0,0,0.5),
    0 -1px 0 rgba(255,255,255,0.08) inset;
  animation: sheet-up 0.4s cubic-bezier(0.34,1.56,0.64,1);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

@keyframes sheet-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Handle */
.mo-auth-modal__handle {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Close */
.mo-auth-modal__close {
  position: absolute;
  top: 16px; left: 20px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.mo-auth-modal__close:hover {
  background: rgba(255,255,255,0.14);
  color: white;
}

/* ── Progress Steps ── */
.mo-auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px 0;
}

.mo-auth-step {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.mo-auth-step.active {
  width: 24px;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59,130,246,0.6);
}

.mo-auth-step.done {
  background: rgba(16,185,129,0.7);
}

/* ── Content Area ── */
.mo-auth-content {
  padding: 8px 24px 24px;
}

/* ── Auth Logo (درون modal) ── */
.mo-auth-logo-wrap {
  text-align: center;
  padding: 20px 0 8px;
}

.mo-auth-logo-icon {
  width: 68px; height: 68px;
  background: linear-gradient(145deg, #3b82f6, #1e3a8a);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,99,235,0.42), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: logo-pulse 3s ease infinite;
  margin-bottom: 14px;
}

@keyframes logo-pulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,99,235,0.42), inset 0 1px 0 rgba(255,255,255,0.15); }
  50% { box-shadow: 0 8px 48px rgba(37,99,235,0.65), inset 0 1px 0 rgba(255,255,255,0.15); }
}

.mo-auth-headline {
  font-size: 1.375rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  line-height: 1.3;
}

.mo-auth-subline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.48);
  margin: 0 0 24px;
  line-height: 1.55;
}

/* ── Mobile input ── */
.mo-auth-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.mo-auth-input-flag {
  position: absolute;
  top: 50%; right: 16px;
  transform: translateY(-50%);
  font-size: 1.25rem;
  pointer-events: none;
  user-select: none;
}

.mo-auth-input {
  width: 100%;
  height: 56px;
  padding: 0 52px 0 16px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  color: white;
  font-size: 1.1rem;
  font-family: var(--font-fa, inherit);
  letter-spacing: 0.06em;
  direction: ltr;
  text-align: right;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
}

.mo-auth-input::placeholder {
  color: rgba(255,255,255,0.25);
  letter-spacing: 0;
  text-align: right;
}

.mo-auth-input:focus {
  border-color: #3b82f6;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}

.mo-auth-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.14);
}

/* ── OTP Digits ── */
.mo-auth-otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  direction: ltr;
  margin-bottom: 20px;
}

.mo-auth-otp-digit {
  width: 46px; height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  font-family: var(--font-fa, inherit);
  transition: all 0.18s;
  outline: none;
  -webkit-appearance: none;
  caret-color: #3b82f6;
}

.mo-auth-otp-digit:focus {
  border-color: #3b82f6;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
  transform: scale(1.04);
}

.mo-auth-otp-digit.filled {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.08);
  color: #93c5fd;
}

/* ── Timer ── */
.mo-auth-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.mo-auth-timer-num {
  font-weight: 800;
  color: #d4a017;
  font-size: 1rem;
  min-width: 2.5ch;
  display: inline-block;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mo-auth-resend {
  background: none;
  border: none;
  color: #3b82f6;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── OTP sent info ── */
.mo-auth-sent-info {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.mo-auth-sent-info__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  animation: hero-float 3s ease-in-out infinite;
}

/* ── Role Cards ── */
.mo-auth-roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mo-auth-role {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
  text-align: right;
  position: relative;
  overflow: hidden;
}

.mo-auth-role:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.mo-auth-role.selected {
  border-color: #d4a017;
  background: rgba(212,160,23,0.07);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
}

.mo-auth-role__emoji {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.mo-auth-role.selected .mo-auth-role__emoji { transform: scale(1.1) rotate(-4deg); }

.mo-auth-role--student .mo-auth-role__emoji { background: rgba(37,99,235,0.14); }
.mo-auth-role--teacher .mo-auth-role__emoji { background: rgba(212,160,23,0.14); }
.mo-auth-role--general .mo-auth-role__emoji { background: rgba(16,185,129,0.14); }

.mo-auth-role__body { flex: 1; }

.mo-auth-role__name {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 3px;
}

.mo-auth-role__desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.4;
}

.mo-auth-role__check {
  width: 22px; height: 22px;
  background: #d4a017;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.4) rotate(-20deg);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}

.mo-auth-role.selected .mo-auth-role__check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ── Register Form ── */
.mo-auth-form-field {
  margin-bottom: 14px;
}

.mo-auth-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.58);
  margin-bottom: 7px;
}

/* ── Error Message ── */
.mo-auth-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #fca5a5;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fade-in 0.25s ease;
}

@keyframes fade-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

/* ── Terms ── */
.mo-auth-terms {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.mo-auth-terms a { color: #3b82f6; }

/* ── Social Proof strip ── */
.mo-auth-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 16px;
}

.mo-auth-proof__avatars {
  display: flex;
}

.mo-auth-proof__av {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(6,16,36,0.95);
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  margin-left: -8px;
  font-size: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 800;
}

.mo-auth-proof__av:first-child { margin-left: 0; }

.mo-auth-proof__text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.mo-auth-proof__text strong { color: white; }

/* ── اطلاع‌رسانی action به کاربر مهمان ── */
.mo-auth-action-hint {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(212,160,23,0.08));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mo-auth-action-hint__icon { font-size: 1.5rem; }

.mo-auth-action-hint__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.mo-auth-action-hint__text strong { color: white; display: block; margin-bottom: 2px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE: Desktop (بیشتر از 480px)
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 520px) {
  .mo-auth-modal {
    align-items: center;
    padding: 20px;
  }

  .mo-auth-modal__sheet {
    border-radius: 24px;
    max-height: 88dvh;
  }

  .mo-pub-hero { padding: 64px 32px 56px; }
  .mo-pub-feed { padding-bottom: 40px; }
  .mo-pub-join-cta { display: none; } /* desktop: join cta در hero کافیه */
}

/* ── Button Spinner ── */
.mo-btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Auth success variant ── */
.mo-auth-success {
  background: rgba(16,185,129,0.1) !important;
  border-color: rgba(16,185,129,0.25) !important;
  color: #6ee7b7 !important;
}

/* ── Light Mode اصلاحات Public Shell ── */
[data-theme="light"] .mo-public-shell {
  background: #f0f5ff;
  color: rgba(10,22,50,0.87);
}

[data-theme="light"] .mo-pub-header {
  background: rgba(240,245,255,0.9);
  border-bottom-color: rgba(15,32,68,0.1);
}

[data-theme="light"] .mo-pub-logo-name {
  background: linear-gradient(135deg, rgba(10,22,50,0.95) 0%, rgba(37,99,235,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .mo-pub-hero { background: transparent; }

[data-theme="light"] .mo-pub-hero__title { color: rgba(10,22,50,0.97); }
[data-theme="light"] .mo-pub-hero__desc { color: rgba(10,22,50,0.52); }

[data-theme="light"] .mo-pub-stat strong { color: rgba(10,22,50,0.95); }
[data-theme="light"] .mo-pub-stat span   { color: rgba(10,22,50,0.45); }

[data-theme="light"] .mo-pub-post {
  background: white;
  border-bottom-color: rgba(15,32,68,0.06);
}

[data-theme="light"] .mo-pub-post__author { color: rgba(10,22,50,0.95); }
[data-theme="light"] .mo-pub-post__time   { color: rgba(10,22,50,0.42); }
[data-theme="light"] .mo-pub-post__title  { color: rgba(10,22,50,0.95); }
[data-theme="light"] .mo-pub-post__preview{ color: rgba(10,22,50,0.65); }
[data-theme="light"] .mo-pub-post__action { color: rgba(10,22,50,0.5); }
[data-theme="light"] .mo-pub-post__action:hover { background: rgba(15,32,68,0.05); border-color: rgba(15,32,68,0.12); color: rgba(10,22,50,0.8); }

[data-theme="light"] .mo-pub-join-cta {
  background: linear-gradient(to top, rgba(240,245,255,0.98) 0%, rgba(240,245,255,0.92) 80%, transparent 100%);
}

[data-theme="light"] .mo-pub-join-cta__inner {
  background: rgba(255,255,255,0.95);
  border-color: rgba(15,32,68,0.12);
  box-shadow: 0 -4px 24px rgba(15,32,68,0.1);
}

[data-theme="light"] .mo-pub-join-cta__text strong { color: rgba(10,22,50,0.92); }
[data-theme="light"] .mo-pub-join-cta__text span   { color: rgba(10,22,50,0.52); }

[data-theme="light"] .mo-pub-section-title { color: rgba(10,22,50,0.95); }
[data-theme="light"] .mo-pub-section-desc  { color: rgba(10,22,50,0.45); }

/* ══════════════════════════════════════════════════════════════
   [BUGFIX] صفحه مهمان — اصلاح لی‌اوت و المان‌های نامنظم
   ══════════════════════════════════════════════════════════════ */

/* اطمینان از اینکه پوسته عمومی به درستی نمایش داده می‌شه */
#mo-public-shell {
  display: block !important;
  min-height: 100dvh;
  font-family: var(--font-fa, 'Vazirmatn', system-ui, sans-serif);
  direction: rtl;
}

/* هدر عمومی: flex معتبر */
.mo-pub-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* دکمه‌های هدر */
.mo-pub-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0;
}

/* Hero: تنظیم صحیح */
.mo-pub-hero {
  display: block;
}
.mo-pub-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* CTA: عمودی در موبایل، افقی در دسکتاپ */
.mo-pub-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}
@media (min-width: 480px) {
  .mo-pub-hero__cta { flex-direction: row; justify-content: center; }
}

/* Stats: محدود کردن عرض */
.mo-pub-hero__stats {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-radius: 16px;
  max-width: 360px;
  margin: 0 auto;
}

/* Feature cards در صفحه مهمان */
.mo-pub-features { max-width: 900px; margin: 0 auto; }
.mo-pub-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* Feed بخش پست‌ها */
.mo-pub-feed { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.mo-pub-posts { display: flex; flex-direction: column; }

/* اصلاح آواتار در حالت مهمان */
.mo-pub-post__header { display: flex !important; align-items: center; gap: 12px; }
.mo-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mo-avatar--md { width: 40px; height: 40px; }

/* Footer عمومی */
.mo-pub-footer { 
  text-align: center; padding: 32px 24px; 
  color: rgba(255,255,255,0.35); font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
}
[data-theme="light"] .mo-pub-footer { color: rgba(10,22,50,0.45); border-top-color: rgba(10,22,50,0.08); }

/* ════════════════════════════════════════════════════════════════
   [v3] HERO — بهبودها
   ════════════════════════════════════════════════════════════════ */

/* یک CTA */
.mo-pub-hero__cta--single {
  justify-content: center;
  margin-bottom: 28px;
}
.mo-pub-hero__cta--single .mo-btn {
  min-width: 240px;
  font-size: 1.0625rem;
  padding: 16px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(37,99,235,0.35);
  font-weight: 800;
}

/* ویژگی‌های کلیدی */
.mo-pub-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
  text-align: right;
}
@media (min-width: 480px) {
  .mo-pub-features { grid-template-columns: 1fr 1fr 1fr; }
}

.mo-pub-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  text-align: right;
}

.mo-pub-feature__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.mo-pub-feature__text strong {
  display: block;
  font-size: .875rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  margin-bottom: 3px;
}
.mo-pub-feature__text span {
  font-size: .775rem;
  color: rgba(255,255,255,.42);
  line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS — ۷ بخش کامل طبق پرامپت طراحی
   ════════════════════════════════════════════════════════════════ */

/* ── فونت Vazirmatn با اولویت بالا روی کل پوسته عمومی ── */
#mo-public-shell,
#mo-public-shell * {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
}

/* ═══════════════════════════════════════════
   ۱. Hero — تمام صفحه
   ═══════════════════════════════════════════ */
.mo-pub-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 64px;
  text-align: center;
}

.mo-pub-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.18) 0%, transparent 70%),
              linear-gradient(180deg, #050c1a 0%, #0c1a3a 50%, #050c1a 100%);
}
.mo-pub-hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
  pointer-events: none;
}
.mo-pub-hero__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -120px; left: 50%; transform: translateX(-50%);
  animation: heroOrb1 12s ease-in-out infinite alternate;
}
.mo-pub-hero__orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #d4a017 0%, transparent 70%);
  bottom: -60px; right: -60px;
  animation: heroOrb2 15s ease-in-out infinite alternate;
}
.mo-pub-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
@keyframes heroOrb1 { from { transform: translateX(-55%) scale(1); } to { transform: translateX(-45%) scale(1.15); } }
@keyframes heroOrb2 { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.2) rotate(20deg); } }

.mo-pub-hero__content {
  position: relative; z-index: 1;
  max-width: 680px;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}

.mo-pub-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 100px;
  font-size: .8125rem; font-weight: 700;
  color: #7eb7f8;
  letter-spacing: .02em;
}
.mo-pub-hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3b82f6;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}

.mo-pub-hero__title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0;
}
.mo-pub-hero__title-em {
  display: inline-block;
  background: linear-gradient(135deg, #d4a017 0%, #f5c842 50%, #d4a017 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* کینتیک تایپوگرافی آرام روی عنوان */
.mo-pub-hero__title-em {
  animation: titleShimmer 4s ease-in-out infinite alternate;
}
@keyframes titleShimmer {
  from { filter: brightness(1); }
  to   { filter: brightness(1.15); }
}

.mo-pub-hero__desc {
  font-size: clamp(.9375rem, 2.5vw, 1.125rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

.mo-pub-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── آمار hero ── */
.mo-pub-hero__stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden; flex-wrap: wrap;
}
.mo-pub-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 24px; gap: 2px;
}
.mo-pub-stat strong { font-size: 1.375rem; font-weight: 900; color: #fff; }
.mo-pub-stat span   { font-size: .75rem; color: rgba(255,255,255,.45); }
.mo-pub-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════
   ۲. Trust Bar — نوار اعتبارسازی
   ═══════════════════════════════════════════ */
.mo-pub-trust-bar {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
  text-align: center;
}
.mo-pub-trust-bar__label {
  font-size: .8125rem;
  color: rgba(255,255,255,.38);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mo-pub-trust-bar__logos {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.mo-pub-trust-bar__item {
  display: flex; align-items: center; gap: 8px;
  opacity: .45; transition: opacity .25s;
}
.mo-pub-trust-bar__item:hover { opacity: .75; }
.mo-pub-trust-bar__item-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.mo-pub-trust-bar__item-name {
  font-size: .8125rem; font-weight: 700;
  color: rgba(255,255,255,.7);
}

/* ═══════════════════════════════════════════
   ۳. چرا مای‌استاد؟ — ۴ کارت glassmorphism
   ═══════════════════════════════════════════ */
.mo-pub-why {
  padding: 64px 24px;
}
.mo-pub-section-header {
  text-align: center; margin-bottom: 36px;
}
.mo-pub-section-title {
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.025em; margin: 0 0 8px;
}
.mo-pub-section-desc {
  font-size: .9375rem; color: rgba(255,255,255,.45);
  margin: 0; line-height: 1.7;
}
.mo-pub-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.mo-pub-why-card {
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px 24px;
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative; overflow: hidden;
}
.mo-pub-why-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.mo-pub-why-card:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(59,130,246,.2);
  background: rgba(255,255,255,.07);
}
.mo-pub-why-card:hover::before { opacity: 1; }
.mo-pub-why-card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(30,58,138,.3));
  border: 1px solid rgba(59,130,246,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.mo-pub-why-card__title {
  font-size: 1.0625rem; font-weight: 800; color: #fff;
  margin: 0 0 8px;
}
.mo-pub-why-card__desc {
  font-size: .875rem; color: rgba(255,255,255,.5);
  line-height: 1.65; margin: 0;
}

/* ═══════════════════════════════════════════
   ۴. فعالیت زنده / Social Proof — تب دوگانه
   ═══════════════════════════════════════════ */
.mo-pub-live {
  padding: 48px 24px;
  background: rgba(0,0,0,.2);
}
.mo-pub-live-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.mo-pub-live-tab {
  padding: 10px 20px;
  font-size: .9375rem; font-weight: 700;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  background: none; border-top: none; border-left: none; border-right: none;
  margin-bottom: -1px;
}
.mo-pub-live-tab.active {
  color: #fff;
  border-bottom-color: #3b82f6;
}
.mo-pub-live-panel { display: none; }
.mo-pub-live-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.mo-pub-class-card, .mo-pub-post-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mo-pub-class-card__title, .mo-pub-post-card__title {
  font-size: .9375rem; font-weight: 800; color: #fff;
  line-height: 1.4; margin: 0;
}
.mo-pub-class-card__meta {
  font-size: .8rem; color: rgba(255,255,255,.4);
  display: flex; align-items: center; gap: 8px;
}
.mo-pub-class-card__enroll-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2);
  border-radius: 8px; padding: 3px 8px;
  font-size: .75rem; font-weight: 700; color: #7eb7f8;
}
.mo-pub-post-card__body { font-size: .8375rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.mo-pub-post-card__footer {
  display: flex; align-items: center; gap: 12px;
  font-size: .775rem; color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════
   ۵. چگونه شروع کنیم؟ — ۳ مرحله
   ═══════════════════════════════════════════ */
.mo-pub-how {
  padding: 64px 24px;
}
.mo-pub-how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
  position: relative;
}
/* خط اتصال بین مراحل در دسکتاپ */
.mo-pub-how-steps::before {
  content: '';
  position: absolute;
  top: 36px; right: 160px; left: 160px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #d4a017);
  opacity: .25;
  pointer-events: none;
}
.mo-pub-how-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 20px;
  position: relative;
}
.mo-pub-how-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border: 2px solid rgba(59,130,246,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 14px;
  box-shadow: 0 0 24px rgba(59,130,246,.25);
  position: relative; z-index: 1;
}
.mo-pub-how-step__title {
  font-size: 1rem; font-weight: 800; color: #fff;
  margin: 0 0 6px;
}
.mo-pub-how-step__desc {
  font-size: .8375rem; color: rgba(255,255,255,.45);
  line-height: 1.6; margin: 0;
}

/* ═══════════════════════════════════════════
   ۶. CTA نهایی
   ═══════════════════════════════════════════ */
.mo-pub-final-cta {
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(59,130,246,.1) 0%, transparent 70%);
}
.mo-pub-final-cta__title {
  font-size: clamp(1.375rem, 4vw, 2.125rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.025em; margin: 0 0 24px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}

/* ═══════════════════════════════════════════
   ۷. فوتر ۲۰۲۶
   ═══════════════════════════════════════════ */
.mo-pub-footer-full {
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 24px 24px;
}
.mo-pub-footer-full__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.mo-pub-footer-brand__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.mo-pub-footer-brand__logo svg { width: 36px; height: 28px; }
.mo-pub-footer-brand__name { font-size: 1.125rem; font-weight: 900; }
.mo-pub-footer-brand__name span:first-child { color: #1A365D; }
.mo-pub-footer-brand__name span:last-child  { color: #FF6B4A; }
.mo-pub-footer-brand__tagline {
  font-size: .8rem; color: rgba(255,255,255,.38); line-height: 1.6;
}
.mo-pub-footer-col__title {
  font-size: .8125rem; font-weight: 800; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px;
}
.mo-pub-footer-col__links {
  display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0;
}
.mo-pub-footer-col__links a {
  font-size: .875rem; color: rgba(255,255,255,.45);
  text-decoration: none; transition: color .2s;
}
.mo-pub-footer-col__links a:hover { color: rgba(255,255,255,.85); }
.mo-pub-footer-social {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.mo-pub-footer-social__btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .875rem;
  transition: background .2s, color .2s; cursor: pointer;
  text-decoration: none;
}
.mo-pub-footer-social__btn:hover {
  background: rgba(59,130,246,.15);
  color: #7eb7f8;
  border-color: rgba(59,130,246,.3);
}
.mo-pub-footer-full__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: rgba(255,255,255,.28);
}
.mo-pub-footer-full__bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.mo-pub-footer-full__bottom a:hover { color: rgba(255,255,255,.6); }

/* ── دکمه‌ها ── */
.mo-btn--gold {
  background: linear-gradient(135deg, #b8860b, #d4a017 50%, #f5c842);
  color: #1a0e00; font-weight: 900;
  border: none;
  box-shadow: 0 4px 24px rgba(212,160,23,.3);
  transition: transform .2s, box-shadow .2s;
}
.mo-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,160,23,.45); }
.mo-btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: 14px; }

/* ── Light Mode ── */
[data-theme="light"] .mo-pub-hero { background: linear-gradient(180deg, #eef2fb 0%, #dde8ff 100%); }
[data-theme="light"] .mo-pub-hero__bg {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.12) 0%, transparent 70%),
              linear-gradient(180deg, #eef2fb, #dde8ff 50%, #eef2fb);
}
[data-theme="light"] .mo-pub-hero__title { color: #0f172a; }
[data-theme="light"] .mo-pub-hero__desc { color: rgba(15,23,42,.55); }
[data-theme="light"] .mo-pub-trust-bar { border-color: rgba(0,0,0,.08); }
[data-theme="light"] .mo-pub-trust-bar__label { color: rgba(0,0,0,.38); }
[data-theme="light"] .mo-pub-trust-bar__item-name { color: rgba(0,0,0,.55); }
[data-theme="light"] .mo-pub-section-title { color: #0f172a; }
[data-theme="light"] .mo-pub-section-desc { color: rgba(15,23,42,.45); }
[data-theme="light"] .mo-pub-why-card {
  background: rgba(255,255,255,.75);
  border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .mo-pub-why-card:hover { background: rgba(255,255,255,.95); }
[data-theme="light"] .mo-pub-why-card__title { color: #0f172a; }
[data-theme="light"] .mo-pub-why-card__desc { color: rgba(15,23,42,.5); }
[data-theme="light"] .mo-pub-live { background: rgba(0,0,0,.04); }
[data-theme="light"] .mo-pub-live-tab { color: rgba(0,0,0,.35); }
[data-theme="light"] .mo-pub-live-tab.active { color: #1e3a8a; border-bottom-color: #3b82f6; }
[data-theme="light"] .mo-pub-how-step__title { color: #0f172a; }
[data-theme="light"] .mo-pub-how-step__desc { color: rgba(15,23,42,.45); }
[data-theme="light"] .mo-pub-final-cta__title { color: #0f172a; }
[data-theme="light"] .mo-pub-footer-full {
  background: rgba(255,255,255,.9);
  border-top-color: rgba(0,0,0,.08);
}
[data-theme="light"] .mo-pub-footer-brand__name span:first-child { color: #1A365D; }
[data-theme="light"] .mo-pub-footer-brand__tagline { color: rgba(0,0,0,.38); }
[data-theme="light"] .mo-pub-footer-col__title { color: rgba(0,0,0,.4); }
[data-theme="light"] .mo-pub-footer-col__links a { color: rgba(0,0,0,.45); }
[data-theme="light"] .mo-pub-footer-col__links a:hover { color: rgba(0,0,0,.8); }
[data-theme="light"] .mo-pub-footer-social__btn {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.1);
  color: rgba(0,0,0,.4);
}
[data-theme="light"] .mo-pub-footer-full__bottom {
  border-top-color: rgba(0,0,0,.08);
  color: rgba(0,0,0,.3);
}
