@font-face {
    font-family: 'Vazir';
    src: url('../css/fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Vazir';
    src: url('../css/fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
@font-face {
  font-family: "Pixelon";
  src: url("../css/fonts/Pixelon.ttf") format("truetype");
}


/* پایه */
body {
    margin: 0;
    font-family: sans-serif;
    background: #000000;
    color: #fff;
    overflow-x: hidden;
    font-family: 'Vazir', sans-serif;
    transition: all 1s ease;
}
  
/* اسکرول‌بار برای Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffffff, #000000);
  border-radius: 10px;
  border: 2px solid #000000;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #494949, #000000);
}

/* اسکرول‌بار برای Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #494949 #000000;
}





  .container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;

  }
  
  header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 11000;
  }
  
  .site-header {
    position: fixed;
    width: 100%;
    background: black;
    z-index: 1000;
  }
  
  /* والد مشترک لوگوها */
  .logo-wrapper {
    position: relative;
    width: max-content;
    height: 90px; /* ارتفاع تقریبی لوگو */
  }
  
  /* نوشته */
  .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: white;
    transition: opacity 0.6s ease;
    position: absolute;
    margin-left: 30px;
    top: 5%;
    white-space: nowrap;
  }
  
  /* لوگوی SVG */
  .logo-svg {
    position: absolute;
    width: 110px;
    height: auto;
    margin-left: 15px;
    top: -10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* حالت فعال بعد از اسکرول */
  .logo-wrapper.scrolled .logo-text {
    opacity: 0;
    pointer-events: none;
  }
  
  .logo-wrapper.scrolled .logo-svg {
    opacity: 1;
    transform: scale(1);
  }
  
  
  

  

  
  /* حالت دسکتاپ */
  .mobile-menu-side {
    position: fixed;
    top: 50px;
    left: 0;
    height: 100%;
    width: 17%;
    background: #000000;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 100px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
  }

  /* حالت موبایل */
  @media (max-width: 769px) {
    .mobile-menu-side {
      width: 90%;
      top: 70px;
      overflow-y: auto
    }

    .mobile-menu-side ul {
      list-style: none;
      padding: 0;
      height: 700px;
    }

  }
  .mobile-menu-side {
    overflow-y: auto;
  
    /* مخفی کردن اسکرول – Firefox */
    scrollbar-width: none;
  
    /* مخفی کردن اسکرول – IE / Edge قدیمی */
    -ms-overflow-style: none;
  }
  
  /* مخفی کردن اسکرول – Chrome / Safari */
  .mobile-menu-side::-webkit-scrollbar {
    display: none;
  }
  
  
  .mobile-menu-side.active {
    transform: translateX(0);
  }
  
  .mobile-menu-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu-side ul li {
    margin: 16px 0;
  }
  
  .mobile-menu-side ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-side ul li a:hover {
    background-color: rgba(248, 248, 248, 0.1);
  }
  @media (max-width: 769px) {
    .mobile-menu-side ul li a {
      font-size: 20px; /* یا هر سایزی که می‌خوای */
    }
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* تا h2 و p زیر هم قرار بگیرند */
    text-align: center;
    margin-top: 30vh;
  }
  
  
  .hero h2 {
    font-size: clamp(20px, 5vw, 40px);
    margin-bottom: 20px;
    text-align: center;
  }
  
  
  
  .hero p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  button {
    background: #10a37f;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
  }
  

  

  

  




  /* دکمه منو با ۹ نقطه */
  .menu-button {
    position: fixed; /* یا absolute */
    top: 4.5vh;
    left: 118px;
    z-index: 11000;   /* بالاتر از بقیه */
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  .dot-grid {
    width: 20px;
    height: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    transition: all 0.3s ease-in-out;
  }
  
  .dot-grid span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #888; /* خاکستری */
    transition: background-color 0.3s ease;
  }
  
  /* هاور روی دکمه */
  .menu-button:hover .dot-grid span {
    background-color: #fff; /* سفید */
  }
  
  /* حالت فعال (منو باز شده) — فقط ۳ نقطه وسط */
  .menu-button.active .dot-grid span {
    opacity: 0;
    transform: scale(0.5);
  }
  
  .menu-button.active .dot-grid span:nth-child(5),
  .menu-button.active .dot-grid span:nth-child(2),
  .menu-button.active .dot-grid span:nth-child(8) {
    opacity: 1;
    transform: scale(1.2);
  }
  




  










  .login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
  }
  
  
  .login-box {
    display: flex;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;

  }
  
  

  
  .form-container {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: relative;
    direction: rtl;
  }
  
  /* محتوای قابل تغییر */
  .content-switcher {
    /* max-width: 300px; ← این خط رو بردار یا افزایش بده */
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;

  }
  
  
  .fade-in {
    opacity: 1;
  }
  
  .fade-out {
    opacity: 0;
  }
  
  .input-wrapper {
    position: relative;
    display: flex;
    justify-content: center; /* مرکز چین افقی */
    align-items: center;     /* مرکز چین عمودی (برای در یک خط بودن) */
    gap: 10px;               /* فاصله بین input و button */
    width: 100%;
    margin-top: 20px;
  }
  
  
  .initial-input {
    width: 50vw;
    padding: 0 20px 0 10px;
    padding-bottom: 30px;
    border-radius: 30px;
    font-size: 16px;
    height: 80px;
    direction: rtl;
    border: none;
    background-color: #424242;
    color: #ffffff;
    font-family: 'Vazir';
    transition: width 1s ease, background-color 1s ease, color 1s ease;
  }
  
  .initial-input.sent {
    width: 25px;
    height: 80px;
    left: 0;
    color: white;
  }
  


  .initial-input {
    border: none;
  }
  
  .initial-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
  }
  

  
  .input-wrapper.centered {
    justify-content: center;
  }
  
  .initial-text {
    transition: opacity 0.4s ease;
    opacity: 1;
    position: absolute;              /* یا relative یا fixed بسته به ساختار */
    left: 50%;
    transform: translateX(-50%);
    margin-top: -50px;
    direction: rtl;

  }
  
  
  .initial-text.fade-out {
    opacity: 0;
  }
  
  .initial-text.fade-in {
    opacity: 1;
  }
  
  
  .send-btn {
    position: absolute;
    top: 80px;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    transition: left 1s ease, top 1s ease, transform 1s ease;

  }
  
  .send-btn svg {
    width: 40px;
    height: auto;
    fill: currentColor;
  }
  .send-btn.centered {
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
  }
  /* این کلاس جدید باعث میشه دکمه بره بالا */
  .send-btn.move-up {
    top: 30%; /* هر چقدر می‌خوای بالا بره */
    transform: translate(-50%, -50%);
  }
  .icon-wrapper {
    display: inline-block;
    transition: opacity 0.4s ease;
  }
  
  .icon-wrapper.fade-out {
    opacity: 0;
  }
  
  .icon-wrapper.fade-in {
    opacity: 1;
  }
  
  /* فرم ورود */
  .login-form {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;

  }
  
  .login-form input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }
  
  .google-btn {
    background: transparent;
    border: 1px solid #f2f2f2;
    width: 325px;
    padding: 10px;
    border-radius: 50px;
    color: white;
    font-family: 'Vazir';
    cursor: pointer;
    transition: all 0.25s ease;
  }
  
  .google-btn:hover {
    background-color: #252525;
  }
  
  /* دکمه ورود اصلی */
  .main-login-btn {
    margin-top: 10px;
    width: 165px;
    height: 50px;
    padding: 10px;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 16px;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    font-family: 'Vazir';
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease, width 0.4s ease;
  }
  
  .main-login-btn.expanded {
    width: 325px;
  }
  .main-login-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .icon-wrapper {
    display: inline-block;
    transition: opacity 0.4s ease;
  }
  
  .icon-wrapper.fade-out {
    opacity: 0;
  }
  
  .icon-wrapper.fade-in {
    opacity: 1;
  }
  
  






  
  
  
  

  
  



  



















  /* وقتی دکمه گسترش پیدا می‌کنه */
  .main-login-btn.expanded-box-center {
    align-items: flex-start; /* محتوا داخل باکس بالا قرار بگیره */
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);


  }




  .main-login-btn {
    transform-origin: center center;
  }


  /* وقتی دکمه گسترش پیدا می‌کنه */
  .main-login-btn.expanded-box {
    height: 500px; /* ارتفاع نهایی */

  }

  /* محتوای بعد از ورود */
  .after-login {
    display: none; 
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.6s ease-in-out;
  }

  .after-login.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .main-login-btn.expanded-wide {
    width: 120% ;
    height: 120%;
    transition: width 3s ease, height 3s ease;
  }
  .btn-group {
    position: relative;
    height: 300px; /* ارتفاع لازم برای نگه داشتن دکمه‌ها */
    margin-top: 20px;
  }
  
  .btn-group-0 {
    width: 250px;
    z-index: 1000;
    height: 50px;
    border-radius: 50px;
    background: black;
    color: white;
    cursor: pointer;
    font-family: 'Vazir';
    font-size: 1.1rem;
    border: 1px solid #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: absolute;       /* ← همیشه absolute */
    left: 50%;
    transform: translateX(-50%) scale(1);
    transition: transform 0.3s ease ,top 2s ease ,background 0.6s ease;  /* ← فقط top انیمیت بشه */
  }
  /* موقعیت اولیه هر دکمه */
  .btn-group-0:nth-child(1) { top: 0px; }
  .btn-group-0:nth-child(2) { top: 70px; }
  .btn-group-0:nth-child(3) { top: 140px; }

  /* وقتی stack می‌خوره همه میرن بالا */
  .btn-group-0.stack {
    top: -1200px;
    z-index: 1;
  }

  .btn-group-0:hover {
    transform: translateX(-50%) scale(1.04);
  }

  .btn-group-0:active {
    transform: translateX(-50%) scale(0.95);
  }

  /* دکمه فعال بالاتر بیاد */
  .btn-group-0.active.stack {
    z-index: 10;
  }

  /* وقتی گزینه فعال است، بالاتر از بقیه بره */
  .btn-group-0.active {
    background: white;
    color: black;
    z-index: 50; /* همیشه روی بقیه باشه */
  }
  .btn-group-0.active.stack {
    z-index: 50; /* فقط وقتی stack هست بالاتر بیاد */
  }
  
  .btn-group-0.active:not(.stack) {
    z-index: 1;
  }
  




  /* login-section تمام صفحه */
  .login-section.fullscreen {
    width: 100% !important;
    height: 600px !important;
    transition: all 0.8s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

  }


  .login-box.fullscreen {
    height: 600px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);

  }
  .user-container {
    position: relative; /* برای موقعیت دهی مطلق تنظیمات و منو */
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .user-avatar {
    margin-top: 70px;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

  }


  
  /* آواتار بزرگ → به گوشه بالا چپ بره */
  .user-avatar.big {
    opacity: 0;
    transition: all 0.8s ease;
  }










  #settings-btn {
    position: absolute;
    top: 40px;
    right: 120px; /* بالا سمت چپ آواتار */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
  }

  #settings-icon {
    width: 45px;
    transition: transform 0.5s ease;
  }

  .rotate {
    transform: rotate(90deg);
  }
  
  /* منو گزینه‌ها دقیقاً زیر دکمه */
  #menu-options {
    position: absolute;
    top: 55%; /* پایین دکمه */
    right: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
    background: #000000;
    padding: 1px;
    border-radius: 8px;
    display: none; /* پیشفرض مخفی */
    z-index: 9999;
    width: 110px;
  }

  .menu-option {
    padding: 8px 12px;
    background: #000000;
    color: #fff;
    border: none;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: 'Vazir';
    font-size: 14px;

  }

  .menu-option:hover {
    background: #ffffff;
    color:#000;
  }
  
  /* اورلی و پنل */
  #overlayy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
    z-index: 999999;

  }
  
  #panell {
    background: #000;
    color: #fff;
    width: 10%;
    height: 10%;
    transition: all 1s ease;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;

  }
  
  /* محتوای پنل */
  #panel-contentt {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    width: 70%;
    height: 70%;
    border-radius: 25px;
    z-index: 9999999 ;


  }
  
  /* دکمه بستن */
  #close-btnn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 54px;
    cursor: pointer;
    user-select: none;

  }


  /* استایل باکس اسکرول‌پذیر */
  .finance-data-box {
    height: 60%;
    width: 100%;                 /* ارتفاع دلخواه */
    overflow-y: auto;              /* اسکرول عمودی */
    display: flex;
    align-items: center;           /* مرکز عمودی */
    justify-content: center;       /* مرکز افقی */
    text-align: center;
    color: #fff;
    background: transparent;   /* پس‌زمینه نیمه‌شفاف */
    border-radius: 8px;
    padding: 10px;
  }




  .pwd-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 90%;
    height: 70%;
    overflow-y: auto;
    margin-top: 1rem;
    font-family: 'Vazir';
    align-items: center;   /* افقی وسط */
  }
  .pwd-form label {
    font-size: 0.9rem;
    font-family: 'Vazir';
  }
  .pwd-form input {
    padding: 0.5rem;
    border: 1px solid #ffffff;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    font-family: 'Vazir';
    max-width: 50%;

  }
  .pwd-form button {
    padding: 8px 52px;
    background: #000000;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    font-family: 'Vazir';
    transition: background 0.4s ease, color 0.4s ease;
  }

  .pwd-form button:hover {
    background: #fff;
    color: #000;

  }

























  


  .section-content {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    top: 50%;
    transform: translateY(-55%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease; /* محو/نمایان روان */
  }
  
  .section-content.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease; /* محو/نمایان روان */

  }
  
  #content-box {
    position: relative;
    width: 100%;
    min-height: 300px;
    margin-top: 30px;
    color: white;

  }
  
  textarea, input, select {
    padding: 5px;
    margin-bottom: 10px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  button {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background: #333;
    color: white;
  }
  
  .charts {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }
  
  .chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-carousel {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  
  .carousel-window {
    width: 240px;
    height: 250px;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 0 5px;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-track img {
    width: 100%;
    height: auto;
  }
  
  .carousel-btn {
    background: #000000;
    border: solid 1px white;
    color: white;
    border-radius: 50%;
    width: 50px;
    font-size: 1.5rem;
    height: 50px;
    margin: 20px;
  }
  


  /* دکمه خروج/بازگشت */
  .exit-btn {
    position: absolute;
    width: 200px;
    height: 40px;
    top: 250px;   /* موقعیت اولیه */
    left: 50%;
    transform: translateX(-50%) scale(1);
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
    transition: transform 0.3s ease ,top 2s ease, background 0.8s ease, color 0.4s ease;
  }

  /* وقتی به حالت "بازگشت" میره */
  .exit-btn.back-mode {
    top: 1200px;   /* 100px پایین‌تر بیاد */
    background: black;
  }

    /* وقتی به حالت "بازگشت" میره */
    .exit-btn:hover {
      transform: translateX(-50%) scale(1.04);

    }

    .exit-btn:active {
      transform: translateX(-50%) scale(0.95);

    }





  .charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    margin-top: 20px;
  }
  
  .chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .semicircle {
    width: 120px;
    height: 60px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border: 4px solid white; /* نیم‌دایره توخالی با border سفید */
    border-bottom: none;
    position: relative;
    background: transparent;
  }
  
  .percent-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    font-weight: bold;
    font-size: 1rem;
    color: white;
  }
  
  .arrow {
    position: absolute;
    top: -12px;  /* بالای نیم‌دایره */
    left: 50%;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid yellow; /* فلش به سمت پایین */
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg); /* JS مقدار درصدش را rotate می‌کند */
  }
  





  .pay-button-wrapper {
    text-align: center;
    margin-top: 20px;
  }
  
  #pay-button {
    width: 200px;
    height: 40px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }
  
  
  
  #content-text {
    border-radius: 50px;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-family: 'Vazir';
    font-size: 0.9rem;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    direction: rtl;
    height: 25px;
    margin: auto;
    padding: 10px 15px; /* فاصله متن و placeholder از گوشه‌ها */
  }

  #submit-content {
    width: 200px;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }


















  


  #assistant-content {
    flex-direction: column;
    padding: 20px;
    color: white;
    font-family: 'Vazir';
    width: 80%;
    margin: auto;
    top: 50%;
    transform: translateY(-60%);
    z-index: 1000;
    direction: rtl;
  }
  
  .custom-select {
    position: relative;
    width: 100%;
  }
  
  .custom-select .selected {
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid white;
    background: transparent;
    color: #aaa;
    cursor: pointer;
  }
  
  .custom-select.active .selected {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .custom-select .options {
    display: none;
    position: absolute;
    width: 100%;
    background: #222;
    border: 1px solid white;
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 10;
  }
  
  .custom-select .options div {
    padding: 10px;
    cursor: pointer;
    color: white;
  }
  
  .custom-select .options div:hover {
    background: #444;
  }
  
  .custom-select.active .options {
    display: block;
  }
  
  .custom-select.chosen .selected {
    color: white;
  }
  
  


  .custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    font-family: 'Vazir';
    color: white;
  }
  
  .dropdown-selected {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid white;
    cursor: pointer;
    
  }
  
  .dropdown-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #000000, #161616);
    border-radius: 0px 0px 22px 22px;
    display: none;
    z-index: 1000;
  }
  
  .dropdown-items div {
    padding: 10px;
    cursor: pointer;
  }
  
  .dropdown-items div:hover {
    background: #1a1a1a;
    
  }
  

  #brand-tone {
    width: 100%;
    border-radius: 50px;
    border: 1px solid white;
    background: transparent;
    font-family: 'Vazir';
    font-size: 1rem;
    cursor: text;
    box-sizing: border-box; /* مهم برای هماهنگی width */
    padding: 10px 20px;
    color: white;
    margin-bottom: -1px;
  }
  

  #register-tone {
    width: 200px;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 0px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }



  #comment-system {
    width: 200px;
    height: 40px;
    margin-top: 20px;
    margin-bottom: -50px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }







































  .pricing-promo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -7vh;
    position: relative;
    z-index: 11;
  }
  
  .promo-box {
    background: #222;
    border-radius: 5px;
    padding: 24px;
    max-width: 800px;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: max-height 2s ease,max-width 2s ease ;
    max-height: 130px; 
  }



  .promo-box.expand {
    max-height: 2000px;
    max-width: 1000px;

  }
  
  .plans-container {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    align-items: stretch;
    justify-content: center; 
  }
  .plans-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  .plans-container-x {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch; 
    gap: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: all;
    align-items: stretch;
    justify-content: center; 
  }

  
  .plans-container-youtube {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch; 
    gap: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: all;
    align-items: stretch;
    justify-content: center; 
  }

  .plans-container-linkedin {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch; 
    gap: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: all;
    align-items: stretch;
    justify-content: center;
  }

  .plans-container-shared {
    display: flex;
    flex-wrap: wrap; 
    align-items: center; /* این لازمه */
    gap: 70px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: all;
    justify-content: center; /* باکس‌ها در وسط قرار بگیرن وقتی کم می‌شن */
  }
  
  .plan-box {
    background: transparent;
    color: white;
    flex: 1 1 240px; /* flex-grow, flex-shrink, flex-basis */
    min-width: 240px; /* حداقل عرض برای جلوگیری از خیلی کوچیک شدن */
    max-width: 240px; /* حداکثر عرض برای تعادل بهتر */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: transform 2s ease, width 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }

  .plan-box-linkdin {
    background: transparent;
    color: white;
    flex: 1 1 240px; /* flex-grow, flex-shrink, flex-basis */
    min-width: 240px; /* حداقل عرض برای جلوگیری از خیلی کوچیک شدن */
    max-width: 240px; /* حداکثر عرض برای تعادل بهتر */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: transform 2s ease, width 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }
  
  .price {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
  }
  
  

  
  .buy-btn {
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    width: 50px; /* ← یا مقدار ثابت مثل 80px */
    border-radius: 50px;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: background-color 0.3s ease;
  }
  
  
  .buy-btn:hover {
    background-color: #505050;
  }
  




  .add-item-plan-box {    
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    transition: transform 2s ease, width 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }




  .linkdin-item-btn-text:hover {
    background-color: #494949;
  }
  .linkdin-item-btn-text.active {
    width: 330px;
  }
  .linkdin-item-btn-text {
    width: 70px; 
    top: 110px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    transition: top 0.5s ease ,width 0.5s ease, background-color 0.3s ease;  
  }

  .x-item-btn-text:hover {
    background-color: #494949;
  }
  .x-item-btn-text.active {
    width: 330px;
  }
  .x-item-btn-text {
    width: 70px; 
    top: 60px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    transition: top 0.5s ease ,width 0.5s ease, background-color 0.3s ease;  
  }


  .instagram-item-btn-text:hover {
    background-color: #494949;
  }

  .instagram-item-btn-text {
    width: 70px; 
    top: 10px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    transition: top 0.5s ease ,width 0.5s ease, background-color 0.3s ease;  
  }
  .instagram-item-btn-text.active {
    width: 330px;
  }

  .youtube-item-btn-text:hover {
    background-color: #494949;
  }

  .youtube-item-btn-text.active {
    width: 330px;
  }

  .youtube-item-btn-text {
    width: 70px; 
    top: 160px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    transition: top 0.5s ease ,width 0.5s ease, background-color 0.3s ease;  
  }




  /* ====== Anthropic ====== */
  .anthropic-item-btn-text {
    width: 70px;
    top: 210px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .anthropic-item-btn-text:hover { background-color: #494949; }
  .anthropic-item-btn-text.active { width: 330px; }

  /* ====== Amazon ====== */
  .amazon-item-btn-text {
    width: 70px;
    top: 260px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .amazon-item-btn-text:hover { background-color: #494949; }
  .amazon-item-btn-text.active { width: 330px; }

  /* ====== DeepSeek ====== */
  .deepseek-item-btn-text {
    width: 70px;
    top: 310px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .deepseek-item-btn-text:hover { background-color: #494949; }
  .deepseek-item-btn-text.active { width: 330px; }




























  .plan-item-linkdin-box {
    position: relative;
    color: white;
    left: 118px;
    top: 30px;
    padding: 7px 20px;
    opacity: 0;
    border-radius: 10px;
    text-decoration: none;
    display: none;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: opacity 0.5s ease, background-color 0.3s ease;
  }

  .plan-item-linkdin-box.active {
    opacity: 1;
  }




  .plan-item-x-box {
    position: relative;
    color: white;
    left: 118px;
    top: 30px;
    padding: 7px 20px;
    opacity: 0;
    border-radius: 10px;
    text-decoration: none;
    display: none;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: opacity 0.5s ease, background-color 0.3s ease;
  }

  .plan-item-x-box.active {
    opacity: 1;
  }

  .plan-item-instagram-box {
    position: relative;
    color: white;
    left: 118px;
    top: 30px;
    padding: 7px 20px;
    opacity: 0;
    border-radius: 10px;
    text-decoration: none;
    display: none;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: opacity 0.5s ease, background-color 0.3s ease;
  }

  .plan-item-instagram-box.active {
    opacity: 1;
  }

  .plan-item-youtube-box {
    position: relative;
    color: white;
    left: 118px;
    top: 30px;
    padding: 7px 20px;
    opacity: 0;
    border-radius: 10px;
    text-decoration: none;
    display: none;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: opacity 0.5s ease, background-color 0.3s ease;
  }

  .plan-item-youtube-box.active {
    opacity: 1;
  }













  .item-one-btn-text,
  .item-two-btn-text,
  .item-three-btn-text,
  .item-four-btn-text,
  .item-five-btn-text {
    background-color: #494949;
    padding: 7px 15px;
    text-align: center;
    margin-top: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 200px;
    direction: rtl;
  }
  .item-one-btn-text:hover,
  .item-two-btn-text:hover,
  .item-three-btn-text:hover,
  .item-four-btn-text:hover,
  .item-five-btn-text:hover {
    transform: scale(1.03);
  }
  .item-one-btn-text:active,
  .item-two-btn-text:active,
  .item-three-btn-text:active,
  .item-four-btn-text:active,
  .item-five-btn-text:active {
    transform: scale(0.97);
  }



  .plan-item-anthropic-box,
  .plan-item-amazon-box,
  .plan-item-deepseek-box {
    margin-left: 130px;          /* کنار دکمه‌ها */
    margin-top: 30px;
    display: none;         /* پیش‌فرض مخفی */
    padding: 10px;
    min-width: 220px;
    color: #fff;
    text-align: left;
  }

  .plan-item-instagram-box,
  .plan-item-linkdin-box,
  .plan-item-x-box,
  .plan-item-youtube-box {
    margin-top: 30px;
    display: none;         /* پیش‌فرض مخفی */
    padding: 10px;
    min-width: 220px;
    color: #fff;
    text-align: left;
  }
  
  .plan-item-instagram-box.active,
  .plan-item-linkdin-box.active,
  .plan-item-x-box.active,
  .plan-item-youtube-box.active,
  .plan-item-anthropic-box.active,
  .plan-item-amazon-box.active,
  .plan-item-deepseek-box.active {
    display: block;
  }



  /* ====== OpenAI ====== */
  .instagram-item-btn-text {
    width: 70px;
    top: 10px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .instagram-item-btn-text:hover { background-color: #494949; }
  .instagram-item-btn-text.active { width: 330px; }

  /* ====== Meta ====== */
  .linkdin-item-btn-text {
    width: 70px;
    top: 60px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .linkdin-item-btn-text:hover { background-color: #494949; }
  .linkdin-item-btn-text.active { width: 330px; }

  /* ====== xAI ====== */
  .x-item-btn-text {
    width: 70px;
    top: 110px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .x-item-btn-text:hover { background-color: #494949; }
  .x-item-btn-text.active { width: 330px; }

  /* ====== DeepMind ====== */
  .youtube-item-btn-text {
    width: 70px;
    top: 160px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .youtube-item-btn-text:hover { background-color: #494949; }
  .youtube-item-btn-text.active { width: 330px; }

  /* ====== Anthropic ====== */
  .anthropic-item-btn-text {
    width: 70px;
    top: 210px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .anthropic-item-btn-text:hover { background-color: #494949; }
  .anthropic-item-btn-text.active { width: 330px; }

  /* ====== Amazon ====== */
  .amazon-item-btn-text {
    width: 70px;
    top: 260px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .amazon-item-btn-text:hover { background-color: #494949; }
  .amazon-item-btn-text.active { width: 330px; }

  /* ====== DeepSeek ====== */
  .deepseek-item-btn-text {
    width: 70px;
    top: 310px;
    cursor: pointer;
    position: absolute;
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
  }
  .deepseek-item-btn-text:hover { background-color: #494949; }
  .deepseek-item-btn-text.active { width: 330px; }
/* ====== Meta (linkdin) ====== */
.linkdin-item-btn-text {
  width: 70px;
  top: 60px;        /* ← از 110px به 60px تغییر کند */
  cursor: pointer;
  position: absolute;
  background-color: #424242;
  color: white;
  padding: 7px 20px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
}
.linkdin-item-btn-text:hover { background-color: #494949; }
.linkdin-item-btn-text.active { width: 330px; }


/* ====== xAI (x) ====== */
.x-item-btn-text {
  width: 70px;
  top: 110px;       /* ← از 60px به 110px تغییر کند */
  cursor: pointer;
  position: absolute;
  background-color: #424242;
  color: white;
  padding: 7px 20px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: top 0.5s ease, width 0.5s ease, background-color 0.3s ease;
}
.x-item-btn-text:hover { background-color: #494949; }
.x-item-btn-text.active { width: 330px; }







  #selected-items{
    margin-bottom:20px;
    direction: rtl;
    
  }
  
  .platform-group{
    margin-bottom:15px;
    animation:fadeIn .3s;
    direction: rtl;

  }
  
  .platform-title{
    font-weight:bold;
    font-size: 0.9rem;
    margin-bottom:5px;
    direction: rtl;
    margin-right: -180px;
    position: relative;
  }
  
  .selected-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
    padding:6px 0;
    direction: rtl;

  }
  
  .item-left{
    display:flex;
    gap:10px;
    direction: rtl;
    font-size: 0.9rem;

  }
  
  .remove-item{
    cursor:pointer;
    color:rgb(255, 255, 255);
    font-size: 1.4rem;
    font-weight:bold;
    position: absolute;
    margin-right: -20px;
    transition: transform 0.3s ease;
  }

  .remove-item:hover{
    transform: scale(1.3);
  }
  
  .price-summary{
    border-top:1px solid #ddd;
    padding-top:10px;
    margin-top:15px;
    direction: rtl;

  }
  
  .price-row{
    display:flex;
    justify-content:space-between;
    margin-top:7px;
    font-size: 0.9rem;
    direction: rtl;

  }
  
  .price-row.total{
    border-top: 1px solid #525252;
    margin-top: 20px;
    padding: 10px 0px;
    font-weight:bold;
    font-size:1.1rem;
    direction: rtl;

  }
  
  .empty-text{
    opacity:.6;
  }
  
  @keyframes fadeIn{
    from{opacity:0;transform:translateY(5px)}
    to{opacity:1}
  }













































  .promo-btn {
    background-color: #424242;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-end;
    direction: rtl;
    position: relative;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    animation: promoPulse 2s infinite;
    transform-origin: center;
    animation-play-state: running;
    z-index: 11002;
    opacity: 1;


  }

  /* نمایش دکمه */
  .promo-btn.visible {
    opacity: 1;
  }
  @keyframes promoPulse {
    0% { transform: scale(1); }

    10% { transform: scale(1); }
    50% { transform: scale(1.25); }

    51% { transform: scale(1); }
    53% { transform: scale(1.09); }
    54% { transform: scale(1); }
    55% { transform: scale(1.06); }
    56% { transform: scale(1); }

    100% { transform: scale(1); }
  }

  /* وقتی ماوس روی دکمه است */
  .promo-btn:hover {
    animation-play-state: paused;
    transform: scale(1);
    animation: none; /* کاملاً انیمیشن را متوقف می‌کنیم */

  }


  
  /* کلیک */
  .promo-btn:active {
    transform: translateY(3px) scale(0.98);
    box-shadow:
      0 2px 8px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;

  }
  .promo-btn.fade-out {
    opacity: 0;
  }
  .promo-text {
    direction: rtl;
    align-self: flex-end;
    text-align: right;
    display: inline-block;
    
  }
  
  /* هر کلمه */
  .promo-text span {
    display: inline-block;
    animation: wordFloat 2s infinite ease-in-out;
  }
  
  @keyframes wordFloat {
    0% {
      transform: translateY(0);
    }
  
    53% {
      transform: translateY(0);
    }
  
    54% {
      transform: translateY(var(--offset));
    }
  
    56% {
      transform: translateY(0);
    }
  
    100% {
      transform: translateY(0);
    }
  }
  
  .promo-btn:hover,
  .promo-btn:active {
    animation-play-state: paused;
  }

  /* وقتی دکمه hover یا active است، انیمیشن متن متوقف شود */
  .promo-box:has(.promo-btn:hover) .promo-text span,
  .promo-box:has(.promo-btn:active) .promo-text span {
    animation-play-state: paused;
  }



  /* حالت بدون انیمیشن */
  .promo-text.no-animation span {
    animation: none !important;
  }

  /* حالت بدون انیمیشن */
  .promo-text.add-animation span {
    animation-play-state: running;

  }

  /* ترنزیشن متن */
  .promo-text {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .promo-text.fade-out {
    opacity: 0;
    transform: translateY(6px);
  }

  .promo-text.fade-in {
    opacity: 1;
    transform: translateY(0);
  }


  

  .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    direction: rtl;
    text-align: right;
  }
  .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  
  
  .check {
    color: white; /* رنگ تیک سفید */
  }


  .feature::before {
    content: "✓";
    color: #fff;
  }
  .feature.disabled {
    opacity: 0.4;
  }
  .feature.disabled::before {
    content: "✕";
    color: #aaa;
  }

  .feature.add::before {
    content: "++";
    font-size: 16px;
    color: #fff;
  }
  .feature.time::before {
    content: "⏱";
    color: #fff;
  }

  .feature.timetwo::before {
    content: ">>";
    color: #fff;
  }

  .featurelinetwo {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    direction: rtl;
    margin-right: 16px;
  }

  .featurelinetwo.disabled {
    opacity: 0.4;
  }



  .feature.timethree::before {
    content: "";
    color: #fff;
  }

  




















  
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1000px; /* اختیاری برای محدود کردن */
  }
  
  
  
  
  
  .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: scale(1.03);
  }
  
  .gallery-item img {
    width: 100px;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  .like-count {
    color: #fff;
    padding: 5px;
    font-size: 22px;
    width: 100%;
    text-align: center;
  }
  









  .ai-admin-section {
    padding: 10px 20px;
    text-align: center;
    margin-top: 5%;
    margin-bottom: -3%;
  }
  
  .ai-admin-container {
    max-width: 600px;
    margin: 0 auto;
    display: block; /* مهم: flex نباشه */
  }
  
  .ai-admin-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s ease;
  }

  .ai-admin-click-wrapper {
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .ai-admin-click-wrapper:hover {
    transform: scale(1.03);
  }
  .ai-admin-title:active {
    transform: scale(0.97);
  }
  
  .ai-admin-text {
    font-size: 20px;
    color: #fff;
    direction: rtl;
    line-height: 1.8;
  }
  
  .ai-admin-circle{
    position: relative;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    animation: aiadmincircle 2s ease-in-out infinite; /* تاخیر 0 ثانیه */
  }
  
  /* بازو: پایین 50px → مکث → بالا → مکث 0.5s → راست 200px → مکث → برگشت */
  @keyframes aiadmincircle {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(2.5);
      opacity: 0;    
    }
  }

  .ai-admin-circle-2{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    animation: aiadmincircle2 2s ease-in-out infinite; /* تاخیر 0 ثانیه */
  }
  
  /* بازو: پایین 50px → مکث → بالا → مکث 0.5s → راست 200px → مکث → برگشت */
  @keyframes aiadmincircle2 {
    0% {
      transform: scale(2.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;    
    }
  }


  /* ---------- 1. Wrapper (centered) ---------- */
  .ai-admin-more-info {
    display: none;
    direction: rtl;                  
    position: fixed;
    inset: 0;                        
    align-items: center;              
    justify-content: center;           
    background: rgba(0,0,0,.9);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .ai-admin-more-info.active {
    opacity: 1;
  }
  /* ---------- 2. Flex container for the two panels ---------- */
  .ai-admin-more-info > .inner-wrapper {
    display: flex;
    flex-direction: row;                /* کنار‑به‑کنار */
    width: 90%;                         /* کمی فضای خالی در کناره‌ها */
    max-width: 1000px;                  /* حداکثر عرض */
    height: 80vh;                       /* 80 % ارتفاع صفحه */
    background: transparent;
    overflow: hidden;                   /* جلوگیری از خروج محتوا */
  }

  /* ---------- 3. Vertical scroll (left side) ---------- */
  .vertical-scroll {
    flex: 0 0 80px;                     /* عرض ثابت 80 px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;                /* برای ::before و thumb */
    background: transparent;
    height: 80%;
    top: calc(10%);
  }

  /* خط عمودی */
  .vertical-scroll::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.25),
        rgba(255,255,255,.5),
        rgba(0,0,0,.25)
    );
  }

  /* برچسب‌ها */
  .vertical-scroll .label {
    font-size: 12px;
    color: #fff;
    user-select: none;
    background: transparent;
  }
  .vertical-scroll .label.top    { margin-top: -28px; }
  .vertical-scroll .label.bottom { margin-bottom: -28px; }

  /* Thumb */
  .vertical-scroll .thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    cursor: grab;
    position: absolute;          /* ★ مهم */
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* ---------- 4. محتوا (right side) ---------- */
  .ai-admin-more-info-layer-2 {
    flex: 1;                            /* بقیهٔ فضا را می‌گیرد */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px 100px 10px;
    scrollbar-width: none;             /* Firefox */
    -ms-overflow-style: none;           /* IE/Edge قدیمی */
  }
  .ai-admin-more-info-layer-2::-webkit-scrollbar { display: none; }

  /* متن داخل لایه */
  .ai-admin-info-text {
    justify-items: center;
    direction: rtl;
    font-size: 1rem;
    font-family: 'Vazir', sans-serif;
    color: #fff;
    line-height: 2; /* یا هر مقدار دیگری که می‌خواهید */
  }

  .ai-admin-info-text h3 {
    margin-top: 40px;
    margin-bottom: 15px;
  }


  .ai-admin-more-info-close {
    cursor: pointer;
    display: flex;
    width: 120px;
    height: 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    margin-top: 20px;
    margin-right: 100px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }


  .ai-admin-more-info-close:hover {
    background-color: #fff;
    color: #000;
  }

  .ai-admin-more-info-close:active {
    transform: scale(0.97);
  }


  .ai-admin-more-info-aiadmin {
    cursor: pointer;
    display: flex;
    width: 190px;
    height: 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    margin-top: 120px;
    margin-left: 100px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }


  .ai-admin-more-info-aiadmin:hover {
    background-color: #fff;
    color: #000;
  }

  .ai-admin-more-info-aiadmin:active {
    transform: scale(0.97);
  }





  .ai-admin-click-event {
    position: absolute;
    margin-top: -20px;
    font-size: 0.7rem;
  }





































  .image-video-workshop-button {
    position: relative;
    display: flex;
    direction: rtl;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 200px;
    border-radius: 25px;
    height: 45px;
    border: 1px solid #fff;
    background: #000;
    color: #fff;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.5s ease;
  }

  .image-video-workshop-button:hover {
    width: 270px;
    .image-video-workshop-button-1 {
      transform: translateX(70px);
      opacity: 1;
      transition-delay: 0.5s;
      transition-property: opacity;
      transition-duration: 0.5s;
      transition-timing-function: ease-in-out;
    };

    .image-video-workshop-button-2 {
      transform: translateX(-50px);
    };
  }

  .image-video-workshop-button-1 {
    opacity: 0;
    position: absolute;
    font-size: 0.8rem;
  }



  .image-video-workshop-button-2 {
    position: absolute;
    transition: transform 0.5s ease;
    font-size: 1.1rem;
  }

  .image-video-workshop-button-2.active {
    transform: translateX(-50px);
  }


  .website-creator-ai-button {
    margin-right: 175px; 
    margin-top: -50px;
    padding: 5px 5px;
    background: #222;
    color: #fff;
    width: 90px;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .website-creator-ai-button:hover {
    transform: scale(1.03);
  }

  .website-creator-ai-button:active {
    transform: scale(0.97);
  }

















  









  .site-footer {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    color: #ccc;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .link-row a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
  }
  
  .link-row a:hover {
    color: #fff;
  }
  
  .footer-contact p {
    margin: 4px 0;
    font-size: 14px;
    color: #aaa;
  }
  
  .footer-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-socials a img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s;
  }
  
  .footer-socials a:hover img {
    filter: grayscale(0%) brightness(1.2);
  }
  






















  .responsive-box {
    position: relative;
    width: 80vw;
    max-width: 800px;
    min-width: 300px;
    aspect-ratio: 16 / 9;
    background-color: transparent;
    margin: -11vh auto;
  }
  
  /* خط بالا */
  .line-top {
    position: absolute;
    top: 10%;
    width: 100%;
    height: auto;
  }
  
  /* خط پایین‌تر */
  .line-bottom {
    position: absolute;
    top: 12%;
    width: 100%;
    height: auto;
  }
  
  /* کنترل در پایین باکس وسط‌چین */
  .control-icon {
    position: absolute;
    top: 10%;
    left: 22%;
    transform: translateX(-50%);
    height: 30%;
    width: auto;
  }

  .lifter-wheel {
    position: absolute;
    top: 10%;
    left: 74.80%;
    transform: translateX(-50%);
    height: 15.8%;
    width: auto;
    will-change: transform;
    z-index: 10;
    animation: wheelSequence 12s ease-in-out infinite 9s; /* تاخیر 0.5 ثانیه */
  }
  
  .lifter-arm {
    position: absolute;
    top: 12%;
    left: 74.25%;
    transform: translateX(-50%);
    height: 28%;
    width: auto;
    will-change: transform;
    z-index: 9;
    animation: armSequence 12s ease-in-out infinite 9s; /* تاخیر 0 ثانیه */
  }
  
  /* بازو: پایین 50px → مکث → بالا → مکث 0.5s → راست 200px → مکث → برگشت */
  @keyframes armSequence {
    0% {
      transform: translateX(0) translateY(0);
    }
    5% {
      transform: translateX(0) translateY(48%);
    }
    15% {
      transform: translateX(0) translateY(48%);
    }
    25.5% {
      transform: translateX(0) translateY(0);
    }
    35% {
      transform: translateX(0) translateY(0);
    }
    44% {
      transform: translateX(158%) translateY(0);
    }
    44% {
      transform: translateX(158%) translateY(0);
    }
    48.889% {
      transform: translateX(0) translateY(0);
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }
  
  @keyframes wheelSequence {
    0% {
      transform: translateX(0) translateY(0);
    }
    25.5% {
      transform: translateX(0) translateY(0);
    }
    35% {
      transform: translateX(0) translateY(0);
    }
    44% {
      transform: translateX(182%) translateY(0);
    }
    44% {
      transform: translateX(182%) translateY(0);
    }
    48.889% {
      transform: translateX(0) translateY(0);
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }

  



















  

  .input-box-1, .input-box-2, .input-box-3, .input-box-4, .input-box-5 {
    position: absolute;
    top: 45.5%;
    height: 11%; /* یا هر ارتفاع دلخواه، بهتر از درصد برای کنترل دقیق */
    width: auto;
    z-index: 10;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  .input-box-1 { animation-name: animBox1; animation-delay: 0s; }
  .input-box-2 { animation-name: animBox2; animation-delay: 2s; }
  .input-box-3 { animation-name: animBox3; animation-delay: 4s; }
  .input-box-4 { animation-name: animBox4; animation-delay: 6s; }
  .input-box-5 { animation-name: animBox4; animation-delay: 8s; }


  .input-box-1, .input-box-2, .input-box-3, .input-box-4, .input-box-5 {
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  @keyframes animBox1 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  
  @keyframes animBox2 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  
  @keyframes animBox3 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  @keyframes animBox4 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }  
  @keyframes animBox5 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }  

  
  .output-box-1, .output-box-2, .output-box-3, .output-box-4 {
    position: absolute;
    top: 48%;
    height: 8.5%;
    width: auto;
    z-index: 1;
    opacity: 0;
    animation-duration: 12s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
  }
  
  /* جای اولیه‌شون */
  .output-box-1 {
    left: 66%;
    animation-name: animOutput1;
    animation-delay: 0s;
  }
  
  .output-box-2 {
    left: 66%;
    animation-name: animOutput2;
    animation-delay: 2.4s;
  }

  .output-box-3 {
    left: 66%;
    animation-name: animOutput3;
    animation-delay: 4.8s;
  }

  .output-box-4 {
    left: 66%;
    animation-name: animOutput4;
    animation-delay: 7.2s;
  }




  @keyframes animOutput1 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }
  
  
  
  @keyframes animOutput2 {
    0%   { opacity: 0; transform: translateX(-200%); }
    10%  { opacity: 1; transform: translateX(-200%); }
    20%  { opacity: 1; transform: translateX(-100%); }
    30%  { opacity: 1; transform: translateX(-100%); }
    40%  { opacity: 1; transform: translateX(30%); }
    50%  { opacity: 1; transform: translateX(30%); }
    60%  { opacity: 1; transform: translateX(180%); }
    70%  { opacity: 1; transform: translateX(180%); }
    80%  { opacity: 1; transform: translate(180%, -160%); }
    90%  { opacity: 1; transform: translate(180%, -160%); }
    99%  { opacity: 1; transform: translate(400%, -160%); }
    100% { opacity: 0; transform: translate(400%, -160%); }
  }

  @keyframes animOutput3 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }

  @keyframes animOutput4 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }
  

  /* کنترل در پایین باکس وسط‌چین */
  .main-machine {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
    height: 50%;
    width: auto;
    z-index: 10;
  }

  @keyframes rotateGear {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }
  
  .gear-1 {
    position: absolute;
    top: 45%;
    left: 52%;
    transform: translateX(-50%);
    height: 10%;
    width: auto;
    z-index: 11;
    animation: rotateGear 10s linear infinite;
  }
  

  @keyframes rotateGearReverse {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(-360deg);
    }
  }
  .gear-2 {
    position: absolute;
    top: 43.9%;
    left: 48%;
    transform: translateX(-50%);
    height: 8%;
    width: auto;
    z-index: 11;
    animation: rotateGearReverse 8s linear infinite;
  }
    
  

  .gear-3 {
    position: absolute;
    top: 51%;
    left: 48.9%;
    transform: translateX(-50%);
    height: 5%;
    width: auto;
    z-index: 11;
    animation: rotateGear 4s linear infinite;
  }
  

  .small-gear-1 {
    position: absolute;
    top: 56.5%;
    left: 15.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-2 {
    position: absolute;
    top: 56.5%;
    left: 20.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-3 {
    position: absolute;
    top: 56.5%;
    left: 25.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-4 {
    position: absolute;
    top: 56.5%;
    left: 30.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-5 {
    position: absolute;
    top: 56.5%;
    left: 35.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-6 {
    position: absolute;
    top: 56.5%;
    left: 80.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-7 {
    position: absolute;
    top: 56.5%;
    left: 75.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-8 {
    position: absolute;
    top: 56.5%;
    left: 70.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-9 {
    position: absolute;
    top: 56.5%;
    left: 65.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-10 {
    position: absolute;
    top: 56.5%;
    left: 60.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  @keyframes rotateGear {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }
  /* پنج تای اول */
  .small-gear-1,
  .small-gear-2,
  .small-gear-3,
  .small-gear-4,
  .small-gear-5 {
    animation: rotateGear1 2s linear infinite;
  }

  @keyframes rotateGear1 {
    0%, 50% {
      transform: rotate(0deg); /* ایست */
    }
    100% {
      transform: rotate(180deg); /* یک چرخش نصفه در یک ثانیه حرکت */
    }
  }

  /* پنج تای دوم */
  .small-gear-6,
  .small-gear-7,
  .small-gear-8,
  .small-gear-9,
  .small-gear-10 {
    animation: rotateGear2 2.4s linear infinite;
  }

  @keyframes rotateGear2 {
    0%, 50% {
      transform: rotate(0deg); /* ۲ ثانیه ایست */
    }
    100% {
      transform: rotate(180deg); /* ۲ ثانیه حرکت */
    }
  }

    
  .video-icon {
    position: absolute;
    top: 38%;
    left: 22%;
    transform: translateX(-50%);
    height: 11%;
    width: auto;
    z-index: 11;
  }
  












































  .animated-section {
    display: flex;
    flex-direction: row; /* همه چیز به راست میره */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    margin-top: 5%;
    margin-bottom: 15vh;
  }
  
  .text-content {
    flex: 1;
    min-width: 180px;
    margin-top: 20%;
    color: white;
    font-size: 18px;
    line-height: 1.8;
    direction: rtl;
    margin-left: auto; /* این نوشته‌ها رو به سمت چپ می‌بره */
  }
  
  .svg-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: auto; /* سایر بخش‌ها رو به سمت راست می‌بره */
  }
  
  .animation-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .anim {
    position: absolute;
    width: 50%;
    height: auto;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    animation: slideDown 6s linear infinite;
  }
  
  .anim2 {
    animation-delay: 3s;
  }
  
  @keyframes slideDown {
    0%   { top: -100%; }
    50%  { top: 100%; }
    100% { top: 100%; }
  }
  
  .overlay-logo {
    position: absolute;
    z-index: 10;
    top: 200px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  
  .main-logo {
    width: 40%;
    height: auto;
  }
  























































  .custom-svg-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto; 
  }

  .custom-svg-box svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .svg-bottom {
    z-index: 1;
    width: 35%;
    height: auto;
  }

  .svg-top {
    width: 25%;
    height: auto;
  }

  .svg-middle {
    z-index: 4;
    margin-left: 2%;
    margin-top: 9.7%;
    width: 55%;
    height: auto;
    pointer-events: none; /* 🔥 خیلی مهم */

  }


  .svg-wrapper-2 {
    transform-origin: center center; /* مرکز wrapper */
    animation: pulse 2s infinite;
    z-index: 3;
    position: relative;
    width: 32%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    left: 36%;
    transform: translateX(-50%);
  }
  
  

  
  @keyframes pulse {
    0%   { transform: scale(1); }
    90%  { transform: scale(1); }
    95%  { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  


  /* دکمه / متن */
  .income-label {
    position: absolute;
    top: 158%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 160px;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;

    z-index: 99;
    direction: rtl;

    background: transparent;

    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }



  .income-text {
    font-size: clamp(30px, 2vw, 22px);
    font-weight: 700;
  
    background: linear-gradient(
      270deg,
      #000000,
      #000000,
      #ffffff,
      #000000
    );
  
    background-size: 600% 600%;

    -webkit-background-clip: text;
    background-clip: text;
  
    color: transparent;
    -webkit-text-fill-color: transparent;
  
    animation: gradientMove 4s ease infinite;
  }
  


  @keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  




















  .video-icon {
    animation: moveDownLoop 2s infinite;
    left: 19%;
    z-index: 9;
  }
  
  @keyframes moveDownLoop {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    40% {
      transform: translateY(80%);
      opacity: 1;
    }
    45% {
      transform: translateY(80%);
      opacity: 0;
    }
    55% {
      transform: translateY(0);
      opacity: 0;
    }
    60% {
      transform: translateY(0);
      opacity: 0;
    }
    90% {
      transform: translateY(0);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  






















































  .garbage-icon {
    position: absolute; /* یا fixed */
    z-index: 2000;
    width: 11%;
    height: auto;
    right: 0;
    margin-right: 1%; /* فاصله از راست */
    margin-top: 37%;
    opacity: 1;
  }
  
  .garbage-icon.hide {
    opacity: 0;
  }








  
  .prada-machine {
    position: absolute; /* یا fixed */
    z-index: 200;
    left: 0;
    width: 100%;
    height: auto;
    margin-left: -2%; /* فاصله از راست */
    margin-top: 37%;
    opacity: 1;

  }

  .prada-machine.hide {
    opacity: 0;
  }














  .prada-smoke {
    position: absolute; /* یا fixed */
    z-index: 2000;
    left: 0;
    width: 35%;
    height: auto;
    margin-left: -11%; /* فاصله از راست */
    margin-top: 71%;
  
    opacity: 0;
    animation: smokeBlink 3s infinite;
  }
  
  @keyframes smokeBlink {
    0% { opacity: 0; }
    4.5% { opacity: 0; }   
    5% { opacity: 1; }   
    6% { opacity: 0; }  
    7% { opacity: 1; }  
    8% { opacity: 0; }  
    8% { opacity: 1; }  
    90% { opacity: 1; } 
    91% { opacity: 0; }
    92% { opacity: 1; }
    93% { opacity: 0; }
  }
  












  .svg-carousel {
    position: relative;
    width: 24.5%; 
    height: 100%; 
    overflow: hidden;
    top: 123%;
    z-index: 10000;
    margin-left: -6%;
  }

  .svg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    
  }

  .svg-slide.active {
    animation: smokeBlink2 3s linear forwards; /* فقط وقتی active شد */

  }

  @keyframes smokeBlink2 {
    0% { opacity: 0; }
    4.5% { opacity: 0; }   
    5% { opacity: 1; }   
    6% { opacity: 0; }  
    7% { opacity: 1; }  
    8% { opacity: 0; }  
    8% { opacity: 1; }  
    90% { opacity: 1; } 
    91% { opacity: 0; }
    92% { opacity: 1; }
    93% { opacity: 0; }
  }

  









  .text-content-content {
    flex: 1;
    width: 40%;
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    direction: rtl;
    z-index: 100;
    margin-left: 38%;
    margin-top: 40vh;
  }


  @media (max-width: 768px) {
    .text-content-content {
      margin-left: 0;
      position: relative;
      width: 90%;
      top: 66vh;

    }



    .image-video-workshop-button {
      right: calc(10%);
    }
    
  }






















  #scroll-indicator {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;

    display: flex;             
    flex-direction: column;
    align-items: center;       
    justify-content: center;   
  }

  #scroll-indicator.show {
    opacity: 1;
    animation: fadeBlink 8s infinite;  
  }

  #scroll-indicator svg {
    width: 50px;
    height: auto;   
    display: block;
    margin: 0;      
    padding: 0;
    margin-bottom: -5px;
  }

  #line1, #line2 {
    stroke: white;
    opacity: 0;
  }

  #scroll-indicator.show #line1 {
    animation: showLine 0.5s forwards;
  }
  #scroll-indicator.show #line2 {
    animation: showLine 0.5s forwards 0.5s;
  }

  @keyframes showLine {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }

  #scroll-text {
    margin-bottom: 5px;
    opacity: 0;
    font-family: 'Vazir';
    font-size: 0.9rem;
  }

  #scroll-indicator.show #scroll-text {
    animation: fadeBounce 1s forwards 1s, bounce 1s infinite alternate 2s;
  }

  @keyframes fadeBounce {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
  }

  @keyframes fadeBlink {
    0%  { opacity: 0; }
    5%  { opacity: 0.1; }
    10% { opacity: 0.2; }
    15% { opacity: 0.3; }
    20% { opacity: 0.4; }
    25% { opacity: 0.5; }
    30% { opacity: 0.6; }
    35% { opacity: 0.7; }
    40% { opacity: 0.8; }
    45% { opacity: 0.8; }
    50% { opacity: 0.7; }
    55% { opacity: 0.6; }
    60% { opacity: 0.5; }
    65% { opacity: 0.4; }
    70% { opacity: 0.3; }
    75% { opacity: 0.2; }
    80% { opacity: 0.1; }
    85% { opacity: 0; }
    90% { opacity: 0; }
    95% { opacity: 0; }
    100%{ opacity: 0; }
  }














































































  /* پنل اسلایدی */
  #authPanel {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: 89%;
    background: #000;
    transition: right 0.6s ease;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #authPanel.active { right: 0; }

  .auth-btn {
    font-size: 1.1rem;
    border: 1px solid #ffffff;
    width: 325px;
    padding: 10px;
    border-radius: 50px;
    background: #000;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Vazir';
    direction: rtl;
    position: fixed;
    top: calc(50% - 40px);
  }


  .auth-btn.register:hover,
  .auth-btn.login:hover{
    background: #fff;
    color: #000;
  }
  .auth-btn:active {
    transform: scale(0.95);
  }


  /* دکمه اصلی */
  .svg-container {
    position: fixed;
    right: 0;
    top: -0.6vh;
    cursor: pointer;

  }

  #cta-text {
    color: #ffffff;
    opacity: 0;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.5s ease-in;
    position: absolute; 
  }
  

  #final-box {
    position: absolute;
    top: 15%;
    right: 25px;
    width: 150px;
    height: 43px;
    border: 1px solid #a7a7a7;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: width 0.8s ease, border-radius 0.8s ease;
    overflow: hidden;
  }

  /* حالت دایره عمومی */
  #final-box.circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
  }

  /* متن در حالت دایره پنهان می‌شود */
  #final-box.circle #cta-text {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  /* متن در حالت باکس (نمایان با تاخیر نیم‌ثانیه) */
  #final-box.box #cta-text {
    opacity: 1;
    transition: opacity 2s ease;
  }


  /* آیکن مشترک */
  #icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
  }

  /* در حالت دایره آیکن دیده می‌شود */
  #final-box.circle #icon { opacity: 1; }
  /* در حالت باکس آیکن خاموش است */
  #final-box.box #icon { opacity: 0; }

  /* نمایش/عدم نمایش انواع آیکن */
  #icon .icon-login, #icon .icon-close { 
    display: none; 
  }

  /* دایره حالت عادی (ورود) → آیکن ورود */
  #final-box.circle:not(.is-exit) #icon .icon-login { display: block; }
  /* دایره حالت خروج (وقتی پنل باز است) → آیکن ضربدر */
  #final-box.circle.is-exit #icon .icon-close { display: block; }

  /* مستطیل SVG اولیه */
  #animated-rect {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1;
    rx: 0; ry: 0;
    stroke-dasharray: 586;
    stroke-dashoffset: 586;
    transition: stroke-dashoffset 2s linear;
  }



  #close-svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;       /* رنگ خطوط */
    stroke-width: 0.9;   /* ضخامت */
    display: block;
    margin: auto;        /* وسط‌چین در دایره */
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
  }
  
  #close-svg.show {
    opacity: 1;
    transform: rotate(90deg); /* انیمیشن چرخش هنگام ظاهر شدن */
  }
  

  #loginFormContainer {
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 300px;
    align-items: center;
    direction: rtl;
    position: fixed;
    top: calc(50% - 70px);
  }
  
  #loginFormContainer.active {
    display: flex;      /* این خط الزامی است */
    opacity: 1;
  }
  

  /* کاهش ارتفاع دکمه‌ها */
  .auth-btn {
    transition: background 0.3s ease ,opacity 0.5s ease, top 1s ease;
  }

  /* دکمه اصلی پایین برود */
  .auth-btn.login.moved-down {
    transform: translateY(65%);
  }

  .auth-btn.login {
    margin-top: 70px;
    cursor: pointer;

  }


  #loginFormContainer input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }




  /* وقتی دکمه گسترش پیدا می‌کنه */
  .auth-btn.expanded-box-center {
    align-items: flex-start; /* محتوا داخل باکس بالا قرار بگیره */
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }






  #auth-forgot-wrapper {
    width: 100%;
    margin-top: 5px;
    display: flex;
    justify-content: flex-start;
  }
  

  /* متن فراموشی رمز */
  .auth-forgot-password {
    font-family: 'Vazir';
    font-size: 0.9rem;
    color: #cfcfcf;
    cursor: pointer;
    transition: color 0.25s ease, text-shadow 0.25s ease;
  }

  /* hover */
  .auth-forgot-password:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  }




































































  #registerFormContainer {
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 300px;
    align-items: center;
    direction: rtl;
    position: fixed;
    top: calc(50% - 100px);
  }

  /* فرم ثبت نام */
  #registerFormContainer input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }

  #registerFormContainer input:focus {
    border: 1px solid #ffffff;
    outline: none;
  }
  

  /* OTP container */
  #otpContainer {
    justify-content: center;
    gap: 10px;
    transform: translateY(-150%); /* جبران مختصات */
  }

  /* باکس‌های OTP */
  .otpInput {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #fff;
    background: #111;
    color: #fff;
    transition: all 0.3s ease;
  }

  .otpInput:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px #4caf50;
  }

  /* پیام‌ها */
  #message {
    color: #fff;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    font-family: 'Vazir';
    transition: opacity 0.5s ease;
  }

  /* افکت‌های ورود/خروج فرم‌ها */
  #otpContainer {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #registerFormContainer.show,
  #otpContainer.show {
    opacity: 1;
  }

  #otpContainer {
    margin-top: -40px;
  }
  /* فرم ثبت نام وسط صفحه */
  #registerFormContainer {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }


  /* وقتی وارد مرحله OTP شد کمی بالاتر بره */
  .register.move-up-otp {
    transform: translateY(250px); /* کمتر از move-down */
    transition: transform 0.6s ease;
  }

  /* استایل پایه دکمه */

  


  #googleMainBtn {
    opacity: 0;
    width: 210px;
    height: 51px;
    top: calc(50% + 91px);
    left: calc(50% - 105px);
    position: absolute;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    transition: all 1s ease;
    z-index: 1;
  }

  #googleMainBtn.active-left {
    opacity: 1;
    left: calc(50% - 200px);
  }

  #googleMainBtn.active-transform {
    transform: rotate(-90deg);
    top: calc(50% + 116px);
  }
  
  /* کانتینر داخلی */
  .google-inner {
    width: 100%;
    height: 100%;
    display: flex;
  }
  
  /* لوگوی گوگل (۳۰٪ بالا) */
  .google-logo {
    width: 30%;
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* متن GOOGLE (۷۰٪ پایین – هر حرف زیر هم) */
  .google-text {
    gap: 5px;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transform: rotate(90deg);
  }
  
  #googleMainBtn {
    overflow: hidden;
  }
  
  /* لایه سفید روان */
  #googleMainBtn::before {
    content: "";
    position: absolute;
    left: -200%;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.6s ease;
    z-index: 1;
  }
  
  /* هاور */
  #googleMainBtn:hover::before {
    left: 0;
  }
  
  /* محتوا بالای لایه سفید */
  .google-inner {
    position: relative;
    z-index: 2;
  }
  
  /* تغییر رنگ متن */
  #googleMainBtn:hover .google-text span,
  #googleMainBtn:hover .google-text {
    color: #000;
  }
  
  /* تغییر رنگ لوگو */
  #googleMainBtn:hover .google-logo {
    background: none;
    -webkit-text-fill-color: #000;
  }
  
