/* ETM365 V0.4.4 — seamless neon landing skin.
   Presentation-only: does not change API, trial logic, storage or security.
   The official approved banner remains the original image asset.
*/
:root { --etm-neon:#00dfff; --etm-border:rgba(36,216,255,.64); }

/* Keep the artwork on the whole page, beyond the banner and behind the footer. */
body[data-view="public"]:has(.hero) {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: radial-gradient(ellipse 75% 34% at 50% 1%,#085082 0%,transparent 78%),
              radial-gradient(ellipse 62% 42% at 8% 78%,#06335c 0%,transparent 88%),
              linear-gradient(180deg,#021224 0%,#05172b 42%,#001124 100%);
}
body[data-view="public"]:has(.hero)::before {
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  min-height:100%;
  z-index:0;
  background-image: url('/assets/neon-page-trails.svg');
  background-position: center top;
  background-repeat:no-repeat;
  background-size:100% 100%;
  opacity:.87;
}
body[data-view="public"]:has(.hero) #app {position:relative;z-index:1;}

/* The page itself, not a detached banner in a box. */
body[data-view="public"]:has(.hero) .topbar {
  position:relative;z-index:2;
  background:linear-gradient(180deg,rgba(1,15,32,.78),rgba(2,29,51,.38));
  border-bottom:1px solid rgba(46,216,255,.44);
  box-shadow:0 3px 27px rgba(0,203,255,.20),inset 0 -1px rgba(0,222,255,.13);
  backdrop-filter:blur(8px);
}
body[data-view="public"]:has(.hero) .brand {filter:drop-shadow(0 0 9px rgba(0,208,255,.45));}
body[data-view="public"]:has(.hero) .pill {
  border-color:#13baf1;
  background:rgba(3,30,56,.73);
  box-shadow:inset 0 0 9px rgba(0,235,255,.08),0 0 13px rgba(0,217,255,.30);
}
body[data-view="public"]:has(.hero) .container {
  max-width:1550px;
  padding:6px clamp(12px,2.7vw,38px) 42px;
}
body[data-view="public"]:has(.hero) .hero {
  max-width:1480px;
  margin:0 auto -8px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  isolation:isolate;
}
body[data-view="public"]:has(.hero) .hero img {
  width:100%;height:auto;display:block;
  border:0;border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse 76% 85% at 50% 49%,#000 78%,rgba(0,0,0,.94) 85%,transparent 100%);
  mask-image:radial-gradient(ellipse 76% 85% at 50% 49%,#000 78%,rgba(0,0,0,.94) 85%,transparent 100%);
  filter:drop-shadow(0 0 20px rgba(0,220,255,.17));
}
body[data-view="public"]:has(.hero) .landing-grid,
body[data-view="public"]:has(.hero) .features {
  max-width:1200px;
  margin-left:auto;margin-right:auto;
  position:relative;
  z-index:1;
}
body[data-view="public"]:has(.hero) .landing-grid {margin-top:-4px;gap:18px;}
body[data-view="public"]:has(.hero) .glass {
  background:linear-gradient(155deg,rgba(5,41,68,.90),rgba(2,27,48,.91));
  border:1px solid rgba(23,209,248,.71);
  box-shadow:0 16px 38px rgba(0,4,17,.55),0 0 25px rgba(0,216,255,.13),
             inset 0 0 16px rgba(0,205,255,.06),inset 0 -2px 0 rgba(0,230,255,.25);
  backdrop-filter:blur(10px);
  border-radius:21px;
  padding:clamp(20px,2.2vw,30px);
}
body[data-view="public"]:has(.hero) .glass h2 {font-size:clamp(23px,2vw,30px);line-height:1.16;}
body[data-view="public"]:has(.hero) .feature {
  background:linear-gradient(155deg,rgba(3,43,70,.91),rgba(1,28,53,.93));
  border:1px solid rgba(24,205,255,.7);
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,5,19,.45),0 0 18px rgba(0,220,255,.15),inset 0 -2px 0 rgba(4,230,255,.31);
  backdrop-filter:blur(7px);
  padding:clamp(17px,2vw,26px);
}
body[data-view="public"]:has(.hero) .feature strong {font-size:17px;}
body[data-view="public"]:has(.hero) .control {background:rgba(0,18,36,.8);border-color:#3682b0;}
body[data-view="public"]:has(.hero) .btn:not(.secondary):not(.danger) {
  background:linear-gradient(120deg,#25f4fa,#00a7e6);
  box-shadow:0 0 23px rgba(0,207,255,.29);
}
body[data-view="public"]:has(.hero) .footer {
  position:relative;
  color:#9ccce9;
  max-width:1190px;
  margin:42px auto 3px;
  padding-top:25px;
  border-top:1px solid rgba(26,205,250,.48);
  text-shadow:0 1px 5px #001c2b;
}
body[data-view="public"]:has(.hero) .footer::after {
  content:"";
  position:absolute;
  top:-2px;left:12%;width:76%;height:3px;
  background:linear-gradient(90deg,transparent,#16f3ff,transparent);
  filter:blur(4px);opacity:.65;
}
@media (max-width:960px) {
  body[data-view="public"]:has(.hero) .container {padding:6px 16px 34px;}
  body[data-view="public"]:has(.hero) .landing-grid {margin-top:2px;}
}
@media (max-width:670px) {
  body[data-view="public"]:has(.hero)::before {background-size:auto 100%;opacity:.55;}
  body[data-view="public"]:has(.hero) .hero {margin:6px -14px 4px;}
  body[data-view="public"]:has(.hero) .hero img {
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent);
  }
  body[data-view="public"]:has(.hero) .landing-grid {gap:14px;}
  body[data-view="public"]:has(.hero) .features {grid-template-columns:1fr;}
  body[data-view="public"]:has(.hero) .glass {padding:18px;}
  body[data-view="public"]:has(.hero) .footer {margin-top:24px;}
}
@media (prefers-reduced-motion:reduce) {
  body[data-view="public"]:has(.hero) .glass,body[data-view="public"]:has(.hero) .topbar{backdrop-filter:none;}
}
