@font-face { font-family: 'Shabnam'; src: url('../fonts/Shabnam.ttf'); font-display: swap; }
@font-face { font-family: 'ShabnamBold'; src: url('../fonts/Shabnam-Bold.ttf'); font-display: swap; }
@font-face { font-family: 'ShabnamLight'; src: url('../fonts/Shabnam-Light.ttf'); font-display: swap; }
@font-face { font-family: 'ShabnamMedium'; src: url('../fonts/Shabnam-Medium.ttf'); font-display: swap; }
@font-face { font-family: 'ShabnamThin'; src: url('../fonts/Shabnam-Thin.ttf'); font-display: swap; }

@font-face { font-family: 'VazirmatnBlack'; src: url('../fonts/Vazirmatn-Black.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnBold'; src: url('../fonts/Vazirmatn-Bold.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnExtraBold'; src: url('../fonts/Vazirmatn-ExtraBold.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnExtraLight'; src: url('../fonts/Vazirmatn-ExtraLight.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnLight'; src: url('../fonts/Vazirmatn-Light.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnMedium'; src: url('../fonts/Vazirmatn-Medium.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnRegular'; src: url('../fonts/Vazirmatn-Regular.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnSemiBold'; src: url('../fonts/Vazirmatn-SemiBold.ttf'); font-display: swap; }
@font-face { font-family: 'VazirmatnThin'; src: url('../fonts/Vazirmatn-Thin.ttf'); font-display: swap; }
.lrl-prf-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background:
        radial-gradient(circle at 78% 52%, rgba(112, 0, 255, 0.20), transparent 18%),
        radial-gradient(circle at 65% 80%, rgba(114, 46, 255, 0.14), transparent 20%),
        radial-gradient(circle at 20% 10%, rgba(88, 28, 255, 0.08), transparent 18%),
        linear-gradient(180deg, #050816 0%, #070b1d 100%);
}

.lrl-prf-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 70%, rgba(129, 76, 255, 0.18), transparent 14%),
        radial-gradient(circle at 70% 88%, rgba(110, 0, 255, 0.12), transparent 18%);
    pointer-events: none;
}

.lrl-prf-container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    position: relative;
    z-index: 1;
}

.lrl-prf-content {
    width: 46%;
    color: #ffffff;
    text-align: right;
}

.lrl-prf-eyebrow {
    font-family: 'VazirmatnBlack';
    display: inline-block;
    margin-bottom: 14px;
    color: #9f7bff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.lrl-prf-title {
    font-family: 'VazirmatnBlack';
    margin: 0 0 18px;
    font-size: 60px;
    line-height: 1.15;
    font-weight: 900;
    color: #f8f7ff;
    letter-spacing: -0.03em;
}

.lrl-prf-title span {
    color: #8b5cf6;
}

.lrl-prf-desc {
    margin: 0 0 34px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 2.05;
    font-weight: 400;
    font-family: 'VazirmatnMedium';
}

.lrl-prf-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lrl-prf-stat-card {
    min-height: 128px;
    padding: 20px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 20, 42, 0.92) 0%, rgba(11, 16, 35, 0.88) 100%);
    border: 1px solid rgba(146, 115, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 14px 34px rgba(0, 0, 0, 0.26);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    font-family: 'VazirmatnMedium';
}

.lrl-prf-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 110, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 42px rgba(64, 0, 153, 0.22);
}

.lrl-prf-stat-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9c6bff;
    font-size: 24px;
    background: radial-gradient(circle at 30% 30%, rgba(143, 92, 255, 0.18), rgba(143, 92, 255, 0.05));
    border: 1px solid rgba(143, 92, 255, 0.16);
    box-shadow: inset 0 0 20px rgba(143, 92, 255, 0.05);
}

.lrl-prf-stat-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lrl-prf-stat-number {
    color: #8f63ff;
    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.lrl-prf-stat-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
    white-space: nowrap;
}

.lrl-prf-media {
    width: 54%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 620px;
}

.lrl-prf-media-glow {
    position: absolute;
    inset: auto;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(133, 78, 255, 0.28) 0%, rgba(133, 78, 255, 0.10) 34%, rgba(133, 78, 255, 0.00) 70%);
    filter: blur(16px);
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.lrl-prf-image-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    border-radius: 28px;
    z-index: 2;
    animation: lrl-prf-float 5.5s ease-in-out infinite;
}

.lrl-prf-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    filter:
        drop-shadow(0 24px 45px rgba(95, 0, 204, 0.28))
        drop-shadow(0 0 24px rgba(139, 92, 246, 0.22));
}

.lrl-prf-reveal {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: transform, opacity;
}

.lrl-prf-reveal-right {
    transform: translateX(-60px);
}

.lrl-prf-reveal-left {
    transform: translateX(60px);
}

.lrl-prf-reveal.lrl-prf-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes lrl-prf-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 1199px) {
    .lrl-prf-container {
        width: min(1200px, calc(100% - 32px));
        gap: 34px;
    }

    .lrl-prf-content {
        width: 48%;
    }

    .lrl-prf-media {
        width: 52%;
        min-height: 520px;
    }

    .lrl-prf-desc {
        font-size: 18px;
    }

    .lrl-prf-stats {
        gap: 14px;
    }

    .lrl-prf-stat-card {
        min-height: 118px;
        padding: 18px 14px;
    }

    .lrl-prf-stat-label {
        white-space: normal;
    }
}

