/* Shree Infotech v10.9.12 - 3D security command centre (home + CCTV page).
   Same deep navy / electric blue tone as the Android and Windows apps.
   Looks identical in day and night theme. */
.sec3d{position:relative;overflow:hidden;isolation:isolate;color:#e8f0ff;
  background:radial-gradient(120% 90% at 75% 40%,#0d2a6b 0%,#071640 38%,#040b24 72%,#02061a 100%);
  padding:clamp(56px,8vw,112px) 0;font-family:"PJS",system-ui,sans-serif}
.sec3d::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 50% at 12% 20%,rgba(56,132,255,.18),transparent 70%),
             radial-gradient(30% 40% at 90% 85%,rgba(0,214,255,.14),transparent 70%)}
.sec3d-in{max-width:1240px;margin:0 auto;padding:0 clamp(18px,4vw,40px);display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:clamp(28px,4vw,64px);align-items:center}
.sec3d-kick{display:inline-flex;align-items:center;gap:8px;font:700 12px/1 "PJS",sans-serif;letter-spacing:.16em;
  text-transform:uppercase;color:#7fc3ff;padding:8px 12px;border:1px solid rgba(127,195,255,.28);border-radius:999px;background:rgba(40,110,255,.1)}
.sec3d-kick i{width:8px;height:8px;border-radius:50%;background:#22e39a;box-shadow:0 0 0 0 rgba(34,227,154,.7);animation:sec3d-ping 1.8s infinite}
@keyframes sec3d-ping{0%{box-shadow:0 0 0 0 rgba(34,227,154,.7)}70%{box-shadow:0 0 0 10px rgba(34,227,154,0)}100%{box-shadow:0 0 0 0 rgba(34,227,154,0)}}
.sec3d h2{margin:18px 0 14px;font:800 clamp(32px,4.4vw,56px)/1.04 "PJS",sans-serif;letter-spacing:-.025em;color:#fff}
.sec3d h2 .g{color:#3aa6ff}
.sec3d-lead{font-size:clamp(15px,1.25vw,17px);line-height:1.65;color:#b9c8e6;max-width:52ch;margin:0}
.sec3d-feat{list-style:none;padding:0;margin:26px 0 30px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sec3d-feat li{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(140,180,255,.16);
  font-size:14px;line-height:1.35;color:#dfe8fb}
.sec3d-feat b{display:block;color:#fff;font-weight:700;margin-bottom:2px}
.sec3d-feat .ic{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#6fc0ff;
  background:rgba(47,123,255,.16);border:1px solid rgba(111,192,255,.25)}
.sec3d-feat svg{width:16px;height:16px}
.sec3d-cta{display:flex;flex-wrap:wrap;gap:12px}
.sec3d-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 20px;border-radius:12px;font:700 15px/1 "PJS",sans-serif;
  text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}
.sec3d-btn.p{background:linear-gradient(135deg,#1f6bff,#0a4fe0);color:#fff;box-shadow:0 10px 30px -8px rgba(31,107,255,.7)}
.sec3d-btn.p:hover{transform:translateY(-2px);box-shadow:0 16px 36px -8px rgba(31,107,255,.85)}
.sec3d-btn.g{color:#e6eeff;border:1px solid rgba(160,190,255,.3);background:rgba(255,255,255,.04)}
.sec3d-btn.g:hover{background:rgba(255,255,255,.09)}
.sec3d-btn:focus-visible{outline:2px solid #7fc3ff;outline-offset:3px}

/* stage */
.sec3d-stage{position:relative;aspect-ratio:1.12/1;min-height:360px;perspective:1200px}
.sec3d-cv{position:absolute;inset:0;width:100%;height:100%;display:block}
.sec3d-hud{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:13px;
  background:rgba(8,22,60,.72);border:1px solid rgba(120,170,255,.28);box-shadow:0 18px 40px -16px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:12.5px;line-height:1.25;color:#cfe0ff;
  animation:sec3d-float 6s ease-in-out infinite;will-change:transform}
.sec3d-hud b{display:block;color:#fff;font-size:13.5px}
.sec3d-hud .dot{width:9px;height:9px;border-radius:50%;flex:none}
.sec3d-hud .ok{background:#22e39a;box-shadow:0 0 12px #22e39a}
.sec3d-hud .warn{background:#ffb020;box-shadow:0 0 12px #ffb020}
.sec3d-hud .blue{background:#3d9bff;box-shadow:0 0 12px #3d9bff}
.sec3d-hud.h1{top:6%;left:2%}
.sec3d-hud.h2{top:4%;right:1%;animation-delay:-2s}
.sec3d-hud.h3{bottom:16%;left:0;animation-delay:-4s}
@keyframes sec3d-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}

/* live camera card */
.sec3d-feed{position:absolute;z-index:3;right:0;bottom:-2%;width:min(38%,250px);border-radius:14px;overflow:hidden;
  border:1px solid rgba(120,170,255,.35);box-shadow:0 24px 50px -18px rgba(0,0,0,.85);background:#020818;
  transform:rotateY(-14deg) rotateX(6deg);transform-origin:right center;animation:sec3d-tilt 8s ease-in-out infinite}
@keyframes sec3d-tilt{0%,100%{transform:rotateY(-14deg) rotateX(6deg)}50%{transform:rotateY(-6deg) rotateX(3deg)}}
.sec3d-feed img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;filter:saturate(1.05) contrast(1.04)}
.sec3d-feed .scan{position:absolute;left:0;right:0;top:0;height:28%;pointer-events:none;
  background:linear-gradient(180deg,rgba(60,170,255,0),rgba(60,170,255,.22) 85%,rgba(140,220,255,.7) 100%);animation:sec3d-scan 3.2s linear infinite}
@keyframes sec3d-scan{0%{transform:translateY(-100%)}100%{transform:translateY(380%)}}
.sec3d-feed .box{position:absolute;border:1.5px solid #22e39a;border-radius:3px;box-shadow:0 0 10px rgba(34,227,154,.6);animation:sec3d-box 4s ease-in-out infinite}
.sec3d-feed .box::after{content:attr(data-l);position:absolute;left:-1px;top:-17px;font:700 9px/1 "PJS",sans-serif;
  background:#22e39a;color:#02150c;padding:3px 5px;border-radius:3px 3px 0 0;white-space:nowrap}
.sec3d-feed .b1{left:56%;top:8%;width:18%;height:22%}
.sec3d-feed .b2{left:8%;top:30%;width:40%;height:36%;border-color:#3d9bff;box-shadow:0 0 10px rgba(61,155,255,.6);animation-delay:-2s}
.sec3d-feed .b2::after{background:#3d9bff;color:#fff}
@keyframes sec3d-box{0%,100%{opacity:.35;transform:scale(.97)}40%,70%{opacity:1;transform:scale(1)}}
.sec3d-feed .bar{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;padding:7px 9px;
  font:700 10px/1 ui-monospace,Menlo,monospace;color:#fff;text-shadow:0 1px 2px #000;background:linear-gradient(180deg,rgba(0,0,0,.55),transparent)}
.sec3d-feed .rec{display:inline-flex;align-items:center;gap:5px}
.sec3d-feed .rec::before{content:"";width:7px;height:7px;border-radius:50%;background:#ff3b3b;animation:sec3d-blink 1.2s steps(2) infinite}
@keyframes sec3d-blink{50%{opacity:.15}}
.sec3d-feed .cap{position:absolute;left:0;right:0;bottom:0;padding:7px 9px;font:600 10.5px/1.2 "PJS",sans-serif;color:#dbe8ff;
  background:linear-gradient(0deg,rgba(2,8,24,.9),transparent)}

@media (max-width:980px){
  .sec3d-in{grid-template-columns:1fr}
  .sec3d-stage{order:-1;aspect-ratio:auto;height:min(92vw,460px);min-height:0}
}
@media (max-width:560px){
  .sec3d-feat{grid-template-columns:1fr}
  .sec3d-hud{font-size:11px;padding:8px 10px}.sec3d-hud b{font-size:12px}
  .sec3d-hud.h2{display:none}
  .sec3d-hud.h3{bottom:4%}
  .sec3d-feed{width:40%;bottom:0}
  .sec3d-feed .box::after,.sec3d-feed .cap{display:none}
}
@media (prefers-reduced-motion:reduce){
  .sec3d *,.sec3d *::before,.sec3d *::after{animation:none!important}
}
/* keep text readable against page-level light-theme heading / paragraph rules */
html body .sec3d h2{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important}
html body .sec3d h2 .g,html body .sec3d h2 .g *{color:#3aa6ff!important;-webkit-text-fill-color:#3aa6ff!important;background:none!important}
html body .sec3d .sec3d-lead{color:#b9c8e6!important;opacity:1!important}
html body .sec3d .sec3d-feat li,html body .sec3d .sec3d-feat li span{color:#dfe8fb!important}
html body .sec3d .sec3d-feat b{color:#fff!important}
html body .sec3d .sec3d-txt,html body .sec3d .sec3d-txt *{visibility:visible}
html body .sec3d h2{font:800 clamp(32px,4.4vw,56px)/1.04 "PJS",system-ui,sans-serif!important;letter-spacing:-.025em!important;text-transform:none!important}
html body .sec3d h2::before,html body .sec3d h2::after{content:none!important;display:none!important}
html body .sec3d .sec3d-feed img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;max-height:none!important}
html body .sec3d .sec3d-feed{height:auto!important}
