/* فونت و پایه */
body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: linear-gradient(135deg, #350eb3, #051437);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
}

/* کانتینر اصلی */
.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 20px;
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 90%;
}

/* تصویر موبایل */
.phone {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* محتوای متنی */
.content {
  flex: 1 1 400px;
  padding: 20px;
  text-align: center;
  direction: rtl;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.content .subtext {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #eee;
}

.versian {
  font-size: 0.85rem;
  margin-top: 15px;
  color: #ddd;
}

/* بخش QR و دکمه‌ها */
.dl-part {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* QR */
.qr {
  text-align: center;
}

.qr img {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 6px;
  border-radius: 16px;
}

button,input,h1,h2,h3,p{
    font-family: 'Vazirmatn', sans-serif;
}

/* دکمه‌ها */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.store-btn {
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s ease;
  min-width: 160px;
  max-width: 250px;
}

.store-btn:hover {
  transform: scale(1.05);
}

.store-btn .icon {
  margin-left: 12px;
  font-size: 1.3rem;
}

.store-btn .text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.store-btn .text small {
  font-size: 0.75rem;
  color: #ccc;
}

.store-btn .text strong {
  font-size: 1.05rem;
}

/* لینک امکانات */
.more-info-link {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.more-info-link:hover {
  background: #fff;
  color: #7928ca;
}

/* مودال */
.modal {
  display: none;
  align-items: center;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: flex-start;
  animation: fadeIn 0.4s ease-in-out;
}

.modal-content {
  background: #fff;
  color: #000;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  height: 90vh;
  text-align: right;
  font-family: 'Vazirmatn', sans-serif;
  position: relative;
  animation: slideDown 0.4s ease-in-out;
}

.modal_banner{
        overflow: scroll;
    height: 75vh;
}

.modal-text {
  padding: 20px;
  direction: rtl;
}

.close-modal {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 1.5rem;
  cursor: pointer;
      background-color: red;
    width: 35px;
    height: 35px;
    border-radius: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content .subtext {
    font-size: 1rem;
  }

  .dl-part {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .store-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}
