@font-face {
    font-family: 'BafeeAbar';
    src: url('../fonts/abar-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BafeeAbar';
    src: url('../fonts/abar-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BafeeAbar';
    src: url('../fonts/abar-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/iransans/eot/IRANSansWeb_Bold.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/iransans/eot/IRANSansWeb_Medium.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/iransans/eot/IRANSansWeb_Light.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb_Light.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/iransans/eot/IRANSansWeb_UltraLight.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/iransans/eot/IRANSansWeb.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb.ttf') format('truetype');
}
:root {
    --bf-yellow: #FFD20A;
    --bf-yellow-dark: #E8B900;
    --bf-ink: #14242D;
    --bf-ink-2: #233844;
    --bf-muted: #6B7D87;
    --bf-soft: #EEF6F8;
    --bf-soft-2: #F7FBFC;
    --bf-card: #FFFFFF;
    --bf-line: #DDE9EE;
    --bf-green: #39C986;
    --bf-red: #EE6070;
    --bf-blue: #4D8CFF;
    --bf-shadow: 0 22px 70px rgba(15, 43, 55, .09);
    --bf-radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bafee-body {
    margin: 0;
    direction: rtl;
    background:#F1F7F9;
    color: var(--bf-ink);
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.9;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

.bf-container {
    width: min(1120px, calc(100% - 36px));
    margin-inline: auto;
}

/**
 * jQuery toast plugin created by Kamran Ahmed copyright MIT license 2014
 * v0.1
 */
.jq-toast-wrap { display: block; position: fixed; width: 100%;  pointer-events: none !important; margin: 0; padding: 0; letter-spacing: normal; z-index:9999999999; }
.jq-toast-wrap * { margin: 0; padding: 0; }
.jq-toast-wrap.bottom-left { bottom: 0; left: 0; }
.jq-toast-wrap.bottom-right { bottom: 20px; right: 40px; }
.jq-toast-wrap.top-left { top: 20px; left: 20px; }
.jq-toast-wrap.top-right { top: 20px; right: 40px; }
.jq-toast-single { display: block; width: 100%; padding: 10px !important ; margin: 0px; font-size: 1rem; line-height: 17px; position: relative;  pointer-events: all !important; background-color: #444444; color: white;text-align: center !important;
direction: rtl; }
.jq-toast-single h2 {  font-size: 14px; margin: 0px 0px 7px; background: none; color: inherit; line-height: inherit; letter-spacing: normal;direction: rtl;text-align: right; }
.jq-toast-single a { color: #eee; text-decoration: none; font-weight: bold; border-bottom: 1px solid white; padding-bottom: 3px; font-size: 12px; }
.jq-toast-single ul { margin: 0px 0px 0px 15px; background: none; padding:0px; }
.jq-toast-single ul li { list-style-type: disc !important; line-height: 17px; background: none; margin: 0; padding: 0; letter-spacing: normal; }
.close-jq-toast-single { position: absolute; left: 7px; font-size: 14px; cursor: pointer;top: 50%;margin-top: -8px; }
.jq-has-icon { padding: 10px 10px 10px 10px; background-repeat: no-repeat; background-position: 10px; }
.jq-icon-info { background-color:rgba(0, 140, 209, 0.9); color: #d9edf7; border-color: #bce8f1; }
.jq-icon-warning { background-color: #FAF9C9; color:#A6782E !important; border:1px solid rgba(222, 182, 8, 1) !important; }
.jq-icon-error { background-color:rgba(233, 30, 26, 0.9); color: #f2dede; border: 1px solid #D8000C !important; }
.jq-icon-success { color: #dff0d8; background-color:rgba(48, 180, 51, 0.9); }
.rtl {direction:rtl }
.ltr { direction:ltr }

.otp-container {
	display: flex;
	gap: 10px;  direction: ltr;
  width: 290px; margin:0 auto
}
.otp-input {
	width: 40px;
	height: 50px;
	font-size: 20px;
	text-align: center;
	border: 2px solid #ccc;
	border-radius: 5px;
	outline: none;
}
.otp-input:focus {
	border-color: #007bff;
}
.material-symbols-outlined.editusername {
  background: #CFE2FF;
  border-radius: 10px;
  font-size: 1.1rem;
  margin: 0 4px;
  padding: 2px 5px;
}

.typednum {
  font-size: 1rem;
}
a { text-decoration: none }
.bf-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0 0;
    transition: .25s ease;
}
.bf-site-header.is-sticky { padding-top: 8px; }
.bf-navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(210, 225, 232, .88);
    border-radius: 22px;
    padding: 12px 16px;
    box-shadow: 0 10px 35px rgba(19, 44, 56, .06);
    backdrop-filter: blur(18px);
}
.bf-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.bf-logo img { width: 126px; display: block; }

.mfadeEffect {
  -webkit-mask-size: 200% 100%;
  -webkit-mask-position: 200% 0%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(
    to left,
    #000 0,
    #000 80%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-animation: mfadeEffect 1s forwards;
  animation: mfadeEffect 1s forwards;
  }
@-webkit-keyframes mfadeEffect {
  0% {
    -webkit-mask-position: -200% 0;
  }
  100% {
    -webkit-mask-position: 50% 0;
  }
}
@keyframes mfadeEffect {
  0% {
    -webkit-mask-position: -200% 0;
  }
  100% {
    -webkit-mask-position: 50% 0;
  }
}

.bf-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex: 1;
}
.bf-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-inline: auto;
}
.bf-nav-links a {
    display: inline-flex;
    padding: 10px 13px;
    border-radius: 13px;
    font-size: .91rem;
    color: #3F535D;
    transition: .2s ease;
}
.bf-nav-links a:hover {
    background: #F3F8FA;
    color: var(--bf-ink);
}
.bf-nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.bf-link-btn {
    color: #435963;
    font-size: .92rem;
    padding: 9px 12px;
    border-radius: 12px;
}
.bf-link-btn:hover { background: #F4F8FA; }
.bf-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: #F4F8FA;
    border-radius: 14px;
    padding: 11px;
}
.bf-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--bf-ink);
    margin: 5px 0;
    border-radius: 2px;
}

.bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: .93rem;
    white-space: nowrap;
    transition: .22s ease;
    cursor: pointer;
}
.bf-btn-lg { min-height: 52px; padding: 12px 22px; font-size: 1rem; }
.bf-btn-primary {
    background: var(--bf-yellow);
    color: #1A211C;
    box-shadow: 0 12px 24px rgba(255, 210, 10, .26);
}
.bf-btn-primary:hover { background: var(--bf-yellow-dark); transform: translateY(-2px); }
.bf-btn-ghost {
    background: #fff;
    color: #344A55;
    border-color: var(--bf-line);
}
.bf-btn-ghost:hover { border-color: #BFD1D9; transform: translateY(-2px); }
.bf-btn-dark {
    background: var(--bf-ink);
    color: #fff;
    box-shadow: 0 16px 30px rgba(20, 36, 45, .22);
}
.bf-btn-dark:hover { color: #fff; transform: translateY(-2px); }

.bf-hero {
    padding: 78px 0 42px;
    position: relative;
}
.main {
  padding: 50px 0;
}
.bf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
    gap: 54px;
    align-items: center;
}
.bf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--bf-line);
    border-radius: 999px;
    padding: 5px 13px;
    color: #405761;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 20px;
}
.bf-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bf-green);
    box-shadow: 0 0 0 7px rgba(57, 201, 134, .13);
}
.bf-hero h1 {
    font-size:2.5rem;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
    color: var(--bf-ink);
}
.bf-lead {
    max-width: 645px;
    margin: 0;
    color: #1A1E20;
    font-size: 1.12rem;
    line-height: 2.05;
}
.bf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.bf-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}
.bf-hero-trust div {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--bf-line);
    border-radius: 20px;
    padding: 14px 15px;
}
.bf-hero-trust strong {
    display: block;
    color: var(--bf-ink);
    font-size: .95rem;
}
.bf-hero-trust span {
    display: block;
    color: var(--bf-muted);
    font-size: .78rem;
    line-height: 1.8;
    margin-top: 4px;
}

