/* architecture: landing — hero (mobile-first) */
/* ================================================
   4. HERO
   ------------------------------------------------
   پایه = موبایل: متن بالا، کارت دمو پایین.
   از ۱۰۲۴px دو ستونی می‌شود.
   ================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 10px);
  padding-bottom: 22px;
  overflow: visible;
  background: var(--bg-main);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  order: 1;
  width: 100%;
  text-align: center;
}

.hero-content .section-badge {
  margin-inline: auto;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22em;
  margin-bottom: 8px;
  font-size: clamp(1.42rem, 6.2vw, 1.78rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-align: center;
}

.hero-title-brand {
  display: block;
  line-height: 1.08;
  font-weight: 800;
  font-size: 1.04em;
}

.hero-title-tagline {
  display: block;
  white-space: normal;
  line-height: 1.3;
  font-size: clamp(0.84rem, 3.5vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-desc {
  margin-inline: auto;
  margin-bottom: 12px;
  max-width: 21.5rem;
  padding-inline: 2px;
  font-size: clamp(0.8rem, 3.2vw, 0.88rem);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ——— اقدام اصلی ——— */
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

.hero-actions .btn,
.hero-actions .hero-cta-btn {
  min-width: 0;
  min-height: 48px;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-actions .mobile-cta-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
}

.hero-actions .btn-outline .mobile-cta-icon {
  color: var(--accent-gold);
}

.hero-actions .hero-cta-text {
  line-height: 1.35;
  text-align: center;
}

/* ——— دکمه‌های دانلود اپ ——— */
.hero-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 12px 8px 14px;
  border-radius: 14px;
  font-family: 'Vazirmatn', sans-serif;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e293b;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  direction: rtl;
  text-align: right;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.store-btn:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.4);
  outline-offset: 2px;
}

.store-btn:active {
  transform: scale(0.985);
}

.store-btn-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-inline: 0;
  padding-inline-end: 12px;
  border-radius: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  background: transparent;
}

.store-btn-icon::after {
  content: none;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  flex: 1;
  text-align: right;
}

.store-btn-label {
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.01em;
}

.store-btn-platform {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.store-btn-pwa {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.store-btn--android {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

.store-btn--android .store-btn-icon {
  background: transparent;
  color: #86efac;
}

.store-btn--android .store-btn-label {
  color: rgba(255, 255, 255, 0.7);
}

.store-btn--android:hover {
  background: #334155;
  border-color: rgba(134, 239, 172, 0.3);
  box-shadow: 0 12px 26px -12px rgba(15, 23, 42, 0.45);
  transform: translateY(-2px);
}

.store-btn--ios {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

.store-btn--ios .store-btn-icon {
  background: transparent;
  color: #ffffff;
}

.store-btn--ios .store-btn-label {
  color: rgba(255, 255, 255, 0.7);
}

.store-btn--ios .store-btn-platform {
  color: #ffffff;
}

.store-btn--ios .store-btn-pwa {
  color: rgba(255, 255, 255, 0.6);
}

.store-btn--ios:hover {
  background: #334155;
  border-color: rgba(147, 197, 253, 0.3);
  box-shadow: 0 12px 26px -12px rgba(15, 23, 42, 0.45);
  transform: translateY(-2px);
}

.store-btn--ios:focus-visible {
  outline-color: rgba(96, 165, 250, 0.45);
}

/* ——— قالب تخت آیفون ۱۷ نقره‌ای — بدون سه‌بعدی و انیمیشن ——— */
.hero-visual {
  order: 3;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  overflow: visible;
}

.hero-phone {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(100%, 20rem);
  overflow: visible;
}

.hero-visual .hero-phone {
  width: min(100%, 20rem);
}

/* سوییچر حساب — بیرون از فریم؛ عرض/ریسپانسیو گوشی را عوض نمی‌کند */
.phone-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(100%, 20.75rem);
  overflow: visible;
}

.phone-account-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: calc(100% - 10px);
  padding: 4px;
  border-radius: 14px;
  background: var(--glass-fill);
  border: 1px solid var(--border-color);
}

.phone-account-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 6px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-gray);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.phone-account-tab-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-account-tab i {
  font-size: 0.76rem;
  flex-shrink: 0;
}

.phone-account-tab:hover {
  color: var(--text-white);
  background: var(--glass-fill-hover);
  border-color: rgba(96, 165, 250, 0.28);
}

.phone-account-tab:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.4);
  outline-offset: 2px;
}

