@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-DemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}

:root{
  font-family:Pofak,Tahoma,Arial,sans-serif;
  --star-navy:#071426;
  --star-navy-2:#0b1e35;
  --star-panel:#0d233e;
  --star-panel-2:#102a48;
  --star-line:#2b4664;
  --star-muted:#98adc7;
  --star-yellow:#ffc52e;
  --star-blue:#168cff;
  --star-green:#00bd8a;
  --star-red:#f34b50;
  --star-orange:#ffab20;
  --star-purple:#7659da;
}

html{scroll-behavior:smooth}
html{overflow-x:hidden}
body{font-family:Pofak,Tahoma,Arial,sans-serif;background:var(--star-navy);color:#f8fbff;direction:rtl}
.brand,.brand:hover,.brand:visited{color:inherit;text-decoration:none}
.brand strong{color:#fff}
.public-nav,.site-nav,.public-nav-actions{direction:rtl}
button,input,select,textarea{font-family:inherit}

/* Public landing page */
.public-site{background:#fff;color:#101b35}
.public-nav{
  max-width:1508px;
  margin:8px auto 0;
  min-height:70px;
  padding:12px 27px;
  display:flex;
  align-items:center;
  gap:24px;
  border:1px solid #28415f;
  border-radius:20px 20px 0 0;
  background:#071426f2;
  position:relative;
  z-index:5;
}
.public-brand{flex:none}
.public-brand .brand-mark{font-family:Arial,sans-serif;color:var(--star-yellow);font-size:47px;line-height:.75}
.public-brand .brand-mark img{width:44px;height:44px;object-fit:contain;display:block}
.public-brand strong{font:800 18px Arial,sans-serif;letter-spacing:.1px}
.public-brand small{font-size:7px;color:#e0e8f5;margin-top:4px}
.site-nav{flex:1;display:flex;align-items:center;justify-content:center;gap:27px}
.site-nav a{position:relative;color:#fff;text-decoration:none;font-size:13px;white-space:nowrap;padding:24px 0 18px}
.site-nav a:hover,.site-nav a.active{color:var(--star-yellow)}
.site-nav a.active:after{content:'';position:absolute;right:0;left:0;bottom:4px;height:3px;border-radius:4px;background:var(--star-yellow)}
.public-nav-actions{display:flex;align-items:center;gap:12px}
.language-switch,.nav-login,.nav-register{
  min-height:40px;
  padding:0 15px;
  border:1px solid #49617c;
  border-radius:8px;
  background:transparent;
  color:#fff;
}
.language-switch{display:flex;align-items:center;gap:8px;border-color:#263e5a}
.language-switch b{font:500 13px Arial,sans-serif}
.nav-login{min-width:83px}
.nav-register{min-width:100px;background:var(--star-yellow);border-color:var(--star-yellow);color:#111a2b;font-weight:800}
.nav-register:hover,.primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px #e6a70042}
.landing-hero{
  max-width:1508px;
  min-height:480px;
  margin:auto;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:1fr 1.08fr;
  align-items:center;
  overflow:hidden;
  border:1px solid #163655;
  border-top:0;
  background:radial-gradient(circle at 12% 20%,#0d2138 0%,#04101e 55%),#04101e;
}
.landing-hero:after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#061426f5 0%,#061426b4 31%,#06142635 66%,#0614260d);
}
.hero-copy{padding:38px 8% 30px 6%;direction:rtl;max-width:680px;z-index:1}
.hero-copy .eyebrow{font:600 11px Arial,sans-serif;color:#f9c730;direction:ltr}
.hero-copy h1{margin:16px 0 12px;font-size:clamp(33px,4vw,56px);line-height:1.45;font-weight:900;color:#fff}
.hero-copy h1 em{font-style:normal;color:#fff}
.hero-copy p{max-width:540px;margin:0;color:#e3e9f2;font-size:16px;line-height:2}
.hero-actions{display:flex;align-items:center;gap:20px;margin-top:26px}
.primary,.secondary,.danger-btn{border-radius:9px;border:0;padding:10px 18px;min-height:44px;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.primary{background:linear-gradient(135deg,#ffd34a,#f0a900);color:#141c2b;font-weight:800;box-shadow:0 9px 20px #d99e152f}
.hero-primary{min-width:154px}
.hero-primary span{font-size:20px;margin-right:8px}
.hero-secondary{display:inline-flex;align-items:center;justify-content:center;min-width:149px;min-height:44px;padding:0 18px;border:1px solid #fff;border-radius:9px;color:#fff;text-decoration:none;font-weight:600}
.hero-secondary:hover{background:#fff1}
.hero-visual{position:relative;align-self:stretch;min-height:480px;overflow:hidden;direction:ltr}
.hero-scene-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-speed-card{position:absolute;top:8%;left:50%;width:45%;z-index:6;display:flex;align-items:center;gap:9px;direction:rtl;padding:9px 13px;border:1px solid #6b85a2;border-radius:10px;background:#102b48df;box-shadow:0 12px 24px #00112466}
.hero-speed-card .bell{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#ffcb31;background:#ffcb3130;font-size:18px}
.hero-speed-card b,.hero-speed-card small,.hero-speed-card strong{display:block}
.hero-speed-card b{font-size:12px}
.hero-speed-card small{font-size:9px;color:#d2dce9;margin-top:2px}
.hero-speed-card strong{font:11px Arial,sans-serif;direction:ltr;color:#fff;margin-top:2px}

/* Hero grounded figures (phone / car+moto / dog / boy / device), positioned to match the reference composition precisely */
.hero-figure{position:absolute;display:flex;justify-content:center}
.hero-figure:before{content:'';position:absolute;bottom:-4%;left:50%;transform:translateX(-50%);width:78%;aspect-ratio:2.2/1;border-radius:50%;background:radial-gradient(ellipse at center,#0b1424 0%,#0b1424 42%,transparent 78%);z-index:0}
.hero-figure img{position:relative;z-index:2;display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 16px 16px #000b)}
.hero-figure--phone{left:20%;width:32%;bottom:10%;z-index:3}
.hero-figure--carmoto{left:2%;width:60%;bottom:22%;z-index:4}
.hero-figure--carmoto:before{width:96%;left:58%}
.hero-figure--carmoto .hero-motor-img{position:absolute;right:-10%;bottom:-4%;width:52%;z-index:3;filter:drop-shadow(0 12px 14px #000c)}
.hero-figure--carmoto .hero-car-img{position:relative;z-index:2;width:100%}
.hero-figure--boy{left:65%;width:16%;bottom:16%;z-index:3}
.hero-figure--dog{left:56%;width:17%;bottom:20%;z-index:4}
.hero-figure--device{left:76%;width:17%;bottom:20%;z-index:4}

/* Radar-style ground rings: crisp base ellipse + a single expanding pulse, matching a tracker/radar display */
.hero-radar{position:absolute;bottom:-6%;left:50%;transform:translateX(-50%);width:82%;aspect-ratio:2.4/1;z-index:1;pointer-events:none}
.hero-radar--wide{width:88%;left:56%;bottom:-6%}
.hero-radar--sm{width:70%;bottom:-5%}
.hero-radar--pin{width:200%;aspect-ratio:2.2/1;bottom:-14%}
.hero-radar:before{content:'';position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--rc,#38b6ff);box-shadow:0 0 10px 0 var(--rc,#38b6ff),inset 0 0 10px 0 var(--rc,#38b6ff);opacity:.85}
.hero-radar:after{content:'';position:absolute;inset:26% 30%;border-radius:50%;background:radial-gradient(ellipse at center,var(--rc,#38b6ff) 0%,transparent 75%);opacity:.55;filter:blur(1px)}
.hero-radar i{position:absolute;inset:0;margin:auto;border-radius:50%;border:1.5px solid var(--rc,#38b6ff);opacity:.75;animation:heroRadarPulse 2.6s cubic-bezier(.25,.6,.35,1) infinite}
@keyframes heroRadarPulse{0%{transform:scale(.72);opacity:.75}100%{transform:scale(1.55);opacity:0}}

.hero-pin-float{position:absolute;left:78%;top:24%;width:15%;z-index:6;animation:heroPinBob 3.2s ease-in-out infinite}
.hero-pin-float img{position:relative;z-index:2;display:block;width:100%;height:auto;filter:drop-shadow(0 0 18px #168cffb0)}
@keyframes heroPinBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.feature-strip{
  position:relative;
  z-index:2;
  max-width:1380px;
  min-height:84px;
  margin:-27px auto 0;
  padding:9px 30px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  align-items:center;
  border-radius:16px;
  background:#fff;
  box-shadow:0 13px 34px #1e355021;
  color:#101b35;
}
.feature-item{display:grid;grid-template-columns:38px 1fr;grid-template-rows:1fr 1fr;align-items:center;column-gap:7px;padding:8px 10px;border-left:1px solid #e2e7ef;text-align:right;min-width:0}
.feature-item b{font-size:12px;line-height:1.3;white-space:normal}
.feature-item small{font-size:9.5px;color:#66748b}
.feature-item:first-child{border-left:0}
.feature-icon{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font:800 21px Arial,sans-serif}
.feature-icon.blue{color:#078bdc;background:#e9f7ff}.feature-icon.green{color:#00a476;background:#e8fff6}.feature-icon.orange{color:#f29d00;background:#fff7e5}.feature-icon.red{color:#ef4247;background:#fff0f0;font-size:11px}.feature-icon.purple{color:#6752d3;background:#f0edff}.feature-icon.violet{color:#8b58d0;background:#f7efff}
.feature-icon-img{grid-row:1/3;width:44px;height:44px;object-fit:contain;flex:none}
.feature-icon-img.sos{width:44px;height:44px;object-fit:contain}
.panels-section{padding-top:58px}
.public-section{max-width:1380px;margin:auto;padding:60px 30px}
.section-heading{text-align:center;margin-bottom:30px}
.section-heading h2{margin:9px 0;font-size:30px;font-weight:900;color:#101b35}
.section-heading p{margin:0;color:#687890;font-size:14px}
.dark-eyebrow{color:#7659ce}
.panel-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.role-panel{overflow:hidden;border:1px solid #d6deeb;border-radius:12px;background:#f7f9fd;box-shadow:0 8px 18px #223b5a0e}
.role-panel img{display:block;width:100%;aspect-ratio:260/294;object-fit:cover}
.role-panel button{display:block;width:calc(100% - 26px);margin:0 13px 13px;min-height:39px;padding:7px 4px;border:0;border-radius:7px;background:#0a9ca4;color:#fff;font-size:11px;font-weight:800}
.role-panel:nth-child(2) button{background:#ff9411}.role-panel:nth-child(3) button{background:#1769c7}.role-panel:nth-child(4) button{background:#007961}.role-panel:nth-child(5) button{background:#5c46c1}
.role-panel button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.catalog-section{background:#f8fbff;border-radius:27px}
.plans-section{background:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.product-grid article{min-height:210px;padding:20px;border:1px solid #d6deeb;border-radius:14px;background:#fff;color:#101b35;box-shadow:0 10px 20px #1c38520c}
.product-grid article>span{font-size:29px}
.product-grid h3{margin:11px 0 7px;font-size:17px}
.product-grid p{min-height:45px;color:#66758d;font-size:12px;line-height:1.9}
.product-grid .primary{min-height:37px;margin-top:10px;font-size:12px}
.product-grid ul{padding:0 18px;margin:10px 0 0;color:#64728a;font-size:11px;line-height:2}
.trust-section{max-width:none;padding:25px 8%;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#091b32;color:#fff}
.trust-card{display:grid;justify-items:center;gap:4px;padding:14px;border-left:1px solid #3b5977}
.trust-card:first-child{border-left:0}
.trust-number{font:800 25px Arial,sans-serif;color:#fff;direction:ltr}
.trust-card b{font-size:13px}.trust-card small{font-size:10px;color:#9db1ca}
.status-section{padding-bottom:40px}
.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;border-top:1px solid #e0e6ee}
.contact-section h2{margin:14px 0;font-size:30px;line-height:1.6;color:#101b35}
.contact-section p{color:#718099;font-size:14px;line-height:2}
.public-form{display:grid;gap:12px;padding:24px;border:1px solid #d8e1ed;border-radius:16px;background:#f7f9fc}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.public-form input,.public-form select,.public-form textarea{width:100%;border:1px solid #ccd7e6;border-radius:8px;background:#fff;color:#101b35;padding:12px 14px;outline:0}
.public-form input:focus,.public-form select:focus,.public-form textarea:focus{border-color:#4a87d9;box-shadow:0 0 0 3px #4a87d91c}
.public-form textarea{min-height:105px;resize:vertical}
.public-form .primary{justify-self:start}
.public-footer{max-width:1380px;margin:auto;padding:23px 30px;border-top:1px solid #e1e6ee;color:#75839b;font-size:11px;text-align:center}

/* Login and registration pages */
.auth-page{min-height:100vh;padding:13px;background:#071426;color:#fff}
.auth-shell{max-width:1505px;min-height:calc(100vh - 26px);margin:auto;display:grid;grid-template-columns:1fr 1.02fr;overflow:hidden;border:1px solid #53647d;border-radius:19px;background:#061326;box-shadow:0 20px 60px #0006}
.auth-art{position:relative;min-height:700px;overflow:hidden;background:#061326}
.auth-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#06132600 56%,#061326 100%);pointer-events:none}
.auth-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.auth-card{display:flex;flex-direction:column;padding:18px 31px 32px;background:radial-gradient(circle at 48% 0,#102a49 0,#071426 44%);direction:rtl}
.auth-card-top{display:flex;align-items:start;justify-content:space-between;direction:ltr}
.auth-brand{direction:ltr}.auth-brand .brand-mark{font-size:42px}.auth-brand strong{font-size:17px}
.auth-brand .brand-mark img{width:40px;height:40px;object-fit:contain;display:block}
.auth-card-top .language-switch{direction:ltr}
.auth-card #auth-content{width:100%;max-width:430px;margin:auto}
.auth-heading{text-align:center;margin:4px 0 23px}.auth-heading h1{margin:0 0 8px;font-size:28px}.auth-heading p{margin:0;color:#c3cfdf;font-size:12px}
.auth-form{display:grid;gap:12px}
.auth-field{position:relative}
.auth-field input{width:100%;height:52px;padding:0 45px 0 16px;border:1px solid #60718a;border-radius:9px;background:#071426;color:#fff;text-align:right;outline:0}
.auth-field input::placeholder{color:#c4cedd}.auth-field input:focus{border-color:var(--star-yellow);box-shadow:0 0 0 3px #ffc52e22}
.auth-field .field-icon{position:absolute;right:15px;top:14px;color:#d8e1ef;font:18px Arial,sans-serif}.auth-field .toggle-password{position:absolute;left:12px;top:11px;border:0;background:none;color:#e4ecf8;font-size:18px}
.auth-submit{width:100%;height:51px;margin-top:6px}
.auth-links{display:flex;justify-content:space-between;align-items:center;margin:3px 0;font-size:11px;color:#e2e8f1}.auth-links a{color:var(--star-yellow);text-decoration:none}
.auth-divider{display:flex;align-items:center;gap:15px;margin:19px 0;color:#b1bfd2;font-size:12px}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#4b607b}
.social-login{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.social-login button{height:45px;border:1px solid #536883;border-radius:8px;background:#0b1b30;color:#fff;font:21px Arial,sans-serif}.social-login button:hover{background:#142b47}
.auth-bottom{text-align:center;margin-top:16px;color:#c6d1e0;font-size:12px}.auth-bottom button{padding:0;border:0;background:none;color:var(--star-yellow);font-weight:800}
.register-steps{display:flex;justify-content:center;align-items:center;margin:0 auto 21px;direction:ltr}.register-step{display:flex;align-items:center;gap:7px;color:#abb9cc;font-size:10px}.register-step i{width:26px;height:26px;display:grid;place-items:center;border:1px solid #60718a;border-radius:50%;font-style:normal}.register-step.active{color:var(--star-yellow);font-weight:800}.register-step.active i{background:var(--star-yellow);border-color:var(--star-yellow);color:#152039}.register-step:after{content:'';width:65px;height:1px;margin:0 8px;background:#64758c}.register-step:last-child:after{display:none}
.auth-note{text-align:center;margin-top:10px;color:#94a8c1;font-size:10px;line-height:1.9}

/* Dashboard shell */
.app-shell{display:none;min-height:100vh;background:var(--star-navy);color:#eef4ff}
.app-shell.active{display:flex;flex-direction:row-reverse}
.dashboard-sidebar{width:255px;flex:none;padding:21px 14px;border-left:1px solid #203a58;background:#091a30;display:flex;flex-direction:column;gap:12px}
.dashboard-sidebar .brand{margin:2px 10px 5px}.dashboard-sidebar .brand-mark{font-size:38px}.dashboard-sidebar .brand strong{font-size:16px}
.dashboard-sidebar .brand-mark img{width:34px;height:34px;object-fit:contain;display:block}
.dashboard-sidebar .profile{display:flex;align-items:center;gap:9px;margin:0;border:1px solid #294463;border-radius:12px;background:#0e2540;padding:10px;color:#dce6f4}
.profile-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#e7caa5,#693d2b);font-size:17px}
.dashboard-sidebar .profile small{display:block;margin-top:3px;color:#9ab0ca;font-size:10px}
.dashboard-sidebar nav{display:grid;gap:4px;overflow:auto}.dashboard-sidebar nav button,.dashboard-sidebar .logout{padding:11px 13px;border:0;border-radius:9px;background:transparent;color:#afc0d6;font:inherit;text-align:right;white-space:nowrap}
.dashboard-sidebar nav button:hover,.dashboard-sidebar nav button.active{background:#173657;color:#fff}.dashboard-sidebar nav button.active{box-shadow:inset -3px 0 var(--star-yellow)}
.dashboard-sidebar .logout{margin-top:auto;color:#ff9090}.dashboard-sidebar footer{padding:8px 10px 0;color:#7187a4;font-size:10px}
.dashboard-main{position:relative;display:flex;flex:1;min-width:0;flex-direction:column;background:radial-gradient(circle at 45% -20%,#19385b 0,#071426 39%)}
.dashboard-topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #203952;background:#071426d9}
.dashboard-brand-area{display:flex;align-items:center;gap:13px}.dashboard-brand-area .brand-mark{font-size:39px}.dashboard-brand-area strong{font:800 17px Arial,sans-serif}.dashboard-brand-area small{display:block;color:#d1ddec;font-size:7px;margin-top:3px}
.dashboard-brand-area .brand-mark img{width:34px;height:34px;object-fit:contain;display:block}
.dashboard-title{direction:rtl}.dashboard-title small{display:block;color:#9eb1c9;font-size:10px}.dashboard-title h1{margin:3px 0 0;font-size:21px}
.dashboard-topbar .topbar-tools{display:flex;align-items:center;gap:15px}.dashboard-search{width:286px;height:38px;border:1px solid #354e6e;border-radius:9px;background:#08192e;color:#dce6f2;padding:0 14px;text-align:right}.dashboard-search::placeholder{color:#a4b4ca}
.dashboard-notification{position:relative;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#fff;font-size:23px}.dashboard-notification:after{content:'1';position:absolute;top:0;right:1px;min-width:14px;height:14px;display:grid;place-items:center;border-radius:50%;background:#f44949;color:#fff;font:10px Arial}
.dashboard-content{width:100%;max-width:1450px;margin:auto;padding:22px 27px 32px}.dashboard-content #app{min-width:0}
.dashboard-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 340px;grid-template-areas:'devices map summary' 'devices map events';gap:15px;direction:ltr}
.dashboard-grid>*{direction:rtl;min-width:0}.dashboard-devices-card{grid-area:devices}.dashboard-map-card{grid-area:map;min-height:480px}.dashboard-summary-card{grid-area:summary}.dashboard-events-card{grid-area:events}
.dashboard-card{padding:16px;border:1px solid #284664;border-radius:15px;background:linear-gradient(145deg,#0f2945,#0b1d34);box-shadow:0 18px 45px #0005}
.dashboard-card h2{margin:0;font-size:15px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.card-heading small{color:#9ab0ca;font-size:10px}
.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.dashboard-kpi{position:relative;min-height:101px;padding:12px;border:1px solid #324c6a;border-radius:11px;background:#0b1f37}.dashboard-kpi span{display:block;color:#a9bbd0;font-size:10px}.dashboard-kpi strong{display:block;margin-top:7px;font:800 27px Arial,sans-serif;direction:ltr;text-align:right}.dashboard-kpi .kpi-icon{position:absolute;left:11px;top:24px;width:35px;height:35px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:18px}.dashboard-kpi.success{color:#42e0a8}.dashboard-kpi.danger{color:#ff676c}.dashboard-kpi.blue{color:#38a0ff}.dashboard-kpi.warn{color:#ffb326}
.dashboard-map{height:383px;overflow:hidden;border:1px solid #274664;border-radius:11px;background:#0a2039 url('/assets/media/dashboard-map.webp') center/cover no-repeat}.dashboard-map .leaflet-container{background:#0b2039}.dashboard-map .leaflet-control{direction:ltr}.dashboard-map .leaflet-tile{filter:saturate(.7) hue-rotate(160deg) brightness(.72)}
.map-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.map-quick-actions button{min-height:57px;padding:7px;border:1px solid #365474;border-radius:9px;background:#0d2541;color:#dde8f7;font-size:11px}.map-quick-actions button:hover{background:#173a5e}
.device-list,.events-list{display:grid;gap:8px}.device-list-item{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #263f5d;border-radius:9px;background:#0b1f37}.device-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#183653;font-size:19px}.device-list-item>div:nth-child(2){flex:1}.device-list-item b{display:block;font-size:11px}.device-list-item small{display:block;margin-top:3px;color:#88a0bc;font-size:9px}.device-list-item .online{color:#42e0a8;font-size:10px}
.event-list-item{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #263f5d;border-radius:9px;background:#0b1f37}.event-list-item .event-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#17395b;font-size:15px}.event-list-item.warning .event-icon{color:#ffb323;background:#4e3a17}.event-list-item.danger .event-icon{color:#ff7377;background:#54232e}.event-list-item.success .event-icon{color:#45dfa8;background:#164739}.event-list-item>div:nth-child(2){flex:1}.event-list-item b{display:block;font-size:11px}.event-list-item small{display:block;margin-top:3px;color:#92a8c2;font-size:9px}.event-time{color:#a5b9cf;font:10px Arial,sans-serif;direction:ltr}
.dashboard-empty{padding:30px;text-align:center;color:#94a9c1}
.dashboard-content .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.dashboard-content .wide{grid-column:span 2}.dashboard-content .card{background:linear-gradient(145deg,var(--star-panel-2),var(--star-panel));border-color:var(--star-line)}.dashboard-content .map{background:#152846}

@media(max-width:1200px){
  .site-nav{gap:16px}.site-nav a{font-size:12px}
  .panel-grid{grid-template-columns:repeat(3,1fr)}
  .dashboard-sidebar{width:225px}.dashboard-search{width:220px}.dashboard-grid{grid-template-columns:225px minmax(0,1fr) 300px}
}
@media(max-width:920px){
  .public-nav{flex-wrap:wrap;border-radius:0;margin-top:0}.site-nav{flex-basis:100%;justify-content:flex-start;overflow:auto}.site-nav a{padding:10px 0}
  .landing-hero{grid-template-columns:1fr;min-height:640px}.hero-copy{max-width:none;padding:45px 9% 0}.hero-visual{position:absolute;inset:auto 0 0;height:450px;min-height:0;opacity:.84}.hero-copy h1{font-size:42px}.hero-pin-float{left:70%}
  .feature-strip{grid-template-columns:repeat(3,1fr);margin:0 12px;padding:9px}.feature-item:nth-child(4){border-left:0}
  .dashboard-grid{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:'map summary' 'map events' 'devices devices'}.dashboard-sidebar{width:205px}
}
@media(max-width:700px){
  .public-nav{padding:12px 15px}.public-brand .brand-mark{font-size:39px}.public-brand strong{font-size:16px}.site-nav{gap:18px}.public-nav-actions{gap:5px}.language-switch,.nav-login,.nav-register{min-height:35px;padding:0 10px;font-size:11px}.nav-login{min-width:55px}.nav-register{min-width:67px}
.public-nav .public-brand .brand-mark img{width:34px;height:34px}
  .landing-hero{min-height:625px}.hero-copy{padding:36px 22px 0}.hero-copy h1{font-size:35px}.hero-copy p{font-size:14px}.hero-actions{gap:9px}.hero-primary,.hero-secondary{min-width:0;flex:1;font-size:12px}.hero-visual{height:385px}.hero-speed-card{left:13%;top:22px;transform:scale(.78);transform-origin:left top}.hero-pin-float{left:66%;top:12%;width:12%}.hero-figure--boy{display:none}
  .feature-strip{grid-template-columns:repeat(2,1fr);margin:0 9px;border-radius:12px}.feature-item{border-left:0;border-bottom:1px solid #e2e7ee;padding:8px}.feature-item:nth-last-child(-n+2){border-bottom:0}
  .public-section{padding:43px 15px}.section-heading h2{font-size:25px}.panel-grid{grid-template-columns:repeat(2,1fr);gap:10px}.role-panel button{font-size:10px;padding:8px 3px}.product-grid{grid-template-columns:1fr 1fr}.product-grid article{padding:15px}.product-grid h3{font-size:14px}.product-grid p{font-size:11px}.trust-section{grid-template-columns:repeat(2,1fr);padding:16px}.trust-card{border-left:0;border-bottom:1px solid #3b5977}.trust-card:nth-last-child(-n+2){border-bottom:0}.contact-section{grid-template-columns:1fr;gap:22px}.contact-section h2{font-size:25px}.form-two{grid-template-columns:1fr}.public-form .primary{justify-self:stretch}
  .auth-card{padding:17px}.auth-heading h1{font-size:24px}
  .app-shell.active{display:block}.dashboard-sidebar{width:100%;padding:10px;gap:7px}.dashboard-sidebar .profile,.dashboard-sidebar footer{display:none}.dashboard-sidebar nav{display:flex;overflow:auto}.dashboard-sidebar nav button{padding:9px;font-size:11px}.dashboard-sidebar .logout{display:none}.dashboard-topbar{height:auto;min-height:70px;padding:12px 15px}.dashboard-topbar .topbar-tools{gap:6px}.dashboard-search{width:130px;height:34px}.dashboard-title h1{font-size:18px}.dashboard-content{padding:14px 10px}.dashboard-grid{grid-template-columns:1fr;grid-template-areas:'summary' 'map' 'events' 'devices'}.dashboard-map{height:350px}.map-quick-actions{grid-template-columns:1fr}
  .dashboard-content .grid{grid-template-columns:1fr}.dashboard-content .wide{grid-column:span 1}
}

/* Precision layout pass for the supplied STAR GPS reference screens. */
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:Pofak;src:url('/assets/fonts/pofak/Pofak-Thin.woff2') format('woff2');font-weight:200;font-style:normal;font-display:swap}

/* The panel artwork already contains its own title, illustration and CTA. */
.role-panel{position:relative;padding:0;border-radius:12px}
.role-panel img{position:relative;z-index:1}
.role-panel .role-panel-hit{position:absolute;inset:0;z-index:2;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:12px;background:transparent!important;color:transparent;font-size:0;cursor:pointer}
.role-panel .role-panel-hit:hover{filter:none;transform:none}

/* Auth shell */
.auth-shell{position:relative;direction:ltr;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:calc(100vh - 26px);height:calc(100vh - 26px)}
.auth-art,.auth-card{direction:rtl;min-height:0}
.auth-art img{object-position:center center}
.auth-card{position:relative;margin:44px 28px 11px 10px;padding:22px 22px 18px;border:1px solid #29445f;border-radius:16px;background:radial-gradient(circle at 48% 0,#102a49 0,#071426 58%);overflow:auto}
.auth-shell>.auth-language{position:absolute;top:12px;right:17px;z-index:5;min-height:31px;padding:0 11px;border-color:#29445f;background:#071426e8;box-shadow:none}
.auth-card #auth-content{width:100%;max-width:340px;margin:0 auto}
.auth-heading{margin:0 0 18px}.auth-heading h1{font-size:22px;line-height:1.4}.auth-heading p{font-size:11px}
.auth-form{gap:10px}
.auth-field input{height:42px;padding-right:42px;border-radius:8px;font-size:12px}
.auth-field .field-icon{right:13px;top:11px;font-size:16px}
.auth-field .toggle-password{top:7px;left:9px;font-size:17px}
.auth-links{font-size:10px;margin:0}
.auth-links input{accent-color:var(--star-yellow)}
.auth-submit{height:39px;min-height:39px;margin-top:4px;font-size:12px}
.auth-divider{margin:10px 0;font-size:11px}
.social-login{gap:8px}.social-login button{height:43px;font-size:20px}
.auth-bottom{margin-top:8px;font-size:11px}
.auth-note{margin-top:4px;font-size:9px}
.auth-card .register-steps{margin:0 auto 15px;direction:rtl}
.register-step{gap:5px;font-size:9px;white-space:nowrap}
.register-step i{width:24px;height:24px}
.register-step:after{width:43px;margin:0 6px}
.auth-setup{border:1px solid #304b68;border-radius:8px;background:#0a1c31;color:#e1eafa}
.auth-setup summary{padding:8px 10px;cursor:pointer;list-style:none;font-size:10px}
.auth-setup summary::-webkit-details-marker{display:none}
.auth-setup summary:before{content:'+';display:inline-grid;place-items:center;width:17px;height:17px;margin-left:7px;border:1px solid #60718a;border-radius:50%;color:var(--star-yellow);font:14px Arial,sans-serif;vertical-align:-3px}
.auth-setup[open] summary:before{content:'−'}
.auth-setup summary small{float:left;color:#9bb0c8;font-size:8px;margin-top:2px}
.auth-setup-fields{display:grid;gap:8px;padding:0 10px 10px}
.auth-setup-fields .input{height:37px;padding:0 10px;font-size:11px}

/* Desktop dashboard: a full-width top bar with a right navigation rail. */
.app-shell.active{display:grid;grid-template-columns:minmax(0,1fr) 171px;grid-template-rows:64px minmax(0,1fr);direction:ltr;position:relative;min-height:calc(100vh - 14px);height:calc(100vh - 14px);margin:7px 14px;border:1px solid #3b536d;border-radius:17px;overflow:hidden;background:#071426}
.dashboard-main{display:contents}
.dashboard-topbar{grid-column:1/-1;grid-row:1;position:relative;height:auto;min-height:0;padding:0 20px;border-bottom:1px solid #203952;background:#071426f2;direction:ltr;z-index:20}
.dashboard-title{display:none}
.dashboard-topbar .topbar-tools{position:static;display:block;flex:1;min-width:0;height:100%;direction:ltr}
.dashboard-brand-area{position:absolute;right:55px;top:10px;display:flex;align-items:center;gap:9px;direction:ltr}
.dashboard-brand-area .brand-mark{font-size:36px}.dashboard-brand-area strong{font-size:16px}.dashboard-brand-area small{font-size:6px}
.dashboard-brand-area .brand-mark img{width:32px;height:32px}
.dashboard-topbar:after{content:'☰';position:absolute;right:17px;top:18px;color:#dce8f8;font:22px/1 Arial,sans-serif}
.dashboard-search{position:absolute;left:50%;top:15px;width:286px;height:36px;transform:translateX(-50%);direction:rtl}
.dashboard-notification{position:absolute;left:225px;top:14px;width:38px;height:38px}
.topbar-profile{position:absolute;left:20px;top:10px;display:flex;align-items:center;gap:8px;direction:ltr;color:#eef4ff}
.topbar-profile>span:last-child{direction:rtl;text-align:right}.topbar-profile b{display:block;font-size:12px}.topbar-profile small{display:block;margin-top:2px;color:#9ab0ca;font-size:9px}
.topbar-profile .profile-avatar{width:35px;height:35px;font-size:15px}
.dashboard-topbar>.connection{display:none}
.dashboard-sidebar{grid-column:2;grid-row:2;width:auto;height:100%;padding:12px 8px 10px;border-left:1px solid #203a58;background:#091a30;gap:8px;direction:rtl;overflow:hidden}
.dashboard-sidebar>.brand,.dashboard-sidebar>.profile{display:none}
.dashboard-sidebar nav{flex:1;min-height:0;display:grid;align-content:start;gap:2px;overflow:auto}
.dashboard-sidebar nav button,.dashboard-sidebar .logout{padding:9px 9px;border-radius:8px;font-size:11px}
.dashboard-sidebar footer{padding:7px 5px 0;font-size:8px}
.dashboard-content{grid-column:1;grid-row:2;width:100%;max-width:none;height:100%;min-width:0;margin:0;padding:10px 12px 14px;overflow:auto;background:radial-gradient(circle at 45% -30%,#19385b 0,#071426 44%)}
.dashboard-grid{height:100%;min-height:424px;grid-template-columns:264px minmax(0,1fr) 338px;grid-template-rows:194px minmax(0,1fr);grid-template-areas:'devices map summary' 'devices map events';gap:12px;direction:ltr}
.dashboard-grid>*{direction:rtl;min-width:0;min-height:0;overflow:hidden}
.dashboard-devices-card{grid-row:1/3;display:flex;flex-direction:column}
.dashboard-map-card{grid-row:1/3;position:relative;padding:0;min-height:0}
.dashboard-summary-card,.dashboard-events-card{min-height:0}
.dashboard-card{padding:14px;border-radius:14px}
.dashboard-card h2{font-size:14px}.card-heading{margin-bottom:10px}.card-heading small{font-size:9px}
.dashboard-devices-card .device-list{flex:1;min-height:0;overflow:hidden}
.dashboard-devices-card .device-list-item{padding:8px;gap:8px}
.dashboard-devices-card .device-avatar{width:33px;height:33px;font-size:17px}
.dashboard-wide-button{width:100%;min-height:36px;margin-top:10px;padding:7px;font-size:10px}
.dashboard-map-card .card-heading{position:absolute;top:13px;right:16px;left:16px;z-index:500;margin:0}
.dashboard-map{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:14px;background-color:#0a2039}
.dashboard-map .leaflet-container{width:100%;height:100%;border-radius:14px}
.dashboard-map .leaflet-tile{filter:saturate(.7) hue-rotate(160deg) brightness(.72)}
.dashboard-map-card .map-quick-actions{position:absolute;left:50%;bottom:14px;z-index:500;width:310px;margin:0;transform:translateX(-50%);grid-template-columns:repeat(3,1fr)}
.dashboard-map-card .map-quick-actions button{min-height:53px;background:#0b1f37e8}
.dashboard-summary-card{padding:13px}.dashboard-summary-card .dashboard-kpi-grid{gap:8px}.dashboard-summary-card .dashboard-kpi{min-height:76px;padding:10px}.dashboard-summary-card .dashboard-kpi strong{font-size:24px;margin-top:4px}.dashboard-summary-card .dashboard-kpi .kpi-icon{top:19px;width:31px;height:31px;font-size:16px}
.dashboard-events-card{padding:13px}.dashboard-events-card .event-list-item{padding:7px;gap:7px}.dashboard-events-card .event-list-item .event-icon{width:28px;height:28px}.dashboard-events-card .event-list-item b{font-size:10px}.dashboard-events-card .event-list-item small{font-size:8px}.dashboard-events-card .event-time{font-size:9px}

@media(max-width:1200px) and (min-width:921px){
  .app-shell.active{grid-template-columns:minmax(0,1fr) 185px}
  .dashboard-grid{grid-template-columns:225px minmax(0,1fr) 300px}
  .dashboard-search{width:250px}
}

@media(max-width:920px){
  .app-shell.active{display:block;min-height:100vh;height:auto;margin:0;border:0;border-radius:0;overflow:visible}
  .dashboard-main{display:block}
  .dashboard-topbar{height:auto;min-height:70px;padding:12px 15px}
  .dashboard-brand-area{right:47px;top:11px}.dashboard-topbar:after{right:14px;top:18px}
  .dashboard-search{left:auto;right:15px;top:50px;width:220px;transform:none}
  .dashboard-notification{left:15px;top:13px}
  .topbar-profile{left:64px;top:13px}
  .dashboard-topbar>.connection{display:none}
  .dashboard-sidebar{width:100%;height:auto;padding:10px;overflow:visible;border-left:0;border-bottom:1px solid #203a58}
  .dashboard-sidebar nav{display:flex;overflow:auto}
  .dashboard-content{display:block;height:auto;overflow:visible;padding:14px 10px 18px}
  .dashboard-grid{height:auto;min-height:0;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:auto;grid-template-areas:'map summary' 'map events' 'devices devices'}
  .dashboard-map-card{min-height:480px}
}

@media(max-width:700px){
  .auth-shell{height:auto;min-height:calc(100vh - 26px);grid-template-columns:1fr}
  .auth-art{display:none}
  .auth-card{margin:0;padding:56px 17px 20px;border:0;border-radius:0;min-height:calc(100vh - 26px);overflow:visible}
  .auth-shell>.auth-language{top:14px;right:17px}
  .auth-card #auth-content{max-width:430px}
}

@media(max-width:700px){
  .auth-card{padding:56px 17px 17px}
  .auth-shell>.auth-language{right:17px}
  .dashboard-brand-area{right:43px}.dashboard-brand-area strong{font-size:14px}
  .dashboard-search{right:15px;width:calc(100% - 30px);top:53px}
  .dashboard-topbar{padding-bottom:55px}
  .dashboard-notification{left:15px}
  .topbar-profile{left:64px}
  .dashboard-sidebar{padding:10px 8px}
  .dashboard-grid{grid-template-columns:1fr;grid-template-areas:'summary' 'map' 'events' 'devices'}
  .dashboard-map-card{min-height:390px}
  .dashboard-map-card .map-quick-actions{width:calc(100% - 28px);grid-template-columns:repeat(3,1fr)}
}

/* Final containment and responsive pass. Keep one intentional scroll surface. */
html{max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
body.dashboard-mode{overflow:hidden}
.auth-page{overflow:auto}
.auth-card{overflow:visible}
.dashboard-main{min-width:0;min-height:0}
.dashboard-content{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
.dashboard-content::-webkit-scrollbar,.dashboard-sidebar nav::-webkit-scrollbar{width:7px;height:7px}
.dashboard-content::-webkit-scrollbar-track,.dashboard-sidebar nav::-webkit-scrollbar-track{background:#071426}
.dashboard-content::-webkit-scrollbar-thumb,.dashboard-sidebar nav::-webkit-scrollbar-thumb{background:#315171;border-radius:10px}
.dashboard-content::-webkit-scrollbar-thumb:hover,.dashboard-sidebar nav::-webkit-scrollbar-thumb:hover{background:#4a7198}
#app{min-width:0;min-height:0}
.dashboard-grid{min-width:0}
.dashboard-map-card{isolation:isolate}
.dashboard-map-card .dashboard-map{min-width:0;min-height:0}
.dashboard-map-card .leaflet-container{position:relative;z-index:0;background:#0b2039 url('/assets/media/dashboard-map.webp') center/cover no-repeat}
.dashboard-map-card .leaflet-control-container{z-index:10}
.dashboard-map-card .map-quick-actions{pointer-events:auto}
.dashboard-map-card .map-quick-actions button{cursor:pointer}
.leaflet-container img{max-width:none}

@media(min-width:921px){
  .app-shell.active{height:calc(100dvh - 14px);min-height:0}
  .dashboard-content{height:100%;min-height:0}
  .dashboard-grid{height:100%;min-height:424px}
  .dashboard-card{min-width:0}
}

@media(max-width:920px){
  body.dashboard-mode{overflow-x:hidden;overflow-y:auto}
  .auth-page{padding:0}
  .auth-shell{min-height:100dvh}
  .dashboard-content{scrollbar-gutter:auto}
  .dashboard-grid{width:100%;max-width:100%}
  .dashboard-card{min-width:0}
}

@media(max-width:700px){
  .auth-card{overflow:visible}
  .public-site{overflow-x:hidden}
  .public-nav{max-width:100%;overflow:hidden}
  .landing-hero,.feature-strip,.public-section{max-width:100%}
  .product-grid,.panel-grid{min-width:0}
  .dashboard-content{padding-left:10px;padding-right:10px}
  .dashboard-map-card .dashboard-map{min-height:390px}
}

/* ================= Landing v2: hero badges, categories, key features, solutions, stats, CTA, footer ================= */
.hero-copy h1 em{color:var(--star-yellow);font-weight:900}
.hero-copy p{line-height:1.9}
.hero-badges{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:30px;padding-top:22px;border-top:1px solid #24405f}
.hero-badge{display:flex;align-items:center;gap:9px;direction:rtl}
.hero-badge-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;background:#ffffff14;color:var(--star-yellow);font-size:15px}
.hero-badge b{display:block;font-size:12px;color:#fff}
.hero-badge small{display:block;margin-top:2px;font-size:10px;color:#a9bbd2}

.heading-ornament{display:inline-block;font:800 15px Arial,sans-serif;color:#101b35;letter-spacing:.2px}
.light-heading .heading-ornament{color:var(--star-yellow)}
.section-heading{text-align:center;margin-bottom:34px}
.section-heading p{margin:8px 0 0;color:#687890;font-size:13px}

/* Device categories */
.categories-section{background:#f6f8f9;border-radius:22px}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.category-card{position:relative;padding:24px 14px 46px;border:1px solid #e5eaf1;border-radius:14px;background:#fff;text-align:center;box-shadow:0 10px 22px #1c38520a;transition:transform .15s ease,box-shadow .15s ease}
.category-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px #1c385218}
.category-art{display:block;width:132px;height:120px;object-fit:contain;margin:0 auto 10px}
.category-card h3{margin:0;font-size:15px;color:#101b35}
.category-arrow{position:absolute;left:50%;bottom:14px;transform:translateX(50%);width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff2d9;color:var(--star-orange);font-size:16px;cursor:pointer;transition:background .15s ease}
.category-arrow:hover{background:var(--star-yellow);color:#171a24}

/* Key features (dark) */
.keyfeatures-section{padding-top:20px;padding-bottom:20px}
.keyfeatures-panel{padding:34px 30px;border:1px solid #1c3350;border-radius:22px;background:#070f1c url('/assets/media/kf-panel-bg.webp') center/cover no-repeat}
.keyfeature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.keyfeature-card{display:flex;align-items:flex-start;gap:12px;padding:18px 16px;border:1px solid #223349;border-radius:14px;background:#121a27;text-align:right}
.keyfeature-icon{flex:none;width:50px;height:50px;object-fit:contain}
.keyfeature-icon.teal{color:#33d6c8}.keyfeature-icon.purple{color:#8f7bff}.keyfeature-icon.blue{color:#3aa0ff}.keyfeature-icon.orange{color:#ffab3d}.keyfeature-icon.blue2{color:#4fb3ff}.keyfeature-icon.red{color:#ff6266}.keyfeature-icon.navy{color:#7fb2ff}.keyfeature-icon.violet{color:#c67bff}
.keyfeature-card h3{margin:0 0 6px;font-size:13.5px;color:#fff}
.keyfeature-card p{margin:0;font-size:11px;line-height:1.8;color:#93a4bd}

/* Solutions */
.solutions-section{background:#f6f8f9;border-radius:22px}
.solutions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.solution-card{padding:18px 18px 24px;border:1px solid #e5eaf1;border-radius:14px;background:linear-gradient(180deg,#eef1f6,#e6eaf1);text-align:center;overflow:hidden}
.solution-art{display:block;width:100%;height:150px;object-fit:contain;object-position:bottom center;margin:0 0 10px}
.solution-card h3{margin:0 0 10px;font-size:15px;color:#1352b0}
.solution-card p{margin:0 0 14px;min-height:52px;font-size:12px;line-height:1.9;color:#5a6a82}
.solution-card a{color:#1352b0;font-size:12px;font-weight:800;text-decoration:none}
.solution-card a:hover{text-decoration:underline}

/* Stats bar */
.stats-section{padding-top:0;padding-bottom:0}
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:26px 8%;border-radius:20px;background:#0b1424;box-shadow:0 14px 30px #0007}
.stat-card{position:relative;display:grid;justify-items:center;gap:6px;padding:10px;border-left:1px solid #24354c}
.stat-card:first-child{border-left:0}
.stat-icon{position:relative;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;overflow:hidden;border:1px solid #33455e;background:#0b1424;margin-bottom:2px;box-shadow:0 0 0 4px #ffc52e0f}
.stat-icon img{width:100%;height:100%;object-fit:cover;transform:scale(1.16)}
.stat-icon:after{content:'';position:absolute;inset:-4px;border-radius:50%;border:1px solid #ffc52e55;animation:statRingPulse 2.8s ease-out infinite}
@keyframes statRingPulse{0%{transform:scale(.86);opacity:.9}100%{transform:scale(1.24);opacity:0}}
.stat-card strong{font:800 22px Arial,sans-serif;color:var(--star-yellow);direction:ltr}
.stat-card small{font-size:11px;color:#c2cfe0}

/* CTA banner */
.cta-section{padding-top:40px;padding-bottom:40px}
.cta-banner{position:relative;display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:20px;overflow:hidden;padding:44px 6%;border-radius:22px;background:radial-gradient(circle at 85% 30%,#132a4d 0,#0a1730 60%);box-shadow:0 20px 45px #0007}
.cta-copy h2{margin:0 0 14px;font-size:26px;color:#fff}
.cta-copy p{margin:0 0 22px;max-width:480px;color:#c4d0e2;font-size:13px;line-height:1.9}
.cta-visual{position:relative;min-height:230px;display:grid;place-items:center}
.cta-phone-img{width:100%;max-width:400px;height:auto;display:block;transform:rotate(-8deg)}
.cta-pin-img{position:absolute;width:22%;max-width:110px;left:50%;top:2%;transform:translateX(-50%);filter:drop-shadow(0 10px 18px #0b56a8aa)}
.cta-dot-img{position:absolute;width:11%;max-width:52px}
.cta-dot-img.d1{left:10%;top:38%}.cta-dot-img.d2{right:6%;top:30%}.cta-dot-img.d3{left:24%;bottom:8%}

/* Footer */
.site-footer{background:#071426;color:#c2cfe0;border-top:1px solid #1c3350}
.footer-grid{max-width:1380px;margin:auto;padding:50px 30px 30px;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1.2fr;gap:20px}
.footer-col h4{margin:0 0 16px;font-size:14px;color:#fff}
.footer-col a{display:block;margin-bottom:12px;color:#a6b6cc;font-size:12px;text-decoration:none}
.footer-col a:hover{color:var(--star-yellow)}
.footer-brand .brand{display:flex;align-items:center;gap:8px;margin-bottom:14px;text-decoration:none}
.footer-brand .brand-mark{font-family:Arial,sans-serif;color:var(--star-yellow);font-size:30px}
.footer-brand .brand-mark img{width:28px;height:28px;object-fit:contain;display:block}
.footer-brand strong{color:#fff;font:800 17px Arial,sans-serif}
.footer-brand p{margin:0 0 18px;font-size:12px;line-height:1.9;color:#98a9c2}
.footer-social{display:flex;gap:10px}
.footer-social a{display:grid;place-items:center;width:36px;height:36px;text-decoration:none;overflow:hidden;border-radius:9px}
.footer-social a img{width:100%;height:100%;object-fit:contain}
.footer-social a:hover{background:#132a4a}
.footer-newsletter p{margin:0 0 14px;font-size:12px;line-height:1.9;color:#98a9c2}
.newsletter-form{display:grid;gap:10px}
.newsletter-form input{width:100%;height:44px;padding:0 14px;border:1px solid #2c4560;border-radius:8px;background:#0b1c30;color:#fff;outline:0}
.newsletter-form input::placeholder{color:#8496ae}
.newsletter-form .primary{height:44px}
.footer-bottom{padding:18px 30px;border-top:1px solid #1c3350;text-align:center;color:#7c8dab;font-size:11px}

@media(max-width:1200px){
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .keyfeature-grid{grid-template-columns:repeat(2,1fr)}
  .solutions-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:920px){
  .hero-badges{gap:14px}
  .cta-banner{grid-template-columns:1fr}.cta-visual{display:none}
}
@media(max-width:700px){
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .keyfeature-grid{grid-template-columns:1fr}
  .solutions-grid{grid-template-columns:1fr}
  .stats-bar{grid-template-columns:repeat(2,1fr);gap:16px 0}
  .stat-card:nth-child(2n+1){border-left:0}
  .stat-card:nth-child(-n+2){border-bottom:1px solid #24354c;padding-bottom:16px}
  .footer-grid{grid-template-columns:1fr;padding:36px 20px}
  .cta-copy h2{font-size:22px}
}

/* Hero artwork alignment v3
   Keep the original layered artwork and use the reference composition as
   the coordinate system.  Every figure gets its own bounded box so the
   transparent PNG/WebP canvases cannot make the elements collide. */
.hero-visual{
  position:relative;
  align-self:stretch;
  min-height:480px;
  overflow:hidden;
  direction:ltr;
  isolation:isolate;
}
.hero-scene-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero-visual:after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,#06142608 0%,#06142605 58%,#0614262a 100%);
}
.hero-figure{
  position:absolute;
  display:block;
  height:auto;
  line-height:0;
  animation:heroFigureFloat 5s ease-in-out infinite;
}
.hero-figure:before{display:none}
.hero-figure img{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 12px 13px #0009);
}
.hero-figure--carmoto{
  left:2%;
  bottom:7%;
  width:47%;
  z-index:4;
  animation-delay:-1.3s;
}
.hero-figure--carmoto .hero-car-img{
  position:relative;
  z-index:2;
  width:100%;
}
.hero-figure--carmoto .hero-motor-img{
  position:absolute;
  right:-2%;
  bottom:-1%;
  z-index:3;
  width:42%;
  filter:drop-shadow(0 11px 12px #000b);
}
.hero-figure--phone{
  left:28%;
  bottom:7%;
  width:24%;
  z-index:3;
  animation-delay:-2.2s;
}
.hero-figure--boy{
  left:61%;
  bottom:14%;
  width:14%;
  z-index:4;
  animation-delay:-.8s;
}
.hero-figure--dog{
  left:75%;
  bottom:14%;
  width:16%;
  z-index:5;
  animation-delay:-3s;
}
.hero-figure--device{
  left:51%;
  bottom:8%;
  width:14%;
  z-index:4;
  animation-delay:-1.8s;
}
.hero-pin-float{
  position:absolute;
  left:89%;
  top:17%;
  width:10%;
  z-index:6;
  line-height:0;
  animation:heroPinBob 3.2s ease-in-out infinite;
}
.hero-pin-float img{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  filter:drop-shadow(0 0 15px #168cffb0);
}
.hero-speed-card{
  position:absolute;
  left:57%;
  top:12%;
  width:25%;
  z-index:7;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid #6b85a2;
  border-radius:9px;
  background:#102b48e8;
  box-shadow:0 10px 20px #00112466;
  direction:rtl;
  animation:heroCardFloat 5s ease-in-out infinite;
}
.hero-speed-card .bell{
  flex:none;
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#ffcb31;
  background:#ffcb3130;
  font-size:16px;
}
.hero-speed-card b,.hero-speed-card small,.hero-speed-card strong{display:block}
.hero-speed-card b{font-size:10px}
.hero-speed-card small{font-size:7px;color:#d2dce9;margin-top:2px}
.hero-speed-card strong{font:9px Arial,sans-serif;direction:ltr;color:#fff;margin-top:2px}
.hero-radar{
  position:absolute;
  left:50%;
  bottom:-4%;
  width:100%;
  aspect-ratio:2.4/1;
  transform:translateX(-50%);
  z-index:1;
  pointer-events:none;
}
.hero-radar--wide{width:112%;left:54%}
.hero-radar--sm{width:92%}
.hero-radar--pin{width:180%;bottom:-9%}
.hero-radar:before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1.3px solid var(--rc,#38b6ff);
  box-shadow:0 0 8px var(--rc,#38b6ff),inset 0 0 8px var(--rc,#38b6ff);
  opacity:.8;
}
.hero-radar:after{
  content:'';
  position:absolute;
  inset:27% 30%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,var(--rc,#38b6ff) 0%,transparent 74%);
  opacity:.42;
  filter:blur(1px);
}
.hero-radar i{
  position:absolute;
  inset:0;
  margin:auto;
  border-radius:50%;
  border:1.3px solid var(--rc,#38b6ff);
  opacity:.7;
  animation:heroRadarPulse 2.8s cubic-bezier(.25,.6,.35,1) infinite;
}
@keyframes heroFigureFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@keyframes heroCardFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}

@media (min-width:921px){
  .landing-hero{
    grid-template-columns:.9fr 1.1fr;
    min-height:500px;
  }
  .hero-visual{min-height:500px}
  .hero-copy{padding:36px 7% 30px 5%}
}

@media (min-width:701px) and (max-width:920px){
  .landing-hero{
    grid-template-columns:.9fr 1.1fr;
    min-height:430px;
  }
  .hero-visual{min-height:430px}
  .hero-copy{padding:22px 5% 18px 4%}
  .hero-copy h1{font-size:clamp(25px,4.2vw,34px);line-height:1.4}
  .hero-copy p{font-size:10px;line-height:1.8}
  .hero-actions{gap:8px;margin-top:16px}
  .hero-primary,.hero-secondary{min-width:0;font-size:10px}
  .hero-badges{gap:8px 10px;margin-top:16px;padding-top:12px}
  .hero-badge{gap:5px}
  .hero-badge-icon{width:23px;height:23px;font-size:10px}
  .hero-badge b{font-size:7.5px}
  .hero-badge small{font-size:6px}
  .hero-speed-card{left:56%;top:11%;width:27%;padding:6px 7px;gap:4px}
  .hero-speed-card .bell{width:20px;height:20px;font-size:11px}
  .hero-speed-card b{font-size:7px}
  .hero-speed-card small{font-size:5.5px}
  .hero-speed-card strong{font-size:6.5px}
  .hero-figure--carmoto{left:1%;bottom:6%;width:40%}
  .hero-figure--phone{left:28%;bottom:6%;width:23%}
  .hero-figure--boy{left:60%;bottom:13%;width:14%}
  .hero-figure--dog{left:75%;bottom:13%;width:16%}
  .hero-figure--device{left:51%;bottom:7%;width:14%}
  .hero-pin-float{left:89%;top:16%;width:10%}
}

@media (max-width:700px){
  .landing-hero{min-height:590px}
  .hero-copy{padding:32px 20px 0}
  .hero-visual{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:325px;
    min-height:0;
  }
  .hero-copy h1{font-size:32px}
  .hero-copy p{font-size:13px}
  .hero-speed-card{left:53%;top:6%;width:30%;transform:scale(.82);transform-origin:top left}
  .hero-figure--carmoto{left:1%;bottom:5%;width:43%}
  .hero-figure--phone{left:27%;bottom:6%;width:23%}
  .hero-figure--boy{left:60%;bottom:10%;width:14%}
  .hero-figure--dog{left:75%;bottom:10%;width:16%}
  .hero-figure--device{left:50%;bottom:5%;width:14%}
  .hero-pin-float{left:88%;top:14%;width:10%}
}

/* Final hero frame: a bounded, layered composition with no oversized canvas. */
.landing-hero{
  min-height:clamp(360px,32vw,500px);
}
.hero-copy{
  position:relative;
  z-index:10;
}
.hero-visual{
  position:relative;
  z-index:2;
  align-self:stretch;
  min-height:0;
  height:100%;
  overflow:hidden;
  isolation:isolate;
}
.hero-scene-bg{
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  pointer-events:none;
}
.hero-visual:after{
  z-index:1;
  background:linear-gradient(90deg,#06142605 0%,#06142600 58%,#06142625 100%);
}
.hero-figure{
  z-index:3;
  transform-origin:center bottom;
  will-change:transform;
}
.hero-figure--carmoto{z-index:4}
.hero-figure--boy{z-index:5}
.hero-figure--dog{z-index:6}
.hero-figure--device{z-index:5}
.hero-pin-float{z-index:7}
.hero-speed-card{z-index:8}
.hero-radar{z-index:2}

@media (min-width:921px){
  .landing-hero{
    grid-template-columns:.92fr 1.08fr;
  }
  .hero-visual{
    min-height:0;
  }
}

@media (min-width:701px) and (max-width:920px){
  .landing-hero{
    min-height:430px;
    grid-template-columns:.92fr 1.08fr;
  }
  .hero-visual{min-height:0}
}

@media (max-width:700px){
  .landing-hero{min-height:590px}
  .hero-visual{
    height:325px;
    min-height:0;
  }
}

/* ================================================================
   Hero band v4 (final, authoritative): ONE continuous background
   image spans from the very top of the page (behind the nav) down
   through the bottom of the hero — no seams, no separate boxes.
   Sizing: the phone is the dominant/largest figure; car+moto, dog,
   boy and the tracker device form a small cluster (~1/3 the phone's
   height) grouped together in front of the phone. Rules placed last
   in the file so they win the cascade over earlier passes.
   ================================================================ */
.hero-band{position:relative;isolation:isolate;max-width:1508px;margin:8px auto 0;overflow:hidden;border:1px solid #163655;border-radius:20px;background:#04101e}
.hero-band-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;pointer-events:none}
.hero-band:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#061426f7 0%,#061426c4 26%,#0614264a 58%,#0614260d 100%)}
.hero-band .public-nav,.hero-band .landing-hero{position:relative;z-index:2}
.hero-band .public-nav{margin:0;border:0;border-radius:0;background:none;box-shadow:none;max-width:none}
.hero-band .landing-hero{margin:0;border:0;background:none;max-width:none}
.hero-band .landing-hero:after{display:none}
.hero-band .hero-visual{position:relative;min-height:0;height:100%;overflow:visible}
.hero-band .hero-scene-bg{display:none}

.hero-band .hero-figure{position:absolute;display:block;line-height:0;animation:heroFigureFloatV4 5s ease-in-out infinite}
.hero-band .hero-figure:before{content:'';position:absolute;bottom:-8%;left:50%;transform:translateX(-50%);width:82%;aspect-ratio:2.2/1;border-radius:50%;background:radial-gradient(ellipse at center,#0b1424 0%,#0b1424 42%,transparent 78%);z-index:0}
.hero-band .hero-figure img{position:relative;z-index:2;display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 13px #0009)}

/* Phone: the dominant figure */
.hero-band .hero-figure--phone{left:3%;bottom:3%;width:34%;z-index:3;animation-delay:-2.2s}

/* Cluster: car+moto / boy / dog / device — grouped, ~1/3 the phone's size, sitting in front of the phone */
.hero-band .hero-figure--carmoto{left:33%;bottom:7%;width:27%;z-index:5;animation-delay:-1.3s}
.hero-band .hero-figure--carmoto:before{width:100%;left:56%}
.hero-band .hero-figure--carmoto .hero-car-img{position:relative;z-index:2;width:100%}
.hero-band .hero-figure--carmoto .hero-motor-img{position:absolute;right:-12%;bottom:-3%;width:48%;z-index:3;filter:drop-shadow(0 8px 10px #000b)}
.hero-band .hero-figure--boy{left:60%;bottom:7%;width:6.5%;z-index:6;animation-delay:-.8s}
.hero-band .hero-figure--dog{left:67%;bottom:7%;width:9%;z-index:6;animation-delay:-3s}
.hero-band .hero-figure--device{left:78%;bottom:7%;width:10.5%;z-index:6;animation-delay:-1.8s}

/* Speed-alert card, beside the phone */
.hero-band .hero-speed-card{left:34%;top:5%;width:32%;z-index:7}

/* GPS pin — kept apart from the cluster, with a clear gap */
.hero-band .hero-pin-float{left:89%;top:12%;width:11%;z-index:8}

.hero-band .hero-radar{position:absolute;bottom:-10%;left:50%;transform:translateX(-50%);width:88%;aspect-ratio:2.3/1;z-index:1;pointer-events:none}
.hero-band .hero-radar--wide{width:98%;left:54%;bottom:-12%}
.hero-band .hero-radar--sm{width:80%;bottom:-10%}
.hero-band .hero-radar--pin{width:190%;aspect-ratio:2.2/1;bottom:-18%}
.hero-band .hero-radar:before{content:'';position:absolute;inset:0;border-radius:50%;border:1.4px solid var(--rc,#38b6ff);box-shadow:0 0 9px 0 var(--rc,#38b6ff),inset 0 0 9px 0 var(--rc,#38b6ff);opacity:.85}
.hero-band .hero-radar:after{content:'';position:absolute;inset:26% 30%;border-radius:50%;background:radial-gradient(ellipse at center,var(--rc,#38b6ff) 0%,transparent 75%);opacity:.5;filter:blur(1px)}
.hero-band .hero-radar i{position:absolute;inset:0;margin:auto;border-radius:50%;border:1.4px solid var(--rc,#38b6ff);opacity:.7;animation:heroRadarPulseV4 2.6s cubic-bezier(.25,.6,.35,1) infinite}
@keyframes heroRadarPulseV4{0%{transform:scale(.72);opacity:.75}100%{transform:scale(1.55);opacity:0}}
@keyframes heroFigureFloatV4{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.hero-pin-float img{animation:none}

@media (min-width:921px){
  .hero-band .landing-hero{grid-template-columns:.92fr 1.08fr;min-height:560px}
  .hero-band .hero-visual{min-height:0}
}
@media (min-width:701px) and (max-width:920px){
  .hero-band .landing-hero{grid-template-columns:.92fr 1.08fr;min-height:430px}
  .hero-band .hero-visual{min-height:0}
  .hero-band .hero-figure--phone{left:2%;width:32%;bottom:2%}
  .hero-band .hero-figure--carmoto{left:32%;width:24%}
  .hero-band .hero-figure--boy{left:55%;width:10%}
  .hero-band .hero-figure--dog{left:64%;width:12%}
  .hero-band .hero-figure--device{left:76%;width:9.5%}
  .hero-band .hero-speed-card{left:33%;top:4%;width:34%;padding:6px 8px}
  .hero-band .hero-pin-float{left:88%;top:10%;width:11%}
}
@media (max-width:700px){
  .hero-band{border-radius:14px;margin:6px auto 0}
  .hero-band .landing-hero{min-height:720px}
  .hero-band .hero-copy{padding:28px 20px 0}
  .hero-band .hero-copy h1{font-size:28px}
  .hero-band .hero-badges{margin-top:18px;padding-top:14px;gap:12px}
  .hero-band .hero-visual{position:absolute;left:0;right:0;bottom:0;height:300px;min-height:0}
  .hero-band .hero-figure--phone{left:4%;width:30%;bottom:3%}
  .hero-band .hero-figure--carmoto{left:34%;width:26%;bottom:5%}
  .hero-band .hero-figure--boy{left:59%;width:9%;bottom:5%}
  .hero-band .hero-figure--dog{left:68%;width:11%;bottom:5%}
  .hero-band .hero-figure--device{left:80%;width:10%;bottom:5%}
  .hero-band .hero-speed-card{display:none}
  .hero-band .hero-pin-float{left:82%;top:2%;width:14%}
}

/* ================================================================
   Hero cluster v5 (final, authoritative) — flexbox-grounded figure
   group: phone / car+moto / dog / device all share one bottom
   baseline, grouped closely with even spacing, fully responsive.
   Higher-specificity selectors so this safely overrides every
   earlier hero-figure positioning pass without deleting it.
   ================================================================ */
.hero-band .hero-visual{overflow:visible}
.hero-band .hero-cluster{
  position:absolute;
  left:4%;
  right:16%;
  bottom:14%;
  z-index:4;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  gap:clamp(10px,2.2vw,28px);
}
.hero-band .hero-cluster .hero-figure{
  position:relative;
  inset:auto;
  left:auto;
  right:auto;
  top:auto;
  bottom:auto;
  flex:0 0 auto;
  display:block;
  animation:heroFigureFloatV5 5s ease-in-out infinite;
}
.hero-band .hero-cluster .hero-figure:before{
  content:'';position:absolute;bottom:-6%;left:50%;transform:translateX(-50%);
  width:84%;aspect-ratio:2.1/1;border-radius:50%;
  background:radial-gradient(ellipse at center,#0b1424 0%,#0b1424 40%,transparent 78%);
  z-index:0;
}
.hero-band .hero-cluster .hero-figure img{position:relative;z-index:2;display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 13px #0009)}

.hero-band .hero-cluster .hero-figure--phone{width:clamp(118px,16.5vw,224px);z-index:3;animation-delay:-2.2s}
.hero-band .hero-cluster .hero-figure--carmoto{width:clamp(112px,15.5vw,208px);z-index:5;animation-delay:-1.3s}
.hero-band .hero-cluster .hero-figure--carmoto:before{width:96%;left:50%}
.hero-band .hero-cluster .hero-figure--carmoto .hero-car-img{position:relative;z-index:2;width:100%;display:block}
.hero-band .hero-cluster .hero-figure--carmoto .hero-motor-img{position:absolute;z-index:1;left:auto;right:-9%;bottom:0;top:auto;width:54%;display:block;filter:drop-shadow(0 8px 10px #000b)}
.hero-band .hero-cluster .hero-figure--boy{width:clamp(28px,4vw,46px);z-index:6;animation-delay:-.8s;align-self:flex-end}
.hero-band .hero-cluster .hero-figure--dog{width:clamp(38px,5.4vw,64px);z-index:6;animation-delay:-3s}
.hero-band .hero-cluster .hero-figure--device{width:clamp(50px,6.2vw,86px);z-index:6;animation-delay:-1.8s}

.hero-band .hero-speed-card{left:32%;right:auto;top:5%;width:30%;z-index:7}
.hero-band .hero-pin-float{left:auto;right:3%;top:9%;width:10%;z-index:8}

.hero-band .hero-cluster .hero-radar{position:absolute;bottom:-8%;left:50%;transform:translateX(-50%);width:88%;aspect-ratio:2.3/1;z-index:0;pointer-events:none}
.hero-band .hero-cluster .hero-radar--wide{width:98%;left:54%;bottom:-9%}
.hero-band .hero-cluster .hero-radar--sm{width:78%;bottom:-8%}

@keyframes heroFigureFloatV5{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}

@media (min-width:921px){
  .hero-band .hero-cluster{bottom:15%}
}
@media (min-width:701px) and (max-width:920px){
  .hero-band .hero-cluster{left:3%;right:11%;bottom:12%;gap:clamp(8px,1.8vw,18px)}
  .hero-band .hero-cluster .hero-figure--boy{width:clamp(24px,3.6vw,38px)}
  .hero-band .hero-speed-card{left:34%;width:36%}
}
@media (max-width:700px){
  /* Stack copy above the artwork in normal flow — no absolute overlap,
     so hero-badges can never collide with the figures/speed-card. */
  .hero-band .landing-hero{display:flex;flex-direction:column;min-height:0}
  .hero-band .hero-copy{padding:26px 20px 0}
  .hero-band .hero-visual{position:relative;left:auto;right:auto;bottom:auto;height:clamp(220px,62vw,300px);min-height:0;margin-top:16px}

  .hero-band .hero-cluster{
    left:3%;right:auto;bottom:9%;
    gap:clamp(6px,2vw,14px);
  }
  .hero-band .hero-cluster .hero-figure--phone{width:clamp(76px,22vw,118px)}
  .hero-band .hero-cluster .hero-figure--carmoto{width:clamp(74px,20vw,112px)}
  .hero-band .hero-cluster .hero-figure--boy{width:clamp(18px,5vw,28px)}
  .hero-band .hero-cluster .hero-figure--dog{width:clamp(24px,6.5vw,38px)}
  .hero-band .hero-cluster .hero-figure--device{width:clamp(40px,11vw,60px)}
  .hero-band .hero-speed-card{display:flex;left:auto;right:5%;top:3%;width:44%;transform:scale(.86);transform-origin:top right}
  .hero-band .hero-pin-float{right:4%;top:3%;width:16%}
}

/* ================================================================
   Auth pages (login/register) — art panel rebuilt from the same
   hero figures/assets used on the homepage hero, for visual
   consistency. Plus a proper brand lockup + "back to home" link.
   ================================================================ */
.auth-card-top{margin-bottom:18px}
.auth-home-link{display:inline-flex;align-items:center;gap:5px;direction:rtl;color:#c7d4e6;text-decoration:none;font-size:12px;padding:7px 12px;border:1px solid #33455e;border-radius:8px;background:#0b1f37}
.auth-home-link:hover{color:#fff;border-color:#4a637f;background:#122c4b}
.auth-home-link span{font-size:15px;line-height:1}

.auth-art{background:#061326}
.auth-art-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.auth-art .hero-figure{position:absolute;display:block;line-height:0}
.auth-art .hero-figure:before{content:'';position:absolute;bottom:-9%;left:50%;transform:translateX(-50%);width:82%;aspect-ratio:2.2/1;border-radius:50%;background:radial-gradient(ellipse at center,#0b1424 0%,#0b1424 42%,transparent 78%);z-index:0}
.auth-art .hero-figure img{position:relative;z-index:2;display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 13px #0009)}
.auth-art .hero-figure--phone{left:9%;bottom:9%;width:44%;z-index:3}
.auth-art .hero-figure--carmoto{left:5%;bottom:2%;width:36%;z-index:5}
.auth-art .hero-figure--carmoto .hero-car-img{position:relative;z-index:2;width:100%}
.auth-art .hero-figure--carmoto .hero-motor-img{position:absolute;right:-13%;bottom:-3%;width:48%;z-index:3;filter:drop-shadow(0 8px 10px #000b)}
.auth-art .hero-figure--boy{left:45%;bottom:0;width:15%;z-index:6}
.auth-art .hero-figure--dog{left:59%;bottom:0;width:19%;z-index:6}
.auth-art .hero-figure--device{left:79%;bottom:2%;width:16%;z-index:6}
.auth-art .hero-pin-float{position:absolute;left:63%;top:9%;width:22%;z-index:8;animation:heroPinBobAuth 3.2s ease-in-out infinite}
.auth-art .hero-pin-float img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 16px #168cffb0)}
@keyframes heroPinBobAuth{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.auth-art .hero-radar{position:absolute;bottom:-11%;left:50%;transform:translateX(-50%);width:88%;aspect-ratio:2.3/1;z-index:1;pointer-events:none}
.auth-art .hero-radar--wide{width:98%;left:54%;bottom:-13%}
.auth-art .hero-radar--sm{width:80%;bottom:-11%}
.auth-art .hero-radar:before{content:'';position:absolute;inset:0;border-radius:50%;border:1.4px solid var(--rc,#38b6ff);box-shadow:0 0 9px 0 var(--rc,#38b6ff),inset 0 0 9px 0 var(--rc,#38b6ff);opacity:.85}
.auth-art .hero-radar:after{content:'';position:absolute;inset:26% 30%;border-radius:50%;background:radial-gradient(ellipse at center,var(--rc,#38b6ff) 0%,transparent 75%);opacity:.5;filter:blur(1px)}
.auth-art .hero-radar i{position:absolute;inset:0;margin:auto;border-radius:50%;border:1.4px solid var(--rc,#38b6ff);opacity:.7;animation:heroRadarPulseV4 2.6s cubic-bezier(.25,.6,.35,1) infinite}

@media (max-width:920px){
  .auth-art .hero-figure--phone{width:42%}
  .auth-art .hero-figure--carmoto{width:34%}
  .auth-art .hero-figure--dog{width:18%}
  .auth-art .hero-figure--device{width:15%}
}
@media (max-width:700px){
  .auth-card-top{margin-bottom:14px}
  .auth-home-link{font-size:11px;padding:6px 9px}
}

/* ================================================================
   STAR GPS Admin Dashboard — consolidated rebuild (fixes the
   overlapping/broken grid, oversized sidebar-rail bug, broken map
   tiles, tiny summary card, and swaps unicode glyphs for real
   inline-SVG icons). Appended last on purpose so it wins over the
   older, conflicting passes above without having to untangle them.
   ================================================================ */

.i-ico{display:inline-block;vertical-align:middle;flex-shrink:0}

.app-shell,.app-shell.active{grid-template-columns:none}
.app-shell.active{display:flex;flex-direction:row-reverse;min-height:100vh;height:auto;margin:0;border:0;border-radius:0;overflow:visible}
.dashboard-main{display:flex;flex-direction:column;min-width:0;min-height:100vh;height:auto}
body.dashboard-mode{overflow-y:auto;overflow-x:hidden}

/* Sidebar */
.dashboard-sidebar{position:sticky;top:0;grid-column:auto;grid-row:auto;width:268px;height:100vh;flex:none;display:flex;flex-direction:column;gap:14px;padding:22px 15px;background:#091a30;border-left:1px solid #203a58;overflow-y:auto;z-index:40;transition:transform .25s ease}
.dashboard-sidebar>.brand,.dashboard-sidebar>.profile{display:flex}
.dashboard-sidebar .brand{align-items:center;gap:10px;margin:2px 6px 4px}
.dashboard-sidebar .brand-mark img{width:32px;height:32px;object-fit:contain;display:block}
.dashboard-sidebar .brand strong{font-size:15px}
.dashboard-sidebar .brand small{display:block;color:#8ea2bd;font-size:9px;margin-top:2px}
.dashboard-sidebar .profile{align-items:center;gap:10px;margin:0;border:1px solid #294463;border-radius:12px;background:#0e2540;padding:11px;color:#dce6f4}
.dashboard-sidebar .profile small{display:block;margin-top:3px;color:#9ab0ca;font-size:10px}
.dashboard-sidebar nav{flex:1;min-height:0;display:grid;align-content:start;gap:3px;overflow-y:auto}
.dashboard-sidebar nav button,.dashboard-sidebar .logout{display:flex;align-items:center;gap:11px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#a9bcd4;font:inherit;font-size:12.5px;text-align:right;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.dashboard-sidebar nav button .i-ico,.dashboard-sidebar .logout .i-ico{color:#7c93b3;transition:color .15s}
.dashboard-sidebar nav button:hover,.dashboard-sidebar nav button.active{background:#173657;color:#fff}
.dashboard-sidebar nav button:hover .i-ico,.dashboard-sidebar nav button.active .i-ico{color:var(--star-yellow)}
.dashboard-sidebar nav button.active{box-shadow:inset 3px 0 var(--star-yellow)}
.dashboard-sidebar .logout{margin-top:auto;color:#ff9090}
.dashboard-sidebar .logout .i-ico{color:#ff9090}
.dashboard-sidebar footer{display:block;padding:6px 12px 0;color:#5f7591;font-size:10px}
.sidebar-backdrop{display:none}
.dashboard-menu-toggle{display:none;width:38px;height:38px;flex:none;align-items:center;justify-content:center;border:1px solid #354e6e;border-radius:10px;background:#0c1f37;color:#eef4ff;cursor:pointer}

/* Topbar */
.dashboard-topbar{position:sticky;top:0;grid-column:auto;grid-row:auto;height:auto;min-height:74px;display:flex;align-items:center;gap:14px;padding:0 26px;border-bottom:1px solid #203952;background:#071426d9;z-index:30}
.dashboard-topbar:after{content:none}
.dashboard-title{position:static;display:block;flex:1;min-width:0}
.dashboard-title small{display:block;color:#9eb1c9;font-size:10px}
.dashboard-title h1{margin:2px 0 0;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-topbar .topbar-tools{position:static;display:flex;align-items:center;gap:12px;flex:none;height:auto;direction:rtl}
.dashboard-brand-area{display:none}
.dashboard-search-wrap{position:relative;display:flex;align-items:center;color:#7f93ac}
.dashboard-search-wrap .i-ico{position:absolute;right:13px;pointer-events:none}
.dashboard-search{position:static;width:230px;transform:none;height:40px;border:1px solid #354e6e;border-radius:10px;background:#08192e;color:#dce6f2;padding:0 40px 0 14px;text-align:right}
.dashboard-search::placeholder{color:#7f93ac}
.dashboard-search:focus{outline:0;border-color:var(--star-yellow)}
.dashboard-notification{position:relative;left:auto;top:auto;width:40px;height:40px;flex:none;display:grid;place-items:center;border:1px solid #354e6e;border-radius:10px;background:#0c1f37;color:#dce6f2}
.dashboard-notification:after{content:'';position:absolute;top:8px;right:9px;left:auto;min-width:0;width:8px;height:8px;border-radius:50%;background:#f44949;border:2px solid #0c1f37}
.topbar-profile{position:static;left:auto;top:auto;display:flex;align-items:center;gap:9px;color:#eef4ff;flex:none;direction:rtl}
.topbar-profile>span:last-child{text-align:right}
.topbar-profile b{display:block;font-size:12px}
.topbar-profile small{display:block;margin-top:2px;color:#9ab0ca;font-size:9px}
.topbar-profile .profile-avatar{width:36px;height:36px;font-size:15px}
.profile-avatar{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffd34a,#f0a900);color:#141c2b}
.dashboard-topbar>.connection{display:inline-flex;flex:none;border:1px solid var(--star-line);padding:6px 12px;border-radius:20px;font-size:11px;color:#9ab0ca}
.dashboard-topbar>.connection.ok{color:#42e0a8;border-color:#276b55}
.dashboard-topbar>.connection.bad{color:#ff676c;border-color:#713546}

/* Content + overview grid */
.dashboard-content{position:static;grid-column:auto;grid-row:auto;flex:1;min-width:0;min-height:0;height:auto;overflow-y:visible;overflow-x:hidden;width:100%;max-width:1500px;margin:0 auto;padding:24px 28px 44px;background:radial-gradient(circle at 45% -20%,#19385b 0,#071426 39%);scrollbar-gutter:auto}
.dashboard-content #app{min-width:0}

.dashboard-grid{display:grid;height:auto;min-height:0;grid-template-columns:280px minmax(0,1fr) 340px;grid-template-rows:none;grid-template-areas:'devices map summary' 'devices map events';align-items:start;gap:16px;direction:rtl}
.dashboard-grid>*{min-width:0;min-height:0;overflow:visible}
.dashboard-devices-card{grid-area:devices;grid-row:auto;display:flex;flex-direction:column}
.dashboard-map-card{grid-area:map;grid-row:auto;position:relative;padding:18px;min-height:0}
.dashboard-summary-card{grid-area:summary;grid-row:auto;min-height:0}
.dashboard-events-card{grid-area:events;grid-row:auto;min-height:0}

.dashboard-card{padding:18px;border:1px solid #284664;border-radius:16px;background:linear-gradient(145deg,#0f2945,#0b1d34);box-shadow:0 18px 40px #00000030;min-width:0}
.dashboard-card h2{margin:0;font-size:15px}
.card-heading{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.card-heading small{color:#9ab0ca;font-size:10px}

.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.dashboard-kpi{position:relative;min-height:98px;padding:14px;border:1px solid #324c6a;border-radius:13px;background:#0b1f37}
.dashboard-kpi span{display:block;color:#a9bbd0;font-size:10.5px}
.dashboard-kpi strong{display:block;margin-top:8px;font:800 25px Arial,sans-serif;direction:ltr;text-align:right}
.dashboard-kpi .kpi-icon{position:absolute;left:12px;top:14px;width:34px;height:34px;border:0;display:grid;place-items:center;border-radius:11px;background:currentColor;font-size:inherit}
.dashboard-kpi .kpi-icon .i-ico{color:#0b1220}
.dashboard-kpi.success{color:#42e0a8}
.dashboard-kpi.danger{color:#ff676c}
.dashboard-kpi.blue{color:#38a0ff}
.dashboard-kpi.warn{color:#ffb326}

.dashboard-map-card .card-heading{position:static;margin:0 0 14px}
.dashboard-map{position:relative;inset:auto;width:100%;height:420px;overflow:hidden;border:1px solid #274664;border-radius:12px;background:#0a2039}
.dashboard-map .leaflet-container{position:relative;width:100%;height:100%;border-radius:12px;background:#0b2039}
.dashboard-map .leaflet-control{direction:ltr}
.dashboard-map .leaflet-tile{filter:saturate(.7) hue-rotate(160deg) brightness(.72)}
.dashboard-map-card .map-quick-actions{position:static;left:auto;bottom:auto;width:auto;transform:none}
.map-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.map-quick-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:64px;padding:8px;border:1px solid #365474;border-radius:11px;background:#0d2541;color:#dde8f7;font-size:10.5px;cursor:pointer}
.map-quick-actions button:hover{background:#173a5e}

.device-list,.events-list{display:grid;gap:8px}
.device-list-item,.event-list-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #263f5d;border-radius:11px;background:#0b1f37}
.device-avatar,.event-list-item .event-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:11px;background:#17395b;color:#8fb4dd;font-size:inherit}
.event-list-item.warning .event-icon{color:#ffb323;background:#4e3a17}
.event-list-item.danger .event-icon{color:#ff7377;background:#54232e}
.event-list-item.success .event-icon{color:#45dfa8;background:#164739}
.device-list-item>div:nth-child(2),.event-list-item>div:nth-child(2){flex:1;min-width:0}
.device-list-item b,.event-list-item b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device-list-item small,.event-list-item small{display:block;margin-top:3px;color:#88a0bc;font-size:10px}
.device-list-item .online{color:#42e0a8;font-size:10px;flex:none}
.event-time{color:#a5b9cf;font:10px Arial,sans-serif;direction:ltr;flex:none}
.dashboard-empty{padding:34px 10px;text-align:center;color:#94a9c1;font-size:12px}
.dashboard-wide-button{width:100%;min-height:40px;margin-top:12px;padding:8px;font-size:12px}

.dashboard-content .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dashboard-content .wide{grid-column:span 2}
.dashboard-content .card{background:linear-gradient(145deg,var(--star-panel-2),var(--star-panel));border-color:var(--star-line);border-radius:16px;box-shadow:0 14px 32px #00000026}
.dashboard-content .map{background:#152846;border-radius:12px}
.dashboard-content .toolbar{gap:14px}
.dashboard-content .badge{font-size:11px}
.dashboard-content .table th,.dashboard-content .table td{padding:13px 10px}
.dashboard-content .table th{color:#9ab0ca}
.dashboard-content .primary,.dashboard-content .secondary,.dashboard-content .danger-btn{display:inline-flex;align-items:center;gap:6px}

/* Responsive breakpoints */
@media(max-width:1400px){
  .dashboard-grid{grid-template-columns:250px minmax(0,1fr) 300px}
}
@media(max-width:1200px){
  .dashboard-sidebar{width:225px}
  .dashboard-search{width:190px}
  .dashboard-grid{grid-template-columns:215px minmax(0,1fr) 270px}
  .dashboard-content{padding:20px 20px 36px}
}
@media(max-width:1024px){
  .dashboard-grid{grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:'map summary' 'map events' 'devices devices'}
  .dashboard-map{height:360px}
}
@media(max-width:820px){
  .app-shell.active{display:flex}
  .dashboard-main{display:flex}
  .dashboard-menu-toggle{display:flex}
  .dashboard-sidebar{position:fixed;top:0;right:0;bottom:0;left:auto;height:100vh;width:min(84vw,310px);transform:translateX(100%);box-shadow:-10px 0 40px #000a;border-left:0}
  .dashboard-sidebar.open{transform:translateX(0)}
  .sidebar-backdrop{display:block;position:fixed;inset:0;background:#050d1acc;opacity:0;pointer-events:none;transition:opacity .2s;z-index:39}
  .sidebar-backdrop.show{opacity:1;pointer-events:auto}
  .dashboard-topbar{padding:0 16px;gap:10px;min-height:66px}
  .dashboard-title h1{font-size:16px}
  .dashboard-search{width:150px;height:37px}
  .topbar-profile small,.dashboard-topbar>.connection{display:none}
  .dashboard-content{padding:16px 14px 32px}
  .dashboard-grid{grid-template-columns:1fr;grid-template-areas:'summary' 'map' 'events' 'devices'}
  .dashboard-map{height:320px}
  .dashboard-content .grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .dashboard-search-wrap{display:none}
  .dashboard-kpi-grid{grid-template-columns:1fr 1fr}
  .dashboard-kpi strong{font-size:21px}
  .dashboard-content .grid{grid-template-columns:1fr}
  .dashboard-content .wide{grid-column:span 1}
  .map-quick-actions button span{display:none}
  .device-list-item small,.event-list-item small{max-width:150px;overflow:hidden;text-overflow:ellipsis}
}

/* ================================================================
   Overview dashboard v2 — full redesign to match the reference
   mock: KPI cards with sparklines + live clock, live map with a
   street/satellite toggle and colour-coded car markers, searchable
   device list, and a bottom row with events / recent positions /
   fleet donut chart.
   ================================================================ */
.ov-kpi-row{display:grid;grid-template-columns:repeat(4,1fr) 1.1fr;gap:14px;margin-bottom:16px}
.ov-kpi-card{position:relative;padding:16px 18px;border-radius:16px;border:1px solid #284664;background:linear-gradient(150deg,#0f2945,#0b1d34);overflow:hidden;min-height:118px}
.ov-kpi-card:before{content:'';position:absolute;inset:0;opacity:.08;background:currentColor}
.ov-kpi-card.success{color:#22c55e}.ov-kpi-card.info{color:#3b9dff}.ov-kpi-card.warn{color:#f5a623}.ov-kpi-card.danger{color:#ef4444}
.ov-kpi-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px}
.ov-kpi-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:12px;background:currentColor;color:#fff}
.ov-kpi-icon .i-ico{color:#0b1220}
.ov-kpi-top strong{font:800 26px Arial,sans-serif;color:#eef4ff;direction:ltr}
.ov-kpi-label{position:relative;display:block;margin-top:6px;color:#a9bbd0;font-size:11.5px}
.sparkline{display:block;width:100%;height:26px;margin-top:8px;opacity:.9}
.ov-clock-card{position:relative;padding:16px 18px;border-radius:16px;border:1px solid #284664;background:linear-gradient(150deg,#132a48,#0b1d34);display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:118px}
.ov-clock-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#1c3557;color:#ffd34a}
.ov-clock-date{color:#eef4ff;font-size:12.5px;font-weight:700}
.ov-clock-live{display:flex;align-items:center;gap:7px;color:#9ab0ca;font-size:10.5px}
.ov-clock-live .dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 #22c55e88;animation:ovPulse 1.8s infinite}
@keyframes ovPulse{0%{box-shadow:0 0 0 0 #22c55e66}70%{box-shadow:0 0 0 7px #22c55e00}100%{box-shadow:0 0 0 0 #22c55e00}}

.ov-main-row{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start;margin-bottom:16px}
.ov-map-card .dashboard-map{height:460px}
.ov-map-style-toggle{display:flex;border:1px solid #35547a;border-radius:10px;overflow:hidden}
.ov-map-style-toggle button{padding:7px 14px;font-size:11.5px;background:#0c1f37;color:#9ab0ca;border:0}
.ov-map-style-toggle button.active{background:var(--star-yellow,#ffc52e);color:#141c2b;font-weight:700}
.ov-devices-card .device-list{max-height:396px;overflow-y:auto}
.ov-search-wrap{position:relative;display:flex;align-items:center;margin-bottom:12px;color:#7f93ac}
.ov-search-wrap .i-ico{position:absolute;right:12px;pointer-events:none}
.ov-search-wrap input{width:100%;height:38px;border:1px solid #35547a;border-radius:9px;background:#08192e;color:#dce6f2;padding:0 38px 0 12px;text-align:right}
.ov-search-wrap input::placeholder{color:#7f93ac}
.status-dot{width:9px;height:9px;border-radius:50%;flex:none;background:#9ab0ca}
.status-dot.moving{background:#22c55e;box-shadow:0 0 0 3px #22c55e26}
.status-dot.idle{background:#f5a623;box-shadow:0 0 0 3px #f5a62326}
.status-dot.offline{background:#ef4444;box-shadow:0 0 0 3px #ef444426}

.ov-bottom-row{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:16px}
.ov-events-card .events-list,.ov-positions-card .events-list{max-height:280px;overflow-y:auto}
.ov-fleet-card{display:flex;flex-direction:column;align-items:center;gap:16px}
.donut{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;position:relative}
.donut-hole{width:96px;height:96px;border-radius:50%;background:#0b1d34;display:grid;place-items:center;text-align:center;border:1px solid #284664}
.donut-hole strong{display:block;font:800 22px Arial,sans-serif;color:#eef4ff}
.donut-hole small{color:#9ab0ca;font-size:10px}
.fleet-legend{width:100%;display:grid;gap:8px}
.fleet-legend span{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#c3d2e6}
.fleet-legend span b{margin-right:auto;color:#eef4ff;direction:ltr}
.fleet-legend i{width:10px;height:10px;border-radius:3px;flex:none}

.car-marker-wrap{background:transparent;border:0}
.car-marker{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0b1220;border:2px solid #0b1220bb;box-shadow:0 4px 10px #0007}

@media(max-width:1400px){
  .ov-kpi-row{grid-template-columns:repeat(2,1fr)}
  .ov-clock-card{grid-column:span 2}
}
@media(max-width:1200px){
  .ov-main-row{grid-template-columns:1fr}
  .ov-devices-card .device-list{max-height:320px}
}
@media(max-width:1024px){
  .ov-bottom-row{grid-template-columns:1fr 1fr}
  .ov-fleet-card{grid-column:span 2}
}
@media(max-width:820px){
  .ov-kpi-row{grid-template-columns:1fr 1fr}
  .ov-clock-card{grid-column:span 2}
  .ov-map-card .dashboard-map{height:320px}
  .ov-bottom-row{grid-template-columns:1fr}
  .ov-fleet-card{grid-column:span 1}
}
@media(max-width:560px){
  .ov-kpi-row{grid-template-columns:1fr}
  .ov-clock-card{grid-column:span 1}
}