.bf-hero-visual {
    min-height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}
/*.bf-hero-visual:before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    background: var(--bf-yellow);
    border-radius: 38px;
    transform: rotate(-7deg);
    opacity: .95;
    box-shadow: 0 34px 80px rgba(255, 210, 10, .28);
}*/
.bf-dashboard-card {
    position: relative;
    z-index: 2;
    width: min(410px, 100%);
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 30px 90px rgba(17, 48, 61, .16);
    backdrop-filter: blur(16px);
}
.bf-card-top,
.bf-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.bf-card-top span,
.bf-panel-header span { font-weight: 900; color: var(--bf-ink); }
.bf-card-top b,
.bf-panel-header b {
    padding: 5px 10px;
    border-radius: 999px;
    background: #ECFFF5;
    color: #13985B;
    font-size: .76rem;
}
.bf-hero-visual {
    position: relative;
}


/* هر لوگو یک مربع مستقل */
.bf-market-tile {
    position: absolute;
    width: 112px;
    height: 112px;
    min-height: unset;
    border-radius: 24px;
    overflow: visible;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* جایگاه‌های رندوم اما کنترل‌شده */
.bf-market-tile:nth-child(1) {
  left: 220px;
  top: 185px;
  transform: rotate(-4deg);
}
.bf-market-tile:nth-child(2) {
left: 425px;
  top: 140px;
  transform: rotate(5deg);
}
.hl { position:relative }
.hl::before {
  content: " ";
  background: #FFD20A;

  width: 100%;
  height: 10px;
  position: absolute;
  bottom: 0;
  z-index: -1;
  border-radius: 40px;

}
.bf-market-tile:nth-child(3) {
left: 205px;
  top: 55px;
    transform: rotate(-2deg);
    z-index: 3;
}
.bf-market-tile:nth-child(4) {
left: 50px;
  top: 210px;
  transform: rotate(4deg);
}
.bf-market-tile:hover {
    transform: translateY(-4px) rotate(0deg);
    z-index: 5;
}

.bf-market-logo {
    position: absolute;
    inset: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
}

.bf-market-logo span {
    font-size: 12px;
    font-weight: 900;
    color: rgba(24, 41, 51, 0.48);
}

.bf-market-logo img {
    max-width: 72%;
    max-height: 72%;
    object-fit: contain;
    display: block;
}
.bf-market-price {
  position: absolute;
  left: -6px;
  bottom: 10px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 11px;
  color: #1E1F1E;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.25px;
  background: #fff;
}

.bf-market-arrow {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 8px 18px rgba(24, 41, 51, 0.13);
  text-align: center;
  font-size: 1.5rem !important;
}

.bf-market-arrow.up {
    background: #dcfce7;
    color: #059669;
}

.bf-market-arrow.down {
    background: #fee2e2;
    color: #dc2626;
}

.bf-market-tile.is-you {
    border-color: rgba(16, 185, 129, 0.48);
}

.bf-market-ok {
    position: absolute;
    right: -5px;
    bottom: -7px;
    z-index: 5;
    padding: 6px 10px 5px;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.3);
}