.phone-account-tab[aria-selected='true'] {
  color: #2563eb;
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.hero-phone-glow {
  position: absolute;
  inset: 8% -18% 12%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(200, 210, 225, 0.16) 0%, transparent 70%);
  filter: blur(24px);
  opacity: 0.8;
  pointer-events: none;
}

.iphone-stage {
  position: relative;
  z-index: 1;
  width: 156px;
  overflow: visible;
  margin-bottom: 0;
}

.hero-phone-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 6px 14px -6px rgba(37, 99, 235, 0.22);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hero-phone-nav i {
  font-size: 0.78rem;
  line-height: 1;
}

.hero-phone-nav--next {
  right: 100%;
  left: auto;
  margin-right: 18px;
}

.hero-phone-nav--prev {
  left: 100%;
  right: auto;
  margin-left: 18px;
}

.hero-phone-nav:hover {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.5);
  color: #1d4ed8;
}

.hero-phone-nav:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.4);
  outline-offset: 2px;
}

.hero-phone-nav:active {
  transform: scale(0.96);
}

.hero-phone-nav[hidden] {
  display: none;
}

.hero-phone-hint {
  position: absolute;
  top: 18%;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 16px -8px rgba(37, 99, 235, 0.2);
  color: #2563eb;
  font-family: 'Vazirmatn', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  direction: ltr;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.hero-phone-hint--left {
  right: calc(100% + 14px);
  left: auto;
}

.hero-phone-hint--right {
  left: calc(100% + 14px);
  right: auto;
}

.hero-phone-hint-copy {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.hero-phone-hint i {
  font-size: 0.72rem;
  line-height: 1;
  color: var(--accent-solid, #60a5fa);
}

.hero-phone-hint--left i {
  animation: heroHintNudgeLeft 1.7s ease-in-out infinite;
}

.hero-phone-hint--right i {
  animation: heroHintNudgeRight 1.7s ease-in-out infinite;
}

@keyframes heroHintNudgeLeft {
  0%,
  100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes heroHintNudgeRight {
  0%,
  100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

.hero-phone-hint:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.hero-phone-hint:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.4);
  outline-offset: 2px;
}

.iphone-3d {
  width: 100%;
  transform: none;
  animation: none;
}

/* آیفون ۱۷ — فریم نقره‌ای یکدست، صفحه تمام‌نما */
.hero-phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5px;
  border: 1.5px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      #2c3038 0%,
      #121418 18%,
      #0a0c10 50%,
      #16181e 82%,
      #2a2e36 100%
    ) padding-box,
    linear-gradient(
      160deg,
      #f4f6fa 0%,
      #c8ced8 22%,
      #8e96a3 48%,
      #d5dae2 74%,
      #aeb6c2 100%
    ) border-box;
  box-shadow:
    0 0 0 1px rgba(190, 198, 210, 0.28),
    0 14px 28px -12px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-phone-frame::before {
  content: '';
  position: absolute;
  inset: 3.5px;
  z-index: 0;
  border-radius: 22.5px;
  box-shadow: inset 0 0 0 0.6px rgba(210, 216, 226, 0.22);
  pointer-events: none;
}

.hero-phone-frame::after {
  display: none;
}

.iphone-btn {
  position: absolute;
  z-index: 3;
  background: linear-gradient(180deg, #eef1f6 0%, #b4bbc6 45%, #6d7480 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    1px 0 1px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.iphone-btn--action {
  left: -3px;
  top: 16%;
  width: 3px;
  height: 10%;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-up {
  left: -3px;
  top: 29%;
  width: 3px;
  height: 7.5%;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--vol-down {
  left: -3px;
  top: 38.5%;
  width: 3px;
  height: 7.5%;
  border-radius: 2px 0 0 2px;
}

.iphone-btn--power {
  right: -3px;
  top: 27%;
  width: 3px;
  height: 13%;
  border-radius: 0 2px 2px 0;
}

/* صفحه تمام‌نما — نسبت خودِ اسکرین‌شات، بدون برش و کشیدگی */
.hero-phone-screen-clip {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: 21px;
  background: #000;
  line-height: 0;
  box-shadow: inset 0 0 0 0.6px rgba(200, 208, 220, 0.2);
  cursor: zoom-in;
}

.hero-phone-screen {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  image-rendering: auto;
  image-rendering: high-quality;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hero-phone-chips {
  display: none;
}

.hero-phone-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 11px 6px 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.hero-phone-chip i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.68rem;
  color: #2563eb;
}

.hero-phone-chip--bottom {
  animation: none;
}

/* ================================================
   گوشی عریض‌تر
   ================================================ */
@media (min-width: 390px) and (max-width: 1023px) {
  .hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 12px);
    padding-bottom: 26px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(1.52rem, 5.4vw, 1.88rem);
  }

  .hero-visual .iphone-stage {
    width: 166px;
  }
}

@media (max-width: 1023px) {
  .hero-phone-hint {
    display: none;
  }
}

/* ================================================
   موبایل عریض‌تر — دو دکمه CTA کنار هم جا می‌شوند
   ================================================ */
@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-desc {
    max-width: 26rem;
  }
}

/* ================================================
   افقی موبایل — دو ستونی فشرده تا ارتفاع کم جا شود
   ================================================ */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 520px) {
  .hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 8px);
    padding-bottom: 16px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 16px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }

  .hero-title {
    align-items: flex-start;
    text-align: right;
    margin-bottom: 6px;
  }

  .hero-desc {
    margin-inline: 0;
    margin-bottom: 10px;
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    margin-top: 0;
  }

  .hero-visual .iphone-stage {
    width: 118px;
  }

  .hero-visual .phone-account-switch {
    padding: 3px;
    gap: 4px;
  }

  .hero-visual .phone-account-tab {
    min-height: 30px;
    padding: 4px 4px;
    font-size: 0.62rem;
    gap: 3px;
  }

  .hero-phone-chips {
    display: none;
  }
}

