/*
============================================================
!!! فایل CSS نهایی: رفع کامل مشکل فونت فارسی و تداخل آیکون‌ها !!!
============================================================
*/

/* --- ۱. تعریف فونت Vazirmatn (مسیردهی ارسالی توسط شما) --- */
@font-face {
    font-family: 'Vazirmatn';
    /* مسیردهی ارسالی شما - اگر فایل CSS و پوشه fonts هم‌سطح هستند، این درست است */
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2'); 
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* اضافه شدن برای بارگذاری سریع‌تر */
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- ۲. Global Variables and Base Styles --- */
:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --highlight-color: #00e0b7;
    --accent-color: #00b094;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --neon-shadow-light: 0 0 5px var(--highlight-color), 0 0 10px var(--highlight-color);
    --neon-shadow-deep: 0 0 15px var(--highlight-color);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* FIX: حذف فونت از سلکتور عمومی * برای جلوگیری از تداخل با آیکون‌ها */
    transition: all 0.3s ease;
}

body {
    /* اعمال فونت اصلی فقط به Body */
    font-family: 'Vazirmatn', 'Tahoma', sans-serif; 
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    overflow-x: hidden;
}

/* FIX: اعمال فونت به تمامی تگ‌های متنی دیگر (به غیر از آیکون‌ها) */
section, div, p, a, button, input, textarea, ul, ol, li, span {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

h1, h2, h3, h4 {
    /* FIX: اعمال فونت بولد به عناوین */
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: var(--neon-shadow-light);
}
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; text-align: center; margin-bottom: 40px;}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

.highlight {
    color: var(--highlight-color);
    text-shadow: 0 0 3px var(--accent-color);
}

.section {
    padding: 80px 5% 60px;
    max-width: 1800px;
    margin: 0 auto;
}
/* -------------------------------------------------------------------------- */
/* -------------------- ۳ تا ۱۲. بقیه استایل‌های شما (بدون تغییر) -------------------- */
/* -------------------------------------------------------------------------- */

/* --- ۳. Header and Navigation --- */
.header {
    background-color: var(--bg-color);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header h1 {
    font-size: 1.8rem;
    margin: 0;
}

.nav a {
    margin: 0 15px;
    font-size: 1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
    text-shadow: var(--neon-shadow-light);
}

.auth a {
    margin-right: 15px;
    padding: 8px 15px;
    border: 1px solid var(--highlight-color);
    border-radius: 5px;
    font-size: 0.9rem;
}
.auth a:last-child {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    box-shadow: var(--neon-shadow-light);
}
.auth a:last-child:hover {
    opacity: 0.9;
}

/* --- ۴. Hero Section --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

.domain-search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.domain-search {
    display: flex;
    width: 100%;
    max-width: 600px;
    background-color: var(--card-bg);
    border: 2px solid var(--highlight-color);
    border-radius: 10px;
    padding: 5px;
    box-shadow: var(--neon-shadow-light);
}

.search-input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 1rem;
    text-align: right;
    direction: rtl;
    outline: none;
}
.search-input::placeholder {
    color: #888;
}

.search-button {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 5px var(--highlight-color);
}
.search-button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.domain-extensions button {
    background: var(--card-bg);
    color: var(--highlight-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 0 3px rgba(0, 224, 183, 0.3);
}
.domain-extensions button:hover {
    background-color: var(--highlight-color);
    color: var(--bg-color);
}

.hero-spacer {
    /* Used for alignment, can be removed if not needed */
}

/* --- ۵. Services Grid Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--highlight-color);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.5s ease;
}

.service-card:hover {
    border-color: var(--highlight-color);
    box-shadow: var(--neon-shadow-light);
    transform: translateY(-5px);
}
.service-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
    text-shadow: var(--neon-shadow-light);
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--highlight-color);
    text-shadow: none;
}

.service-card p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.card-button {
    color: var(--highlight-color);
    font-weight: bold;
    border: 1px solid var(--highlight-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}
.service-card:hover .card-button {
    background-color: var(--highlight-color);
    color: var(--bg-color);
}

/* --- ۶. Pricing Section --- */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-tab {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    border-bottom: 2px solid transparent;
    margin: 0 10px;
}