/* موبایل: همچنان نامنظم، ولی جمع‌وجورتر */
@media (max-width: 768px) {
    .bf-price-stack {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 300px;
        height: 235px;
        margin: 18px auto 0;
    }

    .bf-market-tile {
        width: 104px;
        height: 104px;
    }

    .bf-market-tile:nth-child(1) {
        left: 25px;
        top: 5px;
    }

    .bf-market-tile:nth-child(2) {
        left: 310px;
        top: 25px;
    }

    .bf-market-tile:nth-child(3) {
        left: 140px;
        top: 60px;
    }

    .bf-market-tile:nth-child(4) {
        left:155px;
        top: 180px;
    }

    .bf-market-price {
        font-size: 10px;
    }

    .bf-market-ok {
        font-size: 9px;
    }
.hl::before { display:none }
}
.bf-url-box {
    background: #F5FAFC;
    border: 1px solid #E3EEF2;
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 12px;
}
.bf-url-box span { display:block; color: var(--bf-muted); font-size: .77rem; }
.bf-url-box strong { display:block; direction:ltr; text-align:right; color: var(--bf-ink); font-family: Inter, Arial, sans-serif; margin-top: 2px; }
.bf-mini-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
}
.bf-mini-tabs span {
    flex: 1;
    text-align: center;
    border: 1px solid #E4EEF2;
    background: #fff;
    border-radius: 12px;
    font-size: .76rem;
    padding: 7px 4px;
    color: var(--bf-muted);
}
.bf-mini-tabs .active { background: var(--bf-ink); border-color: var(--bf-ink); color: #fff; }
.bf-product-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #EEF3F5;
}
.bf-product-icon {
    width: 36px; height: 36px;
    border-radius: 13px;
    background: #EAF3FF;
    position: relative;
}
.bf-product-icon:after { content:''; position:absolute; inset:10px; border-radius:8px; background:#fff; opacity:.72; }
.bf-product-icon.green { background: #DDF9EB; }
.bf-product-icon.yellow { background: #FFF0A7; }
.bf-product-icon.blue { background: #DDEBFF; }
.bf-product-row strong { display: block; font-size: .9rem; line-height: 1.55; }
.bf-product-row span { display: block; color: var(--bf-muted); font-size: .76rem; }
.bf-product-row em {
    font-style: normal;
    font-weight: 900;
    color: #189860;
    direction: ltr;
}
.bf-product-row em.danger { color: var(--bf-red); }
.bf-side-metric {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(222, 234, 239, .9);
    box-shadow: 0 18px 55px rgba(22, 51, 63, .13);
    backdrop-filter: blur(12px);
}
.bf-price-stack {
    position: absolute;
    z-index: 3;
}
.bf-side-metric {
    right: -8px;
    bottom: 44px;
    width: 176px;
    border-radius: 22px;
    padding: 15px;
}
.bf-side-metric span,
.bf-price-stack span { display: block; color: var(--bf-muted); font-size: .76rem; }
.bf-side-metric strong { display:block; font-size: 1.55rem; line-height: 1.3; }
.bf-side-metric small { color: var(--bf-muted); line-height: 1.7; display:block; }
.bf-price-stack {
    left: -18px;
    top: 46px;
    width: 178px;
    border-radius: 22px;
    padding: 10px 13px;
}
.bf-price-stack div:last-child { border-bottom: 0; }
.bf-price-stack strong { display:block; direction:ltr; text-align:right; font-family: Inter, Arial, sans-serif; font-size: .95rem; }
.bf-float-one { animation: bfFloat 7s ease-in-out infinite; }
.bf-float-two { animation: bfFloat 6s ease-in-out infinite reverse; }
.bf-float-three { animation: bfFloat 8s ease-in-out infinite; }
@keyframes bfFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.bf-strip { padding: 20px 0 34px; }
.bf-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: rgba(255,255,255,.58);
    border: 1px solid var(--bf-line);
    border-radius: 26px;
    padding: 12px;
}
.bf-strip-grid div {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
}
.bf-strip-grid strong { display:block; font-size: 1.03rem; }
.bf-strip-grid span { display:block; color: var(--bf-muted); font-size: .82rem; margin-top: 3px; }

.bf-section { padding: 84px 0; }
.bf-section-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}
.bf-section-head.align-start { margin-inline: 0; text-align: right; }
.bf-section-head.compact { max-width: 690px; margin-bottom: 34px; }
.bf-section-head > span,
.bf-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 4px 12px;
    margin-bottom: 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 10, .5);
    background: rgba(255, 210, 10, .16);
    color: #7B6500;
    font-size: .82rem;
    font-weight: 900;
}
.bf-section-head h2 {
    margin: 0;
    font-size: clamp(1.85rem, 2vw, 3rem);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -.7px;
}
.bf-section-head p {
    margin: 16px auto 0;
    color: var(--bf-muted);
    font-size: 1.02rem;
    line-height: 2.05;
}
.bf-section-head.align-start p { margin-inline: 0; }

