/* PERFECT TIMING — ruch interfejsu; bez dodatkowych bibliotek */
:root { --motion-cyan: #40bce8; }

/* KAFELKI TECHNOLOGII ------------------------------------------------ */
.tech-page .tech-feature {
  isolation: isolate;
  overflow: hidden;
  border-top-color: #a8cbd8;
  box-shadow: 0 0 0 rgba(9,71,92,0);
  transition: background-color .35s ease, box-shadow .35s ease,
              transform .55s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
}
.tech-page .tech-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,#1688a8 0%,#5dd9ff 57%,#147d9c 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.15,.82,.24,1);
  z-index: 2;
}
.tech-page .tech-feature::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 70%;
  transform: skewX(-25deg);
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.47),transparent);
  pointer-events: none;
  transition: left .9s ease;
  z-index: 0;
}
.tech-page .tech-feature>* { position: relative; z-index: 1; }
.tech-page .tech-feature:hover {
  background: #d9edf2;
  box-shadow: 0 17px 30px rgba(10,77,102,.15), inset 0 0 0 1px rgba(28,144,186,.16);
  transform: translateY(-6px);
}
.tech-page .tech-feature:hover::after { left: 150%; }
.tech-page .tech-feature:hover::before,
.tech-page .tech-feature.is-visible::before { transform: scaleX(1); }
.tech-page .tech-feature>span {
  transition: color .3s ease, letter-spacing .3s ease;
}
.tech-page .tech-feature:hover>span { color: #087eae; letter-spacing: .16em; }
/* Reveal is enabled only after the observer exists. No-script remains fully visible. */
.motion-ready .tech-page .tech-feature:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0,22px,0);
}
.motion-ready .tech-page .tech-feature.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
  transition-delay: var(--motion-stagger,0ms);
}
.motion-ready .tech-page .tech-feature.is-visible:hover {
  transform: translate3d(0,-6px,0);
  transition-delay: 0ms;
}

/* PRZEBIEG POMIARU -------------------------------------------------- */
.tech-page .tech-flow {
  isolation: isolate;
}
.tech-page .tech-flow::before { z-index: -2; }
.tech-page .tech-flow::after {
  content: '';
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 54px;
  width: 1px;
  background: linear-gradient(180deg,transparent,rgba(54,176,219,.43) 11%,rgba(54,176,219,.43) 89%,transparent);
  z-index: 0;
  pointer-events: none;
}
.tech-page .tech-flow-item {
  border-radius: 2px;
  padding-left: 4px;
  padding-right: 12px;
  margin-left: -4px;
  margin-right: -12px;
  transition: background-color .48s ease, box-shadow .48s ease;
}
.tech-page .tech-flow-item::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 52%;
  left: -31px;
  top: 24%;
  background: var(--motion-cyan);
  box-shadow: 0 0 15px rgba(64,188,232,.5);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity .34s ease, transform .46s ease;
  pointer-events: none;
}
.tech-page .tech-flow-item.is-active {
  background: linear-gradient(90deg,rgba(57,177,217,.16),rgba(57,177,217,.035) 72%,transparent);
  box-shadow: inset 0 0 0 1px rgba(75,182,212,.09);
}
.tech-page .tech-flow-item.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}
.tech-page .tech-flow-item>span,
.tech-page .tech-flow-item h3 {
  transition: color .34s ease, text-shadow .34s ease;
}
.tech-page .tech-flow-item.is-active>span {
  color: #b8f0ff;
  text-shadow: 0 0 17px rgba(64,188,232,.8);
}
.tech-page .tech-flow-item.is-active h3 { color: #9ae8ff; }
.tech-page .flow-signal {
  position: absolute;
  top: 0;
  left: 47px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #b4f2ff;
  box-shadow: 0 0 0 5px rgba(64,188,232,.17), 0 0 25px 7px rgba(64,188,232,.44);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(40px);
  transition: transform .9s cubic-bezier(.28,.68,.27,1), opacity .35s ease;
}
.tech-page .tech-flow.is-running .flow-signal { opacity: 1; }
.tech-page .flow-signal::after {
  content:'';
  position:absolute;
  width:6px;
  height:35px;
  left:4.5px;
  top:-34px;
  background:linear-gradient(transparent,rgba(64,188,232,.7));
}
.tech-page .tech-flow-item:hover { background: rgba(57,177,217,.12); }

/* HERO OFERTY ------------------------------------------------------- */
.pt-offer .offer-intro-hero { isolation: isolate; }
.pt-offer .offer-intro-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .3;
  background: radial-gradient(ellipse at 95% 38%,rgba(64,188,232,.26),transparent 46%);
  animation: offer-ambient 9s ease-in-out infinite alternate;
}
.pt-offer .offer-intro-inner { z-index: 1; }
.pt-offer .offer-hero-graphic {
  isolation: isolate;
  box-shadow: inset 0 0 46px rgba(35,148,191,.08);
}
.pt-offer .offer-hero-graphic::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,#6edcff 48%,transparent);
  opacity:.6;
}
.pt-offer .scope-ring { z-index: 1; }
.pt-offer .scope-one { animation-duration: 33s; }
.pt-offer .scope-two {
  animation: offer-breathe 5.5s ease-in-out infinite;
}
.pt-offer .scope-three {
  border-style: dashed;
  animation: offer-counterspin 19s linear infinite;
}
.pt-offer .scope-beam {
  position:absolute;
  top:50%;left:50%;
  width:255px;height:255px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background: conic-gradient(from 10deg, transparent 0deg,transparent 291deg,rgba(47,174,220,.02) 301deg,rgba(64,188,232,.20) 340deg,rgba(104,230,255,.48) 359deg,transparent 360deg);
  mask-image: radial-gradient(circle, transparent 0 28%, black 30% 100%);
  animation: offer-radar 6.8s linear infinite;
  z-index:2;
}
.pt-offer .scope-scan-line {
  position:absolute;
  top:-35%;left:0;width:100%;height:30%;
  background: linear-gradient(transparent, rgba(64,188,232,.10) 62%,rgba(64,188,232,.40));
  animation: offer-scan 8s ease-in-out infinite;
  z-index:1;
}
.pt-offer .scope-detection {
  width:6px;height:6px;position:absolute;
  border-radius:50%;background:#9ceeff;
  box-shadow: 0 0 0 4px rgba(87,200,232,.12),0 0 13px 2px rgba(77,199,238,.47);
  animation: offer-blink 3.5s ease-in-out infinite;
  z-index:3;
}
.pt-offer .scope-detection-a{top:24%;left:24%;animation-delay:0s}
.pt-offer .scope-detection-b{top:73%;left:75%;animation-delay:1.1s;width:4px;height:4px}
.pt-offer .scope-detection-c{top:19%;left:68%;animation-delay:2.1s;width:4px;height:4px}
.pt-offer .offer-hero-graphic img {
  animation: offer-core 5s ease-in-out infinite;
  z-index: 4;
}
.pt-offer .scope-top,.pt-offer .scope-bottom {z-index:5;}
.pt-offer .offer-intro-hero.is-animated .offer-eyebrow { animation: offer-enter .6s .05s both; }
.pt-offer .offer-intro-hero.is-animated h1 { animation: offer-enter .8s .16s both; }
.pt-offer .offer-intro-hero.is-animated .offer-headline { animation: offer-enter .75s .36s both; }
.pt-offer .offer-intro-hero.is-animated .offer-secondary { animation: offer-enter .75s .5s both; }
.pt-offer .offer-intro-hero.is-animated .offer-scroll { animation: offer-enter .7s .64s both; }
.pt-offer .offer-intro-hero.is-animated .offer-hero-graphic { animation: offer-graphic-enter .85s .3s both; }

