@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/Fa/IRANSansWeb.woff') format('woff'),   
	url('../fonts/Fa/IRANSansWeb.woff2') format('woff2');	
}
@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/Fa/IRANSansXFaNum-Regular.woff') format('woff'),   
	url('../fonts/Fa/IRANSansXFaNum-Regular.woff2') format('woff2');	
}
@font-face {
    font-family: icon;
    font-style: normal;
    font-weight: normal;
    src: url('../icons/fonts/icomoon.woff') format('woff');	
}
.NumFa {
    -moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}
:root {
    /* تنظیمات تم روشن (پیش‌فرض مطابق عکس) */
    --bg-body: #0a0a0c;
    --text-main: #333333;
    --border-color: #bdc3c7;
    --form-bg-border:#2d084f;
    --form-bg:#e2e8f0;
}
html, body{
    background-color: var(--bg-body);
    color: var(--text-main);
    scroll-behavior: smooth;
    direction: rtl;  
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: IRANSansX, Tahoma, Arial, sans-serif;
    font-size: 100%;
    scrollbar-width: inherit;
    scrollbar-color: #e8ba5d #0a0a0c;
}
* {
    box-sizing: border-box;
    outline: none;
   /* font-family: IRANSansX;
    	font-size: 100%;*/
        
}
a,h1,h2,h3,h4,h5,h6,img,span,td,table,tr,p,ul,li
{
    margin: 0 0 0 0;
    padding: 0 0 0 0;
	list-style: none;
	text-decoration: none;
}
main{
    flex-grow: 1;
}
.wrapper{
        clear: both;
    width: 96%;
    max-width: 1366px;
    height: 100%;
    margin: 0 auto;
}
.entry-content ul{
        margin: 10px 0;
}
.entry-content li{
    border-right: 3px solid #e8ba5d;
    margin-bottom: 10px;
    padding: 0 8px;
}
.entry-content h2,h3{
    color: #e8ba5d;
    padding: 10px 0;
}
.entry-content a{
        color: #e8ba5d;
    border-bottom: 1px solid #e8ba5d;
}
.entry-content a:hover{
    color: #1d1d1d;
    border-bottom: none;
    padding: 2px 5px;
    background-color: #e8ba5d;
    border-radius: 5px;
    font-weight: 800;
    transition: 1s;
}
.entry-content strong{
    font-weight: 800;
    color: #e8ba5d;
}
.entry-content img{
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.entry-content p{
    text-align: justify;
}
.entry-content table{
    width: 100%;
    text-align: center;
    border-collapse: separate; /* برای فعال شدن border-radius الزامی است */
    border-spacing: 0; /* چسباندن سلول‌ها به هم */
    border: 2px solid #d1d1d1; /* حاشیه دور جدول */
    border-radius: 5px; /* شعاع انحنای درخواستی */
    overflow: hidden; /* جلوگیری از بیرون زدن لبه سلول‌ها از گوشه‌های گرد */
    margin: 20px 0; /* فاصله از بالا و پایین (اختیاری) */
}
.entry-content table td {
    padding: 12px 10px;
    border-bottom: 1px solid #d1d1d1; /* خط افقی بین ردیف‌ها */
    border-left: 1px solid #d1d1d1; /* خط عمودی بین ستون‌ها */
}
.entry-content table tr td:last-child {
    border-left: none;
}
.entry-content table tr:last-child td {
    border-bottom: none;
}
.entry-content table tr:first-child td {
    background-color: rgba(209, 209, 209, 0.1); /* رنگ پس‌زمینه ملایم */
}
.entry-content table tr th {
    background-color: rgba(209, 209, 209, 0.1); 
    padding: 12px 10px;
    border-bottom: 1px solid #d1d1d1;
    border-left: 1px solid #d1d1d1;
    color: #e8ba5d ;
}
.entry-content video{
    width: 100%;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: #e8ba5d 0px 0px 8px 1px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    position: relative;
    background-color: transparent; /* پس زمینه تیره هدر */
}
/* خط ظریف پایین هدر شبیه به عکس */
header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255,255,255,0) 100%);
}
.Logo{
    cursor: pointer;
        width: 130px;
    -webkit-mask: linear-gradient(-60deg, #ffffff 30%, rgb(255 255 255 / 49%), #ffffff 50%) right / 300% 100%;
    mask: linear-gradient(-60deg, #ffffff 30%, rgb(255 255 255 / 49%), #ffffff 50%) right / 300% 100%;
    background-repeat: no-repeat;
    -webkit-animation: shimmer 3s infinite;
    animation: shimmer 3s infinite;
}
@keyframes shimmer
{
    0%{
        -webkit-mask-position: 140% 140%;
        mask-position: 140% 140%;
    }
    100%{
    -webkit-mask-position: -20% -20%;
        mask-position: -20% -20%;
    }
}
.Logo span{
font-family: 'Arial', sans-serif; 
      font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;

  background: linear-gradient(
    to bottom,
    #fff8cc 0%,   
    #e8ba5d 35%,  
    #8f5c1e 50%, 
    #c99846 65%,
    #fceda3 100% 
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.8));
}
/* MENU (nav) */
/* =========================================
   MENU (nav)
========================================= */
.menu nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.menu nav ul li {
    position: relative;
    padding: 10px 0;
}

.menu nav ul li a {
    text-decoration: none;
    color: #a3a3a3; /* رنگ خاکستری ملایم برای حالت عادی */
    transition: color 0.3s ease;
}

.menu nav ul li a:hover {
    color: #ffffff;
}

/* استایل آیتم فعال (محصولات) */
.menu nav ul li.active > a {
    color: #ffffff;
    font-weight: 500;
}

/* خط زیرین درخشان برای آیتم فعال دقیقاً مثل عکس */
.menu nav ul li.active::after {
    content: '';
    position: absolute;
    bottom: -15px; /* تنظیم ارتفاع برای قرارگیری روی خط هدر */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e8ba5d 50%, transparent 100%);
    box-shadow: 0 -2px 10px rgba(232, 186, 93, 0.6); /* هاله نور طلایی */
}