.bf-card-grid { display: grid; gap: 18px; }
.bf-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bf-card {
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-radius);
    padding: 28px;
    box-shadow: 0 12px 40px rgba(18, 48, 60, .045);
    transition: .22s ease;
}
.bf-card:hover { transform: translateY(-4px); box-shadow: var(--bf-shadow); }
.bf-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #594800;
    font-weight: 900;
    font-size: 1.28rem;
    margin-bottom: 18px;
	position:relative
}
.bf-card h3 { font-size: 1.25rem; margin: 0 0 10px; font-weight: 900; }
.bf-card p { color: var(--bf-muted); margin: 0; font-size: .96rem; text-align: justify; }

.bf-how { background: linear-gradient(180deg, transparent, rgba(255,255,255,.38), transparent); }


:root {
  --bafee-yellow: #FFCF05;
  --bafee-yellow-dark: #E5B900;
  --bafee-navy: #07122F;
  --bafee-text: #283044;
  --bafee-muted: #6F7484;
  --bafee-border: rgba(7, 18, 47, 0.08);
  --bafee-card: rgba(255, 255, 255, 0.92);
  --bafee-bg: #F8F8F5;
}

.bafee-process {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.bafee-process *,
.bafee-process *::before,
.bafee-process *::after {
  box-sizing: border-box;
}

.bafee-process__head {
  text-align: center;
  margin-bottom: 42px;
}

.bafee-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.bafee-title-line span {
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bafee-yellow), transparent);
  position: relative;
}

.bafee-title-line span::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bafee-yellow);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 0 0 8px rgba(255, 207, 5, 0.12);
}

.bafee-process__head h2 {
  margin: 0;
  color: var(--bafee-navy);
  font-size: clamp(30px, 4.2vw, 62px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.25;
}

.bafee-process__head p {
  margin: 14px 0 0;
  color: var(--bafee-muted);
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 500;
}

.bafee-steps {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
  align-items: center;
  direction: rtl;
}

.bafee-step {
  min-height: 470px;
  padding: 28px 28px 32px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    var(--bafee-card);
  border: 1px solid var(--bafee-border);
  box-shadow:
    0 24px 70px rgba(7, 18, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  text-align: center;
  position: relative;
  transition: 0.35s ease;
}

.bafee-step:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 90px rgba(7, 18, 47, 0.12),
    0 0 0 1px rgba(255, 207, 5, 0.35);
}


.step-visual {
  width: 100%;
  height: 165px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.step-visual img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 165px;
  object-fit: contain;
  display: block;
}

.bafee-step h3 {
  min-height: 76px;
  margin: 0;
  color: var(--bafee-navy);
  font-size: clamp(22px, 1.8vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.7px;
}

.bafee-step i {
  display: block;
  width: 42px;
  height: 5px;
  margin: 18px auto 22px;
  border-radius: 99px;
  background: var(--bafee-yellow);
  box-shadow: 0 8px 18px rgba(255, 207, 5, 0.28);
}
.bafee-step p {
  margin: 0;
  color: var(--bafee-text);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.48;
  text-align: justify;
}

.step-connector {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bafee-yellow);
  position: relative;
  z-index: 3;
  margin-inline: -20px;
  box-shadow:
    0 14px 28px rgba(255, 207, 5, 0.32),
    0 0 0 8px rgba(255, 207, 5, 0.12);
}


.step-connector::after {
  content: "";
  width: 14px;
  height: 14px;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%) rotate(45deg);
  border-radius: 2px;
}

/* واکنش‌گرا برای تبلت */
@media (max-width: 1200px) {
  .bafee-steps {
    grid-template-columns: 1fr 34px 1fr;
    gap: 26px 0;
  }

  .bafee-step {
    min-height: 570px;
  }

  .step-connector:nth-of-type(4) {
    display: none;
  }
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 760px) {
  .bafee-process {
    padding: 52px 14px;
  }

  .bafee-title-line {
    gap: 10px;
  }

  .bafee-title-line span {
    width: 34px;
  }

  .bafee-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .bafee-step {
    width: 100%;
    min-height: auto;
    padding: 24px 20px 28px;
  }

  .step-visual {
    height: 145px;
    margin-bottom: 20px;
  }

  .step-visual img {
    max-height: 145px;
  }

  .bafee-step h3 {
    min-height: auto;
    font-size: 24px;
  }

  .bafee-step p {
    font-size: 15.5px;
    line-height: 2;
  }

  .step-connector {
    width: 42px;
    height: 42px;
    margin: -4px auto;
    transform: rotate(-90deg);
  }

  .step-connector::before {
    display: none;
  }
}


