.bg-page{background:#f8f9fc;padding-top:1px}
.bg-page .bg-hero{max-width:1000px;padding:44px 24px 0;margin:auto;text-align:center}
.bg-page .bg-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#8654cf;font-size:10px;letter-spacing:1.8px;font-weight:650;margin-bottom:14px}
.bg-page .bg-eyebrow svg{width:15px;height:15px}
.bg-page .bg-hero h1{font-size:42px;line-height:1.2;letter-spacing:-1.4px;margin:0 0 14px;font-weight:750;color:#111827}
.bg-page .bg-hero>p{font-size:15px;line-height:1.8;color:#64748b;margin:0 auto;max-width:640px}
.bg-page .bg-hero-demo{display:flex;align-items:center;justify-content:center;gap:20px;margin:26px auto 28px}
.bg-page .bg-demo-card{position:relative;width:132px;padding:7px;background:white;border:1px solid #e9e3f2;border-radius:14px;box-shadow:0 6px 18px #60438607;transform:rotate(-4deg)}
.bg-page .bg-demo-card:last-child{transform:rotate(4deg)}
.bg-page .bg-demo-card>span{position:absolute;z-index:1;top:13px;left:13px;background:#ffffffdf;padding:2px 6px;border:1px solid #eee6f6;border-radius:5px;font-size:8px;color:#78638f}
.bg-page .bg-demo-photo{height:120px;border-radius:9px;background:linear-gradient(135deg,#efedf3,#e5e1ec);display:grid;place-items:center;overflow:hidden}
.bg-page .bg-demo-photo>svg{height:116px;width:93px}
.bg-page .bg-demo-arrow{color:#b393e2;font-size:24px}
.bg-page .bg-checker{background-color:#fff;background-image:linear-gradient(45deg,#eaeaf0 25%,transparent 25%),linear-gradient(-45deg,#eaeaf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eaeaf0 75%),linear-gradient(-45deg,transparent 75%,#eaeaf0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.bg-page .bg-workspace{max-width:1100px;margin:0 auto 32px;background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 8px 30px #1c244506}
.bg-page .bg-upload{border:1.5px dashed #d5c2f2;border-radius:16px;background:linear-gradient(180deg,#fcfaff,#fff);text-align:center;padding:30px 20px 24px;display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.bg-page .bg-upload:hover,.bg-page .bg-upload.dragging{background:#f7f2ff;border-color:#9d6cdd;box-shadow:inset 0 0 0 3px #7c3aed05}
.bg-page .bg-upload-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid #e8dbfc;border-radius:16px;background:#f1e9ff;color:#9255e6;margin-bottom:17px}
.bg-page svg{width:18px;height:18px;flex-shrink:0}
.bg-page .bg-upload-icon svg{width:25px;height:25px}
.bg-page .bg-upload h2{font-size:20px;line-height:1.5;font-weight:650;letter-spacing:-.45px;margin:0 0 7px;color:#111827}
.bg-page .bg-upload p{font-size:13px;color:#64748b;margin:0 0 19px}
.bg-page .bg-upload .primary{min-width:180px}
.bg-page .bg-filehint{font-size:11px;color:#64748b;margin-top:14px;line-height:1.8}
.bg-page .bg-upload small{font-size:10px;color:#8490a3;margin-top:17px;line-height:1.7}
.bg-page .bg-file{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fcfcff}
.bg-page .bg-file>img{height:58px;width:58px;object-fit:contain;border-radius:8px;background:#f0edf5;flex-shrink:0}
.bg-page .bg-file>div{min-width:0;flex:1;display:grid;gap:6px}
.bg-page .bg-file strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334155}
.bg-page .bg-file span{color:#64748b;font-size:11px}
.bg-page #bgRemove{padding:0;width:36px;min-height:36px;flex-shrink:0}
.bg-page .bg-status{font-size:12px;line-height:1.8;color:#7e55b3;margin:16px 0 0;padding:13px 16px;border:1px solid #eadffa;border-radius:10px;background:#faf7ff}
.bg-page .bg-status:empty{display:none}
.bg-page .bg-status.success{color:#26815c;background:#f0fdf6;border-color:#d1efdf}
.bg-page .bg-status.error{color:#b13c55;background:#fff5f6;border-color:#f5d8df}
.bg-page .bg-progress{height:5px;border-radius:5px;overflow:hidden;background:#eee5fa;margin-top:12px}
.bg-page .bg-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#7c3aed,#a855f7);transition:width .2s}
.bg-page .bg-progress.indeterminate i{width:30%!important;animation:bg-progress-motion 1.5s ease-in-out infinite}
.bg-page .bg-load-note{font-size:10px;color:#8b7c9c;text-align:center;line-height:1.8;margin:11px 0 0}
.bg-page .bg-ready-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.bg-page .bg-output{margin-top:26px;animation:bg-result-in .25s ease-out}
.bg-page .bg-output-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.bg-page .bg-output-heading>div{display:flex;gap:10px;align-items:center}
.bg-page .bg-output-heading h2{font-size:20px;letter-spacing:-.5px;margin:0;line-height:1.4;font-weight:650}
.bg-page .bg-success-dot{width:8px;height:8px;background:#43ad80;box-shadow:0 0 0 4px #e8f8f0;border-radius:50%;margin:0 3px}
.bg-page #bgCompareButton{min-height:36px;padding:8px 11px;font-size:11px}
.bg-page #bgCompareButton[aria-pressed=true]{background:#f2eaff;color:#7c3aed;border-color:#d7c3f7}
.bg-page .bg-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bg-page .bg-preview-grid figure{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;margin:0;min-width:0}
.bg-page .bg-preview-grid figcaption{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:14px 16px;font-size:11px;font-weight:550;color:#475569;border-bottom:1px solid #ececf2;flex-wrap:wrap}
.bg-page .bg-preview-grid figcaption>span:last-child{font-size:9px;font-weight:400;color:#8490a3}
.bg-page .bg-preview-grid .bg-png-label{color:#7c3aed!important;background:#f3edfc;padding:3px 7px;border-radius:5px}
.bg-page .bg-preview-stage{height:390px;background-color:#f7f8fb;display:grid;place-items:center;overflow:hidden;padding:14px}
.bg-page .bg-preview-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;display:block}
.bg-page .bg-download-row{margin-top:22px;padding-top:22px;border-top:1px solid #eceef4;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bg-page .bg-download-row p{font-size:11px;color:#64748b;margin:0;line-height:1.7}
.bg-page .bg-download-row>div{display:flex;gap:10px;flex-wrap:wrap}
.bg-page #bgDownload{min-width:158px}
.bg-page .bg-quality-note{font-size:10px;color:#8490a3;line-height:1.9;margin:16px 0 0}
.bg-page .bg-comparison{--split:50%;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;padding-bottom:18px;text-align:center}
.bg-page .bg-compare-stage{height:450px;position:relative;background:#f7f8fb;overflow:hidden;margin-bottom:16px}
.bg-page .bg-compare-stage>img,.bg-page .bg-compare-after>img{width:100%;height:100%;display:block;object-fit:contain;padding:14px}
.bg-page .bg-compare-after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split))}
.bg-page .bg-compare-line{position:absolute;left:var(--split);top:0;bottom:0;border-left:2px solid #7c3aed;pointer-events:none}
.bg-page .bg-compare-line::after{content:'↔';position:absolute;top:50%;left:-16px;width:30px;height:30px;background:#fff;color:#7c3aed;border:1px solid #e7dafa;border-radius:50%;display:grid;place-items:center;font-size:17px;box-shadow:0 2px 6px #50407219}
.bg-page .bg-before-label,.bg-page .bg-after-label{position:absolute;top:14px;left:14px;padding:5px 10px;background:#ffffffeb;border:1px solid #ece6f4;border-radius:6px;font-size:10px;color:#755b96}
.bg-page .bg-after-label{left:auto;right:14px}
.bg-page .bg-comparison>label{font-size:11px;color:#64748b;display:block;margin-bottom:8px}
.bg-page #bgCompareRange{width:calc(100% - 48px);max-width:460px;accent-color:#7c3aed;height:26px;cursor:ew-resize}
.bg-page>.tools{margin-top:30px}
.bg-page>.article{padding-top:1px!important}
@keyframes bg-progress-motion{0%{transform:translateX(-100%)}100%{transform:translateX(440%)}}
@keyframes bg-result-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1148px){.bg-page .bg-workspace{margin-left:24px;margin-right:24px}}
@media(max-width:760px){.bg-page .bg-hero{padding:32px 20px 0}.bg-page .bg-hero h1{font-size:34px;letter-spacing:-1px}.bg-page .bg-hero>p{font-size:13px;line-height:1.85}.bg-page .bg-hero-demo{margin-top:24px;gap:18px}.bg-page .bg-demo-card{width:114px}.bg-page .bg-demo-photo{height:106px}.bg-page .bg-demo-photo>svg{height:104px;width:80px}.bg-page .bg-workspace{margin:0 16px 28px;padding:12px;border-radius:17px}.bg-page .bg-upload{padding:26px 12px 20px;border-radius:12px}.bg-page .bg-upload h2{font-size:17px}.bg-page .bg-upload p{font-size:12px}.bg-page .bg-filehint{font-size:10px}.bg-page .bg-upload small{font-size:9px}.bg-page .bg-file{padding:10px;gap:10px}.bg-page .bg-file strong{font-size:11px}.bg-page .bg-file>img{width:44px;height:48px}.bg-page .bg-status{font-size:11px;padding:12px}.bg-page .bg-load-note{font-size:9px}.bg-page .bg-output-heading h2{font-size:18px}.bg-page .bg-output-heading{gap:12px}.bg-page .bg-preview-grid{grid-template-columns:minmax(0,1fr);gap:16px}.bg-page .bg-preview-stage{height:310px;padding:10px}.bg-page .bg-preview-grid figcaption{padding:12px;font-size:10px}.bg-page .bg-download-row{padding-top:18px;margin-top:18px}.bg-page .bg-download-row>div{width:100%;flex-direction:column-reverse;gap:10px}.bg-page .bg-download-row button{width:100%;min-height:46px}.bg-page .bg-quality-note{font-size:9px}.bg-page .bg-compare-stage{height:350px}}
@media(prefers-reduced-motion:reduce){.bg-page *{animation:none!important;transition:none!important}.bg-page .bg-progress.indeterminate i{width:100%!important;opacity:.6}}
.bg-page .bg-preview-stage{display:flex;align-items:center;justify-content:center}
.bg-page .bg-preview-stage img{min-height:0;min-width:0;flex:1;object-fit:contain}
.bg-page .bg-preview-grid figcaption{min-height:48px}
