/* ============================================================
   SUPPORT PAGE STYLES
   ============================================================ */

/* ===== پس‌زمینه صفحه ===== */
.support-page {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F6FB 50%, #F7FAFC 100%);
    overflow: hidden;
}

.support-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(28,169,201,0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,122,0,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.support-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

/* ===== کارت اصلی ===== */
.support-card {
    background: white;
    border-radius: 32px;
    padding: 45px 50px;
    box-shadow: 
        0 20px 60px rgba(28,169,201,0.1),
        0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(28,169,201,0.08);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #1CA9C9, #FF7A00, #1CA9C9);
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    from { background-position: 0% 0%; }
    to { background-position: 200% 0%; }
}

/* ===== هدر ===== */
.support-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #F0F4F8;
}

.support-logo {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 3px solid #1CA9C9;
    overflow: hidden;
    position: relative;
}

.support-logo::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px dashed rgba(28,169,201,0.3);
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.support-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.support-header-content {
    flex: 1;
    min-width: 0;
}

.support-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.support-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F7FAFC;
    color: #4A5568;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px dashed #CBD5E0;
}

.support-title-badge i {
    color: #1CA9C9;
    font-size: 1rem;
}

.btn-helpdesk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1CA9C9, #0E7A94);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(28,169,201,0.25);
    white-space: nowrap;
}

.btn-helpdesk:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(28,169,201,0.35);
    color: white;
}

.support-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: #0A2540;
    margin: 0 0 18px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.support-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1CA9C9, #0E7A94);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 6px 15px rgba(28,169,201,0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.support-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E0F6FB;
    color: #0E7A94;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
}

.support-badge i {
    font-size: 0.9rem;
}

/* ===== هشدار ===== */
.support-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #E0F6FB 0%, #F0F9FF 100%);
    padding: 18px 22px;
    border-radius: 16px;
    margin-bottom: 35px;
    border-right: 4px solid #1CA9C9;
    flex-wrap: wrap;
}

.support-alert-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1CA9C9;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(28,169,201,0.15);
}

.support-alert-text {
    flex: 1;
    margin: 0;
    color: #0A2540;
    font-size: 0.95rem;
    line-height: 1.7;
    min-width: 200px;
}

.support-alert-text .text-primary {
    color: #1CA9C9;
    font-weight: 800;
}

.support-alert-tag {
    background: #FF7A00;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ===== عنوان بخش ===== */
.support-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0A2540;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.support-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1CA9C9, #FF7A00);
    border-radius: 3px;
}

/* ===== کانال‌های ارتباطی ===== */
.support-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.channel-card {
    background: white;
    border: 2px solid #F0F4F8;
    border-radius: 20px;
    padding: 25px 15px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--channel-color, #1CA9C9);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.channel-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.channel-card:hover {
    transform: translateY(-8px);
    border-color: var(--channel-color, #1CA9C9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.channel-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ★★ لوگوی تصویری داخل کادر کانال ★★ */
.channel-icon-img {
    width: 55%;
    height: 55%;
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1);   /* سفید کردن */
    display: block;
}

/* ★ در موبایل */
@media (max-width: 576px) {
    .channel-icon-img {
        max-width: 30px;
        max-height: 30px;
    }
}

.channel-card:hover .channel-icon {
    transform: scale(1.12) rotate(-8deg);
}

.channel-icon--bale {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    --channel-color: #2563EB;
}

.channel-icon--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    --channel-color: #25D366;
}

.channel-icon--eitaa {
    background: linear-gradient(135deg, #1CA9C9, #0E7A94);
    --channel-color: #1CA9C9;
}

.channel-icon--telegram {
    background: linear-gradient(135deg, #29A9EB, #168ACD);
    --channel-color: #29A9EB;
}

.channel-card h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #0A2540;
    margin: 0;
}

.channel-username {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 600;
    direction: ltr;
    padding: 4px 10px;
    background: #F7FAFC;
    border-radius: 8px;
    border: 1px dashed #CBD5E0;
    text-decoration: none !important;
}

.channel-card:hover .channel-username {
    background: #E0F6FB;
    color: #0E7A94;
    border-color: #1CA9C9;
}

/* ===== شماره‌های تماس ===== */
.support-phones {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F6FB 100%);
    border-radius: 20px;
    padding: 28px 25px;
    margin-bottom: 35px;
    border: 1px solid rgba(28,169,201,0.15);
}