@media (max-width: 991px) {
    .lrl-prf-section {
        padding: 70px 0;
    }

    .lrl-prf-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .lrl-prf-content,
    .lrl-prf-media {
        width: 100%;
    }

    .lrl-prf-content {
        text-align: center;
    }

    .lrl-prf-desc {
        margin-right: auto;
        margin-left: auto;
        max-width: 760px;
    }

    .lrl-prf-media {
        min-height: auto;
    }

    .lrl-prf-image-wrap {
        max-width: 700px;
    }

    .lrl-prf-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lrl-prf-stat-card {
        justify-content: center;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .lrl-prf-section {
        padding: 54px 0;
    }

    .lrl-prf-container {
        width: calc(100% - 24px);
        gap: 24px;
    }

    .lrl-prf-eyebrow {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .lrl-prf-title {
        margin-bottom: 14px;
        font-size: clamp(30px, 10vw, 46px);
        line-height: 1.22;
    }

    .lrl-prf-desc {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.95;
    }

    .lrl-prf-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lrl-prf-stat-card {
        min-height: auto;
        padding: 16px 14px;
        border-radius: 18px;
    }

    .lrl-prf-stat-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
        border-radius: 14px;
    }

    .lrl-prf-stat-number {
        font-size: 32px;
    }

    .lrl-prf-stat-label {
        font-size: 14px;
    }

    .lrl-prf-image-wrap {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lrl-prf-reveal,
    .lrl-prf-stat-card,
    .lrl-prf-image-wrap {
        transition: none;
        animation: none;
    }
}
.lrl-port-section {
    position: relative;
    padding: 60px 0 80px 0;
    background: #050714;
    color: #ffffff;
    direction: rtl;
    overflow: hidden;
    font-family: inherit;
}

.lrl-port-container {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.lrl-port-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    margin-bottom: 36px;
    background: rgba(13, 17, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lrl-port-sort-wrapper {
    position: relative;
    min-width: 130px;
}

.lrl-port-sort-select {
    width: 100%;
    font-family: 'VazirmatnBlack';
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    padding: 10px 16px 10px 36px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lrl-port-sort-select:hover,
.lrl-port-sort-select:focus {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
    outline: none;
}

.lrl-port-sort-select option {
    background: #0d1126;
    color: #fff;
}

.lrl-port-sort-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9ca3af;
    pointer-events: none;
}

.lrl-port-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.lrl-port-tabs::-webkit-scrollbar {
    display: none;
}

.lrl-port-tab {
    background: transparent;
    border: none;
    font-family: 'VazirmatnBlack';
    color: #9ca3af;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lrl-port-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.lrl-port-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.lrl-port-slider-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 -8px;
    padding: 12px 8px;
    cursor: grab;
}

.lrl-port-slider-wrapper:active {
    cursor: grabbing;
}

.lrl-port-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.lrl-port-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lrl-port-card.hidden {
    display: none !important;
}

.lrl-port-card-inner {
    height: 100%;
    background: rgba(13, 17, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.lrl-port-card-inner:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(18, 23, 51, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(124, 58, 237, 0.15);
}

.lrl-port-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: #080b1e;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lrl-port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lrl-port-card-inner:hover .lrl-port-img {
    transform: scale(1.06);
}

.lrl-port-content {
    font-family: 'VazirmatnBlack';
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lrl-port-badge {
    color: #a78bfa;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.lrl-port-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lrl-port-card-desc {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lrl-port-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #818cf8;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}

.lrl-port-tech,
.lrl-port-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lrl-port-year {
    color: #9ca3af;
    font-family: 'VazirmatnBlack';
}

.lrl-port-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #818cf8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.lrl-port-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.lrl-port-card-inner:hover .lrl-port-link {
    color: #a78bfa;
}

.lrl-port-card-inner:hover .lrl-port-link i {
    transform: translateX(-4px);
}

.lrl-port-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.lrl-port-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lrl-port-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lrl-port-dot.active {
    width: 32px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.lrl-port-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.lrl-port-reveal.lrl-port-visible {
    opacity: 1;
    transform: translateY(0);
}

.lrl-port-delay-1 {
    transition-delay: 0.15s;
}

@media (max-width: 1280px) {
    .lrl-port-card {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1024px) {
    .lrl-port-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .lrl-port-filter-bar {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .lrl-port-sort-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .lrl-port-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .lrl-port-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .lrl-port-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .lrl-port-section {
        padding: 40px 0 60px 0;
    }
}
@media (max-width: 1200px) {
    .lrl-port-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 992px) {
    .lrl-port-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .lrl-port-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.lrl-port-thumb {
    cursor: zoom-in;
}

.lrl-port-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    direction: rtl;
}

.lrl-port-lightbox.lrl-port-lightbox-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lrl-port-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lrl-port-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    padding: 12px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 22px;
    background: rgba(13, 17, 38, 0.94);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 45px rgba(124, 58, 237, 0.2);
    transform: scale(0.9) translateY(18px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lrl-port-lightbox.lrl-port-lightbox-open .lrl-port-lightbox-dialog {
    transform: scale(1) translateY(0);
}

.lrl-port-lightbox-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    border-radius: 14px;
    background: #070a18;
}

.lrl-port-lightbox-caption {
    font-family: 'VazirmatnBlack';
    margin: 12px 8px 4px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.lrl-port-lightbox-close {
    position: absolute;
    z-index: 3;
    top: -14px;
    left: -14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}

.lrl-port-lightbox-close:hover {
    transform: rotate(90deg) scale(1.08);
    background: linear-gradient(135deg, #7c3aed, #6366f1);
}

body.lrl-port-no-scroll {
    overflow: hidden;
}

@media (max-width: 576px) {
    .lrl-port-lightbox {
        padding: 16px;
    }

    .lrl-port-lightbox-dialog {
        padding: 8px;
        border-radius: 16px;
    }

    .lrl-port-lightbox-image {
        max-height: calc(100vh - 105px);
        border-radius: 11px;
    }

    .lrl-port-lightbox-close {
        top: -11px;
        left: -7px;
        width: 38px;
        height: 38px;
    }
}




