/* Practius Global Web RC1.5: visual fidelity for three approved concepts.
   Every UI glyph here is decorative. The only real application capture in the
   Home hero remains the Engine dashboard, with illustrative/demo values.
   All prose stays in Razor localization and continues to support pt/en/es. */

/* 01 — HERO: larger real screenshot, industrial atmosphere, light paths. */
.hero-home-b {
  position: relative;
  isolation: isolate;
  min-height: 770px;
  background:
    radial-gradient(ellipse 43% 46% at 80% 43%, rgba(16, 108, 204, .34), transparent 79%),
    radial-gradient(ellipse 37% 42% at 96% 68%, rgba(245, 102, 14, .14), transparent 86%),
    linear-gradient(106deg, #020e1c 0%, #07182d 48%, #092743 100%);
}
.hero-home-b .hero-grid-bg {opacity:.20}
.hero-factory-ambient {
  position:absolute; inset:0 0 0 43%; z-index:0; overflow:hidden;
  opacity:.73; pointer-events:none;
  mask-image:linear-gradient(90deg,transparent,black 38%,black 87%,transparent);
}
.hero-factory-ambient svg {position:absolute;inset:-4% -10% 0 0;width:115%;height:104%;}
.hero-home-b .hero-layout {
  grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);
  gap:clamp(28px,3vw,50px);
  align-items:center; min-height:640px;
}
.hero-home-b .hero-copy {max-width:680px}
.hero-home-b .hero-copy h1 {font-size:clamp(42px,4.1vw,66px);line-height:1.08}
.hero-home-b .hero-copy p {max-width:620px;font-size:clamp(16px,1.27vw,19px)}
.hero-real-ui-premium {
  isolation:isolate; margin:0 -12px 0 -4px; padding:78px 0 68px;
  transform:translateY(-4px);
}
.hero-real-ui-premium::before {
  inset:6% -10% 3%; border-radius:40%; filter:blur(27px);
  background:radial-gradient(ellipse,rgba(35,146,255,.32),rgba(22,86,156,.14) 48%,transparent 70%);
}
.hero-real-ui-premium::after {
  z-index:-2; inset:19% -5% 6% -3%;
  background:linear-gradient(135deg,rgba(20,104,196,.15),transparent 48%,rgba(15,54,98,.15));
  border:1px solid rgba(85,163,241,.12);border-radius:26px;
  transform:perspective(1200px) rotateY(-3deg) skewY(-1.5deg);
}
.hero-product-light {inset:5% -10% 5% -7%;opacity:.8;background-size:21px 21px}
.hero-arc {position:absolute;pointer-events:none;z-index:-1;transform:rotate(-8deg)}
.hero-arc-orange {
  width:92%;height:53%;top:8%;right:-24%;border-top:2px solid rgba(255,135,45,.93);
  border-right:2px solid rgba(255,132,38,.65);border-radius:50% 50% 32% 20%;
  box-shadow:0 -7px 24px rgba(255,114,25,.34);
}
.hero-arc-blue {
  width:94%;height:67%;bottom:-2%;left:-9%;border-left:1px solid rgba(65,167,255,.58);
  border-bottom:2px solid rgba(62,159,245,.55);border-radius:24% 20% 45% 45%;
  box-shadow:0 10px 48px rgba(34,130,241,.22);
}
.hero-plinth {
  position:absolute; z-index:-1;left:1%;right:1%;bottom:12%;height:20%;
  transform:perspective(500px) rotateX(68deg);
  background:linear-gradient(180deg,rgba(30,127,209,.32),rgba(10,42,84,.04));
  border:1px solid rgba(69,167,244,.34);border-radius:45%;
  box-shadow:0 24px 65px rgba(34,121,235,.23);
}
.hero-real-ui-premium .hero-ui-label {margin:0 5px 14px;color:#bcd6ef}
.hero-real-ui-premium .hero-ui-label b {font-size:15px;color:#f3f8ff}
.hero-screen-spotlight {
  position:relative;display:block;overflow:visible;border:1px solid rgba(116,207,255,.97);
  outline:2px solid rgba(57,150,249,.43);outline-offset:3px;
  border-radius:18px;background:#071b31;
  box-shadow:0 0 0 7px rgba(36,108,186,.12),0 0 28px rgba(81,182,255,.56),
    0 30px 75px rgba(0,8,24,.90),inset 0 1px 5px rgba(206,239,255,.26);
  transform:none;
}
.hero-screen-spotlight::after {
  content:"";position:absolute;inset:-2px;z-index:2;pointer-events:none;border-radius:18px;
  background:linear-gradient(120deg,rgba(161,217,255,.18),transparent 27%,transparent 80%,rgba(70,178,252,.12));
}
.hero-screen-spotlight img {width:100%;height:auto;aspect-ratio:1320/512;border-radius:17px;object-fit:contain}
.hero-real-ui-premium>small {display:block;margin-top:19px;color:#b9cbe0;font-size:11px}

/* 02 — WORKSPACE: product tiles as an illuminated, connected platform. */
.dark-section:has(.portal-shell-premium) {
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse 48% 80% at 70% 50%,rgba(28,89,160,.25),transparent 75%),
    linear-gradient(125deg,#031120 10%,#0a213c 100%);
}
.dark-section:has(.portal-shell-premium)::before {
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.37;
  background-image:linear-gradient(rgba(49,121,188,.11) 1px,transparent 1px),
    linear-gradient(90deg,rgba(49,121,188,.11) 1px,transparent 1px);
  background-size:48px 48px;mask-image:linear-gradient(130deg,transparent 45%,black 95%);
}
.dark-section .content-panel:has(.portal-shell-premium) {
  position:relative;align-items:center;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);
  gap:clamp(30px,4vw,70px);
}
.portal-shell-premium {
  position:relative;isolation:isolate;border:1px solid rgba(96,178,250,.58);
  background:linear-gradient(155deg,rgba(16,45,81,.98),rgba(2,19,39,.99));
  border-radius:24px;
  box-shadow:0 32px 80px rgba(0,3,16,.65),0 0 35px rgba(26,107,199,.18),
    inset 0 1px 2px rgba(181,224,255,.15);
}
.portal-dashboard-orbit {
  position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 58% 42% at 42% 57%,rgba(15,106,192,.25),transparent 85%),
    radial-gradient(circle at 100% 0%,rgba(255,114,32,.13),transparent 36%);
}
.portal-shell-premium .portal-top {
  position:relative;padding:21px 24px;background:linear-gradient(90deg,rgba(8,28,52,.45),rgba(11,44,79,.65));
  border-bottom:1px solid rgba(112,178,237,.25);
}
.portal-shell-premium .portal-top strong {font-size:17px;color:#fff}
.portal-brand-pulse {
  display:inline-block;width:9px;height:9px;margin-left:9px;border-radius:50%;
  background:#ff8b38;box-shadow:0 0 0 5px rgba(255,124,27,.12),0 0 14px rgba(255,124,27,.65);
}
.portal-shell-premium .portal-context {padding:17px 22px 2px;gap:10px}
.portal-shell-premium .portal-context span {
  padding:9px 13px;border-color:rgba(116,177,233,.48);border-radius:9px;
  background:linear-gradient(155deg,#143657,#0a2542);color:#e3effb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.portal-shell-premium .portal-apps-premium {
  position:relative;z-index:2;gap:12px;padding:17px 22px 20px;
}
.portal-shell-premium .portal-app-card {
  position:relative;min-height:112px;grid-template-columns:45px minmax(0,1fr) 11px;
  border:1px solid rgba(92,156,217,.49);border-radius:13px;padding:15px 13px;
  background:linear-gradient(137deg,rgba(37,84,140,.79),rgba(10,34,68,.95));
  box-shadow:0 11px 22px rgba(0,8,27,.42),inset 0 1px 0 rgba(141,207,255,.13);
  transform:translateY(0);transition:transform .2s,border-color .2s;
}
.portal-shell-premium .portal-app-card::before {
  content:"";position:absolute;inset:auto 7px -7px 7px;height:10px;z-index:-1;border:1px solid rgba(67,136,211,.26);
  border-radius:0 0 12px 12px;background:rgba(9,35,66,.65);
}
.portal-shell-premium .portal-app-card:first-child {
  border-color:#ff8a35;background:linear-gradient(130deg,rgba(81,58,52,.93),rgba(24,46,78,.97));
  box-shadow:0 0 22px rgba(255,123,28,.12),0 13px 26px rgba(0,5,18,.55),inset 4px 0 0 #ff7a00;
}
.portal-shell-premium .portal-app-card:hover {transform:translateY(-3px);border-color:#80b8ee}
.portal-shell-premium .portal-app-glyph {
  width:45px;height:45px;padding:10px;border:1px solid rgba(119,189,248,.33);
  border-radius:10px;background:linear-gradient(160deg,rgba(69,135,203,.24),rgba(9,33,65,.6));
  filter:drop-shadow(0 0 9px rgba(70,160,250,.25));
}
.portal-shell-premium .portal-app-card:first-child .portal-app-glyph {
  background:rgba(255,121,29,.11);border-color:rgba(255,132,40,.48);
}
.portal-shell-premium .portal-app-card strong {font-size:13px}
.portal-shell-premium .portal-app-card small {font-size:10px;line-height:1.45}
.portal-connection-trails {position:relative;margin:-5px 24px 0;height:25px;display:flex;justify-content:space-around}
.portal-connection-trails i {position:relative;width:1px;height:100%;background:linear-gradient(#347ec0,#f78a37)}
.portal-connection-trails i::after {
  content:"";position:absolute;width:6px;height:6px;left:-2.5px;bottom:-2px;border-radius:50%;
  background:#ff8f3f;box-shadow:0 0 9px #ff8f3f;
}
.portal-shell-premium .portal-signal-flow {
  margin:0 22px 10px;padding:16px 11px;border-color:rgba(74,153,226,.44);
  background:linear-gradient(180deg,rgba(2,16,32,.92),rgba(4,27,52,.81));
  box-shadow:inset 0 1px 13px rgba(43,118,218,.12);
}
.portal-shell-premium .portal-signal-flow>span {
  padding:10px 9px;color:#dceeff;border:1px solid #285989;border-radius:11px;
  background:linear-gradient(160deg,rgba(12,43,77,.92),rgba(5,23,45,.98));
}
.portal-shell-premium .portal-signal-flow i {border-top:1px dashed #338edc}
.portal-shell-premium .portal-diagram-note {padding:13px 16px 20px;color:#b3c9df}

/* 03 — ARCHITECTURE: illuminated floating layers and upward data path. */
.platform-hero {
  overflow:hidden;background:radial-gradient(ellipse 45% 65% at 81% 43%,rgba(24,94,175,.25),transparent 80%),
    linear-gradient(120deg,#031120,#0a2342);
}
.platform-hero .shell.two-col {
  grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);gap:clamp(32px,4vw,65px);
}
.platform-stack-premium {
  isolation:isolate;padding:24px 23px 20px;border-radius:25px;
  border:1px solid rgba(78,159,246,.63);
  background:radial-gradient(circle at 86% 33%,rgba(27,105,220,.23),transparent 43%),
    linear-gradient(150deg,rgba(6,29,59,.97),rgba(4,19,39,.97));
  box-shadow:0 38px 82px rgba(0,3,18,.57),inset 0 1px rgba(135,202,255,.12);
}
.platform-stack-premium::before {
  opacity:.5;background-size:30px 30px;
}
.architecture-layers {gap:13px;padding:10px 7px 21px}
.architecture-layers::after {content:none}
.architecture-energy-path {
  position:absolute;z-index:1;pointer-events:none;left:50%;top:1%;bottom:0;width:2px;
  background:linear-gradient(0deg,rgba(66,157,249,.85),rgba(43,148,246,.75) 74%,rgba(255,123,30,.96));
  box-shadow:0 0 13px rgba(74,162,248,.56);
}
.architecture-energy-path::after {
  content:"↑";position:absolute;top:-14px;left:-7px;font-size:20px;color:#ff8c3a;
  text-shadow:0 0 13px rgba(255,112,24,.88);
}
.platform-stack-premium .platform-layer {
  position:relative;z-index:2;display:grid;align-items:center;
  grid-template-columns:31px 46px minmax(0,1fr) 92px;gap:13px;
  min-height:100px;padding:15px 13px;border-radius:15px;
  border:1px solid rgba(69,148,237,.68);
  background:linear-gradient(115deg,rgba(22,64,113,.96),rgba(8,35,77,.94));
  box-shadow:0 10px 25px rgba(0,8,33,.36),inset 0 1px rgba(118,196,253,.12),0 0 17px rgba(16,90,198,.13);
}
.platform-stack-premium .platform-layer-decision {
  border-color:rgba(255,141,53,.89);background:linear-gradient(110deg,rgba(78,54,55,.90),rgba(18,42,76,.96));
  box-shadow:0 0 21px rgba(255,117,30,.13),0 12px 27px rgba(0,7,26,.42);
}
.platform-stack-premium .platform-layer-number {font-size:11px}
.platform-stack-premium .platform-layer-icon {
  width:46px;height:46px;border-radius:12px;color:#89cbff;
  background:linear-gradient(160deg,rgba(54,112,193,.3),rgba(5,23,48,.89));
  box-shadow:inset 0 1px rgba(188,222,255,.12),0 0 14px rgba(29,113,238,.18);
}
.platform-stack-premium .platform-layer-icon svg {width:26px;height:26px}
.platform-stack-premium .platform-layer-info strong {font-size:13px;color:#f2f7ff}
.platform-stack-premium .platform-layer-info small {font-size:11px;color:#b7d2ea}
.platform-layer-tags span {color:#c5dcf5;border-color:rgba(113,179,240,.38)}
.layer-visual {position:relative;display:block;width:85px;height:68px;filter:drop-shadow(0 10px 8px rgba(0,7,29,.5))}
.layer-visual span {position:absolute;display:block}
.layer-visual-prediction span:nth-child(-n+3) {
  bottom:12px;width:12px;border-radius:3px 3px 0 0;
  background:linear-gradient(180deg,#ffa657,#ff6c1d 16%,#153e82);border:1px solid #e98842;
  box-shadow:0 0 12px rgba(255,136,46,.36);
}
.layer-visual-prediction span:nth-child(1){height:18px;left:14px}
.layer-visual-prediction span:nth-child(2){height:31px;left:35px}
.layer-visual-prediction span:nth-child(3){height:46px;left:56px}
.layer-visual-prediction span:nth-child(4){left:15px;right:9px;top:7px;height:2px;background:#ffac63;transform:rotate(-24deg)}
.layer-visual-applications span {
  width:28px;height:24px;border:1px solid #69b8ff;border-radius:6px;
  background:linear-gradient(145deg,#3880e0,#0b376f);box-shadow:0 0 12px rgba(35,138,249,.29);
}
.layer-visual-applications span:nth-child(1){left:6px;top:10px}
.layer-visual-applications span:nth-child(2){left:45px;top:10px}
.layer-visual-applications span:nth-child(3){left:6px;top:39px}
.layer-visual-applications span:nth-child(4){left:45px;top:39px}
.layer-visual-foundation span {
  width:58px;height:26px;left:12px;border:1px solid #76c7ff;border-radius:7px;
  background:linear-gradient(180deg,rgba(65,153,243,.79),rgba(7,47,104,.94));
  transform:skewY(-12deg);box-shadow:0 0 15px rgba(43,130,232,.31);
}
.layer-visual-foundation span:nth-child(1){top:7px}
.layer-visual-foundation span:nth-child(2){top:20px}
.layer-visual-foundation span:nth-child(3){top:33px}
.layer-visual-foundation span:nth-child(4){top:46px}
.layer-visual-connect span {width:15px;height:15px;border-radius:5px;border:1px solid #75c5ff;
  background:linear-gradient(135deg,#2086d9,#0a3b7d);box-shadow:0 0 14px rgba(44,132,255,.35)}
.layer-visual-connect span:nth-child(1){left:37px;top:3px;width:24px;height:24px}
.layer-visual-connect span:nth-child(2){left:3px;top:44px}
.layer-visual-connect span:nth-child(3){left:66px;top:44px}
.layer-visual-connect span:nth-child(4){left:39px;top:42px}
.layer-visual-connect::before,.layer-visual-connect::after {
  content:"";position:absolute;top:32px;width:40px;border-top:2px solid #49aeef;
}
.layer-visual-connect::before{left:5px;transform:rotate(-45deg)}
.layer-visual-connect::after{right:0;transform:rotate(45deg)}
.platform-stack-premium .platform-sources {gap:8px;padding-top:13px}
.platform-stack-premium .platform-sources span {
  min-height:52px;padding:7px 3px;flex-direction:column;border:1px solid #31659a;border-radius:11px;
  background:linear-gradient(160deg,rgba(11,42,82,.94),rgba(4,25,50,.94));
  box-shadow:inset 0 1px rgba(132,191,240,.09),0 5px 18px rgba(0,8,30,.36);
}
.platform-stack-premium .source-glyph {width:20px;height:20px;color:#86caff}
.platform-stack-premium .architecture-disclaimer {padding:5px 0 0;color:#b1c7df}

/* Breakpoints preserve DOM reading order and prevent horizontal page overflow. */
@media(max-width:1150px) {
  .hero-home-b .hero-layout {grid-template-columns:1fr;gap:18px}
  .hero-home-b .hero-copy {max-width:860px}
  .hero-real-ui-premium {width:min(950px,100%);margin:0 auto;padding:36px 0 40px}
  .dark-section .content-panel:has(.portal-shell-premium) {grid-template-columns:1fr}
  .platform-hero .shell.two-col {grid-template-columns:1fr}
}
@media(max-width:800px) {
  .hero-home-b {min-height:auto}
  .hero-factory-ambient {left:10%;opacity:.35}
  .hero-home-b .hero-layout {min-height:0}
  .hero-screen-spotlight {transform:none}
  .hero-real-ui-premium {padding:24px 0 35px}
  .portal-shell-premium .portal-apps-premium {grid-template-columns:repeat(2,minmax(0,1fr))}
  .platform-stack-premium .platform-layer {grid-template-columns:27px 42px minmax(0,1fr) 66px;gap:9px}
  .layer-visual {transform:scale(.74);transform-origin:center right}
}
@media(max-width:580px) {
  .hero-home-b .hero-copy h1 {font-size:clamp(35px,9vw,49px)}
  .hero-real-ui-premium .hero-ui-label {font-size:10px}
  .hero-screen-spotlight {border-radius:10px;outline-offset:2px}
  .hero-screen-spotlight img {border-radius:9px}
  .hero-arc-orange {opacity:.6}
  .portal-shell-premium .portal-apps-premium {grid-template-columns:1fr;gap:13px}
  .portal-shell-premium .portal-app-card {min-height:80px}
  .portal-shell-premium .portal-top {padding:16px}
  .portal-shell-premium .portal-context {padding:14px 15px 0}
  .portal-shell-premium .portal-signal-flow {margin:0 14px 9px;gap:2px;padding:9px 5px}
  .portal-shell-premium .portal-signal-flow>span {font-size:9px;padding:7px 4px}
  .platform-stack-premium {padding:15px 10px}
  .platform-stack-premium .platform-layer {grid-template-columns:23px 33px minmax(0,1fr);gap:8px;min-height:102px;padding:11px 8px}
  .platform-stack-premium .platform-layer-icon {width:32px;height:32px}
  .platform-stack-premium .platform-layer-icon svg {width:20px;height:20px}
  .platform-stack-premium .layer-visual {display:none}
  .platform-stack-premium .platform-layer-info strong {font-size:12px}
  .platform-stack-premium .platform-sources {grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
  .platform-stack-premium .platform-sources span {font-size:8px;min-height:48px}
  .platform-stack-premium .source-glyph {width:15px;height:15px}
}
@media(prefers-reduced-motion:reduce) {
  .hero-screen-spotlight,.hero-screen-spotlight:hover {transform:none;transition:none}
  .portal-shell-premium .portal-app-card:hover {transform:none}
}