/*================================================*/
  #reggoogleMainBtn {
    width: 51px;
    height: 51px;
    opacity: 0;
    position: absolute;
    top: calc(50% + 123px);
    left: calc(50%);
    transform: rotate(-90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: left center;
    transition:opacity 0.5s ease, left 1s ease, width 0.5s ease, height 0.5s ease;
  }

  /* کانتینر */
  .reg-google-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(90deg);
  }
  

  .reg-google-logo {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  

  /* متن – مخفی */
  .reg-google-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
    font-size: 10px;
    transition: opacity 0.4s ease 0.35s,
                transform 0.4s ease 0.35s;
  }
  


  #reggoogleMainBtn:hover {
    width: 230px;
  }

  #reggoogleMainBtn.active-right {
    opacity: 1;
    left: calc(50% + 200px);
  }
  
  /* لوگو میره بالا */
  #reggoogleMainBtn:hover .reg-google-logo {
    left: 50%;
    transform:translateX(-50%) translateY(65px);
    font-size: 28px;
  }
  
  /* بعد از بزرگ شدن عرض، متن میاد */
  #reggoogleMainBtn:hover .reg-google-text {
    opacity: 1;
    transform: translateX(-50%) translateY(50px);
  }
  



















































  .button-center{
    position: absolute;          /* همیشه نسبت به صفحه */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
  }
  


  /* ظرف دکمه */
  .svg-button {
    width:var(--btn-w);
    height:var(--btn-h);
    border-radius:12px;
    background:transparent;
    display:inline-grid;
    place-items:center;
    cursor:pointer;
    border:0;
    padding:0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    position: relative; /* برای coming-soon */

  }
  
  
  /* قاب داخلی برای هم‌ترازی svg و متن */
  .svg-button__inner{
    width:200px; 
    height:auto; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    transition: opacity 1s ease;

  }
  
  
  /* خودِ SVG — قابل transition برای fade و حرکت */
  .svg-button svg{
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    transition: opacity 1s ease;
    transform-origin:center center;
    pointer-events:none; /* کلیک‌ها روی دکمه گرفته شوند، نه روی خود svg */
    display:block;
    opacity:1;

  }
  
  
  /* کلاس fade برای محو شدن آرام */
  .svg-button.fading svg{
    opacity:0;
  }
  
  
  /* متن "به زودی!" که جایگزین می‌شود */
  .coming-soon {
    position:absolute;
    margin-top: 50px;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    opacity:0;
    transition: opacity 1s ease;
    font-family: 'Vazir';
    font-size:26px;
    color:#ffffff;
    direction:rtl;
  }
  
  
  .svg-button.show-text .coming-soon{
    opacity:1;
  }


























































  .triplebox-container {
    font-family: 'Vazir';
    gap: 20px;
    width: 400px;
    margin: auto;
    position: absolute;
    margin-top: -510px;
    left: 50%;
    transform: translateX(-40%);
    direction: rtl;
    z-index: 10;
  }
  
  .triplebox-item {
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
  }
  
  .triplebox-title, .triplebox-text {
    color: #fff;
    margin: 0 0 10px 0;
    opacity: 0;
  }
  
  #zoomBox {
    margin-top: -220px;
    position: absolute;
    height: 80px;
    width: 350px;
    padding: 10px;
    color: #fff;
    font-family: 'Vazir';
    border-radius: 14px;
    overflow: hidden;
    cursor: none;
    font-size: 1.3rem;
  }
  
  .magnifier {
    position: absolute;
    pointer-events: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    display: none;
  }
  
  .magnifier span {
    margin-top: 50px;
    position: absolute;
    transform: scale(1.3);
    transform-origin: top left;
    white-space: nowrap; /* جلوگیری از شکستن خط */
  }
  
  
  .triplebox-item:hover .cursor-circle {
    width: 25px;  /* کمی بزرگ‌تر هنگام hover */
    height: 25px;
  }
  
  .triplebox-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
  }
  
  .triplebox-text {
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
  }































  /* کانتینر اصلی */
  #uniqueAnim_container {
    width: 42px;
    height: 42px;
    overflow: hidden;
    position: relative;
    border: 4px solid #fff;
    border-radius: 12px;
  }

  /* باکس کوچک متحرک */
  #uniqueAnim_movingBox {
    position: absolute;
    top: 60%;
    left: 100%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
  }

  /* SVG داخلی */
  #uniqueAnim_svg {
    width: 55px;
    height: 55px;
  }

  /* مستطیل داخل SVG */
  #uniqueAnim_rect {
    width: 40px;
    height: 40px;
    fill: url(#uniqueAnim_pattern);
  }


































































  .pixelpass-outer {
    width: 80px;   /* دقیقا به اندازه یک آیتم */
    height: 30px;
    background: black;
    overflow: hidden;
    position: relative;
    z-index: -1;
  }
  
  .pixelpass-track {
    display: flex;
    align-items: center;
    animation: pixelpass-scroll 20s linear infinite;
  }
  
  .pixelpass-item {
    display: flex;
    align-items: center;
    font-family: "Pixelon";
    font-size: 18px;
    color: white;
    margin-right: 80px; /* فاصله بین آیتم‌ها */
  }
  
  .pixelpass-item img {
    width: 30px;
    height: auto;
  }
  
  /* انیمیشن حرکت دقیق به ازای هر آیتم */
  @keyframes pixelpass-scroll {
    0%   { transform: translateX(0); opacity: 1; }
    10%   { transform: translateX(0); opacity: 1;}
    

    20%  { transform: translateX(80px); opacity: 1;}
    30%  { transform: translateX(80px); opacity: 1;}

    40%  { transform: translateX(220px); opacity: 1;}
    50%  { transform: translateX(220px); opacity: 1;}

    60%  { transform: translateX(360px); opacity: 1;}
    70%  { transform: translateX(360px); opacity: 1;}

    80%  { transform: translateX(500px); opacity: 1;}
    90%  { transform: translateX(500px); opacity: 1;}
    99% { transform: translateX(500px); opacity: 1; } 

    100% { transform: translateX(0); opacity: 0; } 
  }
  



































  @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.1; }
    100% { opacity: 1; }
  }
  .resend-blink {
    animation: blink 5s infinite;
    cursor: pointer;
    color: #007BFF; /* رنگ لینک */
    font-weight: bold;
  }
  



  .site-footer{margin-top:40px;padding:24px;text-align:center;color:var(--muted);font-size:14px;direction: rtl}
  .novone-link{display:inline-block;margin:0 6px;vertical-align:middle}
  .novone-logo{height:28px;width: auto;}


































































  .feed-box {
    width: 750px;
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: auto;
    height: 240px;
    direction: ltr;
  }

  .feed-box.empty {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* خود نوار اسکرول */
  .feed-box::-webkit-scrollbar {
    width: 8px; /* ضخامت عمودی */
    height: 8px; /* ضخامت افقی */
  }

  /* پس‌زمینه نوار اسکرول */
  .feed-box::-webkit-scrollbar-track {
    background: transparent; /* رنگ پس‌زمینه اسکرول */
    border-radius: 12px;
  }

  /* خود دکمه اسکرول (thumb) */
  .feed-box::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* رنگ دکمه */
    border-radius: 12px; /* گرد کردن گوشه‌ها */
    border: 2px solid #222; /* فاصله از track */
  }

  /* وقتی موس روی اسکرول است */
  .feed-box::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff; /* رنگ وقتی هاور می‌کنیم */
  }

  .feed-item {
    box-shadow: inset 0 -0.2px 0 rgba(255,255,255,0.5);

    cursor: pointer;
    transition: background 0.2s;
  }

  .feed-item:hover {
    background: #1b1b1b;
  }

  .feed-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
    color: white;
  }

  .feed-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #000000;
    padding: 0 15px;
  }

  .feed-item.active .feed-content {
    max-height: 200px;
    padding: 10px 15px;
  }

  .feed-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #ffffff;
  }
























  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
    font-family: 'Vazir';
    height: 400px;
  }

  .overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: #000000;
    color: #fff;
    width: 360px;
    padding: 25px;
    border-radius: 25px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 100;
    border: 0.5px solid white;
    
  }

  .modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
  }

  .toggle-box {
    display: flex;
    gap: 10px;
    margin-top: 25px;
  }

  .toggle-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 25px;
    background: #000000;
    color: rgb(255, 255, 255)fff;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    font-family: 'Vazir';
    border: 0.5px solid white;

  }

  .toggle-btn.active {
    background: #ffffff;
    color: #000;
  }


















  .enamad-fixed {
    position: absolute;
    z-index: 999;
    padding: 50px;
    transition: all 0.3s ease;
  }
  
  .enamad-fixed img {
    width: 70px;
    height: auto;
    display: block;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  /* افکت هاور */
  .enamad-fixed:hover {
    transform: translateY(-4px);
  }
  
  .enamad-fixed:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
  }
  





  























































  :root{
    --black: #000;
    --white: #fff;
    --transition: 0.4s cubic-bezier(.4,0,.2,1);
  }
  


  .chat-fab{
    position:fixed;
    bottom:24px;
    right:24px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#000000;              /* سفید */
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:99;
  }
  
  .chat-fab svg{
    width:28px;
    height:28px;
    fill:#ffffff;                     /* آیکن مشکی */
    transition:0.4s ease;
    
  }
  
  .chat-ring{
    position:absolute;
    width:52px;
    height:52px;
    border-radius:50%;
    box-shadow:0 0 0 1px #fff;
    transition:
      transform 0.6s cubic-bezier(.4,0,.2,1),
      border-radius 0.6s cubic-bezier(.4,0,.2,1),
      opacity 0.3s;
  }
  
  /* حالت فعال */
  .chat-fab.active .chat-ring{
    transform:
      translate(-134px, -250px)
      scaleX(7)
      scaleY(9);
      
    border-radius:10px 10px 0px 5px ;
    box-shadow:0 0 0 0.1px #fff;
    background:#000;
  }
  
  

  .chat-fab.active svg{
    opacity:0;
    transform:scale(0.5);
  }



  /* ===== Chat Box ===== */
  .chat-box{
    position:fixed;
    bottom:70px;
    right:44px;
    width:320px;
    max-height:420px;
    display:flex;
    flex-direction:column;
    opacity:0;
    transform:translateY(20px);
    pointer-events:none;
    transition:var(--transition);
    z-index:999998;
  }

  .chat-box.active{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .chat-messages{
    flex:1;
    padding:12px;
    overflow-y:auto;
    color:var(--white);
    font-size:14px;
    /* مخفی کردن اسکرول‌بار */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE / Edge قدیمی */
  }
  
  /* Chrome, Safari, Edge */
  .chat-messages::-webkit-scrollbar{
    width:0;
    height:0;
  }
  

  .msg{
    margin-bottom:8px;
    line-height:1.6;
    
  }
  .msg.user{text-align:right;color:#ddd;}
  .msg.ai{text-align:left;color:#9f9;}

  .chat-input{
    display:flex;
    padding:8px;
  }

  .chat-input input{
    flex:1;
    background: transparent;
    border:1px solid #444;
    color:var(--white);
    padding:10px 8px;
    border-radius:25px;
    min-width: 250px;
    font-family: 'Vazir';
    direction: rtl;
  }

  .chat-input button{
    padding:6px 10px;
    cursor:pointer;
    
  }

  .chat-input button:active{transform:scale(.95);}
  










  .icon-btn1 {
    background: none;   /* هیچ پس‌زمینه‌ای */
    border: none;       /* هیچ حاشیه‌ای */
    padding: 4px;       /* کمی فاصله برای کلیک */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--white); /* رنگ آیکون */
    transform: rotate(-45deg);
    margin-left: -5px;

  }
  .icon-btn2 {
    background: none;   /* هیچ پس‌زمینه‌ای */
    border: none;       /* هیچ حاشیه‌ای */
    padding: 4px;       /* کمی فاصله برای کلیک */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--white); /* رنگ آیکون */
    margin-top: -12px;
    margin-left: -5px;

  }
  .icon-btn svg {
    width: 30px;
    height: auto;
    stroke: currentColor;
  }
  
  .icon-btn1:hover {
    transform: scale(1.3);
    color: #9f9;  /* رنگ دلخواه هنگام هاور */
  }
  .icon-btn2:hover {
    transform: scale(1.3);
    color: #9f9;  /* رنگ دلخواه هنگام هاور */
  }
  
  .icon-btn:active {
    transform: scale(0.95);
  }
  
  






























  .scroll-btn {
    white-space: nowrap;
    direction: rtl;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Vazir';
    padding: 10px 20px;
    border-radius: 50px;
    position: fixed;       /* همیشه fixed */
    background-color: #000000;
    border: 1px solid #fff;
    color: white;
    cursor: pointer;

    margin-right: -675px;
    transition: transform 0.3s ease,
                background-color 0.5s ease, border-color 0.5s ease;
    z-index: 11001;
    opacity: 0;          
  }

  .scroll-btn.visible {
      opacity: 1;
  }

  .scroll-btn:hover {
    transform: scale(1.05);
  }

  .scroll-btn:active {
      transform: translateY(2px);
  }


  
  
































































  /* ===== Black Transition Overlay ===== */
  #black-transition {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 1);
    opacity: 0;

    pointer-events: none;
    z-index: 99999999999999;

    transition: opacity 3s ease;
  }

  /* وقتی فعال میشه */
  #black-transition.active {
    opacity: 1;
  }








  








































  #news-ticker {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 20px;
    background: #000;
    overflow: hidden;
    border-top: none;
    border-top: 1px solid;
    border-image: linear-gradient(
      90deg,
      #000000 0%,
      #000000 50%,
      #4b4b4b 70%,
      #ffffff 100%
    ) 1;
    transition: height 0.4s ease, border-image 1s ease;
    z-index: 9999;
  }
  
  #news-ticker.open {
    height: 40px;
    border-top: 1px solid;
    border-image: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 50%,
      #ffffff 50%,
      #ffffff 100%
    ) 1;
      }
  
  #news-toggle {
    position: fixed;
    bottom: 24px;
    right: 0;
    width: 7%;
    min-width: 60px;
    height: 30px;
    background: #000;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    color: #fff;
    border-radius: 10px 0 0 0;
    cursor: pointer;
    z-index: 10000;
    font-size: 14px;
    font-family: 'Vazir';
    transition: all 1s ease, padding 1s ease;

    display: flex;
    align-items: center;    /* وسط عمودی */
    justify-content: center; /* وسط افقی */
    padding: 12px 12px;
}


  #news-toggle.active {
    border-radius: 25px 0 0 25px;
    height: 40px;
    transform: translateY(24px);
    border-top: none;
    justify-content: flex-start;
    padding: 6px 12px;
    font-size: 16px;


  }


  
  #news-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  
  /* دکمه تلگرام فقط در حالت باز */
  #telegram-box {
    width: 30%;
    background: #000;
    border-right: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 0 25px 25px 0;
    display: none;
    align-items: center;
    justify-content: flex-end;
    z-index: 999999;

  }
  /* دکمه تلگرام */
  #telegram-box a {
    color: #fff;
    text-decoration: none;
    font-family: 'Vazir';
  }
  #news-ticker.open #telegram-box {
    display: flex;
    order: 0; /* سمت چپ */
  }
  
  /* متن خبر */
  #news-text {
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    position: absolute;
    width: auto;   /* مهم */
    font-family: 'Vazir';
    display: block;
    z-index: 1;
    will-change: transform;
    direction: rtl;
  }
  
  #news-ticker.open #news-text {
    position: absolute; /* نه fixed */
    width: 100%;        /* متن افقی کل عرض */
    white-space: nowrap; 
    font-size: 16px;
    line-height: 10px;
    order: 1;
    animation: none;    /* فقط JS حرکت میده */
    top: 40%;              /* شروع از وسط ارتفاع */
    transform: translateY(-50%);  /* دقیقاً وسط قرار میده */
}

  


  
  /* انیمیشن افقی */
  @keyframes tickerMove {
    from { transform: translateX(var(--from-x)); }
    to   { transform: translateX(var(--to-x)); }
  }
  
  .mobile-logo-wrap {
    display: none;
  }
  



















































  /* wrapper اصلی */
  #auth-identity-switch {
    display: flex;
    gap: 32px;
    width: 100%;
    margin-left: 24px;
  }

  /* هر input داخل wrap خودش */
  .auth-identity-wrap input{
    overflow: hidden;
    border-radius: 14px;
    
  }

    /* هر input داخل wrap خودش */
    .auth-identity-wrap{
      transition: width 0.4s ease; /* این برای انیمیشن روان */
    }

  /* input */
  .auth-identity {
    background: #000;
    color: #fff;
    outline: none;
    transition: background 0.3s ease;
  }

  /* input فعال */
  .auth-identity.active {
    background: #222;
  }

  /* hover */
  .auth-identity:hover {
    background: #333;
    cursor: text;
  }


















































  .platform-wrapper {
    opacity: 0;
    position: relative;
    width: 100%;
    height: 20px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
  }
  
  .platform-item {
    position: absolute;
    min-width: 50px;
    padding: 6px 12px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    border: none;

    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
  
    /* متغیرها */
    --offset: 0;
    --abs: 0;
    --scale: 0.8;
    --opacity: 1;
    --blur: 0px;
    --z: 0px;
  
    transform:
      translateX(calc(var(--offset) * 85px))
      translateZ(var(--z))
      scale(var(--scale))
      rotateX(calc(var(--offset) * 1deg))
      rotateY(calc(var(--offset) * 1deg));
  
    filter: blur(var(--blur));
    opacity: var(--opacity);
  
    transition:
      transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.9s ease,
      opacity 0.9s ease;
  }
  
  .platform-item.active {
    border: 1px solid transparent;
    z-index: 5;
    background: transparent;
  }
  
  .platform-item.active::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 10px;
    pointer-events: none;
  
    background: linear-gradient(
      120deg,
      transparent 25%,
      #fff,
      transparent 75%
    );
  
    background-size: 200% 200%;
    animation: border-flash 2s linear infinite;
  
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
  
    padding: 1px;
    mask-composite: exclude;
    -webkit-mask-composite: xor;
  }
  
  @keyframes border-flash {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 200% 50%;
    }
  }
  
  
  
  /* موبایل */
  /* ===============================
     Mobile Styles
     =============================== */
     @media (max-width: 768px) {
  
      .platform-wrapper {
        height: 20px;
      }
  
      .platform-item {
        min-width: 40px;
        padding: 6px 12px;
        font-size: 10px;
  
        /* فاصله کمتر برای موبایل */
        transform:
          translateX(calc(var(--offset) * 80px))
          translateZ(var(--z))
          scale(var(--scale));
  
        transition:
          transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
          filter 0.7s ease,
          opacity 0.7s ease;
      }
  
      /* آیتم فعال */
      .platform-item.active {
        --scale: 1.35;
        opacity: 1;
      }
  
      /* آیتم‌های خیلی دور */
      .platform-item {
        opacity: var(--opacity);
      }
  
    }


    .platform-contents {
      width: 100%;
      align-items: center;
    }
    
    .platform-content {
      text-align: center;
      display: none;
      opacity: 0;
      transform: translateY(15px);
      pointer-events: none;
    
      transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    }
    
    .platform-content.active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      display: block;
    }
    
    .platform-content p {
      color: #aaa;
      font-size: 14px;
    }
    













































    .ai-section {
      width: 100%;
      padding: 0 20px;
      background: transparent;
    }
    
    .ai-container {
      max-width: 800px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
    }
    
    .ai-text {
      flex: 1;
      direction: rtl;
      font-family: 'Vazir';
      max-width: 400px;
      margin-top: -50px;
    }


    .last-line {
      font-size: 1.1rem; 
      margin-right: 70px; 
      margin-top: -10px;
    }


    
    .ai-text h2 {
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: #ffffff;
    }
    
    .ai-text p {
      font-size: 1rem;
      line-height: 1.9;
      color: #ffffff;
    }
    
    .ai-image {
      flex: 1;
      display: flex;
      max-width: 400px;
      justify-content: center;
      border-radius: 0 0 20% 0;
      padding: 10px 0px 30px 10px;
      box-shadow:
        110px 110px 110px rgba(255, 255, 255, 0.01),
        110px 110px 110px rgba(255, 255, 255, 0.02);
      transition: 0.4s ease;
      opacity: 0.7;

    }
    
    .ai-image img {
      max-width: 300px;
      height: auto;
    }
    
    .ai-image:hover {
      opacity: 1;
    } 
































    .scale-container {
      position: fixed;
      top: calc(50% - 260px);
      opacity: 1;
      transition: all 0.5s ease;
      transform-origin: center center;
    }
    .scale-container.hidden {
      display: none;
    }
    /* سایز مرجع ثابت */
    .gallery-wrapper{
      width:500px;
      height:500px;
      left: 50%;
      position:fixed;
      transform: scale(0.7) translateX(-70%);
      
    }

    /* پایه */
    .gallery-item{
      position:fixed;
      top: 50%;
      left: 50%;
      transform:translate(-50%,-50%);
      overflow:hidden;
      filter: grayscale(100%) brightness(1.2);
      border-radius: 20px;
      border:1px solid #000000;
      background:#000;
      transition: all 0.5s ease;
      
    }

    .gallery-item:hover{
      transform:scale(1) translate(-50%,-50%);
      z-index:50;
      border:1px solid #000000;
      filter: grayscale(0%) brightness(1);

    }

    .gallery-item img,
    .gallery-item video{
      width:100%;
      height:100%;
      object-fit:cover;
    }

    /* ================= */
    /* موقعیت دقیق پیکسلی مطابق تصویر */
    /* ================= */

    /* مرکز بزرگ */
    .center{
      width:320px;
      height:120px;
      left:390px;
      top:105px;
    }

    /* بالا چپ */
    .box-1{
      width:120px;
      height:220px;
      left:150px;
      top:60px;
    }

    /* بالا وسط عمودی */
    .box-2{
      width:320px;
      height:150px;
      left:-90px;
      top:95px;
    }

    /* بالا راست */
    .box-3{
      width:130px;
      height:250px;
      left:-80px;
      top:320px;
    }

    /* راست کوچک */
    .box-4{
      width:150px;
      height:170px;
      left:-80px;
      top:555px;
    }

    /* چپ عمودی */
    .box-5{
      width:300px;
      height:170px;
      left:160px;
      top:500px;
    }

    /* چپ مربعی */
    .box-6{
      width:140px;
      height:270px;
      left:400px;
      top:550px;
    }

    .box-7{
      width:160px;
      height:110px;
      left:570px;
      top:460px;
    }
    .box-8{
      width:170px;
      height:190px;
      left:590px;
      top:285px;
    }

    .box-9{
      width:120px;
      height:90px;
      left:290px;
      top:-25px;
    }

    .play-icon{
      position:absolute;
      width:60px;
      height:60px;
      background:rgba(0,0,0,.6);
      border-radius:50%;
      display:flex;
      justify-content:center;
      align-items:center;
      color:#fff;
      font-size:24px;
      left:50%;
      top:50%;
      transform:translate(-50%,-50%);
      pointer-events:none;
    }


    /* انیمیشن حرکت نرم */
    .gallery-item{
      transition: transform .5s cubic-bezier(.65,-0.2,.2,1.2),
                  opacity .4s ease;
    }

    .move-to-center{
      opacity:0;
    }

    .move-from-center{
      opacity:0;
    }






















    /* unique-metrics-section - کلاس‌های خاص برای جلوگیری از تداخل */
    .unique-metrics-section {
      width: 70%;
      background: transparent;
      padding: 0 2rem;
      font-family: 'Vazir';
      direction: rtl;
      position: relative;
      left: 50%;
      margin-bottom: 50vh;
      transform: translateX(-50%);
    }

  .unique-metrics-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
  }

  /* هر کارت (metric card) */
  .unique-metric-card {
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      transition: all 0.2s ease;
      padding: 0 80px;
      margin-bottom: 100px;
  }

  /* برای بخش دوم ترتیب برعکس شود (متن چپ، انیمیشن راست) */
  .unique-reverse-row {
      flex-direction: row;
      padding: 0 100px;
      direction: ltr;

  }

  /* متن سمت چپ */
  .unique-metric-text {
      position: relative;
      top: 0;
      flex: 1;
  }
  .unique-metric-text h3 {
      font-size: 1.8rem;
      margin-bottom: 0.75rem;
      color: #fff;
      font-weight: 700;
  }
  .unique-metric-text p {
      font-size: 1.1rem;
      line-height: 1.5;
      color: #fff;
  }
  .unique-zero-percent-text {
      font-size: 3rem;
      font-weight: bold;
      margin: 0.5rem 0;
  }
  .unique-zero-percent-text span {
      font-size: 1.6rem;
      font-weight: normal;
      color: #fff;
  }
  .unique-subtext {
      font-size: 0.9rem;
      color: #fff;
      margin-top: 0.5rem;
  }
  /* بخش انیمیشن راست */
  .unique-metric-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    position: relative;
    top: 500px;
    left: 120px;

  }
  /* انیمیشن 30b +10m */
  .unique-numbers-container {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 0.5rem;
      position: relative;
      direction: ltr;
      top: -350px;
      left: -100px;
  }
  .unique-big-number {
      font-size: 60px;
      font-weight: 800;
      color: #fff;
      transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      display: inline-block;
      line-height: 1;
      direction: rtl;
      position: relative;
      left: 130px;

  }
  .unique-number-text {
    align-items: center;
  }
  .unique-small-number {
      font-size: 40px;
      font-weight: 700;
      color: #fff;
      opacity: 0;
      display: inline-block;
      line-height: 1;
      transition: opacity 0.4s ease-out;
      direction: rtl;
  }
  .unique-small-number.show {
      opacity: 1;
  }
  /* استایل مخصوص بخش پاشیدن 0% */
  .unique-splatter-area {
      position: relative;
      display: none;
      justify-content: center;
      align-items: center;
      margin-top: -150px;
  }
  .unique-big-percent {
    font-size: 130px;
    font-weight: 800;
    color: #fff;
    background: transparent;
    display: inline-block;
    line-height: 1;
    z-index: 2;
    transition: all 0.1s ease;
    transform: rotateY(-37deg) rotateX(-5deg) rotateZ(5deg);
    transform-origin: center center;
    text-shadow: 
        2px 0 0 rgba(255, 255, 255, 0.55),
        4px 0 0 rgba(255, 255, 255, 0.50),
        6px 0 0 rgba(255, 255, 255, 0.45),
        8px 0 0 rgba(255, 255, 255, 0.40),
        10px 0 0 rgba(255, 255, 255, 0.35),
        12px 0 0 rgba(255, 255, 255, 0.30),
        14px 0 0 rgba(255, 255, 255, 0.25),
        16px 0 0 rgba(255, 255, 255, 0.20),
        18px 0 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(0, 0, 0, 0.5),
        40px 0 0 rgba(0, 0, 0, 0.5);
  }




  /* اعداد در حال پرواز */
  .unique-flying-zero {
      font-size: 25px;
      font-weight: bold;
      color: #fff;
      pointer-events: none;
      z-index: 10;
      animation: uniqueFloatUp 1s ease-out forwards;
      white-space: nowrap;
  }
  @keyframes uniqueFloatUp {
      0% {
          opacity: 1;
          transform: translateY(-50px) scale(0.9);
      }
      100% {
          opacity: 0;
          transform: translateY(-170px) scale(1.3);
      }
  }




    /* استایل جدول جدید - وسط چین شده */
    .unique-table-wrapper {
      width: 70%;
      position: relative;
      display: flex;
      justify-content: center;
      left: -200px;
      margin-top: -50px;
      overflow-x: auto;
  }
  .unique-comparison-table {
      width: 100%;
      max-width: 1100px;
      border-collapse: separate;
      border-spacing: 0;
      background: transparent;
      overflow: hidden;
      direction: rtl;
  }
  .unique-comparison-table th {
    background: transparent;
    color: white;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 100;
    text-align: center;
}

