/* ✅ ۱. تعریف فونت‌های سفارشی */
@font-face {
  font-family: "Peyda";
  src: url("../assets/font/font/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "peydaB";
  src: url("../assets/font/font/Poppins-Bold.ttf") format("truetype");
}

a {
  text-decoration: none !important;
}

a:hover {
  color: #fff !important;
}

/* ✅ ۲. تنظیمات پایه و ریست */
* {
  margin: 0;
  padding: 0;

  max-width: 100% !important;
  box-sizing: border-box !important;
}

body {

  overflow: visible !important;
  position: relative;
  font-family: "Peyda" !important;
  background-color: #0b0b0f !important;
  color: white;
  line-height: 1.7;
  text-align: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.navbar-mobile {
  border-radius: 30px;
  /* From https://css.glass */
  background: rgba(94, 70, 89, 0.634);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.505);
  font-size: 20px;
  color: #ae10b7 !important;
  font-weight: bold;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.paragraph {
  font-size: 10px;
  padding: 1rem;
  text-wrap: wrap;
  max-width: 200px !important;
}

.section-one-wrapper {
  background: url("../assets/bg-1.svg") no-repeat center;
  background-size: cover;
  min-height: 750px;
  display: flex;
  align-items: center;
}

.section-two-wrapper {
  display: flex;
  align-items: center;
}

.header-container {
  list-style: none;
  width: 563px;
  height: 50px;
  font-size: 13px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-mobile-container {
  list-style: none;
  max-width: 500px;
  height: 50px;
  font-size: 10px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ✅ ۴. استایل دکمه‌ها */
.create-mobile-button {
  background: linear-gradient(90deg, #ae10b7 0%, #680f6c 100%);
  color: white;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  padding: 12px 14px;
  text-wrap: nowrap;

  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  z-index: 1000;
  /* برای اینکه بالاتر از بقیه المنت‌ها باشد */
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  /* وسط‌چین کردن آیتم‌ها */
  gap: 20px;
  /* فاصله بین آیتم‌ها */
}

ul li {
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
}

/* ✅ ۳. تایپوگرافی استاندارد */
h1 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

.section-two-wrapper_title {
  font-size: 20px;
  color: #fff;
  text-align: left;
}

.section-two-wrapper_content {
  font-size: 16px;
  text-align: left;
  color: #fff;
  line-height: 2rem;
}

.section-three-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.section-three-wrapper_boxes {
  background-color: #382c3e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border-radius: 12px;
  color: #fff;
  padding: 10px;
  height: max-content;
}

/* ✅ ۴. استایل دکمه‌ها */
.create-button {
  max-width: 200px;
  height: 38px;
  background: linear-gradient(90deg, #ae10b7 0%, #680f6c 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px !important;
  border-radius: 30px;

  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.section-three-wrapper_boxes-title {
  font-size: 15.02px;
}

.play-button {
  padding: 10px !important;
  background-color: #fff;
  border-radius: 20px;
  color: #0b0b0f;
  border: none;
  font-size: 10px;
  border: 1px solid #0b0b0f;
}

.try-button {
  background: linear-gradient(90deg, #8176af 0%, #c0b7e8 100%);
  color: #343045;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.try-button:hover {
  filter: brightness(1.2);
}

.section-three-wrapper_boxes-subtitle {
  font-size: 12px;
  font-weight: 400;
}

hr {
  border: 1px solid #c0b7e854 !important;
  /* رنگ مرزی */
  width: 110px;
}

.section-four-wrapper {
  background: url("../assets/Vector\ 9.png") no-repeat center;
  background-size: cover;
}

.section-four-wrapper_boxes {
  min-width: 200px;
  /* یا هر عرضی که نیاز داری */
  flex-shrink: 0;
  /* نذار باکس‌ها کوچیک بشن */
  height: 463px;
  text-wrap: wrap !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #523d60 0%, #382c3e 100%);
  color: white;
  border-radius: 24px;
}

.section-wrapper {
  background: radial-gradient(circle, #523d60 0%, #382c3e 100%);
  border-radius: 24px;
  display: flex;
  justify-content: center;
}

.section-mobile-wrapper {

  padding: 28px;
  background: radial-gradient(circle, #523d60 0%, #382c3e 100%);
  border-radius: 24px;
}

.last-section-wrapper {
  background: url("../assets/last-vector.png") no-repeat bottom;
  background-size: cover;
  min-height: 1000px;
}

.last-section-wrapper_title {
  font-size: 16px;
  color: #fff;
}

.last-section-wrapper_content {
  color: #d6d6d6;
  font-size: 14px;
  padding-bottom: 2rem;
}

.footer-wrapper {
  position: relative;
  margin-top: auto;
  width: 100%;
  background: url("../assets/last-vector.png") no-repeat top;
  background-size: cover;
  color: white;
  padding: 3rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.footer-wrapper_line {
  padding: 2rem 0;
  border-top: 2px solid #680f6c;
  border-radius: 30% 30% 0 0;
}

.circle-social {
  background-color: #1f1c26;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  margin: 5px;
}

.footer-pager {
  font-size: 12px;
  color: #ffffff82;
}

.copy-right-wrapper {
  background-color: #680f6c;
  bottom: 0;
  position: absolute;
  width: 100%;
}

/* ✅ ۵. مدیا کوئری‌ها برای اندازه‌های مختلف */

/* 📌 ۱. دسکتاپ (بزرگتر از 1200px) */
@media (min-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.2rem;
  }

}

/* 📌 ۲. لپ‌تاپ (بین 1024px تا 1200px) */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  p {
    font-size: 1.1rem;
  }
}

/* 📌 ۳. تبلت (بین 768px تا 1024px) */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .section-one-wrapper {
    background: url("../assets/b-1-lg.png") no-repeat center center !important;
    background-size: cover !important;
  }

  .box-1 {
    display: flex;
    flex-direction: column;
    width: 250px;
    text-align: left;
    font-size: 20px;
    align-items: center;
    border-radius: 24px;
    color: white;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .box-1 p {
    color: #bbbbbb;

    padding: 0 20px;
  }

  .scrollable-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 576حط;
    /* مطمئن شو که ۱۰۰٪ عرض داره */
    max-width: 100vw;
    /* حداکثر عرض برابر با عرض ویوپورت */
    white-space: nowrap;
    /* برای جلوگیری از رفتن آیتم‌ها به خط بعد */
    scroll-behavior: smooth;
    /* برای اسکرول نرم */
  }

  .section-four-wrapper_boxes:first-child {
    margin-left: 10px !important;
    /* مطمئن شو که اولین آیتم از لبه چپ فاصله داره */
  }

  .paragraph {
    font-size: 10px;
    padding: 1rem;
    text-wrap: wrap;
    width: 180px !important;
  }
}

/* 📌 ۴. موبایل (کمتر از 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  p {
    font-size: 0.9rem;
  }

  .button {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .section-one-wrapper {
    background: url("../assets/b-1-lg.png") no-repeat center center !important;
    background-size: cover !important;
  }

  .box-1 {
    display: flex;
    flex-direction: column;
    width: 250px;
    text-align: left;
    font-size: 20px;
    align-items: center;
    border-radius: 24px;
    color: white;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .box-1 p {
    color: #bbbbbb;

    padding: 0 20px;
  }

  .scrollable-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 576حط;
    /* مطمئن شو که ۱۰۰٪ عرض داره */
    max-width: 100vw;
    /* حداکثر عرض برابر با عرض ویوپورت */
    white-space: nowrap;
    /* برای جلوگیری از رفتن آیتم‌ها به خط بعد */
    scroll-behavior: smooth;
    /* برای اسکرول نرم */
  }

  .section-four-wrapper_boxes:first-child {
    margin-left: 10px !important;
    /* مطمئن شو که اولین آیتم از لبه چپ فاصله داره */
  }

  .paragraph {
    font-size: 10px;
    padding: 1rem;
    text-wrap: wrap;
    width: 180px !important;
  }
}

/* 📌 ۵. موبایل کوچک (کمتر از 576px) */
@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 0.85rem;
  }

  .button {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .scrollable-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 576حط;
    /* مطمئن شو که ۱۰۰٪ عرض داره */
    max-width: 100vw;
    /* حداکثر عرض برابر با عرض ویوپورت */
    white-space: nowrap;
    /* برای جلوگیری از رفتن آیتم‌ها به خط بعد */
    scroll-behavior: smooth;
    /* برای اسکرول نرم */
  }

  .section-four-wrapper_boxes:first-child {
    margin-left: 10px !important;
    /* مطمئن شو که اولین آیتم از لبه چپ فاصله داره */
  }

  .paragraph {
    font-size: 10px;
    padding: 1rem;
    text-wrap: wrap;
    width: 180px !important;
  }

  .section-two-wrapper {
    display: flex;
    flex-direction: column !important;
  }

  .section-one-wrapper {
    background: url("../assets/b-1-lg.png") no-repeat center center !important;
    background-size: cover !important;
  }

  .box-1 {
    display: flex;
    flex-direction: column;
    width: 250px;
    text-align: left;
    font-size: 20px;
    align-items: center;
    border-radius: 24px;
    color: white;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .box-1 p {
    color: #bbbbbb;

    padding: 0 20px;
  }
}

/* برای همه مرورگرها */
html {
  scroll-behavior: smooth;
  /* اسکرول نرم */
}

/* ✅ تنظیمات برای Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 5px;
  /* عرض اسکرول‌بار */
  height: 5px;
  /* ارتفاع اسکرول افقی */
  border-radius: 10px !important;
  /* گرد کردن کل اسکرول */
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  /* رنگ پس‌زمینه‌ی اسکرول‌بار */
  border-radius: 10px;
  /* گرد شدن قاب خارجی */
  margin: 10px 0 !important;
}

::-webkit-scrollbar-thumb {
  background: #680f6c;
  /* رنگ اسکرول */
  border-radius: 20px !important;
  /* گرد کردن نوار داخلی */
  border: 2px solid #1a1a1a;
  /* اضافه کردن قاب برای زیبایی */
  margin: 10px 0 !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #ae10b7;
  /* تغییر رنگ هنگام هاور */
}

/* ✅ تنظیمات برای فایرفاکس */
* {
  scrollbar-width: thin;
  /* باریک شدن اسکرول */
  scrollbar-color: #680f6c #1a1a1a;
  /* رنگ دستگیره | رنگ پس‌زمینه */
}

details {
  color: white;
  padding: 15px;

  border-bottom: 1px solid #680f6c;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

/* مخفی کردن لیست پیش‌فرض summary */
summary::-webkit-details-marker {
  display: none;
}

/* استایل پیش‌فرض برای آیکون */
.toggle-icon {
  width: 20px;
  height: 20px;
}

/* وقتی جزئیات بسته است، آیکون `-` را مخفی کن */
summary .minus-icon {
  display: none;
}

/* وقتی جزئیات باز می‌شود، `+` را مخفی کن و `-` را نشان بده */
details[open] .plus-icon {
  display: none;
}

details[open] .minus-icon {
  display: inline;
}

/* انیمیشن نرم برای باز و بسته شدن محتوا */
.faq-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  text-align: left !important;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
  color: #d6d6d6;
  font-size: 14px;
  margin-top: 20px;
}

/* وقتی `details` باز شد، محتوا به آرامی باز شود */
details[open] .faq-content {
  max-height: 500px;
  /* مقدار کافی برای نمایش کل محتوا */
  opacity: 1;
}

.resized-icon {
  width: 24px !important;
  height: 24px !important;
}
/* keep intrinsic aspect ratio from img width/height attributes */
img {
  height: auto;
}

