/* MrLicense Products Showcase */
.ml-products{--bg:#0b1220;--blue:#2563eb;--light:#60a5fa;--text:#f8fafc;--muted:#a8b6ca;position:relative;isolation:isolate;overflow:hidden;padding:78px 0 84px;background:linear-gradient(125deg,#0b1220,#0d1728 55%,#0a1322);color:var(--text);font-family:inherit;direction:rtl;text-align:right}
.ml-products *,.ml-products *:before,.ml-products *:after{box-sizing:border-box}
.ml-products:before{content:"";position:absolute;z-index:-1;width:520px;height:520px;left:-170px;top:-260px;border-radius:50%;background:#2563eb22;filter:blur(85px)}
.ml-products a{text-decoration:none;color:inherit}
.ml-products button{font:inherit;cursor:pointer;margin:0;text-transform:none;letter-spacing:normal;-webkit-appearance:none;appearance:none}
.ml-products h2,.ml-products h3,.ml-products p{color:inherit}

.ml-wrap{width:min(1240px,calc(100% - 48px));margin:auto;position:relative;z-index:1}
.ml-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:28px}
.ml-kicker{color:var(--light);font-size:13px;font-weight:700}
.ml-kicker:before{content:"";display:inline-block;width:24px;height:2px;background:var(--light);vertical-align:middle;margin-left:10px}
.ml-products .ml-head h2{font-size:clamp(27px,3vw,39px);line-height:1.45;margin:8px 0;font-weight:800;color:var(--text)}
.ml-products .ml-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.9;max-width:700px}
.ml-controls{display:flex;gap:9px;flex-shrink:0}
.ml-products button.ml-arrow{width:44px;height:44px;padding:0;border:1px solid #31435e;background:#142238;color:#eaf2ff;border-radius:12px;font-size:23px;line-height:1;transition:background .2s,border-color .2s}
.ml-products button.ml-arrow:hover,.ml-products button.ml-arrow:focus-visible{background:var(--blue);border-color:var(--blue);color:#fff}

/* tabs */
.ml-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px;margin-bottom:19px}
.ml-products button.ml-tab{position:relative;min-height:80px;display:flex;align-items:center;gap:12px;text-align:right;padding:14px 16px;border:1px solid #2a3a52;border-radius:15px;background:#111c2ec9;color:#d8e2f1;font-weight:400;transition:background .2s,border-color .2s;overflow:hidden}
.ml-tab:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:transparent}
.ml-products button.ml-tab:hover{border-color:#47648e;background:#14243a;color:#d8e2f1}
.ml-products button.ml-tab.active{background:linear-gradient(135deg,#2563eb33,#111c2e);border-color:#477fdb;color:#fff}
.ml-tab.active:before{background:var(--light)}
.ml-icon{width:42px;height:42px;flex:0 0 42px;border:1px solid #354a69;border-radius:12px;background:#172942;color:#8dbdff;display:grid;place-items:center;font-size:18px}
.ml-icon i,.ml-icon svg{width:1em;height:1em;font-size:1em;fill:currentColor}
.ml-tab strong{display:block;direction:ltr;text-align:right;font-size:16px;line-height:1.5;font-weight:700}
.ml-tab small{display:block;color:#9eafc7;font-size:10px;margin-top:2px;line-height:1.6}

/* stage */
.ml-stage{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:28px;align-items:center;border:1px solid #2a3a52;border-radius:23px;padding:21px;background:#0f1a2be8;box-shadow:0 24px 70px #0003}
.ml-stage[hidden]{display:none}
.ml-stage.ml-no-shot{grid-template-columns:1fr}

/* dashboard window */
.ml-window{min-width:0;border:1px solid #263751;border-radius:16px;overflow:hidden;background:#080f1c;direction:ltr;box-shadow:0 18px 45px #0004}
.ml-window-top{height:42px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#111d30;border-bottom:1px solid #263751}
.ml-dot{width:8px;height:8px;border-radius:50%;background:#40516a;display:block}
.ml-window-title{margin-left:auto;color:#a9bbd5;font:600 11px Arial,sans-serif}
.ml-products .ml-shot{position:relative;display:block;width:100%;aspect-ratio:16 / 10;margin:0;padding:0;border:0;background:#080f1c;overflow:hidden}
.ml-shot-img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:top left;border:0;border-radius:0}
.ml-shot[style*="auto"] .ml-shot-img{height:auto}
.ml-products button.ml-zoom{cursor:zoom-in;color:#fff}
.ml-zoom-badge{position:absolute;bottom:12px;right:12px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#0b1220cc;border:1px solid #ffffff30;color:#fff;opacity:.85;transition:opacity .2s,transform .2s;pointer-events:none}
.ml-zoom:hover .ml-zoom-badge,.ml-zoom:focus-visible .ml-zoom-badge{opacity:1;transform:scale(1.08);background:var(--blue)}
.ml-zoom:focus-visible{outline:2px solid var(--light);outline-offset:-2px}

/* copy */
.ml-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:10px 8px;min-width:0}
.ml-label{padding:6px 11px;border:1px solid #60a5fa40;border-radius:99px;background:#2563eb22;color:#91bdff;font-size:11px;font-weight:700}
.ml-products .ml-name{font-size:clamp(27px,3vw,36px);line-height:1.35;font-weight:800;margin:14px 0 2px;direction:ltr;text-align:right;max-width:100%;overflow-wrap:anywhere;color:var(--text)}
.ml-english{font:500 11px/1.7 Arial,sans-serif;color:#7f94b4;direction:ltr;text-align:right;width:100%}
.ml-products .ml-desc{font-size:13px;line-height:2;color:#c0ccdc;margin:15px 0 17px}
.ml-points{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}
.ml-point{font-size:10px;color:#c8d8ed;border:1px solid #2d405c;background:#111e31;border-radius:8px;padding:6px 9px}
.ml-bottom{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:auto}
.ml-products a.ml-cta{display:inline-flex;align-items:center;gap:9px;background:var(--blue);border:1px solid var(--blue);color:#fff;border-radius:11px;padding:11px 16px;font-size:12px;font-weight:700;transition:background .2s,filter .2s}
.ml-products a.ml-cta:hover{filter:brightness(1.12);color:#fff}
.ml-cta span{transition:transform .2s}
.ml-cta:hover span{transform:translateX(-3px)}
.ml-count{font:11px Arial,sans-serif;color:#7f93b0;direction:ltr}

/* lightbox (outside widget wrapper) */
.ml-lb{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:32px;background:rgba(5,9,18,.92);cursor:zoom-out}
.ml-lb.open{display:flex}
.ml-lb img{max-width:min(1500px,100%);max-height:100%;width:auto;height:auto;border-radius:10px;box-shadow:0 30px 90px #000a;cursor:default;background:#080f1c}
.ml-lb .ml-lb-close{position:absolute;top:16px;right:16px;width:44px;height:44px;padding:0;border:1px solid #ffffff40;border-radius:12px;background:#142238;color:#fff;font:400 26px/1 Arial,sans-serif;cursor:pointer;display:grid;place-items:center}
.ml-lb .ml-lb-close:hover,.ml-lb .ml-lb-close:focus-visible{background:#2563eb;border-color:#2563eb;color:#fff}
html.ml-lb-lock{overflow:hidden}

@media(max-width:900px){
	.ml-head{align-items:flex-start}
	.ml-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ml-stage{grid-template-columns:1fr;gap:20px}
	.ml-copy{order:1}
	.ml-window{order:2}
}
@media(max-width:560px){
	.ml-products{padding:55px 0 60px}
	.ml-wrap{width:calc(100% - 30px)}
	.ml-head{display:block}
	.ml-products .ml-head h2{font-size:27px}
	.ml-products .ml-head p{font-size:13px}
	.ml-controls{margin-top:17px}
	.ml-products button.ml-arrow{width:40px;height:40px}
	.ml-tabs{gap:8px;margin-bottom:12px}
	.ml-products button.ml-tab{min-height:70px;padding:10px 9px;gap:8px;border-radius:12px}
	.ml-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px;font-size:15px}
	.ml-tab strong{font-size:13px}
	.ml-tab small{font-size:9px}
	.ml-stage{padding:11px;border-radius:17px;gap:16px}
	.ml-products .ml-name{font-size:27px}
	.ml-products .ml-desc{font-size:12px;margin:12px 0 15px}
	.ml-window-title{font-size:9px}
	.ml-lb{padding:14px}
}
@media(prefers-reduced-motion:reduce){.ml-products *,.ml-products *:before,.ml-products *:after{transition:none!important;scroll-behavior:auto!important}}
