    @font-face {
      font-family: 'B Nazanin';
      src: url('https://cdn.fontcdn.ir/Fonts/BNazanin.woff2') format('woff2'),
           url('https://cdn.fontcdn.ir/Fonts/BNazanin.woff') format('woff');
      font-weight: normal;
      font-style: normal;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    body {
      font-family: "B Nazanin", sans-serif;
      /* background-image: url(ucp/Pic/Index\ Pic/BG.png); */
      background: linear-gradient(135deg, #aaaaaa, #333333);
      /* background: linear-gradient(135deg, #000000, #2B008E); */
      color: white;
      direction: rtl;
      overflow-x: hidden;
    }

    header {
      position: fixed;
      top: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 50px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
      z-index: 1000;
      transition: all 0.4s ease;
      opacity: 0;
      transform: translateY(-50px);
      animation: headerEntrance 1s ease-out forwards;
    }

    @keyframes headerEntrance {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    header.scrolled {
      padding: 10px 30px;
      background: rgba(31, 28, 44, 0.95);
    }

    .logo {
      font-size: 2rem;
      font-weight: bold;
      color: #fff;
      text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
      transition: 0.4s;
      letter-spacing: 2px;
      animation: logoEntrance 1.2s ease-out forwards;
      opacity: 0;
      transform: translateX(50px);
    }

    @keyframes logoEntrance {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    nav {
      display: flex;
      gap: 30px;
  }

    nav a {
      position: relative;
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
      transition: 0.4s;
      padding: 5px 10px;
      border-radius: 5px;
      opacity: 1;
      transform: translateY(0);
    }

    nav a:hover {
      color: #f39c12;
      transform: scale(1.1);
      box-shadow: 0 0 10px rgba(243, 156, 18, 0.7);
    }

    .social-icons {
      display: flex;
      gap: 1rem;
    }

    .social-icons a {
      color: white;
      font-size: 1.5rem;
      transition: transform 0.3s, color 0.3s;
    }

    .social-icons a:hover {
      color: #f39c12;
      transform: translateY(-3px) scale(1.2);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 1100;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background: white;
      border-radius: 3px;
      transition: 0.4s;
    }

    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
      height: 100vh;
      background: url('ucp/Pic/Index Pic/BG.png') no-repeat center center / cover;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      text-align: left;
      position: relative;
      padding-left: 50px;
      overflow: hidden;
      animation: parallax 5s infinite linear;
    }

    .hero::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.4);
    }

    .hero h1 {
      font-size: 5rem;
      color: #fff;
      z-index: 1;
      position: absolute;
      right: 0;
      text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
      margin-bottom: 0;
      margin-right: 5%;
    }

    .hero p {
      font-size: 2rem;
      color: #fff;
      position: relative;
      z-index: 1;
      margin-top: 150px;
      text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
      margin-right: 2%;
    }

    /* Styles for different screen sizes */
    @media (max-width: 1200px) {
      header {
        padding: 15px 40px;
      }

      .logo {
        font-size: 2.5rem;
      }

      nav a {
        font-size: 1rem;
      }

      .hero h1 {
        font-size: 4rem;
      }

      .hero p {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 768px) {
      header {
        padding: 10px 30px;
      }

      .logo {
        font-size: 2rem;
      }

      nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100% - 80px);
        background: rgba(31, 28, 44, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
      }

        nav.active {
    right: auto;
    top: 80px; /* فاصله از بالا */
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: auto;
    padding: 20px 30px;
    background: rgba(54, 58, 58, 0.95);
    box-shadow: 0 8px 30px rgba(245, 245, 245, 0.7);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

      nav a {
        font-size: 1.2rem;
      }

      .menu-toggle {
        display: flex;
      }

      .hero h1 {
        font-size: 3rem;
      }

      .hero p {
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .logo {
        font-size: 1.8rem;
      }

      nav a {
        font-size: 1rem;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

      .hero p {
        font-size: 1rem;
      }
    }








    

    /* اموزش  */

.tutorial-section {
  padding: 60px 20px;
}

.tutorial-section main {
  max-width: 1200px;
  margin: auto;
  padding: 30px;
  background-color: rgba(58, 58, 58, 0.4);
  border-radius: 12px;
  position: relative; /* برای context پنل absolute */
}

.tutorial-section h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: white;
}

.tutorial-section .steps-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap; /* جلوگیری از رفتن به خط بعد */
  gap: 20px;
}

.tutorial-section .step {
  background-color: #3e3e3f;
  color: white;
  border-radius: 20px;
  padding: 20px;
  flex: 1 1 30%;
  min-width: 280px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* برای پنل absolute */
  z-index: 1;
}

.tutorial-section .step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.tutorial-section .step h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.tutorial-section .step p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.tutorial-section .step .btn {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.tutorial-section .step .btn:hover {
  background-color: #f37813;
  transform: scale(1.05);
}

/* پنل دانلود لانچر با تنظیمات دلخواه برای عرض و جابجایی */
.tutorial-section .launcher-panel {
  display: none;
  position: absolute;
  top: 100%; /* دقیقاً زیر دکمه */
  left: 0;
  transform: translateX(30px); /* جابجایی 30 پیکسل به راست */
  margin-top: 10px;
  padding: 15px 20px; /* فضای داخلی اطراف محتوا */
  border-radius: 20px;
  background-color: #3e3e3f;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  z-index: 10;
  width: 260px; /* عرض ثابت 260 پیکسل */
  /* اگر میخوای ارتفاع ثابت باشه، این خط رو اضافه کن */
  /* height: 150px; */
  animation: fadeSlide 0.4s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.tutorial-section .launcher-panel.show {
  display: block;
}

.tutorial-section .launcher-content {
  padding: 15px;
  border-radius: 12px;
  color: white;
  background: none; /* حذف پس زمینه مشکی */
}

.tutorial-section .os-link {
  display: block;
  background-color: rgb(59, 59, 59);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  margin: 10px 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.tutorial-section .os-link:hover {
  background-color: #f37813;
}

.tutorial-section #launcherArrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.tutorial-section .rotate {
  transform: rotate(180deg);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .tutorial-section .steps-container {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .tutorial-section .step {
    width: 100%;
  }

  .tutorial-section .launcher-panel {
    position: relative; /* روی موبایل پنل مثل قبلی */
    max-width: 100%;
    margin-top: 15px;
    left: auto;
    width: 1000%;
    transform: none;
  }
}