.pricing-tab.active-tab {
    color: var(--highlight-color);
    border-bottom-color: var(--highlight-color);
    text-shadow: var(--neon-shadow-light);
}

.tab-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tab-content.active-content {
    display: grid;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.tag, .recommended-tag, .gold-tag {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: var(--neon-shadow-light);
}

.recommended {
    border-color: gold !important;
    background-color: #252525;
    box-shadow: var(--neon-shadow-deep);
}
.recommended-tag {
    background-color: gold;
    color: #111;
    box-shadow: 0 0 10px gold;
}

.price-header {
    margin-bottom: 25px;
    flex-grow: 1;
}

.price-header h4 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    text-shadow: none;
}

.price-header p:first-of-type {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}

/* FIX: Farsi Number/Price Font and Direction */
.price-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--highlight-color);
    display: block;
    margin-top: 10px;
    direction: ltr;
    font-family: 'Tahoma', sans-serif !important; /* !important برای اطمینان از اعمال روی اعداد */
}
/* END FIX */

.features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 2;
    text-align: right;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    color: #ccc;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.features li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--highlight-color);
    margin-left: 10px;
    font-size: 1rem;
    text-shadow: var(--neon-shadow-light);
}

.cta-button {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    display: block;
    margin-top: auto;
    box-shadow: var(--neon-shadow-light);
}
.cta-button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* --- ۷. VIP Support Section --- */
.vip-support-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #181818;
}

.vip-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row-reverse;
}

.vip-graphic {
    flex: 1;
    text-align: center;
}

.vip-image-logo {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px var(--highlight-color));
}

.vip-text-details {
    flex: 2;
    text-align: right;
}

.vip-text-details h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: var(--neon-shadow-light);
}

.vip-features-list {
    list-style: none;
    margin-top: 20px;
}

.vip-features-list li {
    margin-bottom: 25px;
    padding-right: 35px;
    position: relative;
}

.vip-features-list li i {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 1.2rem;
}

.vip-features-list li p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.5;
}

/* --- ۸. Detailed Services Section (Tabbed Content) --- */
.tech-details-section {
    padding-top: 80px;
}

.details-grid-wrapper {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}

.tab-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.tab-button {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    cursor: pointer;
    color: #ccc;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.tab-button:hover {
    border-color: var(--highlight-color);
    color: var(--highlight-color);
    box-shadow: 0 0 8px rgba(0, 224, 183, 0.4);
}

.tab-button.active-tab-btn {
    border-color: var(--highlight-color);
    background-color: #252525;
    color: var(--highlight-color);
    box-shadow: var(--neon-shadow-light);
}

.icon-box {
    font-size: 1.5rem;
    margin-left: 15px;
    line-height: 1;
}

.title-text {
    font-weight: bold;
    font-size: 1rem;
}

.tab-content-area {
    flex: 2;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
}

.tab-content-details {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content-details.active-content-details {
    display: block;
}

.tab-content-details h4 {
    font-size: 1.6rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-shadow: none;
    color: var(--highlight-color);
}

.tab-content-details p {
    color: #ccc;
    margin-bottom: 25px;
}

.feature-list-mini {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.feature-list-mini li {
    padding: 8px 0;
    color: #aaa;
    font-size: 0.95rem;
}
.feature-list-mini .check-icon {
    margin-left: 8px;
    color: var(--highlight-color);
    font-size: 0.8rem;
}

.details-cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}
.details-cta-button:hover {
    background-color: var(--highlight-color);
}

/* --- ۹. Training Slider Section --- */
.auto-training-section {
    padding: 80px 0;
    background-color: #181818;
}

.slider-full-width-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.slider-full-width-wrapper h2 {
    text-align: center;
    margin-bottom: 50px;
}

.slider-container-wrapper {
    position: relative;
    overflow: hidden;
}

.training-pages-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.training-page {
    /* FIX: حذف min-width ثابت برای جلوگیری از تداخل */
    display: flex; 
    gap: 20px; /* فاصله بین کارت‌ها */
    padding: 20px; /* فضای تنفس در چپ و راست کانتینر */
    flex-shrink: 0;
    width: fit-content; /* تضمین می‌کند عرض صفحه برای اسلاید کافی باشد */
}

.training-item-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    transition: all 0.3s;
    overflow: hidden;
}

