﻿

/* ===== HERO / SEARCH (Learn Center) ===== */
.lc-hero-wrap {
    padding: 18px 0 28px;
}

.lc-hero-card {
    position: relative;
    overflow: visible;
    padding: 54px 20px 34px;
    min-height: 260px; /* پایه گرادیان */
    background: url("/site/images/guide-banner.svg") center / cover no-repeat;
    background-color: var(--bg-color, #6637E9);
    height: 379;
    border-radius: 16px;
    opacity: 1;
}
    /* لایه‌های مورب */

    .lc-hero-card::before,
    .lc-hero-card::after {
        display: none;
    }

    .lc-hero-card::before {
        background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.10) 39%, rgba(0,0,0,.10) 62%, rgba(0,0,0,0) 63%, rgba(0,0,0,0) 100%);
        opacity: .65;
    }

    .lc-hero-card::after {
        background: linear-gradient(225deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.06) 28%, rgba(255,255,255,0) 29%, rgba(255,255,255,0) 100%), radial-gradient(circle at 86% 55%, rgba(255,255,255,.08) 0 2px, rgba(255,255,255,0) 3px) 0 0/26px 26px;
        opacity: .35;
    }

.lc-hero-fab {
    position: absolute;
    top: 18px;
    left: 24px; 
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(29, 84, 138, .85);
    box-shadow: 0 10px 18px rgba(0,0,0,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 3;
}

    .lc-hero-fab > span {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: #8b5cf6;
        color: #ffffff;
        font-weight: 800;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
    }

.lc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.lc-hero-title {
    font-weight: 900;
    font-size: 36px;
    margin-top: 32px;
    font-style: Black;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
    color: #FFFFFF;
}

.lc-hero-subrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.lc-hero-subtext {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    gap: 11px;
    margin: 20px;
}

.lc-hero-version {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.95);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

    .lc-hero-version svg {
        width: 14px;
        height: 14px;
        opacity: .9;
    }

.lc-hero-search {
    max-width: 610px;
    margin: 0 auto;
}

.lc-search-box {
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    height: 54px;
    overflow: hidden;
}

.lc-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 18px 0 52px;
    font-size: 14px;
    color: #111827;
    background: transparent;
}

    .lc-search-input::placeholder {
        color: #111827;
        opacity: .85;
    }

.lc-search-input {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.lc-search-box:focus-within {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 0 0 3px rgba(37,99,235,.18), 0 10px 24px rgba(0,0,0,.10);
}

.lc-search-box.is-open {
    border-bottom-color: rgba(17,24,39,.12);
}

.lc-search-input {
    line-height: 54px;
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 576px) {
    .lc-search-input {
        line-height: 52px;
    }
}

.lc-search-ic {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    opacity: .9;
}

    .lc-search-ic svg {
        width: 20px;
        height: 20px;
    }

.lc-hero-tags {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lc-tags-label {
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 400;
    margin-left: 6px;
    white-space: nowrap;
}

.lc-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    color: #F8F9FC;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
    white-space: nowrap;
    font-family: Yekan Bakh;
}

    .lc-tag:hover {
        color: #F8F9FC;
    }
/* ریسپانسیو */

@media (max-width: 576px) {
    .lc-hero-card {
        padding: 42px 14px 26px;
    }

    .lc-hero-title {
        font-size: 28px;
    }

    .lc-search-box {
        height: 52px;
    }
}


/* ===== Autocomplete dropdown (Guide search) ===== */
.lc-hero-search {
    position: relative;
}

    .lc-hero-search form {
        position: relative;
    }

#autocompleteResults {
    position: absolute;
    top: calc(54px + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(17,24,39,.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl;
    margin: 0px;
    max-width: 610px !important;
}

    #autocompleteResults .result-item {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(17,24,39,.08);
        text-align: right;
        background: #fff;
    }

        #autocompleteResults .result-item:last-child {
            border-bottom: 0;
        }

        #autocompleteResults .result-item:hover {
            background: rgba(17,24,39,.03);
        }

        #autocompleteResults .result-item a {
            text-decoration: none;
            display: block;
            width: 100%;
            color: inherit;
        }

        #autocompleteResults .result-item strong {
            display: block;
            font-size: 14px;
            font-weight: bolder;
            color: #555;
            line-height: 1.35;
        }

        #autocompleteResults .result-item small {
            display: block;
            margin-top: 12px;
            font-size: 12px;
            color: #2166AE;
            line-height: 1.2;
        }

    #autocompleteResults .loading {
        padding: 12px 16px;
        font-size: 12px;
        color: #6b7280;
    }

    #autocompleteResults::-webkit-scrollbar {
        width: 10px;
    }

    #autocompleteResults::-webkit-scrollbar-track {
        background: rgba(17,24,39,.06);
        border-radius: 999px;
    }

    #autocompleteResults::-webkit-scrollbar-thumb {
        background: rgba(17,24,39,.22);
        border-radius: 999px;
    }

