/* صفحهٔ اول بالنت */
.hm { overflow-x: clip; }
.hm * { box-sizing: border-box; }
.hm h1, .hm h2, .hm h3, .hm p { margin: 0; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 16px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn--primary { color: #fff !important; background: linear-gradient(135deg, var(--bn-primary), color-mix(in srgb, var(--bn-primary) 50%, var(--bn-accent))); box-shadow: 0 14px 28px -12px var(--bn-primary); }
.hm-btn--line { color: var(--bn-ink) !important; border-color: #cfd5e6; background: #fff; }
.hm-btn--line:hover { border-color: var(--bn-primary); color: var(--bn-primary) !important; }
.hm-btn--light { color: var(--bn-ink) !important; background: #fff; }
.hm-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.hm-btn--ghost:hover { background: rgba(255,255,255,.14); }
.bn-btn__ico { width: 17px; height: 17px; }

/* هیرو */
.hm-hero { position: relative; overflow: hidden; color: #fff; background: #070a1c; padding: 168px 0 0; }
.hm-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(48% 60% at 88% 8%, rgba(91,75,255,.62), transparent 62%), radial-gradient(42% 55% at 8% 38%, rgba(34,211,238,.34), transparent 62%), radial-gradient(40% 50% at 62% 105%, rgba(236,72,153,.3), transparent 62%); }
.hm-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 25%, transparent 78%); }
.hm-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hm-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #dfe4ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: hm-pulse 2s infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hm-title { margin: 22px 0 18px !important; font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; line-height: 1.38; letter-spacing: -.5px; }
.hm-grad { background: linear-gradient(100deg, #8b8bff, #22d3ee 55%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lead { max-width: 560px; font-size: 17px; line-height: 2.1; color: #b9c1db; }
.hm-lead b { color: #fff; }
.hm-search { display: flex; align-items: center; gap: 6px; max-width: 600px; margin-top: 30px; padding: 7px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transition: border-color .25s, box-shadow .25s; }
.hm-search:focus-within { border-color: rgba(139,139,255,.9); box-shadow: 0 0 0 5px rgba(91,75,255,.25); }
.hm-search__ico { display: grid; place-items: center; width: 44px; color: #a5b0d6; }
.hm-search__ico svg { width: 22px; height: 22px; }
.hm-search input[type=search] { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 15.5px; }
.hm-search input::placeholder { color: #93a0c8; }
.hm-search .hm-btn { padding: 12px 26px; }
.hm-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: #8e99bd; }
.hm-quick a { padding: 5px 13px; border-radius: 999px; color: #d6dcf5; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: all .2s; }
.hm-quick a:hover { background: rgba(255,255,255,.16); color: #fff; }

/* کارت‌های شناور هیرو */
.hm-hero__vis { position: relative; min-height: 430px; }
.hm-orb { position: absolute; inset: 8% 6%; border-radius: 50%; background: conic-gradient(from 200deg, rgba(91,75,255,.55), rgba(34,211,238,.45), rgba(236,72,153,.4), rgba(91,75,255,.55)); filter: blur(70px); opacity: .7; animation: hm-spin 18s linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hm-float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 270px; border-radius: 22px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.hm-float .bn-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.95); border: 0; }
.hm-float b { display: block; font-size: 14.5px; line-height: 1.7; }
.hm-float small { color: #aeb9de; font-size: 12.5px; }
.hm-ok { margin-inline-start: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #34d399; background: rgba(52,211,153,.16); }
.hm-ok svg { width: 18px; height: 18px; }
.hm-float--a { top: 4%; inset-inline-start: 0; animation: hm-bob 6s ease-in-out infinite; }
.hm-float--b { top: 36%; inset-inline-end: 0; animation: hm-bob 7s ease-in-out -2s infinite; }
.hm-float--c { bottom: 2%; inset-inline-start: 6%; flex-direction: column; align-items: stretch; gap: 12px; min-width: 300px; animation: hm-bob 8s ease-in-out -4s infinite; }
@keyframes hm-bob { 50% { transform: translateY(-14px); } }
.hm-prog__head { display: flex; justify-content: space-between; align-items: baseline; }
.hm-prog { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.hm-prog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b8bff, #22d3ee); }
.hm-prog__steps { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; font-size: 12px; color: #8e99bd; }
.hm-prog__steps .on { color: #fff; font-weight: 700; }

/* آمار */
.hm-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 -1px; padding: 0; list-style: none; border-radius: 26px 26px 0 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; backdrop-filter: blur(10px); }
.hm-stats li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px; padding: 26px 12px; text-align: center; }
.hm-stats li + li { border-inline-start: 1px solid rgba(255,255,255,.1); }
.hm-stats b { font-size: 34px; font-weight: 900; line-height: 1.3; }
.hm-stats .hm-txt { font-size: 26px; padding-top: 6px; }
.hm-stats span { font-size: 22px; font-weight: 800; color: #22d3ee; }
.hm-stats small { flex-basis: 100%; font-size: 13px; color: #9aa6cc; }

/* نوار سامانه‌ها */
.hm-marq { padding: 38px 0 30px; background: #fff; border-bottom: 1px solid var(--bn-line); text-align: center; }
.hm-marq p { margin-bottom: 18px !important; font-size: 13.5px; color: var(--bn-muted); font-weight: 600; }
.hm-marq__box { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hm-marq__track { display: flex; width: max-content; gap: 14px; animation: hm-marq 45s linear infinite; }
.hm-marq__box:hover .hm-marq__track { animation-play-state: paused; }
@keyframes hm-marq { to { transform: translateX(-50%); } }
.hm-marq__track span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 14px; font-weight: 700; font-size: 14.5px; color: #3b4258; background: #f4f5fb; border: 1px solid var(--bn-line); white-space: nowrap; }
.hm-marq__track svg { width: 16px; height: 16px; color: var(--bn-primary); }

/* بخش‌ها */
.hm-sec { padding: 100px 0; }
.hm-sec--tint { background: linear-gradient(180deg, #eef0ff, #f6f7fb); }
.hm-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.hm-head--start { margin: 0; text-align: start; }
.hm-kicker { display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--bn-primary); background: #ebedff; }
.hm-kicker--dark { color: #c9cdff; background: rgba(255,255,255,.1); }
.hm-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.5; }
.hm-head p { margin-top: 12px !important; color: var(--bn-muted); line-height: 2.1; font-size: 16px; }

/* دسته‌ها */
.hm-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-cat { --h: 250; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--bn-line); text-decoration: none !important; color: var(--bn-ink); overflow: hidden; isolation: isolate; box-shadow: 0 1px 2px rgba(11,16,32,.04); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.hm-cat::before { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, hsl(var(--h) 95% 75% / .45), transparent); opacity: 0; transition: opacity .4s; z-index: -1; }
.hm-cat:hover { transform: translateY(-8px); border-color: hsl(var(--h) 70% 80%); box-shadow: 0 34px 60px -28px hsl(var(--h) 70% 45% / .5); }
.hm-cat:hover::before { opacity: 1; }
.hm-cat .bn-ico { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 6px; }
.hm-cat .bn-ico__svg { width: 29px; height: 29px; }
.hm-cat:hover .bn-ico { background: linear-gradient(145deg, hsl(var(--h) 88% 58%), hsl(var(--h) 85% 44%)); color: #fff; border-color: transparent; transform: rotate(-7deg) scale(1.06); box-shadow: 0 14px 26px -10px hsl(var(--h) 80% 45%); }
.hm-cat h3 { font-size: 17px; font-weight: 800; line-height: 1.7; }
.hm-cat p { flex: 1; font-size: 13.5px; line-height: 2; color: var(--bn-muted); }
.hm-cat__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--bn-line); }
.hm-cat__foot em { font-style: normal; font-size: 13px; font-weight: 700; color: hsl(var(--h) 60% 40%); }
.hm-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #f3f4f9; color: var(--bn-ink); transition: all .3s; }
.hm-go svg { width: 17px; height: 17px; }
.hm-cat:hover .hm-go { background: hsl(var(--h) 85% 52%); color: #fff; transform: translateX(-4px); }
.hm-more { margin-top: 40px; text-align: center; }
.hm-pop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-pop .bn-card__title { font-size: 16px; }

/* مراحل */
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hm-steps::before { content: ""; position: absolute; top: 74px; inset-inline: 12%; border-top: 2px dashed #cdd3ea; }
.hm-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 22px 28px; text-align: center; border-radius: 26px; background: #fff; border: 1px solid var(--bn-line); box-shadow: 0 14px 34px -22px rgba(11,16,32,.2); }
.hm-step .bn-ico { width: 64px; height: 64px; border-radius: 20px; }
.hm-step .bn-ico__svg { width: 30px; height: 30px; }
.hm-step__n { position: absolute; top: 14px; inset-inline-start: 16px; font-size: 13px; font-weight: 900; color: #b4bbd6; }
.hm-step h3 { font-size: 17px; font-weight: 800; }
.hm-step p { font-size: 14px; line-height: 2; color: var(--bn-muted); }

/* چرا بالنت */
.hm-why { position: relative; background: #070a1c; color: #fff; overflow: hidden; }
.hm-why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 20%, rgba(91,75,255,.4), transparent 65%), radial-gradient(40% 60% at 90% 90%, rgba(34,211,238,.25), transparent 65%); }
.hm-why__in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hm-why .hm-head h2 { color: #fff; }
.hm-why .hm-head p { color: #a9b3d4; margin-bottom: 26px !important; }
.hm-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hm-feat { padding: 26px 24px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform .3s, background .3s; }
.hm-feat:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.hm-feat .bn-ico { width: 52px; height: 52px; margin-bottom: 14px; background: rgba(255,255,255,.95); border: 0; }
.hm-feat h3 { margin-bottom: 6px !important; font-size: 17px; font-weight: 800; }
.hm-feat p { font-size: 14px; line-height: 2; color: #a9b3d4; }

/* سؤال‌ها */
.hm-faq { max-width: 820px; }
.hm-q { margin-bottom: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--bn-line); transition: border-color .25s, box-shadow .25s; }
.hm-q[open] { border-color: #c9ceff; box-shadow: 0 18px 40px -26px var(--bn-primary); }
.hm-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 16px; cursor: pointer; list-style: none; }
.hm-q summary::-webkit-details-marker { display: none; }
.hm-q summary i { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 12px; background: #f3f4f9; transition: transform .3s, background .3s; }
.hm-q summary i svg { width: 17px; height: 17px; transform: rotate(-90deg); }
.hm-q[open] summary i { background: var(--bn-primary); color: #fff; transform: rotate(-90deg); }
.hm-q p { padding: 0 24px 22px; font-size: 15px; line-height: 2.1; color: var(--bn-muted); }

/* CTA */
.hm-cta-wrap { padding: 0 0 100px; }
.hm-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px clamp(26px, 5vw, 64px); border-radius: 36px; color: #fff; overflow: hidden; background: linear-gradient(120deg, #3d2fd6, #5b4bff 45%, #0ea5c6); box-shadow: 0 40px 80px -36px var(--bn-primary); }
.hm-cta::before { content: ""; position: absolute; inset-inline-end: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.28), transparent); }
.hm-cta > * { position: relative; }
.hm-cta h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; line-height: 1.55; }
.hm-cta p { margin-top: 8px !important; color: #dfe3ff; }
.hm-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* انیمیشن ورود */
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } .hm-float, .hm-orb, .hm-marq__track, .hm-dot { animation: none; } }

/* واکنش‌گرا */
@media (max-width: 1100px) {
	.hm-cats, .hm-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hm-hero__in { grid-template-columns: 1fr; }
	.hm-hero__vis { min-height: 360px; max-width: 520px; margin-inline: auto; width: 100%; }
	.hm-why__in { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.hm-sec { padding: 70px 0; }
	.hm-cats, .hm-pop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-steps { grid-template-columns: repeat(2, 1fr); }
	.hm-steps::before { display: none; }
	.hm-stats { grid-template-columns: repeat(2, 1fr); }
	.hm-stats li:nth-child(3) { border-inline-start: 0; }
	.hm-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 560px) {
	.hm-hero { padding-top: 132px; }
	.hm-pop, .hm-feats, .hm-steps { grid-template-columns: 1fr; }
	.hm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hm-cat { padding: 18px 16px 14px; border-radius: 22px; gap: 6px; }
	.hm-cat .bn-ico { width: 48px; height: 48px; border-radius: 15px; }
	.hm-cat .bn-ico__svg { width: 24px; height: 24px; }
	.hm-cat h3 { font-size: 15px; }
	.hm-cat p { display: none; }
	.hm-cat__foot { padding-top: 10px; }
	.hm-search { flex-wrap: wrap; border-radius: 20px; }
	.hm-search .hm-btn { width: 100%; }
	.hm-float { min-width: 0; width: 88%; }
	.hm-float--c { min-width: 0; }
	.hm-cat { padding: 22px 20px 18px; }
	.hm-cta { border-radius: 28px; }
}

.bn-card__meta .bn-chip { border-radius: 14px; line-height: 1.8; padding: 4px 12px; }