.training-item-card:hover {
    border-color: var(--highlight-color);
    box-shadow: var(--neon-shadow-light);
}

.card-icon {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
    text-shadow: var(--neon-shadow-light);
}

.card-content {
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
    text-shadow: none;
}

.card-content p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
}

.view-link {
    color: var(--accent-color);
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
.training-item-card:hover .view-link {
    color: var(--text-color);
}

.slider-btn-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--highlight-color);
    border: 1px solid var(--highlight-color);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    border-radius: 5px;
}

.slider-btn-new.prev {
    right: 10px;
}

.slider-btn-new.next {
    left: 10px;
}

/* --- ۱۰. Floating Support Menu --- */
.support-menu-wrapper {
    position: fixed; 
    left: 20px; 
    bottom: 20px; 
    z-index: 1000; 
    /* مهم‌ترین تغییر: افزایش ابعاد Wrapper برای پوشش دادن آیکون‌های باز شده */
    width: 70x; 
    height: 70px; 
	pointer-events: auto; 
}

.support-floating-icon {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 20 20 15px var(--highlight-color);
    animation: pulse 20s infinite;
}

.support-item {
    position: absolute;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    /* اضافه شدن استایل‌های فراموش شده در کد شما */
    background-color: var(--dark-hero); 
    color: var(--teal-primary); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 22px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    opacity: 0; 
    pointer-events: auto; 
    /* موقعیت اولیه (مخفی): روی دایره اصلی قرار می‌گیرد */
    bottom: 5px; 
    left: 5px;
    z-index: 1005; 
} /* <--- !!! آکولاد بسته شده برای .support-item !!! */

/* محفظه والد: این عنصر محدوده هاور را تعیین می‌کند */
.support-wrapper {
    position: fixed;
    bottom: 30px; /* موقعیت نهایی دکمه روی صفحه */
    right: 30px;
    width: 60px; /* فضای کمی بیشتر برای راحتی هاور */
    height: 60px;
    z-index: 1000;
}
.support-item:hover {
    background-color: var(--teal-primary);
    color: var(--dark-bg);
    box-shadow: 0 0 10px var(--teal-primary);
}

.support-menu-wrapper:hover .support-item {
    opacity: 1;
    pointer-events: auto;
}

.support-menu-wrapper:hover .item-1 { 
    bottom: 70px; /* بالاتر از 70px برای اطمینان از دیده شدن */
    left: 10px; 
} 

.support-menu-wrapper:hover .item-2 { 
    bottom: 100px; 
    left: 40px; 
} /* تماس: بالا و کمی مایل */
.support-menu-wrapper:hover .item-3 { 
    bottom: 105px; 
    left: 95px; 
} /* واتساپ: گوشه بالا و چپ */
.support-menu-wrapper:hover .item-4 { 
    bottom: 75px; 
    left: 130px; 
} /* تلگرام: مایل به چپ */
.support-menu-wrapper:hover .item-5 { 
    bottom: 30px; 
    left: 140px; 
} /* اینستاگرام: پایین و چپ */


/* --- ۱۱. Footer --- */
/* --- ۱۱. Footer (طراحی نهایی نئونی و ریسپانسیو) --- */
.footer {
    background-color: var(--card-bg); /* پس‌زمینه تیره */
    padding: 60px 5% 30px;
    border-top: 3px solid var(--highlight-color); /* خط نئونی در بالا */
    color: #aaa;
    font-size: 0.95rem;
    text-align: right;
}

.footer-content {
    display: grid;
    /* تنظیم ستون‌ها: 3 ستون محتوا + 1 ستون بزرگتر برای لوگو و آدرس */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
}

.footer-column {
    /* اطمینان از راست‌چین بودن ستون‌ها */
    text-align: right;
}

.footer-column h4 {
    /* استایل عناوین ستون‌ها */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--highlight-color);
    border-bottom: 2px solid var(--highlight-color);
    width: fit-content;
    padding-bottom: 5px;
    text-shadow: 0 0 5px rgba(0, 224, 183, 0.4);
}
/* برای ستون‌های فرعی، h4 را کمی کوچکتر و بدون width: fit-content می‌کنیم */
.footer-column:not(.footer-logo-section) h4 {
    width: auto;
    border-bottom: 1px solid var(--border-color);
    text-shadow: none;
    color: var(--text-color);
}