/* =========================================
   BTN PROJECT (دقیقاً مطابق عکس)
========================================= */
.BtnProject a {
    position: relative;
    background-color: rgba(0, 0, 0, 0.4); /* پس‌زمینه تیره و کمی شفاف */
    color: #e8ba5d; 
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;   
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: all 0.3s ease;
    font-family: 'IRANSansX';
    box-shadow: 0 0 15px rgba(232, 186, 93, 0.1), inset 0 0 10px rgba(232, 186, 93, 0.05);
}

/* ایجاد بوردر گرادیانت با تکنیک Mask */
.BtnProject a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px; /* ضخامت بوردر */
    /* گرادیانت بوردر: دو طرف تیره تر، وسط طلایی روشن */
    background: linear-gradient(
        90deg,
        rgba(143, 92, 30, 0.3) 0%, 
        #fceda3 50%, 
        rgba(143, 92, 30, 0.3) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* افکت هاور دکمه */
.BtnProject a:hover {
    color: #ffffff;
    box-shadow: 0 0 20px rgba(232, 186, 93, 0.25), inset 0 0 15px rgba(232, 186, 93, 0.1);
    transform: translateY(-1px);
}
.right-header {
    display: flex;
    align-items: center;
    gap: 15px; /* فاصله بین لوگو و آیکون همبرگر */
}
/* استایل آیکون همبرگر */
.hamburger-icon {
    display: none; /* در دسکتاپ مخفی است */
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 101; /* برای قرار گرفتن روی منوی باز شده */
}

/* خطوط طلایی آیکون همبرگر */
.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #e8ba5d; /* رنگ طلایی هماهنگ با تم */
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* انیمیشن تبدیل آیکون همبرگر به ضربدر (X) در حالت فعال */
.hamburger-icon.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}
.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* =========================================
   1. تنظیمات کانتینر اصلی (مخفی نگه داشتن کل مجموعه)
   ========================================= */
#mobile-menu {
    position: static;
    visibility: visible;
}

/* =========================================
   2. انیمیشن نقطه و خط طلایی
   ========================================= */
.glow-line-wrapper {
    display: none;
}

.glow-line {
    height: 3px;
    width: 6px; /* حالت پیش‌فرض: نقطه */
    border-radius: 50%;
    background: #e8ba5d;
    box-shadow: 0 0 10px #e8ba5d, 0 0 20px #e8ba5d;
    opacity: 0; /* در حالت بسته محو است */
    
    /* تنظیمات زمان بسته شدن (Close):
       اول 0.4 ثانیه صبر میکند تا باکس بسته شود (delay: 0.4s)
       سپس 0.4 ثانیه طول میکشد تا به نقطه تبدیل شود.
       در نهایت 0.8 ثانیه صبر میکند و بعد در 0.3 ثانیه محو میشود. */
    transition: 
        width 0.4s ease 0.4s, 
        border-radius 0.4s ease 0.4s,
        opacity 0.3s ease 0.8s;
}



/* =========================================
   3. انیمیشن باکس منو و محتوا
   ========================================= */
.menu-box {
    display: block;
}

.menu-inner {
    min-height: auto;
}

/* انیمیشن محتوای داخل باکس (لینک‌ها) */
.menu-content {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: none;
}
.menu-content li {
    position: relative;
    padding: 10px 0;
}
.menu-content li a {
    text-decoration: none;
    color: #a3a3a3;
    transition: color 0.3s ease;
}

.menu-content li a:hover {
    color: #ffffff;
}
.menu-content li.active > a {
    color: #ffffff;
    font-weight: 500;
}
.menu-content li.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e8ba5d 50%, transparent 100%);
    box-shadow: 0 -2px 10px rgba(232, 186, 93, 0.6);
}
/* تنظیمات بخش اصلی */
.novix-hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh; /* ارتفاع تمام صفحه */
    background-color: var(--bg-body);
    overflow: hidden;
    direction: rtl;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}
#novix-hero::after
 {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px -20px 20px 20px #0b0b0b;
    pointer-events: none;
    z-index: 2;
}
.novix-hero-section * {
    box-sizing: border-box;
}

/* لایه پس زمینه ذرات */
.hero-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* استایل کانتینر محتوا */
.hero-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    /*max-width: 1400px;*/
    margin: 0 auto;
    height: 60vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    pointer-events: none; 
}

/* متن‌ها در دسکتاپ نیمی از صفحه (سمت راست) را می‌گیرند */
.hero-text-box {
            background: rgb(20 20 25 / 19%) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important; /* لبه شیشه‌ای بسیار ظریف */
    flex: 1;
    color: #ffffff;
    pointer-events: auto;
    text-align: right; /* راست‌چین کردن صریح متن‌ها */
    z-index: 10;
    padding: 20px;
    border-radius: 10px;
}

/* فضای خالی برای ذرات نیمی از صفحه (سمت چپ) را می‌گیرد */
.hero-empty-space {
    flex: 1;
}

/* استایل‌دهی به متن و دکمه‌ها */
.hero-text-box h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.hero-text-box .highlight {
    color: #e8ba5d;
}

