@import "../vendor/perfect-scrollbar/perfect-scrollbar.css";
@import "../vendor/basic-table/basictable.css";
@import "../icons/icofont/icofont.min.css";
@import "../icons/cryptocoins/css/cryptocoins.css";
@import "../icons/cryptocoins/css/cryptocoins-colors.css";

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/eot/iranyekanwebboldfanum.eot);
    src: url(../fonts/eot/iranyekanwebboldfanumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebboldfanum.woff) format("woff"), url(../fonts/ttf/iranyekanwebboldfanum.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 100;
    src: url(../fonts/eot/iranyekanwebthinfanum.eot);
    src: url(../fonts/eot/iranyekanwebthinfanumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebthinfanum.woff) format("woff"), url(../fonts/ttf/iranyekanwebthinfanum.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/eot/iranyekanweblightfanum.eot);
    src: url(../fonts/eot/iranyekanweblightfanumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanweblightfanum.woff) format("woff"), url(../fonts/ttf/iranyekanweblightfanum.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/eot/iranyekanwebregularfanum.eot);
    src: url(../fonts/eot/iranyekanwebregularfanumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebregularfanum.woff) format("woff"), url(../fonts/ttf/iranyekanwebregularfanum.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/eot/iranyekanwebmediumfanum.eot);
    src: url(../fonts/eot/iranyekanwebmediumfanumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebmediumfanum.woff) format("woff"), url(../fonts/ttf/iranyekanwebmediumfanum.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekanEn;
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/eot/iranyekanwebbold.eot);
    src: url(../fonts/eot/iranyekanwebboldd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebbold.woff) format("woff"), url(../fonts/ttf/iranyekanwebbold.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekanEn;
    font-style: normal;
    font-weight: 100;
    src: url(../fonts/eot/iranyekanwebthin.eot);
    src: url(../fonts/eot/iranyekanwebthind41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebthin.woff) format("woff"), url(../fonts/ttf/iranyekanwebthin.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekanEn;
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/eot/iranyekanweblight.eot);
    src: url(../fonts/eot/iranyekanweblightd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanweblight.woff) format("woff"), url(../fonts/ttf/iranyekanweblight.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekanEn;
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/eot/iranyekanwebregular.eot);
    src: url(../fonts/eot/iranyekanwebregulard41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebregular.woff) format("woff"), url(../fonts/ttf/iranyekanwebregular.ttf) format("truetype")
}

@font-face {
    font-family: IRANYekanEn;
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/eot/iranyekanwebmedium.eot);
    src: url(../fonts/eot/iranyekanwebmediumd41d.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/iranyekanwebmedium.woff) format("woff"), url(../fonts/ttf/iranyekanwebmedium.ttf) format("truetype")
}

/* ============================================================ */
/* ===== 1. متغیرها و استایل‌های پایه ===== */
/* ============================================================ */

/* ست ابی */