.support-phones-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0A2540;
    margin-bottom: 22px;
}

.support-phones-title i {
    color: #1CA9C9;
    font-size: 1.3rem;
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.phone-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #0A2540;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid rgba(28,169,201,0.1);
    direction: ltr;
}

.phone-item i {
    color: #1CA9C9;
    font-size: 1.1rem;
}

.phone-item:hover {
    background: #1CA9C9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(28,169,201,0.3);
    border-color: #1CA9C9;
}

.phone-item:hover i {
    color: white;
}

/* ===== راهنما ===== */
.support-guide {
    display: flex;
    gap: 25px;
    align-items: center;
    background: linear-gradient(135deg, #0A2540 0%, #0E3A5C 100%);
    border-radius: 24px;
    padding: 30px 35px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.support-guide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(28,169,201,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.support-guide-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.support-guide-icon span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #4DD0E1;
    line-height: 1;
    letter-spacing: 2px;
}

.support-guide-icon i {
    font-size: 1.5rem;
    color: #FFD93D;
    margin-top: 5px;
}

.support-guide-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.support-guide-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot-primary {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #1CA9C9;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(28,169,201,0.25);
    animation: pulse 2s ease-in-out infinite;
}

.guide-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255,255,255,0.05);
    padding: 15px 18px;
    border-radius: 14px;
    border-right: 3px solid #4DD0E1;
}

.guide-info i {
    color: #4DD0E1;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.guide-info p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
}

.guide-info .text-primary {
    color: #4DD0E1;
    font-weight: 800;
}

/* ===== پانوشت ===== */
.support-footer-note {
    text-align: center;
    padding: 18px 20px;
    background: #FFF7ED;
    border-radius: 14px;
    color: #92400E;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed #FBBF24;
}