.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a, .footer-column p {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--highlight-color);
    text-shadow: var(--neon-shadow-light);
}

/* --- لوگو و کپی‌رایت --- */
.footer-logo-section {
    /* اولین ستون را بزرگتر در نظر می‌گیریم */
    grid-column: span 1; 
}

.footer-logo-section h1 {
    /* لوگوی نئونی */
    font-size: 2.2rem;
    color: var(--highlight-color);
    text-shadow: var(--neon-shadow-deep);
    margin-bottom: 10px;
}

.footer-logo-section .tagline {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    direction: ltr; /* آیکون‌ها از چپ به راست */
    justify-content: flex-start; /* تراز به چپ ستون لوگو (که در کل راست است) */
}

.social-links a {
    color: #888;
    font-size: 1.8rem;
}

.social-links a:hover {
    color: var(--highlight-color);
    transform: scale(1.1);
    text-shadow: var(--neon-shadow-light);
}

/* --- بلاک کپی‌رایت نهایی --- */
.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* --- ریسپانسیو اختصاصی فوتر --- */
@media (max-width: 992px) {
    .footer-content {
        /* در تبلت، دو ستون مساوی */
        grid-template-columns: 1fr 1fr;
    }
    .footer-logo-section {
        /* ستون لوگو کل عرض را می‌گیرد */
        grid-column: 1 / -1; 
        text-align: center;
    }
    .social-links {
        /* آیکون‌ها را در مرکز قرار می‌دهد */
        justify-content: center;
        margin-bottom: 20px;
    }
    /* وسط‌چین کردن تمام عناوین و لیست‌ها در تبلت */
    .footer-column h4, .footer-column ul, .footer-column p {
        text-align: center;
    }
    /* بازگشت width: fit-content به حالت قبلی برای عناوین در حالت موبایل */
    .footer-column:not(.footer-logo-section) h4 {
        width: fit-content;
        margin: 0 auto 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        /* در موبایل کوچک، تک ستون */
        grid-template-columns: 1fr;
    }
}

/* --- ۱۲. Keyframes and Responsiveness --- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 224, 183, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 224, 183, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 224, 183, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .header { flex-direction: column; gap: 15px; }
    .nav { display: flex; justify-content: center; width: 100%; }
    .auth { margin-top: 10px; }
    .hero-content h2 { font-size: 2.5rem; }
    .vip-content-wrapper, .details-grid-wrapper { flex-direction: column; align-items: center; }
    .tab-buttons { width: 100%; max-width: 100%; }
    .tab-content-area { width: 100%; }
    .vip-text-details, .vip-graphic { flex: 1; width: 100%; text-align: center; }
    .vip-features-list { text-align: right; }
}

@media (max-width: 600px) {
    .hero { min-height: 50vh; }
    .hero-content h2 { font-size: 2rem; }
    .domain-search { flex-direction: column; border: none; padding: 0; background: none; box-shadow: none; }
    .search-input { border: 2px solid var(--highlight-color); border-radius: 8px; margin-bottom: 10px; }
    .search-button { width: 100%; padding: 12px 0; }
    .domain-extensions button { margin: 5px; }
    .section { padding: 50px 5%; }
    h3 { font-size: 1.5rem; }
    .pricing-tab { padding: 10px 15px; font-size: 1rem; }
    .training-item-card { padding: 20px; }
}


/* --- ۱۳. FIX نهایی و قاطع برای تداخل آیکون‌های Font Awesome --- */
/* این بلوک مطمئن می‌شود که آیکون‌ها، فونت فارسی را به خود نگیرند */
.service-icon i,
.check-icon,
.tab-button i,
.icon-box i,
.support-floating-icon i,
.support-item i,
.vip-features-list li i,
.training-item-card i {
    /* اجبار به استفاده از فونت آیکون برای تمامی تگ‌های <i> در آیکون‌ها */
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 900 !important; /* اجبار به وزن بولد که آیکون‌ها به درستی نمایش داده شوند */
}
/* --- ۱۴. Contact Us Page Styles (صفحه تماس با ما شکیل نئونی) --- */