.bf-feature-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}
.bf-feature-panel {
    min-height: 430px;
    background: linear-gradient(145deg, #15252E, #243A45);
    color: #fff;
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--bf-shadow);
    position: relative;
    overflow: hidden;
}
.bf-feature-panel:after {
    content: '';
    position: absolute;
    inset: auto -80px -100px auto;
    width: 240px;
    height: 240px;
    background: rgba(255, 210, 10, .24);
    border-radius: 50%;
    filter: blur(8px);
}
.bf-feature-panel .bf-panel-header b { background: rgba(57, 201, 134, .14); color: #8DFFCB; }
.bf-watch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    padding: 14px;
    margin-top: 10px;
}
.bf-watch-row span { color: rgba(255,255,255,.78); }
.bf-watch-row strong { direction: ltr; font-family: Inter, Arial, sans-serif; }
.bf-watch-row.up strong { color: #8DFFCB; }
.bf-watch-row.down strong { color: #FF9AAA; }
.bf-watch-row.safe strong { color: #FFE266; }
.bf-chart-bars {
    height: 120px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding-top: 20px;
    margin-top: 24px;
}
.bf-chart-bars i {
    flex: 1;
    min-width: 18px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, var(--bf-yellow), rgba(255,255,255,.25));
    opacity: .92;
}
.bf-feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.bf-feature-cards article {
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 26px;
    padding: 22px;
}
.bf-feature-cards span {
    display: inline-flex;
    direction: ltr;
    color: #B18F00;
    font-weight: 900;
    margin-bottom: 12px;
}
.bf-feature-cards h3 { font-size: 1.13rem; margin: 0 0 9px; font-weight: 900; }
.bf-feature-cards p { color: var(--bf-muted); margin: 0; font-size: .92rem; }

.bf-assets-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px;
    align-items: center;
}
p { text-align:justify }
.bf-market-card {
    min-height: 190px;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 27px;
    padding: 22px;
    box-shadow: 0 12px 38px rgba(18,48,60,.04);
}
.bf-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.bf-badge.best { background: #EAFEF3; color: #14915A; }
.bf-badge.warn { background: #FFF2F3; color: #D63D53; }
.bf-badge.neutral { background: #EEF5FF; color: #3E70D7; }
.bf-market-card h3 { margin: 0 0 8px; font-size: 1.14rem; font-weight: 900; }
.bf-market-card p { margin: 0 0 18px; color: var(--bf-muted); font-size: .91rem; }
.bf-market-card strong { direction: ltr; text-align: right; display:block; font-family: Inter, Tahoma, Arial, sans-serif; }

.bf-trust-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 34px;
    padding: 34px;
    box-shadow: var(--bf-shadow);
}
.bf-trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.bf-trust-list div {
    background: #F7FBFC;
    border: 1px solid #E7F0F3;
    border-radius: 22px;
    padding: 18px;
}
.bf-trust-list strong { display:block; font-size: 1.02rem; margin-bottom: 6px; }
.bf-trust-list span { display:block; color: var(--bf-muted); font-size: .88rem; }

.bf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}
.bf-plan-grid-panel.single {
    max-width: 560px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}
.bf-plan {
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 30px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 46px rgba(18,48,60,.045);
}
.bf-plan.featured {
    border-color: rgba(255, 210, 10, .9);
    box-shadow: 0 22px 74px rgba(255, 210, 10, .18), 0 18px 55px rgba(18,48,60,.08);
    transform: translateY(-10px);
}
.bf-plan-label {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--bf-yellow);
    color: #1A211C;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 900;
    font-size: .78rem;
}
.bf-plan-head span {
    color: #B18F00;
    font-weight: 900;
    font-size: .84rem;
}
.bf-plan h3 { margin: 5px 0 8px; font-size: 1.38rem; font-weight: 900; }
.bf-plan p { color: var(--bf-muted); margin: 0; font-size: .91rem; min-height: 54px; }
.bf-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 20px 0;
    padding: 18px 0;
    border-top: 1px solid #EEF3F5;
    border-bottom: 1px solid #EEF3F5;
}
.bf-price strong {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
}
.bf-price span { color: var(--bf-muted); font-size: .88rem; }
.bf-plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.bf-plan li {
    position: relative;
    padding-right: 24px;
    color: #40545E;
    font-size: .94rem;
}
.bf-plan li:before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--bf-yellow);
    border-radius: 50%;
    position: absolute;
    right: 4px;
    top: 12px;
}
.bf-plan .bf-btn { width: 100%; }

.bf-compare-box {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    gap: 18px;
    align-items: stretch;
    background: linear-gradient(135deg, #FFFFFF, #F7FBFC);
    border: 1px solid var(--bf-line);
    border-radius: 34px;
    padding: 24px;
}
.bf-compare-box > div:not(.bf-vs) {
    background: #fff;
    border: 1px solid #E6F0F4;
    border-radius: 26px;
    padding: 24px;
}
.bf-mini-label.active { background: #EAFEF3; border-color: #C8F2DD; color: #14915A; }
.bf-compare-box h3 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 900; }
.bf-compare-box p { margin: 0; color: var(--bf-muted); }
.bf-vs {
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--bf-ink);
    color: #fff;
    font-weight: 900;
    min-height: 100%;
}

.bf-faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.bf-faq-item {
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 22px;
    overflow: hidden;
}
.bf-faq-item button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--bf-ink);
    text-align: right;
    font-family: inherit;
    font-weight: 900;
    font-size: 1rem;
    padding: 18px 22px;
    cursor: pointer;
    position: relative;
}
.bf-faq-item button:after {
    content: '+';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #F2F8FA;
    display: grid;
    place-items: center;
    color: #526A76;
}
.bf-faq-item.open button:after { content: '−'; background: var(--bf-yellow); color: var(--bf-ink); }
.bf-faq-content { display: none; padding: 0 22px 20px; }
.bf-faq-item.open .bf-faq-content { display: block; }
.bf-faq-content p { margin: 0; color: var(--bf-muted); }

