/* PipTech Theme component layer.
 * Small, self-contained components that extend the unified PipTech visual system.
 */

/* Shared inner-page hero information cards */
.pp2-page-hero-grid{grid-template-columns:minmax(0,1fr) minmax(290px,360px);align-items:center}
.pp2-hero-stat{
  align-self:center;
  justify-self:end;
  width:100%;
  max-width:360px;
  min-height:224px;
  justify-content:center;
  padding:26px 28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 10%,rgba(0,140,255,.12),transparent 42%),
    linear-gradient(180deg,rgba(14,35,67,.94),rgba(7,20,40,.96));
}
.pp2-hero-stat::before{content:"";display:block;width:42px;height:3px;margin-bottom:22px;border-radius:99px;background:linear-gradient(90deg,var(--pt-blue),var(--pt-cyan))}
.pp2-hero-stat>span{display:flex;align-items:center;gap:8px}
.pp2-hero-stat>span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--pt-cyan);box-shadow:0 0 12px rgba(37,230,255,.65)}
.pp2-hero-stat strong{max-width:100%;font-size:clamp(2rem,2.55vw,2.6rem);line-height:1.02;letter-spacing:-.035em;overflow-wrap:break-word}
.pp2-hero-stat small{max-width:29ch;margin-top:4px}