:root {
    /* ============================================================ */
    /* ===== تم آبی-مشکی (Neon Blue) ===== */
    /* ============================================================ */

    /* ===== پایه ===== */
    --primary: #2563eb;              /* آبی اصلی (متناسب با لوگو) */
    --primary-dark: #1d4ed8;          /* آبی تیره */
    --dark: #0f172a;                 /* مشکی-آبی (کارت‌ها) */
    --darker: #060b18;               /* مشکی عمیق (پس‌زمینه) */
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --green: #10b981;                /* سبز موفقیت */
    --red: #ef4444;                  /* قرمز خطا */

    /* ===== متغیرهای آبی اصلی (جایگزین طلایی) ===== */
    --primary-gold: #3b82f6;         /* آبی روشن (جایگزین طلایی اصلی) */
    --primary-gold-dark: #2563eb;    /* آبی تیره */
    --primary-gold-darker: #1d4ed8;  /* آبی تیره‌تر */
    --primary-orange: #60a5fa;       /* آبی خیلی روشن (جایگزین نارنجی) */
    --primary-orange-dark: #3b82f6;
    --primary-bright: #60a5fa;       /* آبی روشن (برای هایلایت) */
    --primary-light: #93c5fd;        /* آبی پاستلی */
    --primary-yellow: #38bdf8;       /* آبی نئون (درخشان مثل لوگو) */
    --primary-yellow-dark: #0ea5e9;  /* آبی نئون تیره */

    /* ===== درخشش و سایه‌ها ===== */
    --primary-glow: rgba(59, 130, 246, 0.4);
    --primary-glow-light: rgba(56, 189, 248, 0.4);
    --primary-shadow: rgba(59, 130, 246, 0.15);
    --primary-shadow-light: rgba(59, 130, 246, 0.08);
    --primary-shadow-yellow: rgba(56, 189, 248, 0.15);
    --primary-bg-soft: rgba(59, 130, 246, 0.06);
    --primary-bg-softer: rgba(59, 130, 246, 0.04);
    --primary-bg-yellow: rgba(56, 189, 248, 0.05);
    --primary-bg-yellow-2: rgba(56, 189, 248, 0.15);
    --primary-shadow-orange: rgba(37, 99, 235, 0.4);
    --primary-shadow-orange-2: rgba(37, 99, 235, 0.55);

    /* ===== گرادیانت بازارها (همه آبی) ===== */
    --gold-world-start: #60a5fa;
    --gold-world-end: #3b82f6;
    --gold-ounce-start: #3b82f6;
    --gold-ounce-end: #2563eb;
    --gold-cash-start: #93c5fd;
    --gold-cash-end: #60a5fa;

    /* ===== پس‌زمینه‌های آبی روشن (جایگزین کرم) ===== */
    --gold-cream-1: #eef4fb;
    --gold-cream-2: #dbeafe;
    --gold-cream-3: #e0efff;
    --gold-cream-4: #c7e0ff;
    --gold-cream-border: #bfdbfe;
    --gold-cream-border-2: #a5c8f0;
    --gold-note-bg: #eff6ff;
    --gold-note-border: #bfdbfe;
}

/* ست طلایی */
/*:root {*/
/*    !* ============================================================ *!*/
/*    !* ===== تم طلایی-مشکی (Gold & Black) ===== *!*/
/*    !* ============================================================ *!*/

/*    !* ===== پایه ===== *!*/
/*    --primary: #c9a84c;              !* طلایی اصلی *!*/
/*    --primary-dark: #b8943a;          !* طلایی تیره *!*/
/*    --dark: #1a1a2e;                 !* مشکی-سرمه‌ای (کارت‌ها) *!*/
/*    --darker: #12121f;               !* مشکی عمیق (پس‌زمینه) *!*/
/*    --gray: #6c757d;*/
/*    --light-gray: #f8f9fa;*/
/*    --green: #4caf50;                !* سبز موفقیت *!*/
/*    --red: #f44336;                  !* قرمز خطا *!*/

/*    !* ===== متغیرهای طلایی اصلی ===== *!*/
/*    --primary-gold: #c9a84c;         !* طلایی اصلی *!*/
/*    --primary-gold-dark: #b8943a;    !* طلایی تیره *!*/
/*    --primary-gold-darker: #a88432;  !* طلایی تیره‌تر *!*/
/*    --primary-orange: #f5a623;       !* نارنجی-طلایی *!*/
/*    --primary-orange-dark: #d48f1a;*/
/*    --primary-bright: #f9b84a;       !* طلایی روشن (هایلایت) *!*/
/*    --primary-light: #f5c842;        !* طلایی پاستلی (دارک مود) *!*/
/*    --primary-yellow: #f5d742;       !* زرد طلایی (OTP) *!*/
/*    --primary-yellow-dark: #d4a017;  !* زرد طلایی تیره *!*/