.hero-text-box p {
    font-size: 1rem;
    color: #a3a3a3;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* دکمه ها در دسکتاپ سمت راست باشند */
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #e8ba5d;
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(232, 186, 93, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(232, 186, 93, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: #e8ba5d;
    color: #e8ba5d;
}

.Bg-Title{
        display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.Bg-Title span:last-child{
    display: none;
}
/* تنظیمات کلی سکشن */
.services-section {
        padding: 1rem 2rem 3rem 2rem;
    background-color: #0a0a0c;
    direction: rtl;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

/* 
========================================
1 - انیمیشن بوردر متحرک و تنظیمات تگ لینک
========================================
*/
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none; /* حذف خط زیر لینک */
    cursor: pointer; /* تبدیل موس به حالت کلیک */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent 70%, 
        #e8ba5d 100%
    );
    animation: rotate-border 4s linear infinite;
}

/* 
** نکته مهم برای ناهماهنگ کردن چرخش‌ها **
استفاده از delay منفی باعث می‌شود انیمیشن‌ها از قبل شروع شده فرض شوند
و نیازی به صبر کردن برای شروع نداشته باشند، اما در نقاط مختلفی از چرخش باشند.
*/
.service-card:nth-child(1)::before { animation-delay: 0s; }
.service-card:nth-child(2)::before { animation-delay: -1.2s; }
.service-card:nth-child(3)::before { animation-delay: -3.5s; }
.service-card:nth-child(4)::before { animation-delay: -2.1s; }


@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-inner {
    position: relative;
    background: #0f0f13;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 
========================================
2 - دایره درخشان لوگو (بدون نقطه نورانی زیرین)
========================================
*/
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid rgba(232, 186, 93, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    
    /* افزایش شدت شادو (Glow) طلایی اطراف و داخل دایره */
    box-shadow: 
        0 0 25px rgba(232, 186, 93, 0.25),   /* سایه بیرونی */
        inset 0 0 20px rgba(232, 186, 93, 0.2); /* سایه داخلی */
        
    transition: all 0.3s ease;
}

/* افکت درخشش بیشتر هنگام هاور شدن روی کل کارت */
.service-card:hover .icon-wrapper {
    box-shadow: 
        0 0 35px rgba(232, 186, 93, 0.4),
        inset 0 0 25px rgba(232, 186, 93, 0.3);
    border-color: rgba(232, 186, 93, 0.8);
}

.icon-placeholder {
    color: #e8ba5d;
    font-size: 28px;
    font-weight: bold;
}

/* تنظیمات متن‌ها */
.card-inner h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-inner p {
    color: #9ba1a6;
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0;
}
.Txt-flex-center{
    justify-content: center !important;
    flex-direction: row !important;
}
.section-header {
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 1rem;
    flex-direction: row;
    padding: 20px;
}
.section-header a{
        background: #e8ba5d;
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(232, 186, 93, 0.4);
    padding: 5px 10px;
    border-radius: 5px;
}
.section-title {
    color: #e8ba5d;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    /* ایجاد یک هاله نورانی بسیار ملایم پشت متن */
    text-shadow: 0 0 15px rgba(232, 186, 93, 0.2); 
}

/* تنظیمات پایه برای خطوط */
.deco-line {
    position: relative;
    height: 1.5px;
    width: 60px; /* طول خطوط */
    display: flex;
    align-items: center;
}
.deco-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #e8ba5d;
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    box-shadow: 0 0 10px rgba(232, 186, 93, 0.5);
}

/* خط سمت راست (در حالت راست‌چین) */
.line-right {
    background: linear-gradient(to right, rgba(232, 186, 93, 0.8), transparent);
}
.line-right::after {
    left: -4px; 
}
/* خط سمت چپ (در حالت راست‌چین) */
.line-left {
    background: linear-gradient(to left, rgba(232, 186, 93, 0.8), transparent);
}
/* قرار دادن ستاره در لبه سمت راست خط چپ (چسبیده به متن) */
.line-left::after {
    right: -4px; 
}
/* 
========================================
 بخش آخرین آموزش‌ها
========================================
*/
.tutorials-section {
    padding: 4rem 20px;
    width: 100%;
    box-sizing: border-box;
}

/* کانتینر اصلی کارت‌ها (استفاده از گرید برای چیدمان دقیق ۴ تایی) */
.tutorials-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
}

/* استایل پایه هر کارت */
.tutorial-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden; /* جلوگیری از بیرون زدن عکس هنگام زوم */
    aspect-ratio: 4 / 3; /* نسبت ابعاد مستطیل مشابه عکس شما */
    background-color: #0a0a0c;
    border: 1px solid rgba(232, 186, 93, 0.15); /* بوردر طلایی بسیار محو در حالت عادی */
    text-decoration: none;
    transition: all 0.4s ease; /* انیمیشن نرم برای کل کارت */
}

/* استایل تصویر داخل کارت */
.tutorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* زمان زوم شدن عکس */
}

/* هاله تاریک روی عکس برای خوانایی متن */
.tutorial-overlay {
    position: absolute;
    inset: 0; /* پوشش کل کارت */
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 60%, transparent 100%);
    transition: opacity 0.4s ease;
}

/* محفظه نگهدارنده تیتر */
.tutorial-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
    text-align: center; /* وسط چین کردن متن طبق عکس */
    transform: translateY(5px);
    transition: transform 0.4s ease;
}

/* استایل تیتر */
.tutorial-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

/* 
========================================
 انیمیشن‌های هاور (Hover Effects)
========================================
*/
.tutorial-card:hover {
    transform: translateY(-8px); /* بالا رفتن کارت */
    border-color: rgba(232, 186, 93, 0.8); /* پررنگ شدن بوردر طلایی */
    box-shadow: 0 10px 30px rgba(232, 186, 93, 0.25); /* ایجاد هاله طلایی */
    z-index: 2;
}

.tutorial-card:hover .tutorial-img {
    transform: scale(1.1); /* زوم شدن تصویر */
}

.tutorial-card:hover .tutorial-content {
    transform: translateY(0); /* حرکت نرم متن به بالا */
}

.tutorial-card:hover .tutorial-title {
    color: #e8ba5d; /* تغییر رنگ تیتر به طلایی */
}
/* 
========================================
 بخش ابزارها
========================================
*/
.tools-section {
    padding: 20px 20px 50px 20px;
    width: 100%;
    box-sizing: border-box;
    /* اگر پس زمینه مشکی مطلق نیاز دارید: background-color: #000; */
}