.support-footer-note i {
    color: #F59E0B;
    font-size: 1.1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .support-card {
        padding: 35px 30px;
    }
    
    .support-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .support-header-top {
        justify-content: center;
        flex-direction: column;
    }
    
    .support-title {
        justify-content: center;
        font-size: 1.6rem;
    }
    
    .support-badges {
        justify-content: center;
    }
    
    .support-channels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .phones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-guide {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .guide-info {
        text-align: right;
    }
}

@media (max-width: 576px) {
    .support-page {
        padding: 85px 0 30px;
    }
    
    .support-card {
        padding: 25px 18px;
        border-radius: 22px;
    }
    
    .support-logo {
        width: 100px;
        height: 100px;
    }
    
    .support-title {
        font-size: 1.3rem;
    }
    
    .support-title-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
        text-align: center;
    }
    
    .support-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .btn-helpdesk {
        font-size: 0.8rem;
        padding: 9px 18px;
    }
    
    .support-alert {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .support-alert-text {
        font-size: 0.85rem;
    }
    
    .support-channels {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .channel-card {
        padding: 18px 10px 15px;
    }
    
    .channel-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .channel-card h5 {
        font-size: 0.9rem;
    }
    
    .channel-username {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .phones-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-item {
        font-size: 0.88rem;
        padding: 12px 14px;
    }
    
    .support-guide-icon {
        width: 80px;
        height: 80px;
    }
    
    .support-guide-icon span {
        font-size: 1.4rem;
    }
    
    .support-guide-content h3 {
        font-size: 1.05rem;
        justify-content: center;
    }
    
    .guide-info {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-info p {
        font-size: 0.85rem;
    }
    
    .support-footer-note {
        font-size: 0.78rem;
        padding: 14px 15px;
    }
}

/* ============================================================
   ★★★ DARK MODE — SUPPORT PAGE ★★★
   ============================================================ */
[data-theme="dark"] .support-page {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%) !important;
}



[data-theme="dark"] .support-card {
    background: #1C2128 !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        0 4px 20px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .support-header {
    border-bottom-color: #30363D !important;
}

[data-theme="dark"] .support-logo {
    background: #161B22 !important;
    border-color: #22B8D8 !important;
}

[data-theme="dark"] .support-title-badge {
    background: #161B22 !important;
    color: #B1BAC4 !important;
    border-color: #30363D !important;
}

[data-theme="dark"] .support-title {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .support-badge {
    background: rgba(28, 169, 201, 0.2) !important;
    color: #4DD0E1 !important;
}

[data-theme="dark"] .support-alert {
    background: linear-gradient(90deg, rgba(28, 169, 201, 0.15) 0%, rgba(28, 169, 201, 0.05) 100%) !important;
    border-right-color: #22B8D8 !important;
}

[data-theme="dark"] .support-alert-icon {
    background: #161B22 !important;
    color: #4DD0E1 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .support-alert-text {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .support-alert-text .text-primary {
    color: #4DD0E1 !important;
}

[data-theme="dark"] .support-section-title {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .channel-card {
    background: #21262D !important;
    border-color: #30363D !important;
}

[data-theme="dark"] .channel-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}

[data-theme="dark"] .channel-card h5 {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .channel-username {
    background: #161B22 !important;
    color: #8B949E !important;
    border-color: #30363D !important;
}

[data-theme="dark"] .channel-card:hover .channel-username {
    background: rgba(28, 169, 201, 0.2) !important;
    color: #4DD0E1 !important;
    border-color: #22B8D8 !important;
}

[data-theme="dark"] .support-phones {
    background: linear-gradient(135deg, #161B22 0%, #1C2128 100%) !important;
    border-color: #30363D !important;
}

[data-theme="dark"] .support-phones-title {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .phone-item {
    background: #21262D !important;
    color: #E6EDF3 !important;
    border-color: #30363D !important;
}

[data-theme="dark"] .phone-item:hover {
    background: #22B8D8 !important;
    color: white !important;
}

[data-theme="dark"] .support-guide {
    background: linear-gradient(135deg, #05080D 0%, #0A2540 100%) !important;
}

[data-theme="dark"] .support-guide-icon {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.15) !important;
}

[data-theme="dark"] .guide-info {
    background: rgba(255,255,255,0.03) !important;
}

[data-theme="dark"] .support-footer-note {
    background: rgba(255, 184, 0, 0.1) !important;
    color: #FFD93D !important;
    border-color: rgba(255, 184, 0, 0.3) !important;
}

/* ★ دکمه تیکت */
[data-theme="dark"] .btn-helpdesk {
    box-shadow: 0 8px 20px rgba(28, 169, 201, 0.35) !important;
}

/* ★ عنوان و متن‌های داخل راهنما */
[data-theme="dark"] .support-guide-content h3 {
    color: #E6EDF3 !important;
}

[data-theme="dark"] .guide-info p {
    color: rgba(255,255,255,0.9) !important;
}

[data-theme="dark"] .guide-info .text-primary {
    color: #4DD0E1 !important;
}

/* ============================================================
   ★★★ FIX: حذف زیرخط از کارت‌های کانال ★★★
   ============================================================ */

/* حذف underline از تمام متن داخل کارت‌های کانال */
.channel-card,
.channel-card:hover,
.channel-card:focus,
.channel-card:active,
.channel-card h5,
.channel-card .channel-username,
.channel-card .channel-icon,
.channel-card span,
.channel-card i {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* همچنین، لینک‌های عمومی داخل کانتینر راهنما */
.support-channels a,
.support-channels a:hover,
.support-channels a:focus,
.support-channels a * {
    text-decoration: none !important;
    border-bottom: none !important;
}