.unique-comparison-table th[rowspan] {
    vertical-align: bottom;
}

.unique-comparison-table th[colspan] {
    text-align: center;
    font-size: 1.1rem;
}

/* استایل برای هدر فرعی */
.unique-comparison-table tr:last-child th {
    font-size: 0.95rem;
    background: transparent;
}
  .unique-comparison-table td {
      padding: 1rem 1.2rem;
      text-align: center;
      color: #fafafa;
  }
  .unique-comparison-table tr:last-child td {
      border-bottom: none;
  }

  .unique-model-name {
      color: #1e3c72;
      text-align: center;
      line-height: 1.6;
  }
  .unique-sub-model {
      font-weight: normal;
      font-size: 0.85rem;
      color: #4a627a;
      display: block;
  }




  .unique-small-number.show {
    opacity: 1;
  }
  .unique-number-text {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
  }













.main-container {
  position: relative;
  top: 150px;
  margin-right: 50px;
  max-width: 300px;
  width: 100%;
  border-radius: 25px;
  padding: 20px; 
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  
  /* افکت سه‌بعدی و کج شدن به راست */
  transform: perspective(800px) rotateY(-32deg) rotateX(3deg);
  transform-origin: center center;
  transition: transform 0.3s ease;
}


.main-title {
  text-align: center;
  color: white;
  font-size: 12px;
  font-weight: 400;
  padding: 10px;
  margin-bottom: 30px;
  position: relative;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 20%,
    rgba(255, 255, 255, 0.7) 80%,
    transparent 100%
  );
}