/* کانتینر اصلی ابزارها (نسخه ۲ ردیفه خودکار) */
.tools-container {
    clear: both;
    width: 100%;
    padding: 5px 3px 2px;
    display: flex;
}
.tools-container h2{
    font-size: 100%;
}
.tools-container ul{
    width: 50%;
    float: right;
    display: inline-block;
}
.tools-container a{
    height: auto;
    line-height: 40px;
    padding: 0 10px;
    overflow: hidden;
    margin-bottom: 3px;
    display: block;
    color: #e8ba5d;
    font-weight: normal;
    background: rgb(20 20 25 / 19%) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: 0.5s;
}
.tools-container a:hover, .tools-container li:nth-child(even) a:hover
 {
    color: #fff;
    padding-right: 15px;
    box-shadow: -3px 0 0 #fff inset;
}
.tools-container a:before {
    content: '\f285';
    float: right;
    font: 25px 'icon';
    margin: 7px 0 0 8px;
    animation: right 2s infinite linear;
    -webkit-animation: right 2s infinite linear;
}
.tools-container a:after {
    content: '\f06e';
    float: left;
    font: 10px 'icon';
    margin-top: 7px;
    transform: rotate(-115deg);
    margin-left: -7px;
    opacity: 0;
    transition: 0.5s;
}
.tools-container a:hover:after {
    font-size: 25px;
    transform: rotate(0deg);
    margin-left: 0;
    opacity: 1;
    color: #fff;
}
/*
========================================
 بخش نمونه‌کارها (پروژه‌ها)
========================================
*/
.projects-section {
    position: relative;
    padding: 20px 20px 50px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; 
    background-color: #0a0a0c;
}
/* نگهدارنده اصلی پس‌زمینه */
.projects-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background-color: #050507; /* پس‌زمینه کمی تیره‌تر برای درخشش بهتر */
}

/* شبکه طلایی با حالت پرسپکتیو ۳ بعدی */
.golden-3d-grid {
    position: absolute;
    /* ابعاد بزرگتر از صفحه برای جلوگیری از بریدگی در چرخش ۳ بعدی */
    top: -50%; left: -50%; 
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(232, 186, 93, 0.3) 2px, transparent 2px), /* خطوط افقی واضح‌تر */
        linear-gradient(90deg, rgba(232, 186, 93, 0.3) 2px, transparent 2px); /* خطوط عمودی واضح‌تر */
    background-size: 60px 60px; /* ابعاد خانه‌های شبکه */
    z-index: 2;
    /* ایجاد حالت ۳ بعدی (کف زمین) */
    transform: perspective(800px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    transform-origin: center top;
    /* محو شدن شبکه در انتهای پایین برای زیبایی */
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 80%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 80%);
}

/* شکل هندسی متحرک */
.geometric-shape {
    position: absolute;
    top: 30%; left: 30%;
    width: 350px; height: 350px;
    background: linear-gradient(135deg, rgba(232, 186, 93, 0.9), rgba(184, 134, 11, 0.5));
    box-shadow: 0 0 100px 40px rgba(232, 186, 93, 0.2); /* هاله نور اطراف شکل */
    z-index: 1; /* قرارگیری زیر شبکه */
    animation: morphAndMove 20s infinite alternate linear;
}

/* انیمیشن تغییر فرم هندسی و حرکت */
@keyframes morphAndMove {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        /* فرم شش ضلعی */
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); 
    }
    33% {
        transform: translate(30vw, -20vh) rotate(90deg) scale(0.8);
        /* فرم هشت ضلعی نامنظم */
        clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    }
    66% {
        transform: translate(-20vw, 30vh) rotate(180deg) scale(1.2);
        /* فرم لوزی/ستاره‌ای */
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    100% {
        transform: translate(40vw, 20vh) rotate(270deg) scale(1.1);
        /* فرم ذوزنقه */
        clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    }
}


/* برای اینکه محتوا روی افکت پس‌زمینه قرار بگیرد (z-index افزایش یافت) */
.projects-section .section-header, 
.projects-grid {
    position: relative;
    z-index: 2; /* روی شبکه و نورها قرار می‌گیرد */
}


/* چیدمان شبکه‌ای پروژه‌ها */
.projects-grid {
    display: grid;
    /* این خط باعث می‌شود پروژه‌ها به صورت خودکار در موبایل زیر هم و در دسکتاپ کنار هم قرار بگیرند */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 0 auto;
    
    /* عرض کامل برای کانتینر */
    width: 100%;
}

/* استایل بدنه هر کارت پروژه */
.project-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(232, 186, 93, 0.4); /* بوردر طلایی اولیه */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    aspect-ratio: 16 / 9; /* نسبت تصویر مستطیل افقی مشابه عکس شما */
    text-decoration: none;
    transition: all 0.4s ease;
}

/* هاور کارت: سایه و درخشش طلایی */
.project-card:hover {
    border-color: #e8ba5d;
    box-shadow: 0 0 20px rgba(232, 186, 93, 0.3), inset 0 0 10px rgba(232, 186, 93, 0.2);
    transform: translateY(-5px); /* حرکت ظریف به بالا */
}

/* تصویر پروژه */
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* زوم شدن نرم تصویر هنگام هاور */
.project-card:hover .project-image {
    transform: scale(1.08);
}

/* لایه پوششی برای قرارگیری متن روی عکس */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 15px 15px; /* پدینگ بالا بیشتر است تا گرادیان نرم شود */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* وسط چین کردن متن */
}