.bf-final-cta { padding: 40px 0 88px; }
.bf-final-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    background:
        radial-gradient(circle at 12% 30%, rgba(255,255,255,.45), transparent 25%),
        linear-gradient(135deg, var(--bf-yellow), #FFC400);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 28px 70px rgba(255, 210, 10, .25);
}
.bf-final-box span { font-weight: 900; color: #655300; }
.bf-final-box h2 { margin: 4px 0 8px; font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 900; }
.bf-final-box p { margin: 0; color: #5C4A00; max-width: 620px; }


/* Home blog preview */
.bf-blog {
  padding: 18px 0 88px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 210, 10, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.42));
}

.bf-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.bf-blog-head .bf-section-head {
  margin-bottom: 0;
}

.bf-blog-all {
  flex: 0 0 auto;
  margin-bottom: 6px;
  background: #fff;
}

.bf-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bf-blog-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(18, 48, 60, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bf-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 10, .55);
  box-shadow: var(--bf-shadow);
}

.bf-blog-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7C6, #F3FAFC);
}

.bf-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .28s ease;
}

.bf-blog-card:hover .bf-blog-cover img {
  transform: scale(1.04);
}

.bf-blog-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.75), transparent 28%),
    linear-gradient(135deg, #FFCF05, #FFE680);
}

.bf-blog-cover-fallback img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: none !important;
  filter: drop-shadow(0 12px 22px rgba(20, 36, 45, .12));
}

.bf-blog-body {
  padding: 22px;
}

.bf-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #71848D;
  font-size: .78rem;
  font-weight: 700;
}

.bf-blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F3F8FA;
  border: 1px solid #E1ECF0;
}

.bf-blog-meta span:first-child {
  color: #7B6500;
  background: rgba(255, 210, 10, .15);
  border-color: rgba(255, 210, 10, .42);
}

.bf-blog-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 900;
  letter-spacing: -.2px;
}

.bf-blog-card h3 a:hover {
  color: #7B6500;
}

.bf-blog-card p {
  min-height: 78px;
  margin: 0;
  color: var(--bf-muted);
  font-size: .92rem;
  line-height: 2;
  text-align: right;
}

.bf-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--bf-ink);
  font-size: .9rem;
  font-weight: 900;
}

.bf-blog-read span {
  transition: transform .2s ease;
}

.bf-blog-read:hover span {
  transform: translateX(-4px);
}

.bf-blog-empty {
  padding: 28px;
  border: 1px dashed #C9D9DF;
  border-radius: 28px;
  background: rgba(255,255,255,.68);
  text-align: center;
}

.bf-blog-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 900;
}

.bf-blog-empty p {
  margin: 0;
  color: var(--bf-muted);
}

.bf-blog-empty a {
  color: #7B6500;
  font-weight: 900;
}

.bf-footer {
    padding: 54px 0 22px;
    background: #EAF3F6;
    border-top: 1px solid var(--bf-line);
}
.bf-footer-top {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, .55fr);
    gap: 30px;
    align-items: start;
}
.bf-footer-brand img { width: 118px; margin-bottom: 16px; }
.bf-footer-brand p { color: var(--bf-muted); margin: 0; max-width: 430px; }
.bf-footer-col { display: grid; gap: 9px; }
.bf-footer-col strong { margin-bottom: 5px; color: var(--bf-ink); }
.bf-footer-col a,
.bf-footer-col span { color: #607680; font-size: .92rem; }
.bf-footer-col a:hover { color: var(--bf-ink); }
.bf-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: 14px;
    padding: 8px 14px;
    font-weight: 900;
}
.bf-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #71848D;
    font-size: .84rem;
    border-top: 1px solid #DCE9EE;
    margin-top: 34px;
    padding-top: 18px;
}