/* Homepage technology control-centre visual */
.pp3-tech-visual{
  position:relative;
  width:min(100%,590px);
  min-height:500px;
  margin-inline:auto;
  overflow:hidden;
  border:1px solid rgba(80,167,255,.28);
  border-radius:28px;
  background:
    linear-gradient(rgba(80,167,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(80,167,255,.055) 1px,transparent 1px),
    radial-gradient(circle at 50% 45%,rgba(0,153,255,.26),transparent 30%),
    linear-gradient(145deg,rgba(10,31,62,.92),rgba(3,13,29,.96));
  background-size:32px 32px,32px 32px,auto,auto;
  box-shadow:0 30px 90px rgba(0,0,0,.34),inset 0 0 70px rgba(0,124,255,.05);
  isolation:isolate;
}
.pp3-tech-visual::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(37,230,255,.1);
  border-radius:21px;
  pointer-events:none;
}
.pp3-tech-visual::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(37,230,255,.13);
  border-radius:50%;
  box-shadow:0 0 0 48px rgba(0,140,255,.035),0 0 0 96px rgba(0,140,255,.02);
  pointer-events:none;
  z-index:-1;
}
.pp3-tech-topbar{
  position:absolute;
  left:28px;
  right:28px;
  top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#82a6c8;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.pp3-tech-topbar strong{color:#4ed6ff;font-size:.72rem}
.pp3-tech-status{display:inline-flex;align-items:center;gap:7px}
.pp3-tech-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#25e6ff;box-shadow:0 0 14px rgba(37,230,255,.8)}
.pp3-tech-core{
  position:absolute;
  left:50%;
  top:48%;
  width:260px;
  height:260px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  border:1px solid rgba(80,167,255,.32);
  border-radius:31px;
  background:linear-gradient(145deg,rgba(14,42,79,.9),rgba(3,15,34,.96));
  box-shadow:0 28px 70px rgba(0,0,0,.34),inset 0 0 50px rgba(0,140,255,.07),0 0 60px rgba(0,124,255,.12);
  z-index:2;
}
.pp3-tech-core::before{
  content:"PLUGINPIP CORE";
  position:absolute;
  top:15px;
  left:18px;
  color:#7394b4;
  font-size:.58rem;
  font-weight:850;
  letter-spacing:.13em;
}
.pp3-tech-core::after{
  content:"CONNECTED";
  position:absolute;
  right:17px;
  bottom:14px;
  color:#2fcfff;
  font-size:.56rem;
  font-weight:850;
  letter-spacing:.12em;
}
.pp3-tech-core img{
  width:190px;
  max-height:190px;
  object-fit:contain;
  mix-blend-mode:screen;
  filter:drop-shadow(0 0 24px rgba(0,160,255,.48));
}
.pp3-tech-node{
  position:absolute;
  z-index:3;
  min-width:142px;
  padding:12px 14px;
  border:1px solid rgba(80,167,255,.27);
  border-radius:13px;
  background:rgba(5,18,39,.9);
  color:inherit;
  text-decoration:none;
  box-shadow:0 15px 38px rgba(0,0,0,.24);
  backdrop-filter:blur(10px);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.pp3-tech-node:hover,.pp3-tech-node:focus-visible{transform:translateY(-3px);border-color:rgba(37,230,255,.5);background:rgba(7,27,57,.96);box-shadow:0 18px 46px rgba(0,124,255,.2)}
.pp3-tech-node i{display:grid;width:27px;height:27px;margin-bottom:7px;place-items:center;border-radius:8px;background:rgba(0,140,255,.14);color:#38d4ff;font-style:normal;font-size:.72rem;font-weight:900}
.pp3-tech-node strong{display:block;color:#fff;font-size:.77rem;line-height:1.25}
.pp3-tech-node small{display:block;margin-top:3px;color:#7f9ab4;font-size:.62rem}
.pp3-tech-node--web{left:28px;top:105px}
.pp3-tech-node--ai{right:28px;top:115px}
.pp3-tech-node--host{left:30px;bottom:99px}
.pp3-tech-node--secure{right:30px;bottom:104px}
.pp3-tech-link{position:absolute;z-index:1;height:1px;background:linear-gradient(90deg,transparent,rgba(37,230,255,.5),transparent);transform-origin:left center;opacity:.8}
.pp3-tech-link::after{content:"";position:absolute;right:12%;top:-2px;width:5px;height:5px;border-radius:50%;background:#25e6ff;box-shadow:0 0 10px rgba(37,230,255,.9)}
.pp3-tech-link--one{width:160px;left:150px;top:180px;transform:rotate(24deg)}
.pp3-tech-link--two{width:155px;right:146px;top:191px;transform:rotate(156deg)}
.pp3-tech-link--three{width:155px;left:145px;bottom:164px;transform:rotate(-24deg)}
.pp3-tech-link--four{width:155px;right:145px;bottom:167px;transform:rotate(204deg)}
.pp3-tech-dock{
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  gap:8px;
  padding:8px;
  border:1px solid rgba(80,167,255,.18);
  border-radius:13px;
  background:rgba(3,13,30,.86);
  white-space:nowrap;
}
.pp3-tech-dock a{padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.035);color:#82a0bd;font-size:.58rem;font-weight:800;letter-spacing:.04em;text-decoration:none;transition:color .18s ease,background .18s ease,transform .18s ease}
.pp3-tech-dock a:hover,.pp3-tech-dock a:focus-visible{color:#fff;background:rgba(0,140,255,.2);transform:translateY(-1px)}
.pp3-tech-dock a:first-child{color:#41d3ff;background:rgba(0,140,255,.11)}

/* Homepage product cards are now real links */
.pp3-product-link{position:relative;display:block;border:1px solid transparent;border-radius:14px;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.pp3-product-link:hover,.pp3-product-link:focus-visible{transform:translateY(-3px);border-color:rgba(80,167,255,.28);background:rgba(10,27,52,.55)}
.pp3-product-arrow{position:absolute;right:12px;top:14px;color:#38d4ff;font-weight:900;opacity:.72}

/* Platform-agnostic capability strip */
.pt-stack-note{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 28px;padding:18px 20px;border:1px solid rgba(80,167,255,.18);border-radius:15px;background:linear-gradient(145deg,rgba(9,30,59,.8),rgba(4,16,35,.9))}
.pt-stack-note strong{flex:1 0 100%;margin-bottom:4px;color:#fff;font-size:1rem}
.pt-stack-note span{display:inline-flex;padding:7px 10px;border:1px solid rgba(37,230,255,.18);border-radius:999px;background:rgba(0,140,255,.08);color:#9fdaf0;font-size:.72rem;font-weight:800;letter-spacing:.02em}

/* Services page composition */
.pt-section-intro,.pt-products-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.58fr);gap:56px;align-items:end;margin-bottom:34px}
.pt-section-intro h2,.pt-products-heading h2{margin:0;color:#fff;font-size:clamp(2.3rem,4.6vw,4.5rem);line-height:1;letter-spacing:-.05em}
.pt-section-intro h2 span,.pt-products-heading h2 span{color:var(--pt-blue)}
.pt-section-intro>p,.pt-products-heading>p{margin:0;color:#aebed0}
.pt-system-strip{padding:24px 0;border-block:1px solid rgba(80,167,255,.12);background:#020b19}
.pt-system-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.pt-system-strip-grid>div{padding:18px;border:1px solid rgba(80,167,255,.13);border-radius:13px;background:rgba(255,255,255,.025)}
.pt-system-strip span{color:#35d1ff;font-size:.7rem;font-weight:900}.pt-system-strip strong{display:block;margin:.35rem 0 .15rem;color:#fff;font-size:1.05rem}.pt-system-strip small{color:#8298ae}
.pt-products-showcase{scroll-margin-top:110px;padding:88px 0;background:radial-gradient(circle at 88% 15%,rgba(0,140,255,.14),transparent 35%),linear-gradient(180deg,#03101f,#020a18);border-top:1px solid rgba(80,167,255,.1)}
.pt-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pt-product-card{scroll-margin-top:120px;display:flex;min-height:330px;flex-direction:column;padding:25px;border:1px solid rgba(80,167,255,.2);border-radius:19px;background:linear-gradient(160deg,rgba(13,36,70,.92),rgba(5,18,39,.94));box-shadow:0 20px 60px rgba(0,0,0,.14);transition:transform .18s ease,border-color .18s ease}
.pt-product-card:hover{transform:translateY(-3px);border-color:rgba(37,230,255,.38)}
.pt-product-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.pt-product-badge{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(37,230,255,.24);border-radius:12px;background:rgba(0,140,255,.15);color:#47d4ff;font-weight:900}.pt-product-category{color:#7994af;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;text-align:right}
.pt-product-card h3{margin:25px 0 10px;color:#fff;font-size:1.65rem;letter-spacing:-.035em}.pt-product-summary{margin:0;color:#d0deec;font-weight:650}.pt-product-detail{margin:13px 0 22px;color:#91a7bd;font-size:.9rem}.pt-product-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(80,167,255,.11)}.pt-product-actions a{text-decoration:none}.pt-product-primary{color:#3fd3ff;font-weight:850}.pt-product-anchor{color:#7890a8;font-size:.75rem}

/* Footer finishing layer */
.pt-footer-cta{display:inline-flex!important;width:max-content;margin-top:15px!important;padding:8px 12px;border:1px solid rgba(80,167,255,.22);border-radius:9px;background:rgba(0,140,255,.08);color:#48d2ff!important;font-weight:800}
.pt-footer-legal{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.07);color:#8499b0;font-size:.8rem}.pt-footer-legal>div{display:flex;gap:16px}.pt-footer-legal a{margin:0;color:#91a7bd;text-decoration:none}.pt-footer-legal a:hover{color:#4fd4ff}

@media (prefers-reduced-motion:no-preference){
  .pp3-tech-core{animation:pp3CoreFloat 6s ease-in-out infinite}
  .pp3-tech-node--web,.pp3-tech-node--secure{animation:pp3NodeFloat 7s ease-in-out infinite}
  .pp3-tech-node--ai,.pp3-tech-node--host{animation:pp3NodeFloat 7s ease-in-out -3.5s infinite}
  .pp3-tech-link::after{animation:pp3Signal 2.8s linear infinite}
}
@keyframes pp3CoreFloat{0%,100%{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-7px)}}
@keyframes pp3NodeFloat{0%,100%{translate:0 0}50%{translate:0 -4px}}
@keyframes pp3Signal{0%{right:82%;opacity:0}15%{opacity:1}85%{opacity:1}100%{right:10%;opacity:0}}

@media(max-width:1050px){
  .pp3-tech-visual{min-height:470px}
  .pp3-tech-core{width:235px;height:235px}.pp3-tech-core img{width:172px}
  .pp3-tech-node{min-width:132px}
  .pt-product-grid{grid-template-columns:repeat(2,1fr)}
  .pp2-page-hero-grid{grid-template-columns:minmax(0,1fr) minmax(270px,320px)}
}
@media(max-width:900px){
  .pp3-tech-visual{max-width:650px;min-height:500px}
  .pt-section-intro,.pt-products-heading{grid-template-columns:1fr;gap:18px}.pt-system-strip-grid{grid-template-columns:repeat(2,1fr)}
  .pp2-page-hero-grid{grid-template-columns:1fr}.pp2-hero-stat{justify-self:start;max-width:520px;min-height:0}
}
@media(max-width:680px){
  .pt-product-grid,.pt-system-strip-grid{grid-template-columns:1fr}.pt-products-showcase{padding:60px 0}.pt-product-card{min-height:0}.pt-footer-legal{align-items:flex-start;flex-direction:column}
  .pp2-hero-stat{padding:22px}.pp2-hero-stat strong{font-size:clamp(1.9rem,10vw,2.45rem)}
}
@media(max-width:580px){
  .pp3-tech-visual{min-height:410px;border-radius:22px}
  .pp3-tech-topbar{left:20px;right:20px;top:18px}.pp3-tech-topbar span:last-child{display:none}
  .pp3-tech-core{top:47%;width:190px;height:190px;border-radius:25px}.pp3-tech-core img{width:136px}.pp3-tech-core::before{font-size:.5rem}.pp3-tech-core::after{font-size:.48rem}
  .pp3-tech-node{min-width:0;width:116px;padding:9px 10px}.pp3-tech-node i{width:23px;height:23px;margin-bottom:5px}.pp3-tech-node strong{font-size:.66rem}.pp3-tech-node small{font-size:.54rem}
  .pp3-tech-node--web{left:14px;top:79px}.pp3-tech-node--ai{right:14px;top:84px}.pp3-tech-node--host{left:14px;bottom:78px}.pp3-tech-node--secure{right:14px;bottom:80px}
  .pp3-tech-link{display:none}
  .pp3-tech-dock{bottom:17px;max-width:calc(100% - 28px);overflow-x:auto;scrollbar-width:none}.pp3-tech-dock::-webkit-scrollbar{display:none}.pp3-tech-dock a{font-size:.51rem;padding:4px 6px}
}