.contact-section {
    padding: 80px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* فرم بزرگتر، اطلاعات کوچکتر */
    gap: 50px;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* --- الف: فرم تماس نئونی --- */
.contact-form-container h2 {
    font-size: 2rem;
    color: var(--highlight-color);
    text-shadow: var(--neon-shadow-light);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2b2b2b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    direction: rtl;
    text-align: right;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px var(--highlight-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: var(--neon-shadow-light);
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* --- ب: اطلاعات تماس و نقشه --- */
.contact-info-container {
    padding-right: 20px;
    border-right: 2px solid var(--border-color); /* جداکننده عمودی */
}

.info-item {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #333;
}

.info-item h4 {
    font-size: 1.3rem;
    color: var(--highlight-color);
    text-shadow: none;
    margin-bottom: 10px;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-left: 10px;
    text-shadow: var(--neon-shadow-light);
}

.info-item p, .info-item a {
    color: #ccc;
    font-size: 1rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.info-item a {
    text-decoration: underline;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #333;
    border: 2px solid var(--highlight-color);
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-weight: bold;
    box-shadow: var(--neon-shadow-light);
}

/* --- ریسپانسیو اختصاصی تماس با ما --- */
@media (max-width: 900px) {
    .contact-content-grid {
        grid-template-columns: 1fr; /* تک ستون در موبایل */
        padding: 30px;
        gap: 40px;
    }
    .contact-info-container {
        padding-right: 0;
        border-right: none;
        border-top: 2px solid var(--border-color); /* جداکننده افقی جدید */
        padding-top: 40px;
    }
    .contact-form-container h2 {
        width: 100%;
        text-align: center;
        border-bottom: none;
    }
}
@keyframes neon-pulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    /* پس‌زمینه گرادیان پویا */
    background: linear-gradient(-45deg, var(--bg-color), #0a0a0a, var(--bg-color), #0a0a0a);
    background-size: 400% 400%;
    animation: neon-pulse 20s ease infinite; /* اعمال انیمیشن */
}

/* افکت لود شدن صفحه (Fade-in) */
.contact-main {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards; /* با 0.5 ثانیه تاخیر شروع می‌شود */
}
/* --- ۱۹. Single Service Page Styles (اصلی) --- */

.service-main {
    padding: 60px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- الف: Hero بخش جزئیات (با افکت نئونی) --- */
.service-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    /* تقویت جلوه نئونی Hero */
    border: 1px solid var(--highlight-color);
    box-shadow: 0 0 30px rgba(var(--highlight-rgb), 0.3); /* سایه عمیق‌تر */
    margin-bottom: 60px;
    position: relative;
    overflow: hidden; 
}

/* افکت موج نئونی در گوشه Hero (برای جذابیت بیشتر) */
.service-hero::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--highlight-rgb), 0.5) 0%, transparent 70%);
    animation: neon-wave 5s infinite alternate;
}

@keyframes neon-wave {
    from { transform: scale(1) rotate(0deg); opacity: 0.8; }
    to { transform: scale(1.5) rotate(360deg); opacity: 0.4; }
}

.service-hero h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--highlight-color); /* تقویت نئون */
}

.service-hero .price-section {
    text-align: left;
}

.service-hero .price-section p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 5px;
}

.service-hero .price-section h4 {
    font-size: 2.2rem;
    color: var(--highlight-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.buy-button-lg {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 0 15px var(--highlight-color);
    transition: all 0.3s;
}

.buy-button-lg:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-2px);
}

/* --- ب: گرید ویژگی‌ها --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    /* تقویت مرز نئونی و افکت شناور */
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--accent-color); 
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-item i {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
    text-shadow: 0 0 8px var(--highlight-color); /* تقویت نئون آیکون */
}

.feature-item h5 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature-item:hover {
    transform: scale(1.05);
    border-color: var(--highlight-color); /* نئون روشن هنگام هاور */
    box-shadow: 0 0 15px rgba(var(--highlight-rgb), 0.4);
}