@keyframes offer-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes offer-graphic-enter {
  from { opacity: 0; transform: translateX(22px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes offer-ambient {
  0% {opacity: .2;transform:translateX(-20px)}
  100% {opacity: .6;transform:translateX(25px)}
}
@keyframes offer-breathe {
  0%,100% {opacity:.45;box-shadow:0 0 10px rgba(64,188,232,.04)}
  50% {opacity:.95;box-shadow:0 0 25px rgba(64,188,232,.20),inset 0 0 25px rgba(64,188,232,.12)}
}
@keyframes offer-counterspin {to{transform:translate(-50%,-50%) rotate(-360deg)}}
@keyframes offer-radar {to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes offer-scan {0%,10%{top:-35%;opacity:0}25%{opacity:.7}70%{top:105%;opacity:.15}100%{top:105%;opacity:0}}
@keyframes offer-blink {0%,45%,100%{opacity:.23}54%,64%{opacity:1}}
@keyframes offer-core {0%,100%{filter:drop-shadow(0 0 10px rgba(64,188,232,.18))}50%{filter:drop-shadow(0 0 21px rgba(64,188,232,.55))}}

/* Ruch jest opcjonalny; treści pozostają dostępne bez animacji. */
@media(max-width:760px) {
  .pt-offer .offer-intro-inner>div:first-child{position:relative;z-index:2}
  .pt-offer .offer-hero-graphic{
    display:block;
    position:absolute;
    right:-100px;top:25px;
    width:238px;height:238px;
    z-index:0;opacity:.14;
    border:0;
    pointer-events:none;
  }
  .tech-page .tech-flow::after{left:49px}
  .tech-page .flow-signal{left:42px}
}
@media(max-width:540px){
  .tech-page .tech-flow::after{left:49px}
  .tech-page .flow-signal{left:42px}
}
@media(prefers-reduced-motion:reduce){
  .tech-page .tech-feature,
  .tech-page .tech-flow-item,
  .pt-offer .offer-intro-hero *,
  .pt-offer .offer-intro-hero::after,
  .pt-offer .offer-intro-hero *::after {
    animation:none!important;
    transition:none!important;
  }
  .motion-ready .tech-page .tech-feature:not(.is-visible){opacity:1;transform:none}
  .tech-page .tech-feature::before{transform:scaleX(1)}
  .tech-page .tech-flow .flow-signal{display:none}
  .tech-page .tech-flow-item.is-active{background:transparent;box-shadow:none}
  .tech-page .tech-flow-item.is-active::before{display:none}
  .tech-page .tech-flow-item.is-active h3{color:#fff}
}
/* Fine alignment of the traveling cursor with the step numbers. */
.tech-page .tech-flow::before{z-index:0}
.tech-page .tech-flow::after{left:42px}
.tech-page .flow-signal{left:35px}
.tech-page .tech-flow-item::before{left:15px}
@media(max-width:760px){
  .tech-page .tech-flow::after{left:42px}
  .tech-page .flow-signal{left:35px}
  .pt-offer .offer-intro-hero.is-animated .offer-hero-graphic{animation:none!important;opacity:.14}
}
/* The signal runs in its own rail, away from numbers and text. */
.tech-page .tech-flow::after { left: 23px; }
.tech-page .flow-signal { left: 16px; }
.tech-page .tech-flow-item::before { left: -12px; }
@media(max-width:760px){
  .tech-page .tech-flow::after { left: 23px; }
  .tech-page .flow-signal { left: 16px; }
}