/*    !* ===== درخشش و سایه‌ها ===== *!*/
/*    --primary-glow: rgba(201, 168, 76, 0.4);*/
/*    --primary-glow-light: rgba(245, 215, 66, 0.4);*/
/*    --primary-shadow: rgba(201, 168, 76, 0.15);*/
/*    --primary-shadow-light: rgba(201, 168, 76, 0.08);*/
/*    --primary-shadow-yellow: rgba(245, 215, 66, 0.15);*/
/*    --primary-bg-soft: rgba(201, 168, 76, 0.06);*/
/*    --primary-bg-softer: rgba(201, 168, 76, 0.04);*/
/*    --primary-bg-yellow: rgba(245, 215, 66, 0.05);*/
/*    --primary-bg-yellow-2: rgba(245, 215, 66, 0.15);*/
/*    --primary-shadow-orange: rgba(212, 160, 23, 0.4);*/
/*    --primary-shadow-orange-2: rgba(212, 160, 23, 0.55);*/

/*    !* ===== گرادیانت بازارها (طلایی) ===== *!*/
/*    --gold-world-start: #f5b041;*/
/*    --gold-world-end: #d4892b;*/
/*    --gold-ounce-start: #e67e22;*/
/*    --gold-ounce-end: #ca6f1e;*/
/*    --gold-cash-start: #f1c40f;*/
/*    --gold-cash-end: #d4ac0d;*/

/*    !* ===== پس‌زمینه‌های کرم/طلایی روشن ===== *!*/
/*    --gold-cream-1: #faf8f0;*/
/*    --gold-cream-2: #f5f0e0;*/
/*    --gold-cream-3: #fef3e0;*/
/*    --gold-cream-4: #fdebd0;*/
/*    --gold-cream-border: #e8dcc8;*/
/*    --gold-cream-border-2: #f5e6d3;*/
/*    --gold-note-bg: #fff8e6;*/
/*    --gold-note-border: #f5e6c8;*/
/*}*/



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

body {
    font-family: IRANYekan, sans-serif;
    background: var(--darker);
    color: #fff;
    line-height: 1.8;
    direction: rtl;
    padding-top: 0;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================ */
/* ===== 2. نوار قیمت با Swiper ===== */
/* ============================================================ */
.ticker-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 999;
}

.ticker-swiper {
    overflow: hidden;
    width: 100%;
}

.ticker-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.ticker-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    padding: 4px 16px 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
    white-space: nowrap;
    margin: 0 4px;
}

.ticker-item:hover {
    background: var(--primary-shadow-light);
    border-color: var(--primary-shadow);
}

.ticker-item i {
    font-size: 12px;
}

.ticker-item .price {
    color: var(--primary);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.ticker-item .change {
    font-weight: 600;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 50px;
}

.ticker-item .change.positive {
    color: var(--green);
    background: rgba(76, 175, 80, 0.12);
}

.ticker-item .change.negative {
    color: var(--red);
    background: rgba(244, 67, 54, 0.12);
}

/* توقف با هاور */
.ticker-bar:hover .swiper-wrapper {
    animation-play-state: paused !important;
}

/* ===== ریسپانسیو نوار قیمت ===== */
@media (max-width: 768px) {
    .ticker-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .ticker-item {
        padding: 2px 10px 2px 8px;
        font-size: 11px;
    }

    .ticker-item .price {
        font-size: 12px;
    }

    .ticker-item .change {
        font-size: 10px;
        padding: 0 6px;
    }

    .ticker-item i {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .ticker-item {
        padding: 2px 6px;
        font-size: 10px;
        margin: 0 2px;
    }

    .ticker-item .price {
        font-size: 11px;
    }
}

/* ============================================================ */
/* ===== 3. هدر و منو ===== */
/* ============================================================ */
.navbar {
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 31, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-spacer {
    display: none;
    height: 0;
    transition: height 0.3s;
}

.navbar-spacer.active {
    display: block;
    height: 70px;
}

.navbar .navbar-brand {
    font-weight: 800;
    font-size: 22px;
    color: #fff !important;
}

.navbar .navbar-brand span {
    color: var(--primary);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    margin: 0 6px;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
}

/* ===== منوی اکتیو ===== */
.navbar .nav-link.active {
    color: var(--primary) !important;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 10px;
}

/* ===== دکمه‌ها ===== */
.btn-primary-custom {
    background: var(--primary);
    color: var(--darker);
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: var(--darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-shadow);
}

/* ============================================================ */
/* ===== 4. بخش قهرمان (Hero) ===== */
/* ============================================================ */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-shadow-light) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero .hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
    opacity: 0.4;
}

.hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 30px;
    position: relative;
    z-index: 1;
}