@media (max-width: 576px) {
    #autocompleteResults {
        top: calc(52px + 6px);
        max-height: 260px;
    }
}

.lc-search-box.is-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#autocompleteResults.is-open {
    top: 54px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

/* موبایل */
@media (max-width: 576px) {
    #autocompleteResults.is-open {
        top: 52px;
    }
}

#autocompleteResults .result-item.is-empty {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.lc-hero-card {
    position: relative;
    overflow: visible;
}

.lc-hero-bg {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    background: url("/site/images/guide-banner.svg") center / cover no-repeat;
    z-index: 0;
}

.lc-hero-inner {
    position: relative;
    z-index: 2;
}

.lc-search-box {
    position: relative;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    height: 54px;
    overflow: hidden;
    border: 1px solid rgba(17,24,39,.12);
}

.lc-search-ic {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .9;
    pointer-events: none;
}

    .lc-search-ic img {
        width: 20px;
        height: 20px;
        display: block;
    }

.lc-search-input {
    width: 100%;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent;
    font-size: 14px;
    color: #111827;
    padding: 0 52px 0 18px;
    line-height: 54px;
}

    .lc-search-input::placeholder {
        color: #111827;
        opacity: .85;
    }

.lc-search-box:focus-within {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 0 0 3px rgba(37,99,235,.18), 0 10px 24px rgba(0,0,0,.10);
}

#autocompleteResults {
    position: absolute;
    top: calc(54px + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(17,24,39,.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl;
    margin: 0;
}

.lc-search-box.is-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#autocompleteResults.is-open {
    top: 54px;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (max-width:576px) {
    .lc-search-box {
        height: 52px;
    }

    .lc-search-input {
        line-height: 52px;
    }

    #autocompleteResults {
        top: calc(52px + 6px);
        max-height: 260px;
    }

        #autocompleteResults.is-open {
            top: 52px;
        }
}

/* ===== SECTION: شروع و راهنمای کاربری ===== */
.lc-section {
    padding: 34px 0 10px;
}

.lc-section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 10px;
}

.lc-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2166AE;
    line-height: 28px;
    text-align: right;
}

.lc-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf2ff;
    border: 1px solid #e6eefc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .lc-section-icon img,
    .lc-section-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

.lc-section-desc {
    margin: 0 0 18px;
    color: #9aa3ad;
    font-size: 13px;
    line-height: 2.05;
    text-align: right;
}

.lc-guide-grid {
    margin-top: 10px;
}

.lc-guide-card {
    height: 100%;
    border-radius: 4px;
    background: #F6F7FA;
    border: 1px solid #edf2fb;
    padding: 16px 16px 14px;
    transition: 120ms ease;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: right;
}

    .lc-guide-card:hover {
        transform: translateY(-1px);
        border-color: #dde6f7;
    }

.lc-guide-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.lc-guide-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 100%;
}

.lc-guide-card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    flex: 0 0 auto;
}

    .lc-guide-card-arrow svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.lc-guide-card-text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #828282;
    line-height: 100%;
}

.lc-guide-grid .col-12.col-md-6.col-lg-3 {
    margin-bottom: 12px;
}

.lc-guide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lc-guide-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.lc-guide-card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 2em);
}

@supports not (-webkit-line-clamp: 2) {
    .lc-guide-card-text {
        max-height: 4em;
        overflow: hidden;
    }
}



/* ===== SECTION: راهنمای گام‌به‌گام ===== */
.lc-steps {
    padding: 26px 0 38px;
}

.lc-steps-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.lc-steps-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2166AE;
    line-height: 28px;
    text-align: right;
}

.lc-steps-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf2ff;
    border: 1px solid #e6eefc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .lc-steps-icon img,
    .lc-steps-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

.lc-steps-desc {
    margin: 0 0 18px;
    color: #9aa3ad;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.05;
    text-align: right;
}