/* --- ج: جدول مشخصات فنی (Table) --- */
.tech-specs table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 60px;
}

.tech-specs th, .tech-specs td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
}

.tech-specs th {
    background-color: #1e1e1e;
    color: var(--highlight-color);
    width: 30%;
    font-weight: bold;
}

.tech-specs td {
    color: #ccc;
}

.tech-specs tr:hover {
    background-color: #2a2a2a;
}

/* --- د: سوالات متداول (FAQ) - استایل آکاردئون ساده --- */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.faq-question {
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding-left: 30px;
    position: relative;
}

.faq-question::before {
    content: '+';
    color: var(--highlight-color);
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-answer {
    color: #aaa;
    padding: 10px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
/* --- FAQ JS Support Styles (این بخش را به style.css اضافه کنید) --- */

/* وقتی آیتم فعال باشد (active)، پاسخ را نمایش می‌دهد */
.faq-item.active .faq-answer { 
    /* این مقدار باید از ارتفاع پاسخ بیشتر باشد تا کاملاً باز شود */
    max-height: 200px; 
    padding-top: 10px;
    padding-bottom: 10px;
}

/* تغییر آیکون مثبت به منفی هنگام باز شدن */
.faq-item.active .faq-question::before { 
    content: '-';
    /* چرخش برای اطمینان از نمایش خط افقی */
    transform: rotate(0deg); 
}

/* --- ۲۰. Free Trial Banner and SEO Section (بخش‌های جدید) --- */
.seo-intro-section {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-right: 5px solid var(--highlight-color);
}

.seo-intro-section h2 {
    color: var(--text-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-shadow: none;
}

.seo-intro-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 10px;
}

.trial-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px var(--highlight-color);
}

.trial-banner h3 {
    color: var(--bg-color);
    margin: 0;
    font-size: 1.8rem;
    text-shadow: none;
}

.trial-button {
    background-color: var(--bg-color);
    color: var(--highlight-color);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s;
}

.trial-button:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}


/* --- ریسپانسیو (Responsive Design) --- */
@media (max-width: 768px) {
    .service-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }
    .service-hero .price-section {
        margin-top: 20px;
        width: 100%;
        text-align: right;
    }
    .service-hero h1 {
        font-size: 2rem;
    }
    .trial-banner {
        flex-direction: column;
        text-align: center;
    }
    .trial-banner h3 {
        margin-bottom: 10px;
    }
    .trial-banner p {
        margin-bottom: 15px;
    }
}.deep-persuasion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.persuasion-item {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color); /* خط جداکننده ماژور */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.persuasion-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--accent-color);
}

.persuasion-item h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.persuasion-item p {
    color: #ccc;
}
/* --- ۲۶. Header and Advanced Neon Menu (کد نهایی و ضد تداخل) --- */

/* متغیرهای رنگی (برای اطمینان از تعریف صحیح) */
:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --border-color: #333333;
    
    --highlight-color: #00ffcc;
    --highlight-rgb: 0, 255, 204;
    --accent-color: #ff0077;
    --accent-rgb: 255, 0, 119;
}

.main-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 40px;
    
    /* ✅ تضمین بالاترین لایه برای رفع مشکل z-index */
    position: fixed; /* هدر را ثابت می‌کند */
    top: 0;
    width: 100%;
    z-index: 99999; /* بالاترین اولویت لایه */
}

/* ✅ فضای خالی برای بادی */
body {
    /* فضای خالی برابر با ارتفاع هدر (تقریباً 80px) */
    padding-top: 80px; 
}


.header-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* لوگو */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
    margin-left: 20px;
}
.logo-highlight {
    color: var(--highlight-color);
    text-shadow: 0 0 8px rgba(var(--highlight-rgb), 0.8); 
}

/* منوی اصلی (Main Navigation) */
.main-nav {
    flex-grow: 1; 
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-item a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s;
}

/* افکت نئونی زیرین هنگام هاور */
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--highlight-color);
    box-shadow: 0 0 5px rgba(var(--highlight-rgb), 0.7);
    transition: width 0.3s ease-out;
}

.nav-item a:hover {
    color: var(--highlight-color);
}