/* ================================================
   تبلت — هنوز کشوی موبایل، هیرو کمی بازتر
   ================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: 32px;
  }

  .hero-grid {
    gap: 18px;
    max-width: 36rem;
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(1.7rem, 3.4vw, 2rem);
    margin-bottom: 10px;
  }

  .hero-title-tagline {
    font-size: 1.02rem;
  }

  .hero-desc {
    max-width: 32rem;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .hero-visual .iphone-stage {
    width: 176px;
  }
}

/* ================================================
   دسکتاپ — دو ستونی
   ================================================ */
@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 18px);
    padding-bottom: clamp(40px, 5.5vw, 80px);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }

  .hero-content .section-badge {
    margin-inline: 0;
  }

  .hero-title {
    align-items: flex-start;
    gap: 0.18em;
    margin-bottom: 16px;
    font-size: clamp(2rem, 3vw, 2.85rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: right;
  }

  .hero-title-brand {
    font-size: 1em;
    line-height: 1.12;
  }

  .hero-title-tagline {
    white-space: nowrap;
    font-size: 0.7em;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .hero-desc {
    margin-inline: 0;
    margin-bottom: 20px;
    max-width: 34rem;
    padding-inline: 0;
    font-size: var(--fs-lead);
    line-height: 1.78;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .hero-cta-btn {
    min-height: 50px;
    font-size: 0.9rem;
    padding: 12px 18px;
    border-radius: 14px;
  }

  .hero-actions .mobile-cta-icon {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .hero-downloads {
    max-width: 480px;
    gap: 12px;
    margin-top: 12px;
  }

  .store-btn {
    min-height: 52px;
    justify-content: flex-start;
    padding: 9px 14px 9px 16px;
    gap: 14px;
    border-radius: 15px;
  }

  .store-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    font-size: 1.45rem;
    padding-inline-end: 14px;
  }

  .store-btn-label {
    font-size: 0.64rem;
  }

  .store-btn-platform {
    font-size: 0.86rem;
  }

  .store-btn-pwa {
    font-size: 0.64rem;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
  }

  .hero-visual .hero-phone {
    width: 240px;
    max-width: none;
    display: block;
    gap: 0;
  }

  .hero-visual .phone-preview {
    width: 240px;
  }

  .hero-visual .phone-account-switch {
    width: calc(100% - 8px);
    padding: 3px;
    gap: 3px;
  }

  .hero-visual .phone-account-tab {
    min-height: 34px;
    padding: 5px 4px;
    font-size: 0.66rem;
    gap: 4px;
  }

  .hero-visual .iphone-stage {
    width: 100%;
    margin-bottom: 0;
  }

  .hero-phone-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .hero-phone-nav--next {
    margin-right: 16px;
  }

  .hero-phone-nav--prev {
    margin-left: 16px;
  }

  .hero-phone-nav i {
    font-size: 0.86rem;
  }

  .hero-phone-frame {
    padding: 4px;
    border-width: 2px;
    border-radius: 34px;
  }

  .hero-phone-frame::before {
    inset: 4px;
    border-radius: 30px;
  }

  .hero-phone-screen-clip {
    border-radius: 29px;
  }

  .hero-phone-chips {
    display: contents;
  }

  .hero-phone-chip {
    position: absolute;
    z-index: 4;
    font-size: 0.72rem;
    padding: 8px 13px 8px 7px;
  }

  .hero-phone-chip i {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .hero-phone-chip--top {
    top: 16%;
    left: calc(100% + 14px);
    right: auto;
  }

  .hero-phone-chip--bottom {
    bottom: 20%;
    right: calc(100% + 14px);
    left: auto;
  }

  .hero-phone-hint {
    top: 30%;
    transform: none;
    padding: 7px 12px;
    gap: 6px;
  }

  .hero-phone-hint--left {
    right: calc(100% + 16px);
  }

  .hero-phone-hint--right {
    left: calc(100% + 16px);
  }

  .hero-phone-hint-copy {
    font-size: 0.8rem;
  }

  .hero-phone-hint i {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-3d,
  .hero-phone-chip,
  .hero-phone-chip--bottom,
  .hero-phone-hint i {
    animation: none;
    transform: none;
  }
}

/* نمایش کامل اسکرین‌شات اپ — دسکتاپ و موبایل بدون اسکرول */
.app-modal.app-modal--lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.92);
}

.app-modal.app-modal--lightbox .app-modal-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: calc(100vw - 24px);
  height: auto;
  max-height: calc(100dvh - 24px);
  margin: 0 auto;
  padding: 48px 10px 10px;
  overflow: hidden;
  background: #05070c;
  border-color: rgba(226, 232, 240, 0.12);
}

.phone-screen-full {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100dvh - 72px);
  overflow: hidden;
}

.phone-screen-full img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, calc(100vw - 48px));
  max-height: calc(100dvh - 72px);
  object-fit: contain;
  object-position: center;
  image-rendering: high-quality;
}

@media (max-width: 767px) {
  .app-modal.app-modal--lightbox {
    padding: 6px;
  }

  .app-modal.app-modal--lightbox .app-modal-dialog {
    max-width: calc(100vw - 12px);
    max-height: calc(100svh - 12px);
    padding: 40px 6px 6px;
  }

  .phone-screen-full {
    max-height: calc(100svh - 52px);
  }

  .phone-screen-full img {
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 52px);
  }
}

.app-modal.app-modal--lightbox.is-landscape .phone-screen-full img {
  max-width: min(1280px, calc(100vw - 48px));
  width: auto;
}

@media (max-width: 767px) {
  .app-modal.app-modal--lightbox.is-landscape .phone-screen-full img {
    max-width: calc(100vw - 24px);
  }
}