.lc-desc {
    margin: 0 0 18px;
    color: #9aa3ad;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.05;
    text-align: right;
}

.lc-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2166AE;
    line-height: 28px;
    text-align: right;
    font-style: Bold;
    letter-spacing: -1px;
}

.lc-steps-wrap {
    background: #F6F7FA;
    border: 1px solid #edf2fb;
    border-radius: 14px;
    padding: 18px;
}

.lc-steps-card {
    background: #ffffff;
    border: 1px solid #edf2fb;
    border-radius: 12px;
    padding: 18px 18px 16px;
    height: 100%;
}

.lc-steps-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f68ad;
    line-height: 1.7;
    text-align: right;
}

.lc-steps-card-sub {
    margin: 8px 0 12px;
    font-size: 14px;
    font-weight: 400;
    color: #9aa3ad;
    text-align: right;
    line-height: 24px;
    letter-spacing: 0px;
}

.lc-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.lc-steps-item a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 10px;
    direction: rtl; 
    text-align: right;
}

.lc-steps-item-ic {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}


    .lc-steps-item-ic img,
    .lc-steps-item-ic svg {
        width: 16px;
        height: 16px;
        display: block;
    }

.lc-steps-grid {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

@media (max-width: 576px) {
    .lc-steps-wrap {
        padding: 14px;
    }

    .lc-steps-card {
        padding: 16px;
    }
}

/* ===== SECTION: توسعه‌دهندگان ===== */
.lc-dev {
    padding: 28px 0 10px;
}

.lc-dev-grid {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 18px;
    align-items: stretch;
}

.lc-dev-card {
    height: 100%;
    border-radius: 4px;
    background: #F6F7FA;
    border: 1px solid #edf2fb;
    padding: 18px 16px 16px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 120ms ease;
}

    .lc-dev-card:hover {
        transform: translateY(-1px);
        border-color: #dde6f7;
    }

.lc-dev-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 10px;
    margin-bottom: 8px;
}

.lc-dev-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-dev-card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .lc-dev-card-arrow img,
    .lc-dev-card-arrow svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.lc-dev-card-text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #828282;
    line-height: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 2em);
}

@supports not (-webkit-line-clamp: 2) {
    .lc-dev-card-text {
        max-height: 4em;
        overflow: hidden;
    }
}

.lc-dev-content {
    padding-top: 6px;
}

.lc-dev-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 8px;
}

.lc-dev-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf2ff;
    border: 1px solid #e6eefc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .lc-dev-icon img,
    .lc-dev-icon svg {
        width: 20px;
        height: 20px;
        display: block;
    }

.lc-dev-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2166AE;
    line-height: 28px;
    text-align: right;
}

.lc-dev-desc {
    margin: 10px 0 0;
    color: #4F4F4F;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    max-width: 520px;


    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: justify;
}

@media (max-width: 992px) {
    .lc-dev-content {
        padding-top: 0;
    }

    .lc-dev-desc {
        max-width: none;
    }
}

/* ===== SECTION: آموزش‌های ویدئویی ===== */
.lc-videos {
    background: #edf5ff;
    padding: 26px 0 34px;
    margin-top: 22px;
}


.lc-videos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    margin-top: 10px;
}

.lc-videos-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #131313;
    line-height: 100%;
    text-align: right;
}

.lc-videos-more {
    font-size: 14px;
    font-weight: 600;
    color: #2166AE;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .lc-videos-more img,
    .lc-videos-more svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.lc-video-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px;
    overflow: visible; 
    height: 100%;
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    transition: 120ms ease;
    opacity: 1;
    border-radius: 8px;
    border-width: 1px;
    padding: 12px;
}

    .lc-video-card:hover {
        transform: translateY(-1px);
        border-color: #d6e4fb;
    }

.lc-video-thumb {
    position: relative;
    height: 138px;
    background: #f3f6fb;
    border-radius: 4px; 
    overflow: hidden;
}

.lc-video-body {
    padding: 10px 0 0; 
}

.lc-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lc-video-time {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(17,24,39,.75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 6px;
    letter-spacing: .2px;
}

.lc-video-body {
}

.lc-video-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 400;
    color: #2b3642;
    line-height: 32px;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 400;
    color: #4F4F4F;
    line-height: 32px;
    gap: 10px;
}

    .lc-video-meta span {
        white-space: nowrap;
    }

.lc-videos-grid {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

@media (max-width: 576px) {
    .lc-video-thumb {
        height: 150px;
    }
}
