@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeScale {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroFloatSoft {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--mock-rotate, 0deg));
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(var(--mock-rotate, 0deg));
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--mock-rotate, 0deg));
  }
}

@keyframes heroGlowPulse {
  0% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.02);
  }
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
}

@keyframes orbBreath {
  0% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.4;
    transform: scale(0.96);
  }
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
/* =========================
   1) FONT LOADING
   مسیر فایل فونت‌ها را بعداً با فایل‌های واقعی خودت جایگزین کن
========================== */
@font-face {
  font-family: "MusilonDisplay";
  src: url("fonts/Dana-Black.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MusilonText";
  src: url("fonts/Dana-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05030d;
  --bg-2: #0c0720;
  --panel: rgba(93, 41, 255, 0.12);
  --panel-border: rgba(162, 130, 255, 0.22);
  --text: #f7f5ff;
  --muted: rgba(239, 235, 255, 0.72);
  --purple-1: #7b4dff;
  --purple-2: #5f2eff;
  --purple-3: #9d7cff;
  --input: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 80px rgba(59, 16, 161, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(102, 51, 255, 0.32), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(127, 76, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #130728 0%, #07040f 32%, #040308 100%);
  font-family: "MusilonText", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  padding-top: 92px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -60px;
  background: rgba(98, 42, 255, 0.26);
}

.page-shell::after {
  width: 280px;
  height: 280px;
  top: 180px;
  left: -80px;
  background: rgba(130, 93, 255, 0.14);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.page-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100000;
  padding-top: 14px;
  pointer-events: none;
}

.page-header .hero-topbar {
  pointer-events: auto;
}

.page-shell > .page-header {
  display: none;
}

body > .page-header {
  display: block;
}

.hero > .container > .hero-topbar {
  display: none;
}

.hero {
  position: relative;
  padding: 28px 0 64px;
}

.hero-topbar {
  opacity: 0;
  animation: heroFadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 40ms forwards;
  display: flex;
  direction: ltr;
  position: relative;
  z-index: 10000;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    linear-gradient(120deg, rgba(140, 96, 255, 0.2), rgba(50, 20, 120, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(7, 4, 22, 0.34);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  overflow: hidden;
}

.hero-topbar::before,
.hero-topbar::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero-topbar::before {
  width: 180px;
  height: 180px;
  top: -110px;
  right: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 70%);
}

.hero-topbar::after {
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: flex;
  align-items: center;
}

.brand-mark svg {
  width: 33px;
  height: 33px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 26px rgba(23, 8, 63, 0.25);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.hero-topbar:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 34px rgba(74, 31, 194, 0.24);
}

.brand-name {
  font-family: "MusilonDisplay", sans-serif;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.topbar-actions {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1 1 auto;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.topbar-pill,
.topbar-link,
.topbar-cta {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  opacity: 0.74;
  filter: saturate(0.9);
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    opacity 200ms ease,
    filter 200ms ease,
    color 200ms ease;
}

.topbar-pill,
.topbar-link,
.topbar-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 246, 255, 0.88);
}

.topbar-pill {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-link {
  font-size: 0.94rem;
}

.topbar-cta {
  font-size: 0.94rem;
  font-weight: 600;
}

.topbar-pill:hover,
.topbar-link:hover,
.topbar-cta:hover,
.topbar-pill:focus-visible,
.topbar-link:focus-visible,
.topbar-cta:focus-visible,
.topbar-pill:active,
.topbar-link:active,
.topbar-cta:active,
.topbar-pill.is-active,
.topbar-link.is-active,
.topbar-cta.is-active {
  transform: translateY(-1px);
  opacity: 1;
  filter: saturate(1);
}

.topbar-pill:focus-visible,
.topbar-link:focus-visible,
.topbar-cta:focus-visible,
.btn-cta:focus-visible {
  outline: none;
}

.topbar-pill:hover,
.topbar-pill:focus-visible,
.topbar-pill:active,
.topbar-pill.is-active,
.topbar-link:hover,
.topbar-link:focus-visible,
.topbar-link:active,
.topbar-link.is-active,
.topbar-cta:hover,
.topbar-cta:focus-visible,
.topbar-cta:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(42, 18, 92, 0.18);
}

.topbar-pill.is-active,
.topbar-link.is-active,
.topbar-cta.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(140, 96, 255, 0.38), rgba(94, 46, 255, 0.18));
  border-color: rgba(207, 189, 255, 0.42);
}

.topbar-pill.is-active,
.topbar-link.is-active,
.topbar-cta.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 30px rgba(67, 28, 167, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 44px;
  padding-top: 42px;
}

.hero-copy {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
  position: relative;
  z-index: 2;
}

.eyebrow {
  opacity: 1;
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #b795ff;
  line-height: 20px;
}

.hero-title {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 260ms forwards;
  margin: 0;
  font-family: "MusilonDisplay", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-title .accent {
  color: #a98eff;
  text-shadow: 0 0 28px rgba(140, 106, 255, 0.413);
}

.hero-subtitle {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 360ms forwards;
  width: min(100%, 560px);
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 480ms forwards;
  margin-top: 26px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 620px);
}

.hero-input-wrap {
  flex: 1 1 auto;
  position: relative;
}

.hero-input {
  width: 100%;
  height: 60px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.hero-input:focus {
  border-color: rgba(167, 130, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(117, 75, 255, 0.18);
}

.hero-input-wrap {
  transition: transform 220ms ease;
}

.hero-input-wrap:focus-within {
  transform: translateY(-1px);
}

.hero-cta {
  flex: 0 0 auto;
  height: 60px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 30px rgba(84, 34, 238, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 40px rgba(84, 34, 238, 0.38);
}

.hero-meta {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 620ms forwards;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
  color: rgba(236, 231, 255, 0.76);
  font-size: 0.92rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b99cff, #7042ff);
  box-shadow: 0 0 12px rgba(117, 75, 255, 0.46);
}

.hero-visual {
  opacity: 0;
  animation: heroFadeScale 1100ms cubic-bezier(0.22, 1, 0.36, 1) 260ms forwards;
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  animation: heroGlowPulse 5.8s ease-in-out infinite;
  position: absolute;
  inset: auto;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(110, 56, 255, 0.24), transparent 62%);
  filter: blur(10px);
}

.device-card {
  position: absolute;
  width: clamp(230px, 34vw, 340px);
  border-radius: 34px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.device-card--main {
  z-index: 2;
  right: 10%;
  top: 12%;
  opacity: 0;
  padding-top: 100px;
  animation:
    heroFadeScale 1100ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards,
    heroFloatSoft 6.8s ease-in-out 1.7s infinite;
}

.device-card--secondary {
  z-index: 1;
  bottom: 0%;
  top: 8%;
  right: 40%;
  opacity: 0;
  animation:
    heroFadeScale 1100ms cubic-bezier(0.22, 1, 0.36, 1) 620ms forwards,
    heroFloatSoft 7.6s ease-in-out 2.1s infinite;
}

.device-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(60, 20, 180, 0.35));
}

.section-spacer {
  height: 80px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-subtitle,
  .hero-actions {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .device-card--main {
    right: 20%;
    top: 8%;
  }

  .device-card--secondary {
    left: 16%;
    bottom: 4%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .page-header {
    top: 10px;
    padding-top: 10px;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  .hero-topbar {
    padding: 10px 12px;
    border-radius: 18px;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 42px;
  }

  .brand-mark svg {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 8px;
  }

  .topbar-actions {
    width: auto;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .topbar-actions::-webkit-scrollbar {
    display: none;
  }

  .topbar-pill,
  .topbar-link,
  .topbar-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.74rem;
    flex: 0 0 auto;
  }

  .hero-grid {
    padding-top: 26px;
    gap: 18px;
  }

  .eyebrow {
    font-size: 0.90rem;
    margin-bottom: 10px;
    line-height: 10px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 13vw, 3.4rem);
    line-height: 75px;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 1.1rem;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
  }

  .hero-input,
  .hero-cta {
    width: 100%;
    height: 56px;
    border-radius: 16px;
  }

  .hero-meta {
    margin-top: 14px;
    gap: 10px 16px;
    font-size: 0.84rem;
  }

  .hero-visual {
    min-height: 470px;
    margin-top: 8px;
  }

  .device-card {
    width: min(58vw, 250px);
    border-radius: 28px;
  }

  .device-card--main {
    right: 6%;
    top: 4%;
  }

  .device-card--secondary {
    left: 4%;
    bottom: 7%;
  }

}

@media (max-width: 420px) {
  .page-header {
    top: 8px;
    padding-top: 8px;
  }

  .hero-topbar {
    padding: 8px 10px;
  }

  .brand {
    gap: 7px;
    min-width: fit-content;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .topbar-actions {
    display: flex;
    width: auto;
  }

  .hero-copy {
    text-align: right;
  }

  .hero-subtitle,
  .hero-actions {
    margin-inline: 0;
  }

  .hero-meta {
    justify-content: flex-start;
  }

  .topbar-pill,
  .topbar-link,
  .topbar-cta {
    width: auto;
    min-height: 34px;
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .device-card {
    width: 58vw;
    min-width: 185px;
  }

  .device-card--main {
    right: 3%;
  }

  .device-card--secondary {
    left: 0;
  }
}




/* =========================
   2) FEATURES & FLOATING COVERS
========================== */
.features-section {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* استایل متن‌های سکشن */
.section-title {
  margin: 0 0 10px;
  font-family: "MusilonDisplay", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 60px;
  letter-spacing: -0.08em;
}

.section-title .accent {
  color: var(--purple-3);
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 2.1;
  color: var(--muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-3);
}

.feature-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-text span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}







/* =========================
   سکشن ویژگی‌ها (Spotlight)
========================== */
.spotlight-section {
  padding: 72px 0;
  position: relative;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* بخش موکاپ ویدیو */
/* بخش موکاپ تصویری با ویدیو */
.spotlight-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-glow-tertiary {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.25), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* نگه‌دارنده موکاپ و ویدیو */
.device-video-wrapper {
  position: relative;
  width: clamp(260px, 30vw, 320px);
  z-index: 2;
  /* برای سایه دادن به کل ساختار موکاپ */
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

/* تصویر فریم گوشی (لایه بالایی) */
.device-frame {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2; /* موکاپ میاد روی ویدیو */
  pointer-events: none; /* تا مزاحم کلیک یا تاچ روی صفحه نشه */
}

/* ویدیوی زیرین (لایه پایینی) */
.device-screen-video {
  position: absolute;
  z-index: 1; /* ویدیو میره زیر فریم گوشی */
  object-fit: cover;
  background: #110926;
  
  /* 
    نکته بسیار مهم: این مقادیر رو باید بر اساس حاشیه‌های 
    موکاپ PNG خودت (ضخامت قاب گوشی) کمی تغییر بدی تا ویدیو 
    دقیقاً بیفته جای صفحه نمایش 
  */
  top: 2.5%;
  left: 5%;
  width: 90%;
  height: 95%;
  border-radius: 24px; /* این رو بر اساس گردی لبه‌های صفحه نمایش موکاپ تغییر بده */
}

@media (max-width: 480px) {
  .device-video-wrapper {
    width: 75vw;
  }
}


/* =========================
   ریسپانسیو سکشن Spotlight
========================== */
@media (max-width: 992px) {
  .spotlight-section {
    padding: 56px 0;
  }
  
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  /* در موبایل متن‌ها رو میاریم بالای عکس/ویدیو */
  .spotlight-copy {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-list li {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .video-mockup {
    width: 75vw;
  }
}





/* =========================
   سکشن پلتفرم‌ها (وسط‌چین)
========================== */
.platforms-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;

}

.platforms-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* همه متون وسط‌چین */
  gap: 40px; /* فاصله بین متن‌ها و موکاپ‌ها */
}

/* --- استایل بخش محتوا --- */
.platforms-copy {
  max-width: 750px; /* محدود کردن عرض متن برای خوانایی بهتر در دسکتاپ */
  display: flex;
  flex-direction: column;
  align-items: center;
 
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* تگ‌ها در مرکز */
  gap: 12px;
  margin-top: 20px;
}

.platform-item {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-color);
}

.platform-item svg {
  flex-shrink: 0;
}

.platform-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

/* --- استایل بخش موکاپ‌ها --- */
.platforms-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.visual-glow-platforms {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.15), transparent 70%);
  filter: blur(50px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mockup-composition {
  position: relative;
  width: 100%;
  max-width: 900px; /* در حالت وسط‌چین می‌توانیم موکاپ‌ها را بزرگ‌تر نمایش دهیم */
  z-index: 1;
}

.mockup-laptop {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); 
}

.mockup-phone {
  width: 30%; /* عرض گوشی نسبت به لپ‌تاپ */
  height: auto;
  display: block;
  position: absolute;
  z-index: 2;
  
  /* گوشی را سمت راست لپ‌تاپ قرار می‌دهیم تا بالانس بصری بهتری داشته باشد */
  bottom: 5%;
  right: -5%; 
  
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

/* =========================
   ریسپانسیو سکشن پلتفرم‌ها
========================== */
@media (max-width: 992px) {
  .mockup-composition {
    max-width: 80vw; /* جلوگیری از چسبیدن به لبه‌ها در تبلت */
  }
}

@media (max-width: 480px) {
  .platforms-section {
    padding: 40px 0;
  }
  
  .platforms-container {
    gap: 28px;
  }
  
  .mockup-composition {
    max-width: 90vw;
  }

  /* تنظیم جایگاه موبایل در صفحه‌های کوچک */
  .mockup-phone {
    width: 28%;
    bottom: 5%;
    right: -0;
  }
}






/* =========================
   سکشن کیفیت صدا
========================== */
.quality-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.quality-container {
  display: flex;
  flex-direction: column;
  gap: 44px; /* فاصله بین بخش بالا و موکاپ پایین */
  position: relative;
  z-index: 1;
}

/* --- ساختار محتوای بالا (موبایل فرست) --- */
.quality-content {
  display: flex;
  flex-direction: column; /* در موبایل زیر هم */
  align-items: center;
  gap: 32px;
}

.quality-copy {
  text-align: center; /* در موبایل وسط‌چین */
  display: flex;
  flex-direction: column;
  align-items: center; /* تراز کردن در مرکز برای موبایل */
}

/* --- استایل لیست کیفیت‌ها (باکس‌های شیشه‌ای) --- */
.quality-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px; /* محدود کردن عرض در موبایل و دسکتاپ */
}

.quality-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* هایلایت کردن آیتم دالبی اتموس */
.quality-item.highlight {
  background: rgba(149, 100, 255, 0.08);
  border: 1px solid rgba(144, 104, 255, 0.514);
}

.quality-item.highlight2 {
  background: rgba(249, 255, 77, 0.08);
  border: 1px solid rgba(255, 205, 77, 0.3);
}

.quality-item.highlight3 {
  background: rgba(77, 255, 89, 0.08);
  border: 1px solid rgba(77, 255, 154, 0.3);
}

.quality-format {
  display: flex;
  align-items: center;
  gap: 12px;
}

.format-name {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.format-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* رنگ‌بندی بج‌های کیفیتی */
.format-badge.standard { background: rgba(255, 255, 255, 0.1); color: #ccc; }
.format-badge.high { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.format-badge.lossless { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.format-badge.hires { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.format-badge.spatial { background: rgba(155, 89, 182, 0.3); color: #d288f9; }

.format-detail {
  font-size: 0.95rem;
  color: var(--text-color-muted, #a0a0a0);
  font-family: system-ui, -apple-system, sans-serif;
}

/* --- ساختار موکاپ پایین --- */
.quality-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1;
}

.visual-glow-quality {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.12), transparent 70%);
  filter: blur(60px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mockup-quality {
  width: 100%;
  max-width: 400px;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* =========================
   ریسپانسیو سکشن کیفیت صدا
========================== */
@media (min-width: 992px) {
  .quality-content {
    /* 
      برای راست‌چین بودن لیست و چپ‌چین بودن متن در صفحات راست‌چین (RTL)، 
      از row-reverse استفاده می‌کنیم تا جایگاهشان دقیقاً طبق دستور شما تنظیم شود.
    */
    flex-direction: row-reverse; 
    align-items: center; /* تراز عمودی باکس‌ها با متن */
    justify-content: space-between;
    gap: 60px;
  }

  .quality-copy {
    text-align: right; /* متن در سمت چپ کادر خودش راست‌چین می‌شود */
    align-items: flex-start; /* ریست کردن تراز از مرکز به راست */
    flex: 1; /* اشغال فضای باقی‌مانده */
  }

  .quality-list {
    flex: 1; /* اشغال نصف فضا برای لیست */
  }
}

@media (max-width: 768px) {
  .quality-section {
    padding: 52px 0;
  }
  
  .quality-container {
    gap: 32px;
  }

  .quality-item {
    padding: 16px 20px;
  }
  
  .format-name {
    font-size: 1rem;
  }

  .format-detail {
    font-size: 0.85rem;
  }
}






/* =========================
   سکشن آرشیو بی‌نهایت
========================== */
.archive-section {
  padding-top: 85px;
  position: relative;
  overflow: hidden;
  
}

.archive-header {
  text-align: right;
  margin-bottom: 30px;
  padding: 0 5%;
}

.archive-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}

.highlight-purple {
  color: #7B4DFF;
}

.archive-subtitle {
  font-size: 1.3rem;
  color: #ccc;
  text-align: center;
}

/* جداکننده درخشان */
.glow-divider-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 1px;
}

.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 77, 255, 0.8) 50%, transparent 100%);
  position: relative;
}

.glow-line::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80px;
  background: radial-gradient(ellipse at top, rgba(123, 77, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* گالری کاورها */
.archive-gallery {
  position: relative;
  width: 100%;
  height: 600px; /* ارتفاع بیشتر برای جا دادن کاورهای بیشتر */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.covers-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px; /* افزایش پرسپکتیو برای عمق بیشتر */
}

/* استایل پایه کاورها */
.archive-cover {
  position: absolute;
  width: 220px;
  height: 220px;
  background-color: #222; /* رنگ پس‌زمینه در صورت لود نشدن عکس */
  background-size: cover; /* عکس تمام باکس را بپوشاند */
  background-position: center; /* مرکز عکس نمایش داده شود */
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  
  transform: 
    translate(
      calc(var(--base-x) + var(--mouse-x, 0px) + var(--drift-x, 0px)), 
      calc(var(--base-y) + var(--mouse-y, 0px) + var(--drift-y, 0px))
    ) 
    rotate(calc(var(--base-rot) + var(--drift-rot, 0deg))) 
    scale(calc(var(--base-scale) * var(--drift-scale, 1)));
    
  will-change: transform;
}

/* تنظیمات عمق میدان (Depth of Field) */
.depth-4 {
  z-index: 0;
  filter: blur(8px) brightness(0.2); /* بسیار دور، تار و تاریک */
}

.depth-3 {
  z-index: 1;
  filter: blur(4.5px) brightness(0.4);
}

.depth-2 {
  z-index: 2;
  filter: blur(2px) brightness(0.6);
}

.depth-1 {
  z-index: 3;
  filter: blur(0px) brightness(0.9);
}

.center-cover {
  z-index: 4;
  filter: blur(0px) brightness(1.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8); /* سایه عمیق‌تر برای کاور مرکزی */
  border: 1px solid rgba(255, 255, 255, 0.1); /* یک حاشیه خیلی ظریف */
}

/* فلش‌های چپ و راست */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.gallery-nav:hover {
  opacity: 1;
}

.next-arrow { right: 5%; }
.prev-arrow { left: 5%; }

/* ریسپانسیو */
@media (max-width: 768px) {
  .archive-title { font-size: 2.5rem; }
  .archive-cover { width: 160px; height: 160px; }
  .archive-gallery { height: 450px; overflow: hidden; }
  
  /* در موبایل لایه‌های ۴ و ۳ (خیلی دورها) را مخفی می‌کنیم تا هم شلوغ نشود و هم گوشی کند نشود */
  .depth-4, .depth-3 { display: none; }
}







/* =========================================================
   سکشن ویژگی‌ها (Features Section)
========================================================== */
.features-section {
  padding: 72px 0;
  background: relative;
  overflow: hidden;
}

/* هدر سکشن */
.features-header {
  text-align: center;
  margin-bottom: 10px;
  padding: 0 5px;
}

.features-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  
}

.features-subtitle {
  font-size: 1.2rem;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto;
}

/* ردیف‌های ویژگی */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 52px; /* فاصله متعادل بین ویژگی‌ها */
  padding: 0 5%;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* برای ویژگی دوم که برعکس است */
.feature-row.reverse {
  flex-direction: row-reverse;
}
/* =========================================================
   بخش متنی
========================================================== */
.feature-text {
  flex: 1;
  max-width: 500px;
  text-align: right; /* راست‌چین کردن متن */
  direction: rtl;
}

.feature-number {
  font-size: 4rem;
  font-weight: 900;
  color: #3b2b6c; /* رنگ بنفش تیره مشابه طراحی شما */
  line-height: 1;
  margin-bottom: 5px; /* فاصله از تیتر */
}

.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  text-align: right;
  z-index: 1;
}

.feature-text p {
  font-size: 1.1rem;
  color: #b3b3b3;
  line-height: 1.9;
  text-align: right;
}

/* =========================================================
   بخش تصویر
========================================================== */
.feature-image {
  flex: 1;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1 / 1;
  object-fit: contain; /* استفاده از contain برای جلوگیری از برش خوردن عکس شما */
  position: relative;
  z-index: 2;
  /* تمام سایه‌ها، بوردرها و افکت‌های هاور حذف شدند تا عکس اورجینال شما نمایش داده شود */
}

/* هاله درخشان پشت عکس‌ها */
/* اگر در عکس خروجی خودتان هاله رنگی را قرار داده‌اید، می‌توانید این بخش را کاملاً پاک کنید */
.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
}


/* =========================================================
   ریسپانسیو (موبایل و تبلت)
========================================================== */
@media (max-width: 992px) {
  .features-title {
    font-size: 2.5rem;
  }
  
  .feature-row,
  .feature-row.reverse {
    flex-direction: column; /* در تبلت و موبایل روی هم قرار میگیرند */
    text-align: center;
    gap: 10px;
  }

  .feature-text {
    max-width: 100%;
  }

  .feature-text p {
    text-align: right;
  }

  .feature-number {
    display: block;
    margin-bottom: 0;
  }
  
  .features-list {
    gap: 20px;
  }
}

/* Put feature numbers at the start of each title line */
.features-section .feature-number {
  display: none;
}

.features-section .feature-text h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.features-section .feature-row:nth-child(1) .feature-text h3::before,
.features-section .feature-row:nth-child(2) .feature-text h3::before,
.features-section .feature-row:nth-child(3) .feature-text h3::before {
  font-size: 3.4rem;
  font-weight: 900;
  color: #3b2b6c;
  line-height: 1;
  flex-shrink: 0;
}

.features-section .feature-row:nth-child(1) .feature-text h3::before {
  content: "۰۱";
}

.features-section .feature-row:nth-child(2) .feature-text h3::before {
  content: "۰۲";
}

.features-section .feature-row:nth-child(3) .feature-text h3::before {
  content: "۰۳";
}

@media (max-width: 992px) {
  .features-section .feature-text h3 {
    gap: 10px;
  }

  .features-section .feature-row:nth-child(1) .feature-text h3::before,
  .features-section .feature-row:nth-child(2) .feature-text h3::before,
  .features-section .feature-row:nth-child(3) .feature-text h3::before {
    font-size: 2.8rem;
  }
}






/* =========================
   سکشن CTA (ثبت‌نام)
========================== */
.cta-section {
  /* فاصله زیاد از سکشن قبلی برای ایجاد تنفس بصری */
  padding-top: 84px; 
  padding-bottom: 88px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

/* تیترها */
.cta-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -1px;
}

.cta-highlight {
  color: #7B4DFF; /* رنگ بنفش مشابه تصویر */
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-color-muted, #a0a0a0);
  margin-bottom: 50px;
}

/* ساختار دکمه و فلش */
.cta-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; /* فاصله بین دکمه و فلش */
}

/* استایل دکمه اصلی */
.btn-cta {
  display: inline-block;
  background-color: #7B4DFF;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 100px; /* برای گرد شدن کامل گوشه‌ها */
  text-decoration: none;
  font-family: inherit;
  opacity: 0.84;
  filter: saturate(0.92);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    filter 180ms ease,
    background-color 180ms ease;
}

.btn-cta:hover,
.btn-cta:focus-visible,
.btn-cta:active,
.btn-cta.is-active {
  transform: translateY(-1px);
  opacity: 1;
  filter: saturate(1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 34px rgba(79, 43, 190, 0.32);
}

.btn-cta:active {
  transform: translateY(0);
}

/* آیکون فلش */
.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   ریسپانسیو سکشن CTA
========================== */
@media (max-width: 768px) {
  .cta-section {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .cta-title {
    font-size: 3rem;
  }

  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    padding: 0 15px; /* جلوگیری از چسبیدن متن به لبه‌های موبایل */
  }

  .cta-action {
    flex-direction: row; /* در موبایل هم دکمه و فلش در یک خط بمانند */
    gap: 20px;
  }

  .btn-cta {
    font-size: 1.1rem;
    padding: 16px 32px;
  }

  .cta-arrow svg {
    width: 32px; /* کوچکتر شدن فلش در موبایل */
    height: 32px;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 2.2rem;
  }
  
  .cta-action {
    flex-direction: row-reverse; /* در صفحه‌های خیلی کوچک فلش بیفتد پایین دکمه */
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .cta-action {
    flex-direction: row;
    gap: 16px;
  }
}

/* Quality section desktop two-column layout */
.quality-copy {
  gap: 24px;
}

@media (min-width: 992px) {
  .quality-container {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(440px, 1.1fr);
    align-items: center;
    gap: 72px;
  }

  .quality-content {
    order: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .quality-copy {
    width: 100%;
    max-width: 100%;
    text-align: right;
    align-items: flex-start;
  }

  .quality-list {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .quality-visual {
    order: 1;
    justify-content: flex-start;
    align-self: end;
  }

  .mockup-quality {
    max-width: 470px;
  }
}
