/* Film stage: fixed logical canvas (1600x900 landscape / 900x1400 portrait), scaled by film-engine.js */
.film-stage { color: #fff; font-family: var(--font); overflow: hidden;
  background: radial-gradient(900px 520px at 80% 0%, rgba(38,111,170,.35), rgba(38,111,170,0) 65%), radial-gradient(700px 500px at 0% 100%, rgba(0,169,157,.18), rgba(0,169,157,0) 60%), #081830; }
.film-stage .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.scene { position: absolute; inset: 0; will-change: opacity; }
.scene [data-at] { will-change: transform, opacity; }

/* Copy column */
.s-copy { position: absolute; left: 96px; top: 150px; width: 560px; }
.is-portrait .s-copy { left: 72px; right: 72px; top: 110px; width: auto; }
.s-num { font: 700 18px/1 var(--font-lat); letter-spacing: .18em; color: var(--teal-300); display: flex; gap: 14px; align-items: center; }
.s-num::after { content: ""; width: 56px; height: 1px; background: rgba(111,220,209,.5); }
.s-title { text-wrap: balance; margin: 26px 0 0; font-weight: 700; font-size: 60px; line-height: 1.16; letter-spacing: -.01em; }
html[lang="ru"] .s-title, html[lang="en"] .s-title { font-size: 50px; line-height: 1.12; }
.s-title .alt { display: block; margin-top: 14px; font: 600 20px/1.3 var(--font-lat); letter-spacing: .06em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.s-desc { margin-top: 26px; font-size: 25px; line-height: 1.6; color: rgba(255,255,255,.78); }
html[lang="ru"] .s-desc { font-size: 23px; }
.is-portrait .s-title { font-size: 64px; }
.is-portrait .s-desc { font-size: 30px; }
html[lang="ru"] .is-portrait .s-title, html[lang="en"] .is-portrait .s-title { font-size: 54px; }

/* Visual column */
.s-visual { position: absolute; left: 700px; top: 110px; width: 820px; height: 680px; }
.is-portrait .s-visual { left: 60px; top: 560px; width: 780px; height: 720px; }

/* Mock ERP panel, drawn after the real product (berry primary, slate neutrals) */
.erp { position: absolute; background: #fff; color: #111a2b; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; font-family: var(--font); }
.erp-top { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px; border-bottom: 1px solid #e6eaf0; background: #fbfcfd; }
.erp-top .t { font-weight: 700; font-size: 20px; }
.erp-top .tabs { display: flex; gap: 6px; margin-left: 12px; }
.erp-top .tabs span { font-size: 15px; padding: 6px 12px; border-radius: 8px; color: #5b6778; }
.erp-top .tabs span.on { background: #fbe7ed; color: #b0224f; font-weight: 600; }
.erp-top .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.erp-btn { font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 9px; background: #c3285a; color: #fff; white-space: nowrap; }
.erp-btn.ghost { background: #fff; color: #273244; box-shadow: inset 0 0 0 1px #d5dbe4; }
.erp-row { display: grid; align-items: center; gap: 12px; padding: 0 22px; height: 64px; border-bottom: 1px solid #eef1f5; font-size: 17px; }
.erp-row.head { height: 44px; font-size: 14px; color: #6b7686; font-weight: 600; background: #fafbfc; }
.erp .mono { font-family: var(--font-lat); font-variant-numeric: tabular-nums; }
.erp .muted { color: #6b7686; font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #eef1f5; color: #475264; white-space: nowrap; }
.badge.ok { background: #e3f6ec; color: #11794a; }
.badge.warn { background: #fdf1dc; color: #94580a; }
.badge.info { background: #e6eefc; color: #1f4fb3; }
.badge.berry { background: #fbe7ed; color: #b0224f; }
.badge.bad { background: #fde9e7; color: #b42318; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Platform tokens */
.plat { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; font: 700 20px/1 var(--font-lat), var(--font-zh); white-space: nowrap; backdrop-filter: blur(6px); }
.plat i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 800 16px/1 var(--font-lat); color: #fff; font-style: normal; }
.plat small { display: block; font: 500 13px/1.3 var(--font); color: rgba(255,255,255,.6); margin-top: 4px; }

.glow-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(111,220,209,.35); }
.svg-draw path, .svg-draw line, .svg-draw polyline { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }

.caption { position: absolute; left: 96px; right: 96px; bottom: 96px; font-size: 26px; color: rgba(255,255,255,.72); }
.is-portrait .caption { left: 72px; right: 72px; bottom: 120px; }

/* ---------- shared bits ---------- */
.plate { display: grid; place-items: center; background: #fff; border-radius: 22%; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.plate svg { width: 72%; height: 72%; overflow: visible; }
.plate.big { width: 168px; height: 168px; margin: 0 auto; }
.mark-anim path { transform-box: fill-box; transform-origin: center; }
.film-demo { position: absolute; left: 40px; top: 30px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font); color: rgba(255,255,255,.55); letter-spacing: .02em; }
.film-demo .dot { width: 7px; height: 7px; border-radius: 50%; background: #f5b83d; }
.tk { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font: 800 14px/1 var(--font-lat); color: #fff; font-style: normal; flex: none; letter-spacing: -.02em; }
.tk.sm { width: 24px; height: 24px; border-radius: 6px; font-size: 10px; }
.tk-oz { background: #005bff; }
.tk-wb { background: linear-gradient(135deg, #cb11ab, #481173); }
.tk-ae { background: #e62e04; }
.tk-ym { background: #ffcc00; color: #1a1a1a; }
.tk-pz { background: #101318; box-shadow: inset 0 0 0 1.5px #3b4250; }
.alt:empty { display: none; }
html:not([lang="zh-CN"]) .zh-only { display: none; }

/* ---------- open / close ---------- */
.open-wrap, .close-wrap { position: absolute; left: 0; right: 0; top: 190px; text-align: center; }
.is-portrait .open-wrap, .is-portrait .close-wrap { top: 330px; }
.close-wrap { top: 150px; }
.is-portrait .close-wrap { top: 250px; }
.open-name { margin-top: 44px; font-weight: 800; font-size: 76px; letter-spacing: .04em; line-height: 1; }
.open-name b { color: var(--teal-300); font-family: var(--font-lat); letter-spacing: .06em; }
html:not([lang="zh-CN"]) .open-name { letter-spacing: 0; }
.open-tag { margin: 26px auto 0; max-width: 1100px; font-size: 34px; color: rgba(255,255,255,.82); padding: 0 60px; }
.is-portrait .open-tag { font-size: 40px; }
.open-plats { margin-top: 44px; font: 600 22px/1.4 var(--font-lat); letter-spacing: .08em; color: rgba(255,255,255,.5); padding: 0 40px; }
.langs { margin-top: 34px; display: flex; gap: 14px; justify-content: center; }
.langs span { padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font: 600 22px/1 var(--font); color: rgba(255,255,255,.6); transition: background .25s, color .25s, border-color .25s; }
.langs span.is-on { background: rgba(0,169,157,.22); border-color: var(--teal-300); color: #fff; }
.facts { margin-top: 26px; font-size: 22px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.close-cta { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 0 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font: 600 24px/1 var(--font-lat); }
.pill.mail { background: var(--teal); border-color: var(--teal); }
.pill svg { width: 24px; height: 24px; }
.close-url { margin-top: 30px; font: 600 20px/1 var(--font-lat); letter-spacing: .14em; color: rgba(255,255,255,.45); }

/* ---------- before ---------- */
.win { position: absolute; width: 250px; }
.win.w1 { left: 10px; top: 20px; rotate: -5deg; }
.win.w2 { left: 290px; top: 0; rotate: 3deg; }
.win.w3 { left: 560px; top: 60px; rotate: -3deg; }
.win.w4 { left: 60px; top: 290px; rotate: 4deg; }
.win.w5 { left: 400px; top: 300px; rotate: -2deg; }
.is-portrait .win.w3 { left: 520px; }
.win-in { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font: 700 18px/1 var(--font-lat); color: #fff; }
.win-bar .tk { width: 28px; height: 28px; font-size: 12px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.tk-bg-oz { background: #005bff; } .tk-bg-wb { background: #7b1d8f; } .tk-bg-ae { background: #e62e04; } .tk-bg-ym { background: #ffcc00; color: #1a1a1a; } .tk-bg-pz { background: #101318; }
.win-body { padding: 16px 14px 18px; display: grid; gap: 10px; }
.win-body b { display: block; height: 10px; border-radius: 5px; background: #e7ebf0; }
.win-body b:nth-child(2) { width: 75%; } .win-body b:nth-child(3) { width: 55%; }
.tag { position: absolute; }
.tag.t1 { left: 0; top: 520px; } .tag.t2 { left: 330px; top: 215px; } .tag.t3 { left: 520px; top: 520px; } .tag.t4 { left: 230px; top: 610px; }
.tag-in { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; font-size: 22px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.tag-in svg { width: 22px; height: 22px; flex: none; }
.tag-in.bad { background: #fde9e7; color: #b42318; }
.tag-in.warn { background: #fdf1dc; color: #94580a; }
.tag-in.file { background: #eef1f5; color: #3a4658; font-family: var(--font-lat), var(--font-zh); }

/* ---------- one back office ---------- */
.chips5 { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pchip { position: relative; padding: 16px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; transition: background .3s, border-color .3s; }
.pchip b { font: 700 18px/1.15 var(--font-lat); white-space: nowrap; }
.pchip .auth { position: relative; height: 22px; font-size: 15px; }
.pchip .auth > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; transition: opacity .25s; white-space: nowrap; }
.pchip .auth .p { color: rgba(255,255,255,.45); }
.pchip .auth .o { color: var(--teal-300); font-weight: 600; opacity: 0; }
.pchip .auth svg { width: 16px; height: 16px; }
.pchip.is-on { background: rgba(0,169,157,.14); border-color: rgba(111,220,209,.6); }
.pchip.is-on .auth .p { opacity: 0; }
.pchip.is-on .auth .o { opacity: 1; }
.one-panel { left: 0; right: 0; top: 150px; }
.one-grid { grid-template-columns: 170px 150px 1fr 150px; }
.erp .pc { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
html[lang="ru"] .one-grid { grid-template-columns: 170px 140px 1fr 160px; }

/* ---------- flow ---------- */
.flow-panel { left: 0; right: 0; top: 0; }
.flow-panel .erp-top .t { font-size: 19px; }
.flow-state { position: relative; min-width: 120px; justify-content: center; }
.flow-state .p { display: none; align-items: center; gap: 6px; }
.flow-state .p svg { width: 15px; height: 15px; }
.flow-state.is-pass { background: #e3f6ec; color: #11794a; }
.flow-state.is-pass .w { display: none; }
.flow-state.is-pass .p { display: inline-flex; }
.flow-body { display: grid; grid-template-columns: 1fr 240px; gap: 18px; padding: 18px 22px 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 19px; height: 40px; padding: 0 12px; border-radius: 10px; background: #f6f8fa; }
.ck { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #16a36a; color: #fff; flex: none; }
.ck svg { width: 16px; height: 16px; }
.timer { display: grid; align-content: center; justify-items: center; gap: 6px; border-radius: 14px; background: #fbe7ed; color: #b0224f; }
.timer b { font-size: 60px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.timer .muted { color: #b0224f; font-weight: 600; font-size: 16px; }
.stepper { position: absolute; left: 0; right: 0; top: 318px; display: grid; grid-template-columns: repeat(6, 1fr); }
.stepper .line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.stepper .line i { position: absolute; inset: 0; background: var(--teal-300); border-radius: 4px; transform-origin: 0 50%; transform: scaleX(0); }
.stepper .st { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 17px; color: rgba(255,255,255,.5); line-height: 1.25; padding: 0 4px; }
.stepper .n { width: 36px; height: 36px; border-radius: 50%; background: #0b2143; border: 3px solid rgba(255,255,255,.2); transition: .25s; }
.stepper .st.is-on { color: #fff; }
.stepper .st.is-on .n { background: var(--teal); border-color: var(--teal-300); box-shadow: 0 0 0 6px rgba(0,169,157,.2); }
.trk { position: absolute; left: 0; right: 0; top: 470px; padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 16px; }
.trk-l { display: flex; align-items: center; gap: 12px; font-size: 19px; color: rgba(255,255,255,.75); }
.trk-r { display: flex; align-items: center; gap: 14px; }
.trk .field { flex: 1; height: 58px; display: flex; align-items: center; padding: 0 18px; border-radius: 10px; background: #fff; color: #0d1726; font-size: 24px; font-weight: 600; letter-spacing: .04em; }
.trk .field.is-empty { color: #9aa4b2; font-family: var(--font); font-weight: 500; letter-spacing: 0; font-size: 20px; }
.trk .trk-ok { font-size: 16px; padding: 8px 14px; opacity: 0; transform: scale(.8); transition: .25s; }
.trk .trk-ok svg { width: 15px; height: 15px; }
.trk .trk-ok.is-on { opacity: 1; transform: none; }

/* ---------- money ---------- */
.wallets { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcard { padding: 18px 20px; border-radius: 16px; background: #fff; color: #111a2b; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.wcard .cur { display: flex; justify-content: space-between; align-items: center; font: 700 16px/1 var(--font-lat); color: #6b7686; letter-spacing: .08em; }
.wcard .cur span { font-size: 20px; color: #b0224f; }
.wcard .big { margin-top: 14px; font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.wcard .sub { margin-top: 12px; display: grid; gap: 4px; font-size: 14px; color: #6b7686; }
.wcard .sub b { color: #273244; font-weight: 600; }
.ledger { left: 0; right: 0; top: 196px; }
.led-grid { grid-template-columns: 70px 1fr 150px; font-size: 16px; height: 58px; }
.led-grid b { font-weight: 600; }
.amt { text-align: right; font-weight: 600; }
.amt.hold { color: #94580a; }
.recon { position: absolute; left: 0; right: 0; top: 500px; display: flex; align-items: center; gap: 26px; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.recon .ring { width: 130px; height: 130px; flex: none; }
.recon-r { display: grid; gap: 14px; justify-items: start; }
.recon-r > b { font-size: 26px; }
.recon-r .items { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 19px; color: rgba(255,255,255,.8); }
.recon-r .items > span { display: inline-flex; align-items: center; gap: 8px; }
.recon-r i.ok { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); }
.recon-r i.ok svg { width: 14px; height: 14px; color: #fff; }
.recon-r .badge { font-size: 16px; }

/* ---------- brand ---------- */
.brand-panel { left: 0; right: 0; top: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 22px 6px; }
.kpi { padding: 14px 16px; border-radius: 12px; background: #f6f8fa; display: grid; gap: 6px; }
.kpi b { font-size: 34px; font-weight: 700; line-height: 1.1; }
.kpi .warn-t { color: #94580a; }
.dist { padding: 16px 22px 8px; }
.dist .bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: #eef1f5; }
.dist .bar i { display: block; height: 100%; }
.c1 { background: #d64545; } .c2 { background: #e8883a; } .c3 { background: #f2c14e; } .c4 { background: #2fa36b; } .c5 { background: #8b98ab; } .c6 { background: #5b6778; }
.dist .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; color: #5b6778; }
.dist .legend > span { display: inline-flex; align-items: center; gap: 6px; }
.dist .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sug { display: flex; align-items: center; gap: 12px; margin: 10px 22px 22px; padding: 14px 16px; border-radius: 12px; border: 1px solid #f3dfb8; background: #fffaf0; font-size: 18px; }
.sug .erp-btn { margin-left: auto; }
.chat { position: absolute; left: 400px; right: -10px; top: 400px; padding: 16px; border-radius: 18px; background: #0f2747; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(0,0,0,.5); display: grid; gap: 12px; }
.chat-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--teal-300); }
.chat-h svg { width: 22px; height: 22px; }
.bub { max-width: 92%; padding: 12px 16px; border-radius: 14px; font-size: 18px; line-height: 1.5; }
.bub.q { justify-self: end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.bub.a { background: rgba(255,255,255,.1); color: #fff; border-bottom-left-radius: 4px; min-height: 52px; }
.bub .caret { display: none; width: 2px; height: 1.1em; background: #fff; vertical-align: -3px; margin-left: 2px; }
.bub.a.is-typing .caret { display: inline-block; }
.is-portrait .chat { left: 260px; top: 440px; }

/* Open scene: platform chips + a strip of real goods that rise in under the brand line. */
.open-plats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 18px; font: 600 22px/1 var(--font-lat); letter-spacing: 0; color: rgba(255,255,255,.88); }
.op-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.op-chip .tk { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
.open-goods { display: flex; justify-content: center; gap: 22px; margin-top: 38px; }
.og { width: 118px; height: 118px; border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.35); overflow: hidden; }
.og img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.is-portrait .og { width: 132px; height: 132px; } .is-portrait .open-goods { gap: 16px; }
