/* Booth TV loop. expo.js sets 1rem = 1/80 of the width (or 1/45 of the height), so the
   layout is the same on a 1080p or 4K TV. Kept clear of the edges for TVs that crop (overscan). */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #050d0a; --card: #0d1b16; --line: #1c3229; --text: #eef6f1; --muted: #8fa89c; --green: #2fd08a; --lime: #b6f26b; --yellow: #f6c544; --red: #ff5a64; --blue: #5aa9ff; }
html, body { width: 100%; height: 100%; background: var(--bg); overflow: hidden; }
body { color: var(--text); font-family: "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif; cursor: none; }
.hidden { display: none !important; }

/* slow moving glow behind everything */
#bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
#bg i { position: absolute; width: 50rem; height: 50rem; border-radius: 50%; filter: blur(6rem); opacity: .22; animation: drift 28s ease-in-out infinite alternate; }
#bg i:nth-child(1) { background: var(--green); left: -15rem; top: -20rem; }
#bg i:nth-child(2) { background: #1f6fd0; right: -18rem; bottom: -25rem; animation-duration: 34s; opacity: .16; }
#bg i:nth-child(3) { background: var(--yellow); left: 30rem; top: 25rem; width: 30rem; height: 30rem; opacity: .07; animation-duration: 40s; }
@keyframes drift { to { transform: translate(8rem, 5rem) scale(1.15); } }

#top { position: fixed; left: 2.2rem; right: 2.2rem; top: 1.4rem; height: 3.4rem; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
/* the two brand logos in their own colours, on a white badge */
.brandbar { display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: .8rem; padding: .35rem 1.1rem; box-shadow: 0 .4rem 1.6rem rgba(0,0,0,.35); }
.brandbar .sep { background: #d5dde0; margin: 0; }
.padma { height: 3.3rem; }
.sep { width: 1px; height: 2.4rem; background: var(--line); margin: 0 .4rem; display: inline-block; }
.kx { height: 3rem; }
.top-right { display: flex; align-items: center; gap: 2rem; }
#tag { font-size: 1.15rem; color: var(--muted); letter-spacing: .03em; }
#clock { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
#bottom { position: fixed; left: 2.2rem; right: 2.2rem; bottom: 1.2rem; height: 2rem; display: flex; align-items: center; justify-content: space-between; z-index: 2; font-size: 1.05rem; color: var(--muted); }
#powered { display: flex; align-items: center; gap: .7rem; color: var(--muted); }
#powered span { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; }
#powered em { font-style: normal; font-size: .95rem; color: #cfe0d8; }
#powered .sep { height: 1.4rem; margin: 0 .5rem; }
.pw-ue { height: 1.6rem; }
.pw-nodex { height: 1.7rem; }
#progress { position: fixed; left: 0; right: 0; bottom: 0; height: .3rem; background: rgba(255,255,255,.06); z-index: 3; }
#progress b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--lime)); }
#help { position: fixed; left: 50%; top: 5.5rem; transform: translateX(-50%); background: #000c; padding: .6rem 1.4rem; border-radius: .6rem; font-size: 1rem; z-index: 5; }

#stage { position: fixed; left: 2.2rem; right: 2.2rem; top: 5.6rem; bottom: 4rem; z-index: 1; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(1.5rem) scale(.985); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.scene.on { opacity: 1; transform: none; }
.scene.off { opacity: 0; transform: translateY(-1.2rem) scale(1.01); transition-duration: .6s; }
/* children come in one after another */
.scene .in { opacity: 0; transform: translateY(1.2rem); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.scene.on .in { opacity: 1; transform: none; }
.scene.on .in.d1 { transition-delay: .15s; } .scene.on .in.d2 { transition-delay: .3s; } .scene.on .in.d3 { transition-delay: .45s; }
.scene.on .in.d4 { transition-delay: .6s; } .scene.on .in.d5 { transition-delay: .75s; } .scene.on .in.d6 { transition-delay: .9s; }

.kicker { font-size: 1.25rem; color: var(--green); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: 4.4rem; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 3rem; line-height: 1.1; font-weight: 800; margin-top: .4rem; }
.lead { font-size: 1.6rem; color: #cfe0d8; line-height: 1.45; margin-top: 1rem; max-width: 46rem; }
.grad { background: linear-gradient(90deg, var(--green), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { background: linear-gradient(180deg, rgba(20,40,32,.85), rgba(10,22,18,.85)); border: 1px solid var(--line); border-radius: 1.2rem; }

/* hero */
.hero { justify-content: center; }
/* a photo behind a slide: faded into the dark on the left so the text stays readable */
.backdrop { position: absolute; top: -5.6rem; bottom: -4rem; right: -2.2rem; width: 62%; background-size: cover; background-position: center; opacity: .55; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.scene.on .backdrop { animation: kb 14s ease-out forwards; }
.sub { font-size: 1.6rem; color: var(--lime); font-weight: 600; margin-top: .3rem; }
.hero h1 { font-size: 4.6rem; max-width: 72rem; margin-top: .6rem; }
.stats { display: flex; gap: 1.4rem; margin-top: 3rem; }
.stat { flex: 1; padding: 1.6rem 1.8rem; }
.stat .n { font-size: 3.6rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--lime); }
.stat .l { font-size: 1.2rem; color: var(--muted); margin-top: .3rem; }

/* live plant */
.plant-head { display: flex; align-items: flex-end; justify-content: space-between; }
.live-pill { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.2rem; font-weight: 700; color: var(--green); background: rgba(47,208,138,.12); border: 1px solid rgba(47,208,138,.35); padding: .45rem 1rem; border-radius: 2rem; }
.dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,208,138,.7); animation: beat 1.6s infinite; }
.dot.off { background: #55655e; animation: none; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(47,208,138,.7); } 70% { box-shadow: 0 0 0 .9rem rgba(47,208,138,0); } 100% { box-shadow: 0 0 0 0 rgba(47,208,138,0); } }
.masked { font-size: 1rem; color: var(--muted); margin-top: .5rem; }
.plant-body { flex: 1; display: flex; gap: 1.4rem; margin-top: 1.4rem; min-height: 0; }
.plant-left { width: 24rem; display: flex; flex-direction: column; gap: 1.2rem; }
.big { padding: 1.5rem 1.8rem; }
.big .l { font-size: 1.15rem; color: var(--muted); }
.big .n { font-size: 5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.big .n small { font-size: 1.8rem; color: var(--muted); font-weight: 600; margin-left: .4rem; }
.big.glow .n { color: var(--lime); text-shadow: 0 0 2.5rem rgba(182,242,107,.35); }
.duo { display: flex; gap: 1.2rem; } .duo .big { flex: 1; padding: 1.2rem 1.4rem; } .duo .big .n { font-size: 2.6rem; }
.chart-card { flex: 1; padding: 1.4rem 1.6rem 1rem; display: flex; flex-direction: column; min-width: 0; }
.chart-title { font-size: 1.25rem; color: var(--muted); display: flex; justify-content: space-between; }
.chart-title b { color: var(--text); font-weight: 600; }
.chart { flex: 1; min-height: 0; margin-top: .6rem; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .line { fill: none; stroke-width: .35; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 8000; stroke-dashoffset: 8000; }
.scene.on .chart .line { animation: draw 2.6s .4s cubic-bezier(.4,0,.2,1) forwards; }
.chart .area { opacity: 0; } .scene.on .chart .area { animation: fade 1.2s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes fade { to { opacity: 1; } }
.axis { font-size: 1rem; color: var(--muted); display: flex; justify-content: space-between; margin-top: .4rem; }
.legend { display: flex; gap: 1.6rem; font-size: 1.05rem; color: #cfe0d8; } .legend i { display: inline-block; width: 1rem; height: .3rem; border-radius: .2rem; margin-right: .5rem; vertical-align: middle; }
.meters { display: flex; gap: 1rem; margin-top: 1.2rem; }
.meter { flex: 1; padding: 1rem 1.2rem; min-width: 0; }
.meter .h { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; color: #cfe0d8; white-space: nowrap; overflow: hidden; }
.meter .v { font-size: 2rem; font-weight: 800; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.meter .v small { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: .3rem; }
.meter .s { font-size: 1rem; color: var(--muted); margin-top: .2rem; }

/* analytics */
.ana-body { flex: 1; display: flex; gap: 1.4rem; margin-top: 1.4rem; min-height: 0; }
.bars { flex: 1.5; padding: 1.4rem 1.6rem; display: flex; flex-direction: column; }
.bar-row { flex: 1; display: flex; align-items: flex-end; gap: 1.2rem; margin-top: 1rem; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar .col { width: 100%; border-radius: .6rem .6rem .2rem .2rem; background: linear-gradient(180deg, var(--lime), var(--green)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.bar.today .col { background: linear-gradient(180deg, var(--yellow), #e08a1a); }
.scene.on .bar .col { transform: scaleY(1); }
.bar .num { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; font-variant-numeric: tabular-nums; }
.bar .day { font-size: 1rem; color: var(--muted); margin-top: .5rem; }
.side { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.pf { padding: 1.3rem 1.6rem; display: flex; align-items: center; gap: 1.6rem; }
.gauge { width: 9rem; height: 9rem; flex: none; }
.gauge circle { fill: none; stroke-width: 9; }
.gauge .arc { stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.6s cubic-bezier(.2,.8,.2,1) .4s; }
.pf .t { font-size: 1.15rem; color: var(--muted); } .pf .n { font-size: 3rem; font-weight: 800; } .pf .s { font-size: 1.05rem; color: #cfe0d8; margin-top: .2rem; }
.insights { flex: 1; padding: 1.3rem 1.6rem; overflow: hidden; }
.insights .t { font-size: 1.15rem; color: var(--muted); margin-bottom: .6rem; }
.ins { display: flex; gap: .8rem; font-size: 1.12rem; line-height: 1.4; padding: .55rem 0; border-top: 1px solid var(--line); }
.ins:first-of-type { border-top: 0; }
.ins i { flex: none; width: .7rem; height: .7rem; border-radius: 50%; margin-top: .45rem; background: var(--blue); }
.ins.crit i { background: var(--red); } .ins.warn i { background: var(--yellow); } .ins.ok i { background: var(--green); }

/* product spotlight */
.product { flex-direction: row; align-items: center; gap: 4rem; }
.product .pic { width: 34rem; height: 34rem; flex: none; border-radius: 2rem; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; box-shadow: 0 2rem 5rem rgba(0,0,0,.45); }
.product .pic img { width: 82%; height: 82%; object-fit: contain; }
.product .pic.icon { background: radial-gradient(circle at 50% 40%, #173a2c, #07120e); border: 1px solid var(--line); }
.product .pic.photo img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; }
.scene.on .product-zoom { animation: kb 9s ease-out forwards; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.product .copy { flex: 1; }
.product .num { font-size: 1.2rem; color: var(--muted); margin-top: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.chip { font-size: 1.2rem; padding: .55rem 1.1rem; border-radius: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #dcebe4; }
.made { display: inline-block; margin-top: 2.2rem; font-size: 1.15rem; color: var(--yellow); border: 1px solid rgba(246,197,68,.4); padding: .45rem 1rem; border-radius: .6rem; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; flex: 1; }
.feat { padding: 1.4rem 1.5rem; }
.feat .ic { width: 3.2rem; height: 3.2rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 800; background: rgba(47,208,138,.14); color: var(--green); }
.feat .h { font-size: 1.45rem; font-weight: 700; margin-top: 1rem; }
.feat .p { font-size: 1.1rem; color: var(--muted); line-height: 1.4; margin-top: .4rem; }

/* panels */
.panels-row { display: flex; gap: 1.2rem; margin-top: 2rem; flex: 1; min-height: 0; }
.ph { flex: 1; border-radius: 1.2rem; overflow: hidden; position: relative; background: #fff; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.blank { background: rgba(8,20,16,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); display: flex; align-items: flex-end; }
.ph.blank span { position: static; background: none; padding: 1.4rem; font-size: 1.6rem; }
.backdrop.full { width: auto; left: -2.2rem; opacity: .6; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35), #000 60%); mask-image: linear-gradient(180deg, rgba(0,0,0,.35), #000 60%); }
.ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; font-size: 1.3rem; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); color: #fff; }

/* applications mosaic */
.mosaic { display: grid; grid-template-columns: repeat(8, 1fr); gap: .8rem; margin-top: 1.6rem; flex: 1; min-height: 0; }
.tile { position: relative; border-radius: .8rem; overflow: hidden; background: #111; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .6rem .45rem; font-size: .95rem; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.scene .tile { opacity: 0; transform: scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.scene.on .tile { opacity: 1; transform: none; }

/* how it works */
.flow { display: flex; align-items: center; margin-top: 3.5rem; }
.step { flex: 1; text-align: center; padding: 1.8rem .8rem; }
.step .ic { width: 4.4rem; height: 4.4rem; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; background: rgba(47,208,138,.14); color: var(--green); border: 1px solid rgba(47,208,138,.4); }
.step .h { font-size: 1.3rem; font-weight: 700; margin-top: 1rem; }
.arrow { width: 2.5rem; height: .25rem; background: linear-gradient(90deg, var(--green), transparent); position: relative; overflow: hidden; flex: none; }
.arrow::after { content: ''; position: absolute; left: -1rem; top: 0; width: 1rem; height: 100%; background: var(--lime); animation: run 1.4s linear infinite; }
@keyframes run { to { left: 2.5rem; } }

/* call to action */
.cta { flex-direction: row; align-items: center; gap: 4rem; }
.cta .copy { flex: 1; }
.cta .lines { margin-top: 2.2rem; font-size: 1.8rem; line-height: 1.8; }
.cta .lines b { color: var(--lime); }
.qr-box { width: 24rem; text-align: center; }
.qr { width: 24rem; height: 24rem; background: #fff; border-radius: 1.4rem; padding: 1.4rem; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-box p { font-size: 1.25rem; color: var(--muted); margin-top: 1rem; }

/* ---- round 3: moving network, sound, Make in India, livelier product slides */
#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .55; pointer-events: none; }
#snd { display: flex; gap: .5rem; font-size: 1.2rem; }
#snd span { color: #3c544a; transition: color .4s; }
#snd span.on { color: var(--lime); text-shadow: 0 0 .8rem rgba(182,242,107,.6); }
.mii-top { height: 2.9rem; background: #fff; border-radius: .6rem; padding: .2rem .5rem; }
.made { display: inline-flex; align-items: center; gap: .8rem; }
.made img { height: 1.9rem; background: #fff; border-radius: .35rem; padding: .1rem .3rem; }
.cta .mii { height: 4.2rem; background: #fff; border-radius: .7rem; padding: .3rem .7rem; margin-top: 1.6rem; display: block; }
/* product picture: a glow that breathes, a light sweep, and a crossfade for galleries */
.product .pic { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 2rem 5rem rgba(0,0,0,.45), 0 0 0 0 rgba(47,208,138,0); } 50% { box-shadow: 0 2rem 5rem rgba(0,0,0,.45), 0 0 4rem .4rem rgba(47,208,138,.28); } }
.pic .sweep { position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-12deg); pointer-events: none; }
.scene.on .pic .sweep { animation: sweep 4.5s 1.2s ease-in-out infinite; }
@keyframes sweep { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.pic .gal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.scene.on .pic .gal { animation: gal 10.5s ease-in-out infinite both; }
@keyframes gal { 0% { opacity: 0; transform: scale(1.06); } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.chips .chip { opacity: 0; transform: translateY(.8rem) scale(.92); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.3,1.3); }
.scene.on .chips .chip { opacity: 1; transform: none; }
/* headings wipe in from the left */
.scene h1.in, .scene h2.in { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.6,0,.2,1), opacity .6s, transform .8s; }
.scene.on h1.in, .scene.on h2.in { clip-path: inset(0 0 0 0); }
/* stat and feature cards: a light pass when they arrive */
.card { position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(182,242,107,.12), transparent); transform: skewX(-15deg); }
.scene.on .card::after { animation: cardpass 1.6s 0.8s ease-out both; }
@keyframes cardpass { to { left: 130%; } }

/* ---- power quality */
.pq-body { flex: 1; display: flex; gap: 1.4rem; margin-top: 1.2rem; min-height: 0; }
.pq-charts { flex: 1.6; display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.pq-chart { flex: 1; padding: 1rem 1.4rem .8rem; display: flex; flex-direction: column; min-height: 0; }
.pq-chart .chart { position: relative; }
.yr { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; font-size: .85rem; color: var(--muted); pointer-events: none; }
.legend b { color: var(--text); }
.pq-side { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.thd-card { flex: 1.4; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; }
.thd-card .t, .ub .t { font-size: 1.15rem; color: var(--muted); }
.thd-row { flex: 1; display: flex; gap: 1.4rem; margin-top: .8rem; min-height: 0; }
.thd { flex: 1; display: flex; flex-direction: column; }
.thd-h { font-size: 1.1rem; font-weight: 700; display: flex; justify-content: space-between; }
.thd-h span { color: var(--muted); font-weight: 400; font-size: .95rem; }
.thd-bars { flex: 1; display: flex; gap: .8rem; align-items: flex-end; position: relative; margin-top: .6rem; border-bottom: 1px solid var(--line); }
.thd-bars .lim { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(255,90,100,.7); }
.tb { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.tb b { font-size: 1rem; margin-bottom: .3rem; }
.tb span { font-size: .95rem; color: var(--muted); margin-top: .3rem; }
.tb .col { width: 70%; border-radius: .4rem .4rem 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.scene.on .tb .col { transform: scaleY(1); }
.tb .col.bad { animation: blink 1.4s 2s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.ub { padding: 1.2rem 1.4rem; }
.ub-n { font-size: 3rem; font-weight: 800; }
.ub-n small { font-size: 1.4rem; color: var(--muted); }
.ub-bar { height: .7rem; border-radius: .4rem; background: #1c3229; overflow: hidden; margin: .4rem 0 .6rem; }
.ub-bar i { display: block; height: 100%; transition: width 1.4s .8s; }
.ub .s { font-size: 1.05rem; color: #cfe0d8; }

/* ---- alerts */
.al-body { flex: 1; display: flex; gap: 2.4rem; margin-top: 1.6rem; min-height: 0; align-items: flex-start; }
.al-list { flex: 1; display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.al { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.3rem; border-left: .35rem solid var(--yellow); }
.al.crit { border-left-color: var(--red); }
.al-dot { width: 1rem; height: 1rem; border-radius: 50%; background: var(--yellow); flex: none; animation: ring 1.8s infinite; }
.al.crit .al-dot { background: var(--red); animation-name: ringr; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(246,197,68,.6); } 70% { box-shadow: 0 0 0 .9rem rgba(246,197,68,0); } 100% { box-shadow: 0 0 0 0 rgba(246,197,68,0); } }
@keyframes ringr { 0% { box-shadow: 0 0 0 0 rgba(255,90,100,.7); } 70% { box-shadow: 0 0 0 .9rem rgba(255,90,100,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,100,0); } }
.al-main { flex: 1; min-width: 0; }
.al-t { font-size: 1.35rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-s { font-size: 1.05rem; color: var(--muted); margin-top: .2rem; }
.al-s b { color: var(--text); }
.al-r { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-size: .95rem; color: var(--muted); }
.sev { font-weight: 800; letter-spacing: .08em; color: var(--yellow); }
.al.crit .sev { color: var(--red); }
.phone { width: 22rem; height: 30rem; flex: none; border-radius: 2.4rem; border: .5rem solid #1e2b27; background: #0b141a; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2rem 5rem rgba(0,0,0,.5); }
.ph-top { background: #1f2c34; padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.ph-top b { font-size: 1.15rem; }
.ph-top span { font-size: .85rem; color: #8fa89c; }
.ph-msgs { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.msg { align-self: flex-start; max-width: 88%; background: #1f2c34; border-radius: .2rem 1rem 1rem 1rem; padding: .6rem .8rem; font-size: .95rem; line-height: 1.35; opacity: 0; transform: translateY(.8rem) scale(.96); }
.scene.on .msg { animation: pop .5s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---- transformer health */
.thms-body { flex: 1; display: flex; gap: 2.5rem; margin-top: 1.2rem; min-height: 0; align-items: center; }
.tx { position: relative; width: 36rem; height: 30rem; flex: none; }
.tx-svg { width: 100%; height: 100%; }
.tx .pulse { animation: txp 1.8s infinite; transform-origin: 150px 160px; }
@keyframes txp { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3); } }
.co { position: absolute; background: rgba(8,20,16,.85); border: 1px solid rgba(47,208,138,.45); border-radius: .8rem; padding: .5rem .9rem; display: flex; flex-direction: column; opacity: 0; transform: scale(.8); transition: opacity .5s, transform .6s cubic-bezier(.2,.9,.3,1.3); }
.scene.on .co { opacity: 1; transform: none; }
.co span { font-size: .9rem; color: var(--muted); }
.co b { font-size: 1.8rem; }
.co small { font-size: .9rem; color: var(--muted); margin-left: .2rem; }
.co.warn { border-color: var(--red); }
.co.warn b { color: var(--red); }
.co.c1 { left: -1rem; top: 4rem; transition-delay: .8s; }
.co.c2 { right: -1rem; top: 3rem; transition-delay: 1.1s; }
.co.c3 { left: -2rem; top: 15rem; transition-delay: 1.4s; }
.co.c4 { right: -2rem; top: 14rem; transition-delay: 1.7s; }
.co.c5 { left: 12rem; bottom: -1rem; transition-delay: 2s; }
.thms-side { flex: 1; display: flex; flex-direction: column; gap: 1.4rem; }
.thms-side .card { padding: 1.3rem 1.5rem; }
.thms-side .t { font-size: 1.15rem; color: var(--muted); }
.chart.sm { height: 9rem; position: relative; margin-top: .6rem; }
.lead.sm { font-size: 1.3rem; }

/* ---- where we fit: line diagram with a detail card */
.j-body { flex: 1; display: flex; gap: 1.6rem; margin-top: 1.2rem; min-height: 0; align-items: center; }
.j-map { flex: 1.7; height: 100%; min-width: 0; }
.jsvg { width: 100%; height: 100%; overflow: visible; }
.jl { fill: none; stroke: #1f3d32; stroke-width: 6; stroke-linecap: round; }
.jf { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 26; animation: flow 1.2s linear infinite; opacity: .85; }
.jf.data, .jl.data { stroke-dasharray: 2 14; }
.jl.data { stroke: #1c2f45; stroke-dasharray: none; stroke-width: 3; }
.jf.data { stroke: var(--blue); animation-duration: 1.6s; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.jn .jc { fill: #0d1b16; stroke: #2fd08a; stroke-width: 2.5; transition: fill .4s, stroke .4s; }
.jn .jr { fill: none; stroke: rgba(182,242,107,0); stroke-width: 3; }
.jn .ji { fill: #eef6f1; font-size: 24px; font-weight: 800; text-anchor: middle; }
.jn .jt { fill: #8fa89c; font-size: 17px; text-anchor: middle; transition: fill .4s; }
.jn.hot .jc { fill: #2fd08a; stroke: var(--lime); }
.jn.hot .ji { fill: #05140e; }
.jn.hot .jt { fill: #eef6f1; font-weight: 700; }
.jn.hot .jr { animation: jring 1.4s infinite; }
@keyframes jring { 0% { stroke: rgba(182,242,107,.8); r: 30; } 100% { stroke: rgba(182,242,107,0); r: 52; } }
.jp { flex: 1; padding: 1.5rem 1.7rem; min-height: 24rem; opacity: 0; transform: translateX(1.5rem); transition: opacity .45s, transform .5s cubic-bezier(.2,.8,.2,1); }
.jp.show { opacity: 1; transform: none; }
.jp-k { font-size: 1rem; color: var(--green); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jp-h { font-size: 2.1rem; font-weight: 800; margin: .3rem 0 .8rem; }
.jp ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.jp li { font-size: 1.25rem; padding-left: 1.4rem; position: relative; color: #dcebe4; }
.jp li::before { content: ''; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); }
.jp-a { margin-top: 1.1rem; padding: .8rem 1rem; border-radius: .7rem; background: rgba(255,90,100,.12); border-left: .3rem solid var(--red); font-size: 1.15rem; line-height: 1.4; }
.jp-a b { color: var(--red); margin-right: .4rem; }
.jp-o { margin-top: .8rem; font-size: 1.15rem; color: var(--lime); }

/* ---- the app slide */
.appsc { flex-direction: row; align-items: center; gap: 3rem; }
.appsc .copy { flex: 1; }
.steps { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: .9rem; }
.steps li { display: flex; align-items: center; gap: 1rem; font-size: 1.55rem; }
.steps li i { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; background: var(--green); color: #05140e; }
.app-phone { width: 19rem; height: 34rem; flex: none; border-radius: 2.4rem; border: .5rem solid #1e2b27; background: #f4f8f6; color: #10241c; overflow: hidden; display: flex; flex-direction: column; gap: .8rem; padding-bottom: 1rem; box-shadow: 0 2rem 5rem rgba(0,0,0,.5); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-.8rem); } }
.ap-top { background: #0c6f4f; color: #fff; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.ap-top b { font-size: 1.25rem; }
.ap-top span { font-size: .9rem; opacity: .85; }
.ap-kpi { display: flex; gap: .7rem; padding: 0 1rem; }
.ap-kpi div { flex: 1; background: #fff; border-radius: .9rem; padding: .7rem .8rem; box-shadow: 0 .2rem .6rem rgba(0,0,0,.06); }
.ap-kpi small { display: block; font-size: .8rem; color: #5d7269; }
.ap-kpi b { font-size: 1.3rem; }
.ap-chart { margin: 0 1rem; height: 9rem; background: #0d1b16; border-radius: .9rem; padding: .8rem; }
.ap-chart svg { width: 100%; height: 100%; }
.ap-chart .line { fill: none; stroke-dasharray: 8000; stroke-dashoffset: 8000; }
.scene.on .ap-chart .line { animation: draw 2.6s .8s forwards; }
.ap-al { margin: 0 1rem; background: #fff3f3; border-left: .3rem solid #d6333f; border-radius: .6rem; padding: .6rem .8rem; font-size: .9rem; }
.ap-al.ok { background: #eefaf4; border-left-color: #0c6f4f; }

.appsc .qr-box { width: 19rem; }
.appsc .qr { width: 19rem; height: 19rem; }
.steps li { font-size: 1.4rem; }
.appsc h1 { font-size: 4rem; }

/* ---- equipment guides */
.g-body { flex: 1; display: flex; gap: 2.4rem; margin-top: 1rem; min-height: 0; align-items: center; }
.guide .tx { width: 34rem; height: 29rem; }
.g-side { flex: 1; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.g-dev { align-self: flex-start; font-size: 1.15rem; font-weight: 700; color: #05140e; background: var(--lime); padding: .35rem .9rem; border-radius: 2rem; }
.g-cols { display: flex; gap: 1rem; }
.g-cols .card { flex: 1; padding: 1.1rem 1.3rem; }
.g-cols .t { font-size: 1.05rem; color: var(--muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.g-cols ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.g-cols li { font-size: 1.15rem; line-height: 1.3; padding-left: 1.3rem; position: relative; color: #dcebe4; }
.g-cols li::before { content: ''; position: absolute; left: 0; top: .45rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.g-cols ul.do li::before { background: var(--lime); }
.g-note { position: absolute; right: 0; bottom: -.4rem; font-size: .85rem; color: var(--muted); }
.gflow { fill: none; stroke: var(--lime); stroke-width: 3; stroke-dasharray: 5 14; animation: flow 1s linear infinite; }
.gflow.blue { stroke: #8fd0ff; }
.gled { animation: blink 1.2s infinite; }
.gbad { animation: blink 1s infinite; }
.gvib { animation: vib .25s linear infinite alternate; }
@keyframes vib { from { transform: translateX(-1.5px); } to { transform: translateX(1.5px); } }
.gwater { animation: fill 6s ease-in-out infinite alternate; }
@keyframes fill { from { transform: translateY(18px); } to { transform: translateY(-8px); } }
.gtherm { transform-origin: 0 48px; animation: therm 3s ease-in-out infinite alternate; }
@keyframes therm { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.gdrop { animation: drop 2s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(-10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
.gdev rect:first-child { filter: drop-shadow(0 0 6px rgba(47,208,138,.6)); }

/* ---- embed mode (website tour) */
#start { position: fixed; inset: 0; margin: auto; width: 26rem; height: 5.5rem; z-index: 20; border: 0; border-radius: 3rem; cursor: pointer;
  background: linear-gradient(90deg, var(--green), var(--lime)); color: #05140e; font: 800 1.9rem "Segoe UI", Roboto, sans-serif; box-shadow: 0 1.5rem 4rem rgba(0,0,0,.5); }
#start span { margin-right: .6rem; }
.embed body { cursor: default; }