/* استایل تیتر پروژه (مشابه عکس) */
.project-title {
    color: #e8ba5d;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0;
    text-align: center;
    font-family: inherit;
    /* حذف text-stroke */
    /* -webkit-text-stroke: 1.5px #000; */
    
    /* استفاده از سایه ۸ جهته برای ساخت بوردر یکپارچه و تمیز دور کلمات */
    text-shadow:
        -1.5px -1.5px 0 #000,
         0     -1.5px 0 #000,
         1.5px -1.5px 0 #000,
         1.5px  0     0 #000,
         1.5px  1.5px 0 #000,
         0      1.5px 0 #000,
        -1.5px  1.5px 0 #000,
        -1.5px  0     0 #000,
         0 4px 8px rgba(0,0,0,0.9); /* یک سایه زیرین اضافی برای عمق دادن به متن روی عکس */
         
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* روشن‌تر شدن تیتر هنگام هاور (اختیاری) */
.project-card:hover .project-title {
    color: #ffd700;
    text-shadow:
        -1.5px -1.5px 0 #000,
         0     -1.5px 0 #000,
         1.5px -1.5px 0 #000,
         1.5px  0     0 #000,
         1.5px  1.5px 0 #000,
         0      1.5px 0 #000,
        -1.5px  1.5px 0 #000,
        -1.5px  0     0 #000,
         0 0 15px rgba(232, 186, 93, 0.8); /* درخشش طلایی هنگام هاور اضافه شد */
}
/* تنظیمات کلی فوتر */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

/* --- بخش ۱: نوشته NOVIX با انیمیشن --- */
.footer-top-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.divider-line {
    flex-grow: 1;
    height: 2px;
    background: #e8ba5d;
    opacity: 0.7;
}

.animated-logo {
    margin: 0 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: #e8ba5d;
    display: flex;
    gap: 2px;
    letter-spacing: 2px;
}

.animated-logo span {
    display: inline-block;
    animation: textJitter 1s infinite alternate;
}

.animated-logo span:nth-child(1) { animation-delay: 0.1s; }
.animated-logo span:nth-child(2) { animation-delay: 0.5s; }
.animated-logo span:nth-child(3) { animation-delay: 0.2s; }
.animated-logo span:nth-child(4) { animation-delay: 0.7s; }
.animated-logo span:nth-child(5) { animation-delay: 0.3s; }

@keyframes textJitter {
    0%, 10%, 100% { transform: translateY(0) rotate(0deg); text-shadow: none; }
    2% { transform: translateY(-3px) rotate(2deg); text-shadow: 2px 0 #fff; }
    4% { transform: translateY(2px) rotate(-1deg); text-shadow: -2px 0 #fff; }
    6% { transform: translateY(-1px) rotate(1deg); }
    8% { transform: translateY(1px) rotate(-2deg); }
}

/* --- ساختار ستون‌ها --- */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 172px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: #e8ba5d;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

/* ستون درباره ما */
.about-col p {
    color: #d1d1d1;
    line-height: 2;
    text-align: justify;
    font-size: 0.95rem;
}

/* ستون تماس با ما */
.contact-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* تمام المان‌های این ستون را به صورت یکپارچه وسط‌چین می‌کند */
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto; /* خود بلاک لیست وسط‌چین می‌شود */
    width: fit-content; /* عرض لیست دقیقاً به اندازه نوشته‌های داخلش محدود می‌شود */
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* در حالت RTL المان‌ها را در لبه راست تراز می‌کند */
    gap: 15px;
    margin-bottom: 15px;
    color: #d1d1d1;
    font-size: 1rem;
    width: 100%;
}

.contact-info li i {
    color: #a0a0a0;
    font-size: 1.2rem;
}

/* --- بخش ۳: لوگوهای اعتماد --- */
.trust-logos {
    display: flex;
    justify-content: center; /* اصلاح به وسط چین */
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.trust-box {
    display: block;
    width: 90px;
    height: 90px;
    border: 2px solid #e8ba5d;
    border-radius: 10px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    animation: floatLogo 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.trust-box:nth-child(2) {
    animation-delay: 2s;
}

.trust-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-box:hover {
    box-shadow: 0 0 15px rgba(232, 186, 93, 0.5);
    transform: scale(1.05);
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* --- بخش ۴: آیکون‌های شبکه اجتماعی --- */
.social-icons {
    display: flex;
    justify-content: center; /* اصلاح به وسط چین */
    gap: 20px;
    width: 100%;
}

.social-icons a {
    color: #888;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* --- بخش پایین فوتر --- */
.footer-bottom {
    margin-top: 50px;
    position: relative;
    padding-bottom: 20px;
}

.divider-line-bottom {
    width: 100%;
    height: 1px;
    background: #e8ba5d;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* این پارامتر باعث می‌شود دکمه‌ها روی خط بالا بچسبند */
    padding: 0 5%;
}

.bottom-content p {
    color: #e8ba5d;
    font-size: 1rem;
    margin: 0;
    margin-top: 15px; /* جبران فاصله بالا تا نوشته وسط قرار بگیرد */
}

/* --- بخش ۵: دکمه‌های اسکرول به بالا --- */
.scroll-top-btn {
    border: 2px solid #e8ba5d;
    color: #e8ba5d;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background-color: #000;
    font-size: 160%;
    /* استفاده از transform برای قرارگیری کاملاً مهندسی شده روی خط (نصف دکمه بالا، نصف پایین) */
    transform: translateY(-50%);
    margin: 0; /* حذف مارجین‌های منفی */
}

.scroll-top-btn:hover {
    background: #e8ba5d;
    color: #000;
    box-shadow: 0 0 10px rgba(232, 186, 93, 0.5);
}

/* --- انیمیشن قلب --- */
.heart-icon {
    display: inline-block;
    color: red;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    60%, 100% { transform: scale(1); }
}

/* =========================================
   Single Post Layout & Typography
========================================= */
.single-container {
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

.single-post-article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0 20px;
}
.entry-header::after{
        background-color: #e8ba5d;
        height: 2px;
}
.entry-header{
        display: flex;
    justify-content: center;
    position: relative;
    gap: 15px;
    align-items: center;
        margin-bottom: 10px;
        text-align: justify;
}
.entry-title {
    font-size: 2rem;
    color: #e8ba5d;
}

.entry-meta {
    display: flex;
    gap: 20px;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    flex-direction: row-reverse;
}
.entry-meta i{
    padding-right: 5px;
}
.post-thumbnail .thumbnail-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    margin-bottom: 30px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #d1d1d1;
}

/* =========================================
   Code Highlight Boxes Component
========================================= */
.code-box {
    background: #1e1e1e;
    border-radius: 12px;
    margin: 30px 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    direction: ltr; /* کدها همیشه چپ‌چین هستند */
}

.code-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e1e1e;
}
.mac-buttons { display: flex; gap: 8px; }
.mac-buttons span {
    width: 12px; height: 12px; border-radius: 50%; display: inline-block;
}
.mac-buttons .close { background: #ff5f56; }
.mac-buttons .minimize { background: #ffbd2e; }
.mac-buttons .maximize { background: #27c93f; }

.code-title {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.copy-btn {
    background: rgba(255,255,255,0.1);
    border: none; color: #fff; padding: 5px 10px;
    border-radius: 5px; cursor: pointer; font-size: 0.8rem;
    transition: 0.3s; font-family: inherit;
}
.copy-btn:hover { background: #e8ba5d; color: #000; }

.code-box pre {
    margin: 0 !important;
    overflow-x: auto;
    font-size: 0.95rem; color: #a9b7c6;
    max-height: 500px;
    scrollbar-width: thin;
    scrollbar-color: #e8ba5d #0a0a0c;
}

/* رنگ اختصاصی زبان‌های برنامه‌نویسی */
.lang-php .code-title { color: #8892BF; }
.lang-html .code-title { color: #E34F26; }
.lang-css .code-title { color: #1572B6; }
.lang-js .code-title { color: #F7DF1E; }
.lang-vb .code-title { color: #005EBA; }
/* تنظیم فونت استاندارد برنامه‌نویسی و انگلیسی کردن اعداد برای باکس کد */
.code-box pre,
.code-box code,
pre[class*="language-"],
code[class*="language-"] {
    /* استفاده از فونت‌های استاندارد کدنویسی که فقط اعداد انگلیسی دارند */
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
    
    /* اطمینان از چپ‌چین بودن و چپ‌به‌راست بودن جهت کدها */
    direction: ltr !important;
    text-align: left !important;
}

/* در صورت نیاز: جلوگیری از تبدیل اعداد توسط ویژگی‌های فونت مرورگر */
.code-box pre * {
    font-variant-numeric: tabular-nums !important;
    -moz-font-feature-settings: "ss02" 0, "ss03" 0 !important;
    -webkit-font-feature-settings: "ss02" 0, "ss03" 0 !important;
    font-feature-settings: "ss02" 0, "ss03" 0 !important;
}

/* =========================================
   Download Box Component (Redesigned)
========================================= */
.download-box {
    background: #1e1e1e;
    border: 1px solid #e8ba5d;
    border-radius: 15px;
    padding: 10px 30px 30px 30px;
    margin: 40px 0;
}

.download-header {
    text-align: center;
    margin-bottom: 10px;
}

.download-header h3 {
    color: #e8ba5d;
    margin: 0;
    font-size: 1.3rem;
}

.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین باکس‌های دانلود */
}

.download-list li {
background: #050505;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgb(255 255 255 / 34%) 0px 0px 4px 1px;
}

.dl-content-right {
    display: flex;
    align-items: center;
}

/* دایره طلایی کنار متن */
.dl-bullet {
    width: 30px;
    height: 30px;
    background: #e8ba5d;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    transform: translatex(97%);
    box-shadow: rgb(255 255 255 / 36%) -1px 0px 0px 1px;
    border: 2px solid #050505;
}

.dl-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.dl-name {
    color: #ffffff;
    transform: translatey(-10%);
    text-align: center;
}

/* استایل کپسولی برای حجم فایل */
.dl-size {
    font-size: 0.8rem;
    color: #d1d1d1;
    background: #2a2a2a; /* بک‌گراند کپسول */
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.dl-btn {
background: #e8ba5d;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s all ease;
    flex-shrink: 0;
}

.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 186, 93, 0.3); /* درخشش دکمه هنگام هاور */
}


/* =========================================
   Related Posts & Comments
========================================= */

.related-posts { margin-top: 50px; }
.related-grid {
    display: flex;
    gap: 2%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e8ba5d #0a0a0c;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
}
.card-title{font-size: 100%;}
.card-thumb {height: 100%;border-radius: 8px;margin-bottom: 15px;overflow: hidden;}
.card-thumb img{width: 100%;height: 100%;border-radius: 10px;object-fit: cover;transition: transform 0.4s ease-in-out;min-height: 300px;max-width: 300px;}
.related-card a { color: #fff; text-decoration: none; font-size: 1rem; transition: color 0.3s; }
.related-card a:hover { color: #e8ba5d; }

.related-card a:hover > .card-thumb img{
    border-color: rgba(232, 186, 93, 0.8);
    box-shadow: 0px 0px 20px 6px rgba(232, 186, 93, 0.25);
    z-index: 2;
    transform: scale(1.15);
}
/* =========================================
   Comments Area (WordPress Standard Structure)
========================================= */
.wp-comments-section {
    margin-top: 60px;
    direction: rtl;
}

/* --- استایل فرم دیدگاه --- */
.custom-comment-form {
    background: #1e1e1e;
    border: 1px solid #e8ba5d;
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
}

.custom-comment-form .comment-reply-title {
    color: #e8ba5d;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: bold;
}

.comment-form-flex-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form-flex-row p {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.custom-comment-form label {
    color: #e8ba5d;
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: right;
}
#cancel-comment-reply-link{
    color: #d63031;
    border: 1px solid #d63031;
    padding: 5px;
    border-radius: 5px;
    margin-right: 10px;
}
#cancel-comment-reply-link:hover{
    color: #fff;
    background-color: #d63031;
}
/* استایل اینپوت‌ها و تکست‌اریا (پس‌زمینه مشکی خالص) */
.custom-comment-form input[type="text"],
.custom-comment-form textarea {
    background: #000000;
    border: 1px solid #e8ba5d;
    border-radius: 8px;
    color: #ffffff;
    padding: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s border-color ease;
    resize: vertical;
}

.custom-comment-form input[type="text"]:focus,
.custom-comment-form textarea:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(232, 186, 93, 0.3); /* درخشش ملایم هنگام تایپ */
}

.custom-comment-form .comment-form-comment {
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
}

.custom-comment-form .form-submit {
    margin: 0;
    text-align: left; /* قرارگیری دکمه در سمت چپ پایین */
}
.form-submit .submit{
background: #e8ba5d;
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s all ease;
}
.custom-comment-form .submit {
    background: #e8ba5d;
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s all ease;
}

.custom-comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 186, 93, 0.3);
}

/* --- استایل لیست دیدگاه‌ها --- */
.custom-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین هر کامنت */
}

.custom-comment-list .comment-body {
    background: #1e1e1e;
    border: 1px solid #e8ba5d;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    /*min-height: 120px;**/
}

.custom-comment-list .comment-meta {
    margin-bottom: 12px;
}

.custom-comment-list .comment-author-name {
    color: #e8ba5d;
    font-weight: bold;
}

.custom-comment-list .comment-content p {
    color: #ffffff;
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}
.reply-button-container{
	margin: 10px 0;
}
.reply-button-container a{
	color: #e8ba5d;
    border: 1px solid #e8ba5d;
    padding: 5px;
    border-radius: 5px;
}
.reply-button-container a:hover{
    color: #000000;
    background-color: #e8ba5d;
}
.children{
    margin: 10px 0 0 0;
}
.no-comments{
background: #1e1e1e;
  border: 1px solid #e8ba5d;
  border-radius: 12px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  text-align: center;
}
/* =========================================
   استایل ویژه برای دیدگاه ادمین/مدیر (بسیار مهم)
========================================= */
/* ایجاد فاصله برای اینکه متن زیر لیبل ادمین نرود */
.custom-comment-list .bypostauthor .comment-body {
    padding-right: 40px; 
}

/* مخفی بودن لیبل برای کاربران عادی */
.admin-badge {
    display: none; 
}

/* نمایش لیبل NOVIX فقط در صورتی که کامنت مال ادمین (bypostauthor) باشد */
.custom-comment-list .bypostauthor .admin-badge {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: #000;
    color: #e8ba5d;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    /*letter-spacing: 4px;*/
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    border-left: 1px solid #e8ba5d;
}


/* تنظیمات کلی کارت محصول */
.product-showcase {
    display: flex;
    direction: rtl;
    border-radius: 16px;
    padding: 0 20px;
    margin: 2rem auto;
    color: #fff;
    overflow: hidden;
    gap: 15px;
}

/* --- بخش اطلاعات (راست) --- */
.product-info {
flex: 1;
    padding: 10px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    border: 2px solid #e8ba5d4f;
    border-radius: 15px;
    background: rgb(20 20 25 / 19%) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.product-title {
  color: #e5b869; /* رنگ طلایی */
  font-size: 24px;
  font-weight: bold;
}

.title-separator {
  border: none;
  border-top: 2px solid #e5b869;
  width: 100%;
}

.product-slogan {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: auto; /* هول دادن بخش پایین به انتهای کادر */
}

.bottom-section {
  margin-top: 40px;
}

.product-price {
  font-size: 18px;
  margin-bottom: 20px;
      display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.product-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-buy {
  background-color: #e5b869;
  color: #000;
  border: none;
}

.btn-buy:hover {
  background-color: #d4a355;
}

.btn-preview {
  background-color: transparent;
  color: #fff;
  border: 1px solid #e5b869;
}

.btn-preview:hover {
  background-color: rgba(229, 184, 105, 0.1);
}

/* --- بخش رسانه (چپ) --- */
.product-media {
    flex: 1.5;
    position: relative;
}


/* استایل پایه فلش‌ها */
.slider-arrow {
position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(26, 26, 26, 0.7);
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 120%;
    transition: all 0.3s ease;
    direction: ltr;
}

/* افکت هاور برای دسکتاپ */
.slider-arrow:hover {
    background-color: #d4af37;
    color: #1a1a1a;
}

/* موقعیت فلش راست */
.slider-arrow-right {
    right: 10px;
}

/* موقعیت فلش چپ */
.slider-arrow-left {
    left: 10px;
}


/* ساختار اسکرول برای ورق زدن (بدون نیاز به JS) */
.media-scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 10px;
  /* مخفی کردن اسکرول‌بار */
  scrollbar-width: none; 
}
.media-scroller::-webkit-scrollbar {
  display: none;
}

.media-item {
  scroll-snap-align: center;
  flex: 0 0 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-item img, .media-item video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  max-height: 500px;

}

/* نقطه‌های زیر اسلایدر */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #e5b869;
  background-color: transparent;
  cursor: pointer;
}

.dot.active {
  background-color: #e5b869;
}
/* کانتینر اصلی بخش تب‌ها */
.product-tabs-section {
    width: 100%;
    margin-top: 40px;
    font-family: 'IRANSansX', 'IRANSans', sans-serif;
}

/* هدر تب‌ها (لیست) */
.tabs-header {
display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #d4af37;
    background-color: #1e1e1e;
    border-radius: 5px 5px 0 0;
    padding-top: 5px;
}

/* آیتم‌های تب (غیرفعال) */
.tab-link {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    color: #d4af37; /* رنگ طلایی متن */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px; /* فاصله از خط طلایی */
    border-radius: 8px; /* گوشه‌های گرد */
}

/* افکت هاور برای تب‌های غیرفعال */
.tab-link:hover:not(.active) {
    color: #fff;
    background-color: rgba(212, 175, 55, 0.1); /* بک گراند محو طلایی هنگام هاور */
}

/* استایل تب فعال (شبیه عکس: بک‌گراند سفید/روشن و متن تیره) */
.tab-link.active {
color: #1a1a1a;
    background-color: #e5b869;
    font-weight: bold;
}

/* کانتینر محتوای تب‌ها (باکس تیره پایین) */
.tabs-content-container {
    background-color: #333333; /* رنگ تیره باکس محتوا */
    min-height: 300px; /* حداقل ارتفاع برای باکس */
    border-radius: 0 0 8px 8px;
    padding: 20px;
    color: #ffffff;
}

/* مخفی کردن محتوای تب‌ها به صورت پیش‌فرض */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

/* نمایش محتوای تب فعال */
.tab-content.active {
    display: block;
}
/* کانتینر اصلی بخش سازگاری */
.compatibility-section {
    margin-top: 30px;
    width: 100%;
}

/* عنوان طلایی */
.compatibility-title {
    color: #d4af37;
    font-size: 120%;
    font-weight: bold;
}

/* ساختار لیست (حذف نقطه‌ها و فاصله‌های پیش‌فرض) */
.compatibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* استایل کادرهای هر آیتم */
.compatibility-item {
background-color: #333333;
    color: #ffffff;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* اگر نیاز به افکت هاور روی کادرها دارید (اختیاری) */
.compatibility-item:hover {
    background-color: #3a3a3a;
    transition: background-color 0.3s ease;
}
/* کانتینر اصلی لیست تغییرات */
.changelog-section {
    width: 100%;
}

.changelog-title {
color: #d4af37;
    font-size: 120%;
    font-weight: bold;
}

/* استایل کادرهای آکاردئون */
.changelog-item {
    background-color: #2e2e2e; /* خاکستری تیره */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* هدر هر آیتم که قابلیت کلیک دارد */
.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.changelog-header:hover {
    background-color: #383838;
}

.changelog-version {
    color: #d4af37; /* متن طلایی هدر */
    font-size: 14px;
    font-weight: bold;
    direction: ltr; /* برای نمایش صحیح اعداد و جداکننده‌ها */
}

/* آیکون فلش */
.changelog-icon {
    color: #d4af37;
    transition: transform 0.3s ease;
}

/* استایل محتوای لیست تغییرات */
.changelog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.changelog-list {
    list-style: none;
    padding: 0 20px 15px 20px;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 2;
}

/* ----------------------------------- */
/* استایل‌های حالت فعال (باز شده) */
/* ----------------------------------- */

/* چرخش آیکون فلش به سمت بالا */
.changelog-item.active .changelog-icon {
    transform: rotate(180deg);
}

/* ایجاد خط طلایی جداکننده */
.changelog-item.active .changelog-header {
border-bottom: 1px solid #d4af37;
    padding: 15px;
}

/* نمایش محتوا با انیمیشن */
.changelog-item.active .changelog-content {
    max-height: 400px; /* عددی بزرگتر از ارتفاع محتوا برای انیمیشن */
    padding-top: 15px;
}
/* کانتینر اصلی و تاگل‌ها */
.pricing-section {
    padding: 20px 0;
        position: relative;
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.pricing-toggle {
display: flex;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e8ba5d #0a0a0c;
    flex-direction: row;
    align-items: stretch;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 10px 30px;
    border-radius: 25px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    transition: all 0.3s;
}

.toggle-btn.active {
    background-color: #e5b869;
    font-weight: bold;
}

/* کانتینر کارت‌ها (دسکتاپ) */
.pricing-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
}

.pricing-container::-webkit-scrollbar {
    height: 6px;
}
.pricing-container::-webkit-scrollbar-thumb {
    background-color: #d1d1d1;
    border-radius: 10px;
}

/* کارت‌ها */
.pricing-card {
border: 2px solid #e5b869;
    border-radius: 15px;
    min-width: 280px;
    flex: 0 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px 20px 10px 20px;
    display: flex;
    flex-direction: column;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    min-height: 195px;
}

.package-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
}

.current-price {
    color: #e5b869; /* آبی روشن */
    margin-bottom: 10px;
}

.price-number { font-size: 24px; font-weight: bold; }
.price-currency { font-size: 12px; }

.old-price-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.discount-badge {
    background-color: #f16969; /* قرمز */
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 5px;
}

.old-price {
    color: #f16969;
    text-decoration: line-through;
    font-size: 16px;
}

.order-btn {
width: 100%;
    background-color: #e5b869;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
    font-weight: bold;
}

.mobile-details-toggle {
    display: none; /* مخفی در دسکتاپ */
}

/* لیست ویژگی‌ها (دسکتاپ: زیر هم و وسط‌چین) */
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #666;
}
.feature-item:last-child{
    border-bottom:none;
}
.feature-name { margin-bottom: 8px; color: #fff; }
.feature-value.bold-value { font-weight: bold;}
.feature-value{font-size: 120%;color: #fff;}
.success-icon { color: #4CAF50; font-size: 16px; }
.error-icon { color: #f16969; font-size: 16px; }

/* تنظیمات بخش اصلی */
.product-hero-section {
    position: absolute;
    width: 100%;
    min-height: 66vh;
    overflow: hidden;
    direction: rtl;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    box-sizing: border-box;
    z-index: 0;
}
#product-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px -20px 20px 20px #0b0b0b;
    pointer-events: none;
    z-index: 2;
}
/* انیمیشن برای نمایش نرم محتوا */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes right {
	0%{-webkit-transform:rotate(0deg);
	transform:rotate(0deg)}
	100%{-webkit-transform:rotate(359deg);
	transform:rotate(359deg)}
}