@media (max-width: 1050px) {
  .bf-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .bf-blog-head {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .bf-blog-all {
    width: 100%;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .bf-blog { padding: 0 0 58px; }
  .bf-blog-grid { grid-template-columns: 1fr; }
  .bf-blog-body { padding: 20px; }
  .bf-blog-card p { min-height: auto; }
}

@media (max-width: 1050px) {
    .bf-hero-grid,
    .bf-assets-grid,
    .bf-trust-box,
    .bf-feature-layout { grid-template-columns: 1fr; }
    .bf-hero-visual { order: -1; min-height: 450px; }
    .bf-section-head.align-start { text-align: center; margin-inline: auto; }
    .bf-section-head.align-start p { margin-inline: auto; }
    .bf-steps { grid-template-columns: repeat(2, 1fr); }
    .bf-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .bf-site-header { padding-top: 10px; }
    .bf-navbar { flex-wrap: wrap; }
    .bf-menu-toggle { display: block; }
    .bf-menu {
        display: none;
        flex-basis: 100%;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid var(--bf-line);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .bf-menu.is-open { display: flex; }
    .bf-nav-links { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
    .bf-nav-links a { width: 100%; justify-content: center; }
    .bf-nav-actions { width: 100%; }
    .bf-nav-actions .bf-btn, .bf-nav-actions .bf-link-btn { flex: 1; justify-content: center; }
    .bf-hero { padding-top: 42px; }
    .bf-hero-grid { gap: 28px; }
    .bf-hero-trust,
    .bf-card-grid-3,
    .bf-pricing-grid,
    .bf-footer-top { grid-template-columns: 1fr; }
    .bf-plan.featured { transform: none; }
    .bf-compare-box { grid-template-columns: 1fr; }
    .bf-vs { min-height: 58px; }
    .bf-final-box { align-items: stretch; flex-direction: column; }
    .bf-final-box .bf-btn { width: 100%; }
    .bf-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 620px) {
    .bf-container { width: min(100% - 24px, 1120px); }
    .bf-navbar { border-radius: 18px; }
    .bf-logo img { width: 108px; }
    .bf-hero-visual { min-height: 390px; }
    .bf-hero-visual:before { width: 270px; height: 270px; border-radius: 30px; }
    .bf-dashboard-card { width: 92%; border-radius: 24px; padding: 14px; }
    .bf-side-metric { right: 0; bottom: 8px; width: 154px; }
    .bf-price-stack { left: 0; top: 12px; width: 154px; }
    .bf-strip-grid,
    .bf-steps,
    .bf-feature-cards,
    .bf-market-cards,
    .bf-trust-list { grid-template-columns: 1fr; }
    .bf-section { padding: 58px 0; }
    .bf-card,
    .bf-step,
    .bf-plan,
    .bf-trust-box,
    .bf-final-box { padding: 22px; border-radius: 24px; }
    .bf-hero-actions .bf-btn { width: 100%; }
}
.bafee-watch-slider {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 920 / 1000;
  overflow: hidden;
  background: #182933;
  border-radius: 28px;
}

.bafee-watch-slider .bafee-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.035);
    filter: blur(18px);

    transition:
        opacity 900ms ease,
        filter 900ms ease,
        transform 1200ms ease;

    pointer-events: none;
}

.bafee-watch-slider .bafee-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

.bf-footer {
  background: #eef7fa;
  color: #1e1f1e;
  font-family: inherit;
  direction: rtl;
  padding: 28px 0 32px;
}

.bf-footer * {
  box-sizing: border-box;
}

.bf-footer a {
  color: inherit;
  text-decoration: none;
}

.bf-footer__container {
  width: min(100% - 160px, 960px);
  margin: 0 auto;
}

.bf-footer__intro {
  text-align: right;
  padding-bottom: 72px;
}

.bf-footer__intro h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.7;
  font-weight: 800;
  color: #14242c;
  text-align: right;
}

.bf-footer__text {
  position: relative;
  max-height: 82px;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.bf-footer__text::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46px;
  background: linear-gradient(to bottom, rgba(238, 247, 250, 0), #eef7fa 88%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.bf-footer__text.is-open {
  max-height: 600px;
}

.bf-footer__text.is-open::after {
  opacity: 0;
}

.bf-footer__text p {
  margin: 0;
  color: #8096a1;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.15;
  text-align: right;
}

.bf-footer__more {
  display: table;
  margin: 24px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #182933;
  cursor: pointer;
}

.bf-footer__more:hover {
  color: #000;
}

.bf-footer__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 0 0 30px;
}

.bf-footer__brand {
  justify-self: start;
}

.bf-footer__contact {
  justify-self: center;
}

.bf-footer__social {
  justify-self: end;
}
.bf-footer__brand img {
  display: block;
  max-width: 106px;
  height: auto;
}


.bf-footer__contact span:first-child {
  font-weight: 500;
}

.bf-footer__contact a {
  font-weight: 400;
}

.bf-footer__divider {
  width: 1px;
  height: 24px;
  background: #c9d9df;
  display: inline-block;
}


.bf-footer__social span {
  margin-left: 8px;
  font-weight: 500;
}

.bf-footer__social a {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #42616d;  margin: 10px;
}

.bf-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.bf-footer__bottom {
  border-top: 1px solid #c8d9df;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  color: #486977;
}

.bf-footer__menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 14px;
  white-space: nowrap;
}

.bf-footer__menu a {
  color: #486977;
  transition: color 0.2s ease;
}

.bf-footer__menu a:hover,
.bf-footer__social a:hover,
.bf-footer__contact a:hover {
  color: #1e1f1e;
}

.bf-footer__bottom p {
  margin: 0;
  justify-self: center;
  font-size: 14px;
  line-height: 2;
  color: #486977;
  text-align: center;
  white-space: nowrap;
}

.bf-footer__bottom > span {
  justify-self: start;
  font-size: 14px;
  color: #486977;
}

@media (max-width: 900px) {
  .bf-footer__container {
    width: min(100% - 40px, 960px);
  }

  .bf-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .bf-footer__brand,
  .bf-footer__contact,
  .bf-footer__social {
    justify-self: center;
  }

  .bf-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bf-footer__menu,
  .bf-footer__bottom p,
  .bf-footer__bottom > span {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .bf-footer {
    padding: 24px 0 28px;
  }

  .bf-footer__intro {
    padding-bottom: 48px;
  }

  .bf-footer__intro h2 {
    font-size: 21px;
  }

  .bf-footer__text p {
    font-size: 14px;
    line-height: 2;
  }

  .bf-footer__contact,
  .bf-footer__social,
  .bf-footer__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .bf-footer__menu {
    gap: 28px;
  }

  .bf-footer__bottom p {
    white-space: normal;
  }
}

.bf-icon svg {
  position: absolute;
  width: 250%;
  height: 250%;
  transform: translate(50%, -50%);
  top: 50%;
  right: 50%;
}
.bf-icon img { position:relative }

/* --- TOC --- */
.post-toc{
  border:1px solid rgba(0,0,0,.06);
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 10px;
  margin: 0 0 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.post-toc__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.post-toc__title{
  font-weight: 700;
  font-size: 0.95rem;
}
.post-toc__toggle{
  border:1px solid rgba(0,0,0,.08);
  background: #f7f7f8;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: .75rem;
  cursor:pointer;
}
.post-toc__body{ margin-top: 10px; }

.post-toc__list{
  margin: 0;
  padding: 0 18px 0 0; /* RTL */
}
.post-toc__list.level-1{ padding-right: 18px; }
.post-toc__list.level-2{ padding-right: 26px; }
.post-toc__list.level-3{ padding-right: 34px; }

.post-toc__item{ margin: 6px 0; }
.post-toc__link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.15);
}
.post-toc__link:hover{
  border-bottom-style: solid;
}
.post-toc__link.is-active{
  font-weight:700;
  border-bottom-color: rgba(0,0,0,.35);
}