.nav-item a:hover::after, .nav-item.active a::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* --- منوی آبشاری (Dropdown) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid var(--highlight-color);
    box-shadow: 0 4px 15px rgba(var(--highlight-rgb), 0.2);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    z-index: 100000; /* بالاترین لایه برای دراپ‌داون */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.service-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    color: #fff;
    padding: 8px 15px;
    font-size: 0.95rem;
    border-right: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background-color: #2a2a2a;
    color: var(--accent-color);
    border-right: 3px solid var(--accent-color);
}


/* --- دکمه‌های کناری (Actions) --- */
.header-actions {
    display: flex;
    align-items: center;
}

.btn-login {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-left: 10px;
}

.btn-login:hover {
    background-color: #ff3399; 
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.8);
}

.btn-cart {
    color: var(--highlight-color);
    font-size: 1.3rem;
    padding: 5px;
    margin-right: 5px;
    transition: color 0.3s;
}

.btn-cart:hover {
    color: var(--accent-color);
}/* --- ۲۷. Mobile Responsive Menu (Media Queries) --- */

/* دکمه همبرگری: در حالت دسکتاپ مخفی است */
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: var(--highlight-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
}

/* در زیر ۹۰۰ پیکسل (تبلت و موبایل) */
@media (max-width: 900px) {
    
    .header-content-wrapper {
        padding: 0 20px;
    }
    
    /* نمایش دکمه همبرگری و مخفی کردن منوی دسکتاپ */
    .menu-toggle {
        display: block;
        order: 1; /* این دکمه را در ابتدای ردیف قرار می‌دهد */
    }

    .main-nav {
        /* در حالت موبایل، منو را از دید خارج می‌کنیم */
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a; /* پس‌زمینه منو بازشده */
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        
        /* حالت اولیه: منو بسته است */
        height: 0;
        overflow: hidden;
        transition: height 0.4s ease-in-out;
    }

    /* لیست منو در حالت موبایل باید عمودی باشد */
    .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #2a2a2a;
    }

    .nav-item a {
        padding: 15px 30px;
        color: #fff;
    }
    
    .nav-item a:hover {
        background-color: #2a2a2a;
        color: var(--highlight-color);
    }
    
    .nav-item a::after {
        display: none; /* خط نئونی زیرین را حذف می‌کنیم */
    }

    /* منوی آبشاری (Dropdown) در حالت موبایل */
    .dropdown-menu {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        background-color: #0d0d0d;
        padding: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu li a {
        padding-right: 50px; /* تورفتگی برای آیتم‌های آبشاری */
    }
    
    /* تنظیمات دکمه‌های ورود و کاربری در موبایل */
    .header-actions {
        order: 2;
    }
}
/* --- ۲۸. 404 Error Page Styling --- */

/* استایل کد ۴۰۴ */
.neon-404-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--highlight-color);
    margin-bottom: 0;
    line-height: 1;
    
    /* افکت نئونی اصلی */
    text-shadow: 
        0 0 10px rgba(var(--highlight-rgb), 0.7),
        0 0 20px rgba(var(--highlight-rgb), 0.5),
        0 0 40px rgba(var(--highlight-rgb), 0.3);
    
    /* افکت نئونی داخلی (برای عمق بیشتر) */
    animation: neon-pulse 1.5s infinite alternate;
}

/* انیمیشن کوچک برای جذابیت بیشتر */
@keyframes neon-pulse {
    from {
        opacity: 1;
        text-shadow: 0 0 10px rgba(var(--highlight-rgb), 0.7);
    }
    to {
        opacity: 0.9;
        text-shadow: 
            0 0 5px rgba(var(--highlight-rgb), 0.9),
            0 0 15px rgba(var(--highlight-rgb), 0.6);
    }
}

/* دکمه ثانویه (تماس با ما) */
.btn-secondary {
    background: none;
    border: 2px solid var(--accent-color); /* بنفش نئونی */
    color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.8);
}

/* هدر مختصر برای ۴۰۴ */
.simple-header {
    padding: 20px 40px;
}

/* در موبایل کد ۴۰۴ کوچک‌تر باشد */
@media (max-width: 600px) {
    .neon-404-code {
        font-size: 6rem;
    }
}