.companies-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: stretch;
  position: relative;
  margin: 0 auto;
  direction: rtl;
}

.company-card {
  flex: 1;
  min-width: 130px;
  max-width: 130px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 4px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border 0.5s ease;
  will-change: transform;
  position: relative;
}



.company-name {
  font-size: 12px;
  text-align: center;
  direction: ltr;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.rank-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #000;
  position: absolute;
  top: -20px;
  right: 0;
  padding: 12px 12px;
  font-size: 10px;
  font-weight: 500;
  margin-left: 8px;
}

.company-prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.model-name {
  font-size: 10px;
  color: #aaa;
}

.price-value {
  font-size: 11px;
  color: #fff;
}



@media (max-width: 900px) {
  .companies-container {
      gap: 15px;
  }
  .company-card {
      min-width: 180px;
      padding: 16px 12px;
  }
  .company-name {
      font-size: 16px;
  }
  .price-value {
      font-size: 13px;
  }
}

@media (max-width: 768px) {
  .companies-container {
      flex-direction: column;
      align-items: center;
  }
  .company-card {
      max-width: 100%;
      width: 100%;
  }
}










































































    
    /* ریسپانسیو موبایل */
    @media (max-width: 768px) {





      .responsive-box {
        position: relative;
        width: 100%;
        max-width: 200px;
        min-width: 200px;
        aspect-ratio: 16 / 9;
        /* padding: 4vw; */
        top: 25vh;
        background-color: transparent;
      }




























      .ai-container {
        flex-direction: column;
        text-align: center;
      }
    

    

      .ai-section {
        margin-top: 600px;
        margin-bottom: -500px;

      }

      .ai-section {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 0 0;
        background: transparent;
      }
      
      .ai-container {
        max-width: 90%;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
      }
      
      .ai-text {
        flex: 1;
        direction: rtl;
        font-family: 'Vazir';
        max-width: 80%;
        margin-top: -50px;
      }
  
  
      .last-line {
        font-size: 1.1rem; 
        margin-right: 70px; 
        margin-top: -10px;
      }
  
  
      
      .ai-text h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        color: #ffffff;
      }
      
      .ai-text p {
        font-size: 1rem;
        line-height: 1.9;
        color: #ffffff;
      }
      
      .ai-image {
        display: flex;
        max-width: 90%;
        order: -1;
        justify-content: center;
        border-radius: 0 0 0 0;
        padding: 0 0 0 0;
        box-shadow:
        0 0 0 rgba(255, 255, 255, 0.01),
        0 0 0 rgba(255, 255, 255, 0.02);
        transition: 0.4s ease;
        opacity: 0.4 !important;
  
      }
      
      .ai-image img {
        max-width: 100%;
        height: auto;
      }
      

    }






















































    .password-wrapper {
      position: relative;
      width: 324px;
      height: 45px;
      margin-bottom: 10px;
    }
    
    .password-wrapper input {
      width: 100%;
      padding: 10px 40px 10px 10px;
      box-sizing: border-box;
    }
    
    .eye-toggle {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      width: 26px;
      height: 26px;
    }
    
    .eye-svg {
      width: 100%;
      height: 100%;
      stroke: #666;
      stroke-width: 1.5;
      fill: none;
    }
    
    .eye-pupil {
      fill: #666;
      transition: opacity 0.2s ease;
    }
    
    /* گروه پلک و مژه */
    .lid-group {
      transform-origin: center;
      transform: scaleY(1);
      transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    }
    
    .eye-toggle:not(.closed) .lid-group {
      transform: scaleY(0);
    }
    
    /* وقتی بازه مردمک دیده میشه */
    .eye-toggle:not(.closed) .eye-pupil {
      opacity: 1;
    }
    
    /* وقتی بسته است مردمک مخفی */
    .eye-toggle.closed .eye-pupil {
      opacity: 0;
    }
    
    /* مژه */
    .lash {
      stroke: #666;
      stroke-width: 1.5;
      stroke-linecap: round;
    }







    /* wrapper */
    .reg-password-wrapper {
      position: relative;
      width: 324px;
      height: 45px;
      margin-bottom: 10px;
    }

    .reg-password-wrapper input {
      width: 100%;
      padding: 10px 40px 10px 10px;
      box-sizing: border-box;
    }

    /* چشم */
    .reg-eye-toggle {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      width: 26px;
      height: 26px;
    }

    .reg-eye-svg {
      width: 100%;
      height: 100%;
      stroke: #666;
      stroke-width: 1.5;
      fill: none;
    }

    .reg-eye-pupil {
      fill: #666;
      transition: opacity 0.2s ease;
    }

    .reg-lid-group {
      transform-origin: center;
      transform: scaleY(1);
      transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    }

    .reg-eye-toggle:not(.closed) .reg-lid-group {
      transform: scaleY(0);
    }

    .reg-eye-toggle.closed .reg-eye-pupil {
      opacity: 0;
    }

    .reg-lash {
      stroke: #666;
      stroke-width: 1.5;
      stroke-linecap: round;
    }

    /* باکس وضعیت */
    .reg-password-status {
      position: fixed;
      top: calc(50% - 135px);
      font-size: 0.8rem;
      transition: all 0.3s ease;
      min-height: 20px;
    }

    .reg-password-status.error {
      color: #ff7a7c;
    }

    .reg-password-status.success {
      color: #57ff94;
      animation: fadeSuccess 0.4s ease forwards;
    }

    @keyframes fadeSuccess {
      0% { opacity: 0; transform: translateY(-5px); }
      100% { opacity: 1; transform: translateY(0); }
    }


















































    #spinner-wrapper{
      position:fixed;
      inset:0;
      background:#000;
      display:flex;
      justify-content:center;
      align-items:center;
      z-index:999999;
      opacity:1;
      transition:opacity .6s ease;
  }
  
  #spinner-wrapper.fade-out{
      opacity:0;
      pointer-events:none;
  }
  
  #lottie-loading{
      width:320px;
      height:320px;
  }
  
  @media (max-width:768px){
  
      #lottie-loading{
          width:220px;
          height:220px;
      }
  
  }
  
  @media (max-width:480px){
  
      #lottie-loading{
          width:180px;
          height:180px;
      }
  
  }


















































  @media (max-width: 768px) {









    /* پنل اسلایدی */
    #authPanel {
      width: 100%;
      height: 100%;
    }
    .mobile-logo-wrap {
      display: block;
      position: relative;
      height: 50px;
    }
    
    /* لایه اصلی */
    #mobilelogo,
    #mobilelogo2 {
      position: absolute;
      right: 3%;
      font-size: 32px;
      font-weight: 800;
      letter-spacing: 1px;
      text-decoration: none;
      font-family: 'Vazir', sans-serif;
      pointer-events: none;
      margin-top: -80px;

    }
    
    /* متن پایه (خاکستری) */
    #mobilelogo {
      color: #5a5a5a;
      animation: floatLogo 3.5s ease-in-out infinite;
    }
    
    /* لایه قرمز نئونی */
    #mobilelogo2 {
      right: 2.6%;
      color: #ffffff;
      opacity: 0.75;
      text-shadow:
        0 0 5px rgba(223, 223, 223, 0.6),
        0 0 15px rgba(245, 245, 245, 0.4);
      animation: glitchLogo 2.2s infinite;
    }
    
    /* حرکت نرم بالا-پایین (مدرن و آروم) */
    @keyframes floatLogo {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }
    
    /* افکت گلیچ خیلی ظریف */
    @keyframes glitchLogo {
      0% {
        transform: translate(0, 0);
        opacity: 0.7;
      }
      20% {
        transform: translate(-1px, 1px);
      }
      40% {
        transform: translate(1px, -1px);
        opacity: 0.9;
      }
      60% {
        transform: translate(-1px, 0);
      }
      80% {
        transform: translate(1px, 1px);
      }
      100% {
        transform: translate(0, 0);
        opacity: 0.75;
      }
    }
    
    /* دکمه‌های احراز هویت */
    .auth-btn {
      width: 90%;
      max-width: 320px;
      font-size: 1rem;
      padding: 12px;
      margin-bottom: 16px;
    }
    .logo-text,
    .logo-svg {
      transition: opacity 0.3s ease;
    }
    
    #final-box {
      transition: left 0.3s ease;
    }
    /* کانتینر دکمه اصلی */
    .svg-container {
      margin-left: 0;
      margin-top: 0;
      width: 100%;
    }

    /* باکس اصلی انیمیشنی */
    #final-box {
      margin-top: -10px;
      margin-left: -15px;
      width: 120px;
      height: 42px;
    }

    /* حالت دایره */
    #final-box.circle {
      width: 42px;
      height: 42px;
    }

    /* متن CTA */
    #cta-text {
      font-size: 15px;
      text-align: center;
      white-space: nowrap;
    }

    /* آیکن */
    #icon {
      width: 22px;
      height: 22px;
      margin-right: 0;
    }







    /* حالت گسترش‌یافته دکمه */
    .auth-btn.expanded-box-center {
      width: 90%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    /* آیکن بستن */
    #close-svg {
      width: 18px;
      height: 18px;
    }

    /* نوشته */
    .logo-text {
      top: -1.5vh;
      left: -10px;

    }


    

    .hero {
      display: none;
    }

    .login-section {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 400px;
      position: relative;
      top: 450px;
    }


    .svg-carousel {
      position: relative;
      width: 24.5%;
      height: 100%;
      overflow: hidden;
      top: 132px;
      z-index: 10000;
      margin-left: -6%;
    }


    .input-wrapper {
      position: relative;
      display: flex;
      justify-content: center; /* مرکز چین افقی */
      align-items: center;     /* مرکز چین عمودی (برای در یک خط بودن) */
      gap: 10px;               /* فاصله بین input و button */
      width: 100%;
      margin-top: 80px;
    }
    
    
    .initial-input {
      width: 70vw;
      font-size: 11px;
      height: 80px;
    }



    .initial-text {
      width: 100%;
      position: absolute;
      left: 82px;
      margin-top: 30px;
    }











    #animated-rect {
      width: 125px; /* نصف 250 */
    }



 























      /* فرم ورود */
    .login-form {
      width: 90%;
      max-width: 200px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      align-items: center;

    }
    
    .login-form input {
      width: 100%;
      padding: 12px;
      border: none;
      background: #222;
      border-radius: 14px;
      color: white;
      font-family: 'Vazir';
    }
    
    .google-btn {
      background: transparent;
      border: 1px solid #f2f2f2;
      width: 325px;
      padding: 10px;
      border-radius: 50px;
      color: white;
      font-family: 'Vazir';
      cursor: pointer;
      transition: all 0.25s ease;
    }
    
    .google-btn:hover {
      background-color: #252525;
    }
    
    /* دکمه ورود اصلی */
    .main-login-btn {
      margin-top: 10px;
      width: 165px;
      height: 50px;
      padding: 10px;
      border-radius: 50px;
      background: transparent;
      color: white;
      font-size: 16px;
      border: 1px solid #f2f2f2;
      cursor: pointer;
      font-family: 'Vazir';
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.6s ease, transform 0.6s ease, width 0.4s ease;
    }
    
    .main-login-btn.expanded {
      width: 325px;
    }
    .main-login-btn.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    
    .icon-wrapper {
      display: inline-block;
      transition: opacity 0.4s ease;
    }
    
    .icon-wrapper.fade-out {
      opacity: 0;
    }
    
    .icon-wrapper.fade-in {
      opacity: 1;
    }




    .menu-button {
      position: fixed; 
      top: 15px;       
      z-index: 11000;  
      width: 32px;
      height: 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      left: 107px;
    }

    /* وقتی دکمه گسترش پیدا می‌کنه */
    .main-login-btn.expanded-box {
      transform: translateY(-50%);
      height: 500px; /* ارتفاع نهایی */
    }




    .pricing-promo {
      display: flex;
      justify-content: center;
      align-items: center;
      /* margin-bottom: -7vh; */
      position: relative;
      z-index: 11;
    }






    .triplebox-container {
      width: 100%;
      left: 50%;
      transform: translateX(-50%);
    }




    /* لوگوی SVG */
    .logo-svg {
      width: 70px;
      height: auto;
      top: 0.4vh;
    }





    #mobileMenu {
      z-index: 999999999999999;
    }



    .promo-box {
      max-width: 70%;
      max-height: 190px;
    }

























    
    #scrollBtn {
      margin-right: 0;
      left: 50%;
      transform: translateX(-50%);
    }




    .promo-btn {
      align-self: center;   /* وسط‌چین افقی داخل promo-box */
      margin-left: auto;
      margin-right: auto;
    }





















    /* محتوای بعد از ورود */
    .after-login {
      display: none; 
      flex-direction: column;
      align-items: center;
      gap: 20px;
      position: fixed;
      top: 50%;
      transform: translateY(-50%);
      left: 0;
      width: 100%;
      height: 80%;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.8s ease, transform 0.6s ease-in-out;
    }

    .after-login.active {
      display: flex;
      opacity: 1;
      pointer-events: auto;
    }


    /* دکمه‌ها */
    .btn-group-0 {
      width: 250px;
      height: 50px;
      border-radius: 50px;
      background: black;
      color: white;
      cursor: pointer;
      font-family: 'Vazir';
      font-size: 1.1rem;
      border: 1px solid #f2f2f2;

      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;

      padding: 0;

      position: fixed;                 /* ← fixed */
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;

      transition: top 0.6s ease, background 0.6s ease;
    }

    /* چیدمان عمودی – مرکز صفحه */
    .btn-group-0:nth-child(1) {
      top: calc(50% - 60px);
    }

    .btn-group-0:nth-child(2) {
      top: calc(50% + 10px);
    }

    .btn-group-0:nth-child(3) {
      top: calc(50% + 80px);
    }

    /* حالت stack */
    .btn-group-0.stack {
      top: calc(50% - 105%) !important;
      z-index: 1;
    }

    .exit-btn {
      position: fixed;
      top: calc(50% + 200px);

    }

    .user-avatar {
      right: 0;
      left: 50%;
      transform: translateX(-50%);
      position: fixed;
      top: calc(50% - 280px);
    }

    

    /* باکس اکانت‌ها */
    .account-dropdown {
      position: absolute;
      top: 10px;
      /* وسط افقی صفحه */
      left: 50%;
      transform: translateX(-50%);
      width: 280px;
      background: #000000;
      color: white;
      border: 1px solid #000000;
      border-radius: 25px;
      overflow: hidden;
  
      /* حالت بسته */
      max-height: 0;
      opacity: 0;
      pointer-events: none;
  
      /* انیمیشن */
      transition: max-height 2s ease, opacity 0.5s ease;
      z-index: 10000;
    }


    #settings-btn {
      position: fixed;
      top: calc(50% - 50px);
      right: calc(50% + 80px); /* بالا سمت چپ آواتار */
    }





      /* دکمه اضافه کردن اکانت */
    .add-account {
      padding: 14px 15px;
      background: #ffffff;
      text-align: center;
      cursor: pointer;
      font-weight: bold;
      color: #000;
      font-family: 'Vazir';

    }

    .add-account:hover {
      color: rgb(255, 255, 255);
      background: #000000;

    }

    /* حالت باز */
    .account-dropdown.active {
      max-height: 100px;
      opacity: 1;
      pointer-events: auto;
    }

    /* login-section تمام صفحه */
    .login-section.fullscreen {
      width: 100% !important;
      height: 100% !important;
      transition: all 0.8s ease;
      position: absolute;

    }


    .login-box.fullscreen {
      height: 100%;
      position: relative;
      top: 50%;
      transform: translateY(-50%);

    }
    .main-login-btn.expanded-wide {
      width: 120% ;
      max-width: 1500px;
      height: 120%;
      max-height: 1500px;
      transition: width 3s ease, height 3s ease;
    }


    #assistant-content {
      font-family: 'Vazir';
      width: 80%;
      height: 100%;
      min-height: 90vh;

      overflow-y: auto;
      overflow-x: hidden;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      /* مخفی کردن اسکرول‌بار */
      scrollbar-width: none;      /* Firefox */
      -ms-overflow-style: none;   /* IE / Edge قدیمی */
    }

    
    /* Chrome, Safari, Edge */
    #assistant-content::-webkit-scrollbar {
      width: 0;
      height: 0;
    }

    .custom-dropdown.field {
      margin-top: 100px;
    }

    
    #comment-system {
      margin-bottom: 250px;
    }



    #dashboard-content {
      font-family: 'Vazir';
      width: 80%;
      height: 100%;
      min-height: 90vh;
    
      overflow-y: auto;
      overflow-x: hidden;
    
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    
      /* مخفی کردن اسکرول‌بار */
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    
    /* Chrome, Safari, Edge */
    #dashboard-content::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    
    .pay-button-wrapper {
      margin-bottom: 150px;
    }


















    .charts-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 40px;
      justify-items: center;
      margin-top: 120px;
    }

    .form-container {
      overflow-y: auto;
      overflow-x: hidden;
    }













    .section-content {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 10px;
      top: 200px;
      transform: translateY(0);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease; /* محو/نمایان روان */
    }


















      /* خود باکس چت */
      .chat-box {
        width: 200px;              /* 90 درصد عرض صفحه */
        max-height: 80dvh;        /* حداکثر ارتفاع */
        right: 120px;
        bottom: 120px;
      }

      /* باکس پیام‌ها هم همیشه با عرض چت هماهنگ */
      .chat-messages {
        width: 100%;
        max-height: calc(80dvh - 60px); /* حدود ارتفاع باکس - input */
        overflow-y: auto;
      }

      /* بخش وارد کردن متن */
      .chat-input {
        width: 100%;
        min-width: 180px;
        box-sizing: border-box;
      }

      .chat-input input {
        width: 180px;
        min-width: 180px;
        max-width: 180px;

      }

      /* Floating button موبایل */
      .chat-fab {
        bottom: 16px;
        right: 16px;
      }
      /* حالت فعال */
      .chat-fab.active .chat-ring{
        transform:
          translate(-134px, -250px)
          scaleX(6)
          scaleY(7);
          
        border-radius:10px 10px 0px 5px ;
        box-shadow:0 0 0 0.1px #fff;
        background:#000;
      }
      .chat-fab svg {
        width: 24px;
        height: 24px;
      }

      /* ring داخل دکمه */
      .chat-ring {
        width: 48px;
        height: 48px;
      }
    





    .svg-bottom {
      z-index: 1;
      width: 57.27%; /* proportional */
      height: auto;
    }
    
    .svg-top {
      width: 40.91%; /* proportional */
      height: auto;
    }
    
    .svg-middle {
      z-index: 4;
      margin-left: 3.28%;  /* proportional */
      margin-top: 15.87%;  /* proportional */
      width: 90%;           /* جدید */
      height: auto;
      pointer-events: none;
    }
    
    
      
    /* دکمه / متن */
    .income-label {
      position: absolute;
      top: 220%;
      direction: rtl;

    }

    .income-text {
      font-size: clamp(1rem, 2vw, 22px);
      font-weight: 700;
      margin-right: 25%;
      background: linear-gradient(
        270deg,
        #000000,
        #000000,
        #ffffff,
        #000000
      );
      background-size: 600% 600%;
    
      -webkit-background-clip: text;
      background-clip: text;
    
      color: transparent;
      -webkit-text-fill-color: transparent;
    
      animation: gradientMove 4s ease infinite;
    }





















    .animated-section {
      margin-top: 650px;
      flex-direction: column;
      align-items: center;
      text-align: center;
      height: 100%;

    }

    .svg-wrapper {
      margin-bottom: 120px;
    }

    .space-170px {
      margin-bottom: 70px;
    }

    .space-60px {
      margin-top: -10px;
    }


    .space-top {
      margin-top: 500px;
    }

    .overlay-logo {
      width: 300px;
      min-width: 300px;
      top: 50%;
      left:50%;
      transform: translateX(-50%);
    }


    .main-logo {
      width: 60%;
    }

    .text-content {
      margin-top: -110px;
    }




    .custom-svg-box {
      /* margin-bottom: 300px; */
      top: 40px;
    }








    .promo-box.expand {
      max-height: 5000px !important; /* ارتفاع نهایی با پلن‌ها */
  
    }






















































    #googleMainBtn {
      content: "";
      width: 51px;
      height: 51px;
      top: calc(50% + 91px);
      left: 50%;
      position: fixed;
      transform: rotate(0deg) translateX(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      transform-origin: center center;
      transition: all 1s ease;
      z-index: 1;
    }
  
    #googleMainBtn.active-left {
      opacity: 1;
      left: 50%;
      transform: rotate(0deg) translateX(-50%);
      top: calc(50% + 160px);
    }
  
    #googleMainBtn.active-transform {
      transform: rotate(0deg) translateX(-50%);
      width: 210px;
      
    }
    
    /* کانتینر داخلی */
    .google-inner {
      width: 100%;
      height: 100%;
      display: flex;
      direction: ltr;
    }
    
    /* لوگوی گوگل (۳۰٪ بالا) */
    .google-logo {
      width: 30%;
      transform: rotate(0deg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      font-weight: bold;
      font-family: Arial, sans-serif;
      background: #fff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    /* متن GOOGLE (۷۰٪ پایین – هر حرف زیر هم) */
    .google-text {
      gap: 5px;
      width: 70%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      direction: ltr;
      transform: rotate(0deg);
    }
    
    #googleMainBtn {
      overflow: hidden;
    }
    
    /* لایه سفید روان */
    #googleMainBtn::before {
      content: "";
      position: absolute;
      left: 100%;
      width: 100%;
      height: 100%;
      background: #fff;
      transition: left 0.6s ease;
      z-index: 1;
    }
    
    /* هاور */
    #googleMainBtn:hover::before {
      left: 0;
    }
    
    /* محتوا بالای لایه سفید */
    .google-inner {
      position: relative;
      z-index: 2;
    }
    
    /* تغییر رنگ متن */
    #googleMainBtn:hover .google-text span,
    #googleMainBtn:hover .google-text {
      color: #000;
    }
    
    /* تغییر رنگ لوگو */
    #googleMainBtn:hover .google-logo {
      background: none;
      -webkit-text-fill-color: #000;
    }
    
  /*================================================*/
    #reggoogleMainBtn {
      width: 51px;
      height: 51px;
      opacity: 0;
      position: fixed;
      top: calc(50% + 80px);
      left: 50%;
      transform: rotate(0deg) translateX(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transform-origin: center center;
      transition:opacity 0.5s ease, top 1s ease, width 0.5s ease 1s, height 0.5s ease;
    }
  
    /* کانتینر */
    .reg-google-inner {
      width: 100%;
      height: 100%;
      position: relative;
      transform: rotate(0deg);
    }
    
  
    .reg-google-logo {
      position: absolute;
      top: 55%;
      left: 10%;
      transform: translate(-50%, -50%);
      font-size: 30px;
      background: #fff;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
  
    /* متن – مخفی */
    .reg-google-text {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-20%) translateY(0);
      opacity: 1;
      display: flex;
      direction: ltr;
      gap: 10px;
      flex-direction: row;
      font-size: 15px;
      transition: opacity 0.4s ease 0.35s,
                  transform 0.4s ease 0.35s;
    }
    
  
  

  
    #reggoogleMainBtn.active-right {
      opacity: 1;
      left: 50%;
      transform: translateX(-50%);
      top: calc(50% + 145px);
      width: 230px;
    }
    
    /* لوگو میره بالا */
    #reggoogleMainBtn:hover .reg-google-logo {
      left: 50%;
      transform:translateX(-50%) translateY(65px);
      font-size: 28px;
    }
    
    /* بعد از بزرگ شدن عرض، متن میاد */
    #reggoogleMainBtn:hover .reg-google-text {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* سایز مرجع ثابت */
    .gallery-wrapper{
      display: none;
    }








































  .unique-metric-card {
      flex-direction: column;
      padding: 0 20px;
      margin-bottom: 50px;
      text-align: center;
      gap: 20px;
  }



  .unique-metric-text {
      text-align: center;
      width: 100%;
  }

  .unique-metric-text h3 {
      font-size: 1.4rem;
  }

  .unique-metric-text p {
      font-size: 1rem;
  }



  .unique-numbers-container {
      flex-direction: row;
      align-items: center;
      gap: 0;
      left: 0;
      top: 0;
      display: none;
  }



  .unique-number-text {
      font-size: 16px !important;
      white-space: normal;
      display: inline-block;
  }

  .unique-splatter-area {
      margin-top: 0;
      margin-bottom: 20px;
  }

  .unique-big-percent {
      display: none;
  }

  .unique-big-percent span {
      margin-top: 70px !important;
      margin-right: -15px !important;
      font-size: 14px !important;
  }

  .unique-subtext {
      font-size: 0.85rem;
      padding: 0 10px;
  }

  .unique-table-wrapper {
      width: 100%;
      left: 0 !important;
      margin-top: 20px;
      justify-content: center;
  }

  .unique-comparison-table {
      width: 100%;
      font-size: 12px;
  }

  .unique-comparison-table th,
  .unique-comparison-table td {
      padding: 8px 4px;
      font-size: 11px;
      white-space: nowrap;
  }

  .unique-comparison-table th {
      font-weight: 400;
  }

  .unique-comparison-table td {
      font-size: 10px;
  }

  .unique-model-name {
      font-size: 10px;
  }

  .unique-comparison-table th[colspan] {
      font-size: 12px;
  }

  .unique-comparison-table tr:last-child th {
      font-size: 10px;
  }






    .unique-metrics-section {
      width: 90%;
      padding: 1rem 1rem;
      top: 550px;
      margin-bottom: 500px;
    }

    .unique-metric-animation {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 180px;
      position: absolute;
      top: 420px;
      left: 90%;
      z-index: 99999;
      transform: translateX(-50%);
  
    }



    .main-container {
      position: relative;
      top: 0;
      left: 20%;
      max-width: 300px;
      margin-right: 0;
      width: 90%;
      border-radius: 25px;
      padding: 20px; 
      background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
      );
      border: 1px solid rgba(255, 255, 255, 0.3);
      
      /* افکت سه‌بعدی و کج شدن به راست */
      transform: perspective(800px) rotateY(-32deg) rotateX(3deg) scale(0.5) translateX(-50%);

    }


    .company-card {
      flex: 1;
      min-width: 120px;
      max-width: 120px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border-radius: 24px;
      padding: 4px 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: border 0.5s ease;
      will-change: transform;
      position: relative;
    }
    
    .unique-reverse-row {
      padding: 0 5px;
      margin-bottom: 50px;
      margin-top: -100px;
    }


    .ai-admin-circle-2 {
      position: absolute;
      width: 10px;
      right: -12px;
      height: 10px;
      border-radius: 50%;
      background: #fff;
      animation: aiadmincircle2 2s ease-in-out infinite;
    }


    .website-creator-ai-button {
      margin-right: 75px;
      margin-top: 0;
    }

    .ai-admin-circle {
      position: absolute;
      top: 0;
      width: 10px;
      right: -12px;
      height: 10px;
      border-radius: 50%;
      background: #fff;
      animation: aiadmincircle 2s ease-in-out infinite;
    }


    body {
      overflow-x: hidden;
      max-width: 100%;
    }




    footer {
      margin-top: 150px !important;
    }











    

    
    

  }