/* Optional: nicer anchor landing (prevents heading hiding behind sticky header) */
.post_txt h2, .post_txt h3, .post_txt h4{
  scroll-margin-top: 90px;
}
.post-toc__body[hidden]{
  display:none;
}

.post-toc.is-collapsed{
  opacity:.95;
}

.xinner-pic-con {
  position: absolute;
  width: 100%;
  min-height: 400px;
  background-color: #ffffff;
  overflow: hidden;
  right: 0;
  top: 0;
  border-radius: 20px;
  opacity: 0.4;
}
.xinner-pic-con img {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 33.33%);
  mask-image: linear-gradient(to right, transparent 0%, black 33.33%);
}
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  max-width: 300px !important;
}
.post_txt h2, .post_txt h3, .post_txt h4 {
  scroll-margin-top: 90px;
}
.post_txt h2 {
  font-size: 1.2rem;
}
.post_txt h3 {
  font-size: 1rem;
}
.post_txt ul {
  padding: 0 40px 10px 40px;
}

    :root{
      --card-radius: 14px;
      --accent: #00A693;
      --muted: #6c757d;
    }
    .blog-carousel-wrap{
      max-width: 1200px;
      margin: 0 auto;
    }

    .post-card{
      border-radius: var(--card-radius);
      overflow: hidden;
      background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.82));
      display:flex;
      flex-direction:column;
      min-height: 260px;
      transition: transform .26s ease, box-shadow .26s ease;
      user-select: none;
	    box-shadow: rgba(13, 34, 70, 0.02) 0px 1px 6px 0px, rgba(13, 34, 70, 0.02) 0px 4px 18px 0px;
	  border-radius: 12px;
	  border: 1px solid rgb(234, 236, 240);
	  padding: 10px;
    }
    .post-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,20,40,0.1); }

    .post-cover{ position: relative; aspect-ratio: 16/9; overflow: hidden;  border-radius: 5px; }
    .post-cover img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease;  border-radius: 5px; }
    .post-card:hover .post-cover img{ transform: scale(1.04); }

 .post-content{ padding:14px; display:flex; flex-direction:column; gap:10px; flex:1; }
	.post-title {
	  margin: 0;
	  font-size: 0.95rem;
	  font-weight: 700;
	  color: #0f1724;
	  line-height: 200%;
	  text-align: justify;
	}
    .post-excerpt{ color:var(--muted); font-size:.95rem; margin:0 0 6px 0; }
    .meta-row{ display:flex; gap:10px; align-items:center; color:var(--muted); font-size:.88rem; }
    .meta-row .author{ display:flex; gap:8px; align-items:center; }
    .meta-row img.avatar{ width:32px; height:32px; border-radius:50%; object-fit:cover; border:2px solid #fff; box-shadow: 0 6px 18px rgba(12,18,36,0.06); }
.read-more-btn {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 400;
  background: #FFD20A;
  color: rgb(71, 54, 13);
  border: 0px;
  text-decoration: none;
  float: left;
  font-size: 0.7rem;
}
.post-card:hover .read-more-btn {
  background: #1C213C;
  box-shadow: 0 20px 50px rgba(11, 20, 40, 0.28);
}

    .swiper{ padding:8px 6px 18px 6px; }
    .swiper-slide{ display:flex; height:100%; }
    .swiper-button-next, .swiper-button-prev{
      color:#0b1724; --swiper-navigation-size:36px; opacity:.95;
      filter: drop-shadow(0 8px 20px rgba(11,20,40,0.08));
    }
    .swiper-pagination-bullet{ background:#cbd5e1; opacity:.9; }
    .swiper-pagination-bullet-active{ background:var(--accent); }

    /* responsive: small tweaks */
    @media (max-width: 767px){
      .post-card{ min-height: 300px; }
      .post-title{ font-size:1rem; }
    }

    /* make drag cursor on hover */
    .swiper-wrapper { cursor: grab; }
    .swiper-wrapper:active { cursor: grabbing; }

    /* accessibility focus */
    .post-card:focus-within{ box-shadow: 0 0 0 4px rgba(0,166,147,0.12); outline: none; }
/* Force Swiper layout (hotfix) */
.swiper {
  width: 100%;
  box-sizing: border-box;  overflow: hidden;
}

.swiper .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap;
  transition-timing-function: ease;
  box-sizing: content-box;
}

.swiper .swiper-slide {
  flex: 0 0 auto !important;
  box-sizing: border-box;
}
.inner-pic-con img {
  max-width: 100%;
  height: 65px;
  -o-object-fit: cover;
  object-fit: cover;
}
.inner-pic-con {
  border-radius: 10px;
  overflow: hidden;
}