.hero .stat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 25px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.hero .stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.hero .stat-box .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.hero .stat-box .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== استایل‌های اختصاصی Hero ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-shadow);
    border: 1px solid var(--primary-shadow);
    border-radius: 50px;
    padding: 6px 18px 6px 20px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.hero-badge i {
    font-size: 14px;
    color: var(--primary);
}

.hero-actions {
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.trust-item {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item i {
    font-size: 14px;
}

/* ===== جعبه قیمت طلا ===== */
.gold-price-box {
    background: var(--primary-bg-soft) !important;
    border-color: var(--primary-shadow) !important;
    padding: 16px 20px !important;
}

.gold-price-box .gold-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.gold-price-box .gold-price {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    font-family: 'Courier New', monospace;
}

.gold-price-box .gold-change {
    font-size: 14px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 50px;
}

.gold-price-box .gold-change.positive {
    color: var(--green);
    background: rgba(76, 175, 80, 0.12);
}

.gold-price-box .gold-change.negative {
    color: var(--red);
    background: rgba(244, 67, 54, 0.12);
}

/* ============================================================ */
/* ===== 5. بخش‌های عمومی ===== */
/* ============================================================ */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-dark {
    background: var(--dark);
}

/* ============================================================ */
/* ===== 6. سیگنال‌ها ===== */
/* ============================================================ */
.signal-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: 0.3s;
    height: 100%;
}

.signal-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.signal-card .pair {
    font-size: 20px;
    font-weight: 700;
}

.signal-card .type {
    font-size: 13px;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 50px;
    display: inline-block;
}

.signal-card .type.buy {
    background: rgba(76, 175, 80, 0.2);
    color: var(--green);
}

.signal-card .type.sell {
    background: rgba(244, 67, 54, 0.2);
    color: var(--red);
}

.signal-card .status {
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 50px;
    background: var(--primary-shadow);
    color: var(--primary);
}

.signal-card .level-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.signal-card .level-row .label {
    color: rgba(255, 255, 255, 0.5);
}

.signal-card .level-row .value {
    font-weight: 600;
}

.signal-card .rr {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* ===== نوتیف ارسال سیگنال ===== */
.signal-notice {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 10px 24px 10px 28px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.signal-notice:hover {
    border-color: var(--primary-glow);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.signal-notice-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.signal-notice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.signal-notice-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.signal-notice-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.signal-notice-text strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ============================================================ */
/* ===== 7. ویژگی‌ها ===== */
/* ============================================================ */
.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--primary-bg-softer);
}

.feature-box .icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-box h5 {
    font-weight: 700;
    font-size: 18px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ============================================================ */
/* ===== 8. نظرات ===== */
/* ============================================================ */
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
}

.testimonial-card .stars {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-card .text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-card .author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--darker);
}

.testimonial-card .author .name {
    font-weight: 600;
    font-size: 15px;
}

.testimonial-card .author .role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================ */
/* ===== 9. تعرفه‌ها ===== */
/* ============================================================ */
.pricing-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 10px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pricing-table thead th {
    padding: 18px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.pricing-table thead th:first-child {
    text-align: right;
    padding-right: 20px;
    min-width: 140px;
}

.pricing-table thead th .plan-badge {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

.pricing-table thead th .plan-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.pricing-table thead th.popular {
    position: relative;
    background: var(--primary-shadow-light);
    border-bottom-color: var(--primary);
}

.pricing-table thead th.popular .popular-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--darker);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 50px;
    margin-top: 4px;
}

.pricing-table tbody tr {
    transition: 0.2s;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-table tbody td {
    padding: 16px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.pricing-table tbody td:first-child {
    text-align: right;
    font-weight: 600;
    font-size: 15px;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-table tbody td:first-child .market-icon {
    margin-left: 10px;
    font-size: 18px;
    color: var(--primary);
}

.pricing-table tbody td .price-amount {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.pricing-table tbody td .price-currency {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.pricing-table tbody td .btn-select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.pricing-table tbody td .btn-select:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.pricing-table tbody td .btn-select.popular-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--darker);
}

.pricing-table tbody td .btn-select.popular-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pricing-table tbody tr.popular-row td {
    background: var(--primary-bg-softer);
}

.pricing-table tbody tr.popular-row td:first-child {
    border-right: 3px solid var(--primary);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== ریسپانسیو جدول ===== */
@media (max-width: 992px) {
    .pricing-wrapper {
        overflow-x: auto;
        padding: 5px;
    }

    .pricing-table {
        font-size: 13px;
        min-width: 700px;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 12px 12px;
    }

    .pricing-table thead th:first-child,
    .pricing-table tbody td:first-child {
        min-width: 120px;
        padding-right: 12px;
    }

    .pricing-table tbody td .price-amount {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .pricing-table {
        font-size: 12px;
        min-width: 600px;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 10px 8px;
    }

    .pricing-table tbody td .price-amount {
        font-size: 14px;
    }

    .pricing-table tbody td .btn-select {
        font-size: 11px;
        padding: 4px 12px;
    }
}

/* ============================================================ */
/* ===== 10. سوالات متداول ===== */
/* ============================================================ */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-item .faq-question:hover {
    color: var(--primary);
}

.faq-item .faq-question i {
    transition: 0.3s;
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* ============================================================ */
/* ===== 11. فوتر ===== */
/* ============================================================ */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 0 20px;
}

.footer .footer-brand {
    font-size: 22px;
    font-weight: 800;
}

.footer .footer-brand span {
    color: var(--primary);
}

.footer .footer-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer .social-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    margin-left: 16px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--primary);
}

.footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

/* ===== لینک‌های فوتر ===== */
.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary) !important;
    padding-right: 6px;
    transform: translateX(4px);
}

/* ===== بخش پایین فوتر ===== */
.footer-bottom {
    padding: 10px 0 5px;
    display: flex;
    flex-wrap: wrap;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

.footer-copy strong {
    color: rgba(255, 255, 255, 0.6);
}

.footer-designed {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.footer-designed a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.footer-designed a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-risk {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    line-height: 1.8;
}

.footer-risk i {
    color: var(--primary);
    opacity: 0.6;
}

/* ============================================================ */
/* ===== 12. ریسپانسیو کلی ===== */
/* ============================================================ */
@media (max-width: 768px) {
    .hero .hero-title {
        font-size: 30px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .hero .stat-box .stat-number {
        font-size: 24px;
    }

    .navbar .navbar-brand {
        font-size: 18px;
    }

    .navbar-spacer.active {
        height: 60px;
    }

    /* Hero ریسپانسیو */
    .hero-badge {
        font-size: 12px;
        padding: 4px 14px;
    }

    .gold-price-box .gold-price {
        font-size: 18px;
    }

    .gold-price-box .gold-label {
        font-size: 12px;
    }

    .gold-price-box .gold-change {
        font-size: 12px;
    }

    .hero-trust {
        justify-content: center;
    }

    /* فوتر ریسپانسیو */
    .footer-risk {
        text-align: center;
        font-size: 10px;
    }

    .footer-risk i {
        float: none;
        display: inline-block;
    }

    .footer-risk span {
        display: inline;
    }

    .footer-copy,
    .footer-designed,
    .footer-risk {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .hero .hero-title {
        font-size: 24px;
    }

    .hero .stat-box {
        padding: 14px 16px;
    }

    .signal-card {
        padding: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* نوتیف سیگنال */
    .signal-notice {
        flex-direction: column;
        padding: 16px 20px;
        border-radius: 16px;
        width: 100%;
        gap: 8px;
    }

    .signal-notice-content {
        align-items: center;
        text-align: center;
    }

    .signal-notice-title {
        font-size: 11px;
    }

    .signal-notice-text {
        font-size: 12px;
    }
}

.btn-outline-primary-custom {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
}

.nav-buttons .btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 16px;
}

.btn-outline-primary-custom {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
}

.nav-buttons .btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 16px;
}

/* سکسن پلن های فعال کاربر */
/* ===== سکشن پلن فعلی کاربر ===== */
.current-plan-box {
    background: linear-gradient(135deg, var(--gold-cream-1), var(--gold-cream-2));
    border: 1px solid var(--gold-cream-border);
    border-radius: 14px;
    padding: 16px 24px;
    margin: 10px 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* وقتی چند پلن داریم، فاصله بین باکس‌ها */
.current-plan-box + .current-plan-box {
    margin-top: 10px;
}

.current-plan-box .plan-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.current-plan-box .plan-badge {
    background: var(--primary-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 30px;
    letter-spacing: 0.3px;
}

.current-plan-box .plan-detail {
    font-size: 14px;
    color: #3d4a5a;
}

.current-plan-box .plan-detail strong {
    color: #1a2332;
    font-weight: 700;
}

.current-plan-box .plan-detail .market-name {
    color: var(--primary-gold);
    font-weight: 600;
}

.current-plan-box .plan-expire {
    font-size: 13px;
    color: #8a9aa8;
    background: #fff;
    padding: 4px 14px;
    border-radius: 30px;
    border: 1px solid var(--gold-cream-border);
}

.current-plan-box .plan-expire i {
    margin-left: 4px;
}

.current-plan-box .plan-status {
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 30px;
    font-weight: 600;
}

.current-plan-box .plan-status.status-active {
    background: #d4edda;
    color: #155724;
}

.current-plan-box .plan-status.status-warning {
    background: #fff3cd;
    color: #856404;
}

.current-plan-box .plan-status.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.current-plan-box .btn-upgrade {
    background: var(--primary-gold);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.current-plan-box .btn-upgrade:hover {
    background:var(--primary-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.current-plan-box .no-plan {
    color: #8a9aa8;
    font-size: 14px;
}

.current-plan-box .no-plan i {
    color: var(--primary-gold);
    margin-left: 6px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 767px) {
    .current-plan-box {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }

    .current-plan-box .plan-info {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }

    .current-plan-box .btn-upgrade {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .current-plan-box .plan-detail {
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .current-plan-box .plan-expire {
        font-size: 11px;
        padding: 2px 10px;
    }

    .current-plan-box .plan-status {
        font-size: 11px;
        padding: 2px 10px;
    }
}


/*  اطلاع رسانی پیامک */
/* سوییچ بزرگتر */
.form-switch-lg .form-check-input {
    width: 3.5rem;
    height: 1.8rem;
    cursor: pointer;
}

.form-switch-lg .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-switch-lg .form-check-label {
    font-size: 1.1rem;
    margin-right: 10px;
    vertical-align: middle;
}

/*   دیت پیکر */

/* اعلان های هدر تگ */
/* ===== استایل اعلانات هدر ===== */

/* نشانگر تعداد اعلان‌های جدید */
.notification .notify-bell {
    position: relative;
}

.notification .notify-bell .notif-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* نقطه وضعیت */
.notification .dropdown-menu .status-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 12px;
    margin-right: 4px;
}

.notification .dropdown-menu .status-dot.success {
    background: #4CAF50;
}

.notification .dropdown-menu .status-dot.danger {
    background: #f44336;
}

.notification .dropdown-menu .status-dot.warning {
    background: #FF9800;
}

.notification .dropdown-menu .status-dot.info {
    background: #2196F3;
}

.notification .dropdown-menu .status-dot.general {
    background: #9E9E9E;
}

/* آیتم‌های اعلان در دراپ‌داون */
.notification .dropdown-menu .notif-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s;
    text-decoration: none;
}

.notification .dropdown-menu .notif-item:hover {
    background: #f8f9fa;
    border-radius: 4px;
}

.notification .dropdown-menu .notif-item.unread {
    background: #f8f9fa;
    border-right: 3px solid var(--primary-gold);
}

.notification .dropdown-menu .notif-item .notif-text {
    flex: 1;
    min-width: 0;
}

.notification .dropdown-menu .notif-item .notif-title {
    font-weight: 600;
    color: #1a2332;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification .dropdown-menu .notif-item .notif-message {
    color: #6c7983;
    font-size: 13px;
    display: block;
    line-height: 1.4;
}

.notification .dropdown-menu .notif-item .notif-date {
    color: #8a9aa8;
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.notification .dropdown-menu .notif-item .notif-new-badge {
    display: inline-block;
    background: var(--primary-gold);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 30px;
    margin-top: 2px;
}

/* دکمه مشاهده همه */
.notification .dropdown-menu .notif-see-all {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 0 0;
    color: #556ee6;
    font-weight: 500;
    text-decoration: none;
    gap: 4px;
}

.notification .dropdown-menu .notif-see-all:hover {
    color: #1f3dd0;
}

/* وضعیت خالی */
.notification .dropdown-menu .notif-empty {
    text-align: center;
    padding: 20px 0;
    color: #8a9aa8;
}

.notification .dropdown-menu .notif-empty i {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    color: #d4d8dd;
}

.notification .dropdown-menu .notif-empty p {
    font-size: 14px;
    margin: 0;
}

/* تعداد جدید در هدر */
.notification .dropdown-menu h4 .unread-count-header {
    color: #dc3545;
    font-size: 12px;
    font-weight: 400;
}

/* ===== دارک مود ===== */
.dark-theme .notification .dropdown-menu .notif-item {
    border-color: #ffffff14;
}

.dark-theme .notification .dropdown-menu .notif-item:hover {
    background: #1a3096;
}

.dark-theme .notification .dropdown-menu .notif-item.unread {
    background: #1a3096;
}

.dark-theme .notification .dropdown-menu .notif-item .notif-title {
    color: #fff;
}

.dark-theme .notification .dropdown-menu .notif-item .notif-message {
    color: #c4cdf6;
}

.dark-theme .notification .dropdown-menu .notif-item .notif-date {
    color: #8a9aa8;
}

.dark-theme .notification .dropdown-menu .notif-empty p {
    color: #c4cdf6;
}

.dark-theme .notification .dropdown-menu .notif-empty i {
    color: #ffffff26;
}

.dark-theme .notification .dropdown-menu .status-dot.success {
    background: #66BB6A;
}

.dark-theme .notification .dropdown-menu .status-dot.danger {
    background: #ef5350;
}

.dark-theme .notification .dropdown-menu .status-dot.warning {
    background: #ffa726;
}

.dark-theme .notification .dropdown-menu .status-dot.info {
    background: #42a5f5;
}

.dark-theme .notification .dropdown-menu .status-dot.general {
    background: #bdbdbd;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 767px) {
    .notification .dropdown-menu {
        width: 300px !important;
        left: -20px !important;
    }

    .notification .dropdown-menu .notif-item .notif-title {
        font-size: 13px;
    }

    .notification .dropdown-menu .notif-item .notif-message {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .notification .dropdown-menu {
        width: 280px !important;
        left: -30px !important;
    }
}

/* اعلان کیف پول*/
/* استایل ساده مودال پرداخت موفق */
#paymentSuccessModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

#paymentSuccessModal .modal-header.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

#paymentSuccessModal .modal-footer .btn {
    border-radius: 50px;
    padding: 10px 40px;
    font-weight: 500;
}

#paymentSuccessModal .border-top {
    border-color: #e9ecef !important;
}
