/* Animacje strony głównej eBartnet. */
.preview-progress { position: absolute; height: 2px; inset: auto 0 -1px; background: #64e9df; transform-origin: left center; transform: scaleX(0); opacity: 0; }
html.motion-enhanced .preview-progress { opacity: .8; }
.nav-indicator { position: absolute; height: 2px; bottom: 2px; left: 0; width: 12px; background: var(--accent); transform-origin: left; opacity: 0; transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .2s; pointer-events: none; }
html.motion-enhanced .desktop-nav { position: relative; }
html.motion-enhanced .desktop-nav .nav-indicator.visible { opacity: 1; }
html.motion-enhanced .desktop-nav a.active:after { opacity: 0; }
html.motion-enhanced .online-dot { animation: status-glow 3.6s ease-in-out infinite; }
@keyframes status-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(100,233,223,.03); } 50% { box-shadow: 0 0 0 5px rgba(100,233,223,.12), 0 0 14px rgba(100,233,223,.3); } }
html.motion-enhanced .hero-copy > * { animation: hero-in .65s cubic-bezier(.22,1,.36,1) both; }
html.motion-enhanced .hero-copy > :nth-child(2) { animation-delay: .08s; }
html.motion-enhanced .hero-copy > :nth-child(3) { animation-delay: .16s; }
html.motion-enhanced .hero-copy > :nth-child(4) { animation-delay: .22s; }
html.motion-enhanced .hero-copy > :nth-child(5) { animation-delay: .28s; }
html.motion-enhanced .hero-copy > :nth-child(6) { animation-delay: .34s; }
@keyframes hero-in { from { opacity: .82; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
html.motion-enhanced .signature-line path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: signature 1.4s .45s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes signature { to { stroke-dashoffset: 0; } }
html.motion-enhanced .eb-module { cursor: pointer; }
html.motion-enhanced .eb-module:focus-visible { outline: none; filter: drop-shadow(0 0 6px #64e9df); }
html.motion-enhanced .button .icon, html.motion-enhanced .service-cta .icon, html.motion-enhanced .text-link .icon, html.motion-enhanced .text-link span { transition: transform .25s cubic-bezier(.22,1,.36,1); }
html.motion-enhanced .button:hover .icon, html.motion-enhanced .service-cta:hover .icon, html.motion-enhanced .text-link:hover .icon { transform: translateX(3px); }
html.motion-enhanced .text-link:hover span { transform: translateY(3px); }
html.motion-enhanced .preview-reveal { transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--preview-delay, 0ms); }
html.motion-enhanced .preview-reveal.pending { opacity: 0; transform: translateY(18px); }
html.motion-enhanced .service-card { background-image: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(100,233,223,.10), transparent 72%); }
html.motion-enhanced .trust-stat strong span { animation: plus-glow 1s .55s both; }
@keyframes plus-glow { 50% { text-shadow: 0 0 14px #64e9df; } }
.automation-pulses { display:none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html.motion-enhanced .automation-pulses { display:block; }
.automation-pulses .wire { fill:none; stroke:#70fff5; stroke-width:2; stroke-linecap:round; stroke-dasharray:4 145; filter:drop-shadow(0 0 5px #42dfd1); animation: wire 3.2s linear infinite; }
.automation-pulses .wire:nth-child(2) { animation-delay: -1.6s; }
.automation-pulses .wire:nth-child(3) { animation-delay: -.8s; }
.automation-pulses .wire:nth-child(4) { animation-delay: -2.4s; }
@keyframes wire { from { stroke-dashoffset: 149; } to { stroke-dashoffset: 0; } }
html.motion-enhanced .automation-banner > div span { animation: step-light 6s infinite; }
html.motion-enhanced .automation-banner > div span:nth-child(2) { animation-delay: 2s; }
html.motion-enhanced .automation-banner > div span:nth-child(3) { animation-delay: 4s; }
@keyframes step-light { 0%, 100% { color:#bed5d9; } 18%, 32% { color:#8dfff4; text-shadow:0 0 12px #64e9df; } 50% { color:#bed5d9; } }
html.motion-enhanced #demo-output::after { content:' ▌'; color:var(--accent); animation: cursor-blink 1.2s step-end infinite; }
@keyframes cursor-blink { 50% { opacity:0; } }
html.motion-enhanced #terminal-filename.flash { animation: file-flash .6s; }
@keyframes file-flash { 50% { color:#a6fff7; text-shadow:0 0 9px #64e9df; } }
.timeline { position:relative; }
.career-track { display:none; position:absolute; left:4px; width:1px; z-index:2; pointer-events:none; }
html.motion-enhanced .career-ready .career-track { display:block; }
.career-fill { position:absolute; inset:0; background:linear-gradient(to top, rgba(100,233,223,.28), #8dfff4); box-shadow:0 0 7px rgba(100,233,223,.45); transform:scaleY(0); transform-origin:center bottom; }
.career-particle { position:absolute; bottom:0; left:50%; width:9px; height:9px; border-radius:50%; background:#c6fff9; box-shadow:0 0 6px #64e9df, 0 0 18px #64e9df; transform:translate(-50%,50%); opacity:0; }
.career-particle::after { content:''; position:absolute; left:50%; top:50%; width:2px; height:24px; transform:translateX(-50%); background:linear-gradient(#64e9df, transparent); opacity:.8; }
html.motion-enhanced .career-ready .career-fill { animation:career-fill 9s linear infinite; }
html.motion-enhanced .career-ready .career-particle { animation:career-travel 9s linear infinite; }
html.motion-enhanced .career-ready article::before { animation:career-milestone 9s linear infinite; }
html.motion-enhanced .career-ready article:nth-of-type(2)::before { animation-delay:3.15s; }
html.motion-enhanced .career-ready article:first-of-type::before { animation-delay:6.93s; }
@keyframes career-travel {
 0% { bottom:0; opacity:0; }
 5%,12% { bottom:0; opacity:1; }
 40%,50% { bottom:var(--career-middle); opacity:1; }
 82%,90% { bottom:100%; opacity:1; }
 94% { bottom:100%; opacity:0; }
 95%,100% { bottom:0; opacity:0; }
}
@keyframes career-fill {
 0%,5%,12% { transform:scaleY(0); opacity:1; }
 40%,50% { transform:scaleY(var(--career-middle-scale)); opacity:1; }
 82%,90% { transform:scaleY(1); opacity:1; }
 94% { transform:scaleY(1); opacity:0; }
 95%,100% { transform:scaleY(0); opacity:0; }
}
@keyframes career-milestone {
 0%,18%,100% { box-shadow:0 0 0 0 rgba(100,233,223,0); }
 5%,12% { box-shadow:0 0 0 5px rgba(100,233,223,.14), 0 0 15px #64e9df; }
}
html.motion-enhanced .career-ready:not(.career-visible) .career-fill,
html.motion-enhanced .career-ready:not(.career-visible) .career-particle,
html.motion-enhanced .career-ready:not(.career-visible) article::before,
html.motion-enhanced .career-page-hidden .career-fill,
html.motion-enhanced .career-page-hidden .career-particle,
html.motion-enhanced .career-page-hidden article::before { animation-play-state:paused; }
html.motion-enhanced .about-monogram path { stroke-dasharray: 650; stroke-dashoffset:650; }
html.motion-enhanced .about-monogram.mono-visible path { animation: monogram-draw 1.4s ease forwards; }
@keyframes monogram-draw { to { stroke-dashoffset: 0; } }
html.motion-enhanced #contact-service.attention { animation: field-attention 1.4s ease; }
@keyframes field-attention { 20%, 60% { border-color:#64e9df; box-shadow:0 0 0 4px rgba(100,233,223,.12); } }
html.motion-enhanced dialog[open] { animation: dialog-in .3s cubic-bezier(.22,1,.36,1); }
html.motion-enhanced dialog[open]::backdrop { animation: backdrop-in .3s ease; }
@keyframes dialog-in { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes backdrop-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
 html.motion-enhanced .hero-copy > *, html.motion-enhanced .signature-line path, html.motion-enhanced .online-dot, html.motion-enhanced .automation-banner > div span, html.motion-enhanced .automation-pulses .wire, html.motion-enhanced #demo-output::after, html.motion-enhanced .about-monogram.mono-visible path, html.motion-enhanced #contact-service.attention, html.motion-enhanced dialog[open], html.motion-enhanced dialog[open]::backdrop, html.motion-enhanced .trust-stat strong span, html.motion-enhanced .career-ready article::before { animation: none !important; }
 html.motion-enhanced .signature-line path, html.motion-enhanced .about-monogram path { stroke-dashoffset:0 !important; }
 html.motion-enhanced .career-ready .career-track { display:none; }
 html.motion-enhanced .preview-reveal { transition:none; opacity:1 !important; transform:none !important; }
}
html.motion-enhanced .project-item.filter-enter { animation: filter-fade .35s ease both; }
@keyframes filter-fade { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { html.motion-enhanced .project-item.filter-enter { animation:none; } }

html.motion-enhanced .automation-banner.preview-paused * { animation-play-state: paused !important; }

/* Ruch wewnątrz ekranu na oryginalnej fotografii projektu EBARTNET-UI. */
.monitor-animation { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform .8s; }
html.motion-enhanced .monitor-animation { display: block; }
.featured-project:hover .monitor-animation { transform: scale(1.03); }
.monitor-code { fill: none; stroke: #36c9e8; stroke-width: 1; stroke-linecap: round; opacity: .8; animation: monitor-scroll 4.5s linear infinite; }
.monitor-code path:nth-child(3n) { stroke: #75dcef; opacity: .65; }
.monitor-code path:nth-child(4n) { stroke: #1886b2; }
.monitor-cursor { fill: #b6f6ff; animation: monitor-cursor 1.4s steps(1,end) infinite; }
.monitor-bars rect { fill: #49dfff; opacity: .6; transform-box: fill-box; transform-origin: center bottom; animation: monitor-bars 2.4s ease-in-out infinite alternate; }
.monitor-graph { fill: none; stroke: #60dff7; stroke-width: .8; opacity: .7; stroke-dasharray: 65; animation: monitor-graph 5s ease-in-out infinite; }
@keyframes monitor-scroll { to { transform: translateY(-25px); } }
@keyframes monitor-cursor { 50% { opacity: 0; } }
@keyframes monitor-bars { from { transform: scaleY(.42); opacity: .3; } to { transform: scaleY(1); opacity: .85; } }
@keyframes monitor-graph { 0%, 15% { stroke-dashoffset: 65; } 65%, 100% { stroke-dashoffset: 0; } }
html.motion-enhanced .project-art.preview-paused .monitor-animation * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { html.motion-enhanced .monitor-animation { display: none; } }
