/* Hero details follow the original prototype's light device on a dark stage. */
.visual-stage {
  border-radius: 34px 112px 34px 34px;
  background: radial-gradient(circle at 71% 23%, #1d5989 0, transparent 41%),
    linear-gradient(150deg, #164a74, #0a2b4c 76%);
}
.stage-mark {
  right: auto;
  left: 46px;
  top: 29px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  color: #d8e8fa;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.9;
}
.stage-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .75;
}
.stage-brand { display: inline-flex; align-items: center; gap: 8px; direction: rtl; color: #fff; font-size: 1.08rem; font-weight: 900; line-height: 1; }
.stage-mark strong { font-size: 1.08rem; font-weight: 900; color: #fff; }
.showcase-phone {
  padding: 7px;
  border: 5px solid #60778d;
  background: linear-gradient(143deg, #ecf2f7 0, #9eafc0 11%, #253e57 45%, #ced7e1 85%, #688198 100%);
  box-shadow: 0 31px 62px rgba(2, 13, 28, .52),
    -4px 2px 0 rgba(220, 232, 244, .38),
    0 0 0 2px rgba(238, 248, 255, .2) inset;
  transform: translate(23px, -9px) rotate(5deg);
}
.showcase-phone img { background: #f8fbff; }
.phone-camera { background: #112940; box-shadow: 0 0 0 3px #e7eef5; }
.showcase-tabs { margin-top: -2px; }
.showcase-tabs button { min-width: 67px; padding-inline: 10px; }
.moon-icon { transform: scale(1.08); }
.moon-icon path { fill: currentColor; stroke: none; }
.floating-card {
  border-color: rgba(222, 237, 255, .93);
  background: rgba(252, 254, 255, .98);
}
.floating-card-one {
  left: -18px;
  top: 255px;
  width: 264px;
  max-width: none;
  min-height: 104px;
  padding: 14px 16px;
  transform: none;
}
.floating-card-one .floating-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.floating-card-one .floating-arrow { display: grid; place-items: center; flex: none; width: 17px; font-size: 1rem; color: #6d89a7; }
.floating-card-one small { font-weight: 800; color: #7890aa; }
.floating-card-one strong { font-size: .86rem; line-height: 1.65; }
.floating-card-two {
  left: 38px;
  bottom: 92px;
  max-width: 239px;
  min-height: 69px;
  padding: 10px 14px;
  transform: none;
}
.floating-spark { background: #e7efff; color: #326de0; }
.home-product-card:nth-child(4),
.home-product-card:nth-child(5) { grid-column: span 2; }

.footer-trust {
  display: grid;
  place-items: center;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.footer-trust:hover { border-color: var(--blue); }
.footer-trust img { width: 68px; height: 68px; object-fit: contain; }
.footer-trust.is-unavailable img { display: none; }
.footer-trust.is-unavailable::after { content: "مشاهدهٔ اینماد"; color: #173959; font-size: .68rem; font-weight: 800; text-align: center; }
.footer-trust:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 760px) {
  .footer-top { flex-wrap: wrap; }
  .footer-trust { margin-inline-start: auto; }
  .stage-mark { left: 22px; top: 25px; gap: 9px; font-size: .7rem; }
  .stage-mark img { width: 27px; height: 27px; }
  .stage-brand { gap: 6px; font-size: .83rem; }
  .stage-mark strong { font-size: .82rem; }
  .showcase-phone { transform: translate(15px, -6px) rotate(5deg); }
  .floating-card-one {
    left: -3px;
    top: 200px;
    width: 178px;
    min-width: 0;
    min-height: 0;
    padding: 10px;
  }
  .floating-card-one .floating-arrow { width: 12px; font-size: .8rem; }
  .floating-card-one strong { font-size: .67rem; }
  .floating-card-two { left: 13px; bottom: 87px; max-width: 169px; min-height: 0; padding: 8px; }
  .home-product-card:nth-child(4), .home-product-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 420px) {
  .footer-trust { margin-inline-start: 0; }
  .stage-mark { left: 15px; top: 25px; }
  .stage-mark strong { font-size: .69rem; }
  .stage-brand { font-size: .72rem; }
  .floating-card-one { left: -3px; top: 175px; width: 154px; padding: 8px; gap: 5px; }
  .floating-card-one strong { font-size: .59rem; }
  .floating-card-two { left: 7px; bottom: 85px; max-width: 148px; }
  .showcase-tabs button { min-width: 58px; padding-inline: 8px; font-size: .68rem; }
  .home-product-card:nth-child(4), .home-product-card:nth-child(5) { grid-column: span 2; }
}

.home-product-bundle { border-color: var(--blue-strong); background: linear-gradient(145deg, color-mix(in srgb, var(--blue-strong) 12%, transparent), transparent); }
.bundle-card-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.bundle-special { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:750; color:var(--blue-strong); }
.bundle-special svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.bundle-discount { display:inline-flex; align-items:center; white-space:nowrap; padding:4px 10px; border:1px solid color-mix(in srgb, var(--blue-strong) 38%, transparent); border-radius:999px; background:color-mix(in srgb, var(--blue-strong) 14%, transparent); color:var(--blue-strong); font-size:12px; font-weight:850; line-height:1.6; }
.bundle-discount[hidden] { display:none; }
