body,
html {
  scroll-behavior: smooth
}

#portfolio-detail-modal .max-h-\[60vh\],
body {
  scrollbar-width: thin;
  scrollbar-color: #8a2be2 #1a1625
}



@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
body {
  font-family: Manrope, sans-serif;
  background-color: #0f0a15;
  color: #fff;
  overflow-x: hidden
}

body::-webkit-scrollbar {
  width: 8px
}

body::-webkit-scrollbar-track {
  background: #1a1625
}

body::-webkit-scrollbar-thumb {
  background-color: #8a2be2;
  border-radius: 20px;
  border: 2px solid #1a1625
}

.text-balance {
  text-wrap: balance
}

.text-pretty {
  text-wrap: pretty
}

.hidden-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none
}

.hidden-scrollbar::-webkit-scrollbar {
  display: none
}

.card-hover {
  transition: .4s cubic-bezier(.175, .885, .32, 1.275)
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 107, 255, .25)
}

.card-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 107, 255, .1), transparent);
  opacity: 0;
  transition: opacity .4s;
  border-radius: inherit;
  z-index: 0
}

.card-hover:hover::before {
  opacity: 1
}

html {
  scroll-padding-top: 80px
}

#portfolio-detail-modal {
  backdrop-filter: blur(10px);
  padding: 1rem
}

#portfolio-detail-modal div:first-child {
  transition: transform .3s, opacity .3s;
  max-height: 90vh;
  overflow: visible
}

#portfolio-detail-modal .max-h-\[60vh\] {
  -webkit-overflow-scrolling: touch
}

#portfolio-detail-modal .max-h-\[60vh\]::-webkit-scrollbar {
  width: 8px
}

#portfolio-detail-modal .max-h-\[60vh\]::-webkit-scrollbar-track {
  background: #1a1625;
  border-radius: 4px
}

#portfolio-detail-modal .max-h-\[60vh\]::-webkit-scrollbar-thumb {
  background-color: #8a2be2;
  border-radius: 4px
}

[data-scroll-animation] {
  opacity: 0
}

[data-scroll-animation=fade-in-up] {
  transform: translateY(30px)
}

[data-scroll-animation=tilt-in] {
  transform: rotateX(20deg) scale(.9)
}

[data-scroll-animation=scale-in] {
  transform: scale(.9)
}

.timeline-item,
[data-scroll-animation=slide-in] {
  transform: translateX(-30px)
}

[data-scroll-animation=fade-in-up].scroll-visible {
  animation: 1.8s ease-out forwards fade-in-up
}

[data-scroll-animation=fade-in].scroll-visible {
  animation: 4s ease-out forwards fade-in
}

[data-scroll-animation=tilt-in].scroll-visible {
  animation: 1.2s ease-out forwards tilt-in
}

[data-scroll-animation=scale-in].scroll-visible {
  animation: .8s ease-out forwards scale-in
}

[data-scroll-animation=slide-in].scroll-visible {
  animation: .8s ease-out forwards slide-in
}

#mobile-menu {
  background-color: #1a1625 !important;
  backdrop-filter: blur(12px) !important;
  background-clip: padding-box !important;
  height: calc(100vh - 4rem) !important;
  top: 4rem !important;
  opacity: 1 !important;
  overflow-y: auto !important
}

#mobile-menu a {
  position: relative;
  z-index: 10
}

.timeline-item {
  opacity: 0;
  transition: .6s ease-out
}

.step-item.visible,
.timeline-item.visible,
.value-item.visible {
  opacity: 1;
  transform: translateX(0)
}

.section-item {
  opacity: 0;
  transform: translateY(30px);
  transition: .7s cubic-bezier(.175, .885, .32, 1.275)
}

.step-item,
.value-item {
  transition: .6s ease-out;
  opacity: 0
}

.cinematic-steps.visible,
.section-item.visible,
.step-description.visible,
.step-detail.visible,
.step-title.visible {
  opacity: 1;
  transform: translateY(0)
}

.value-item {
  transform: translateX(20px)
}

.step-item {
  transform: translateX(-20px)
}

.cinematic-steps {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .5s, transform .7s
}

.step-icon {
  animation: 3s ease-in-out infinite pulse-glow
}

.step-badge {
  position: relative;
  display: inline-block
}

.step-description,
.step-detail,
.step-title {
  transform: translateY(10px);
  transition: .6s cubic-bezier(.175, .885, .32, 1.275)
}

.process-path {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.645, .045, .355, 1)
}

.process-path.visible {
  transform: scaleX(1)
}

.bg-gradient-radial {
  background: radial-gradient(circle, var(--tw-gradient-stops))
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fade-in {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes tilt-in {
  from {
    opacity: 0;
    transform: rotateX(20deg) scale(.9)
  }

  to {
    opacity: 1;
    transform: rotateX(0) scale(1)
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(.9)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(212, 107, 255, .5)
  }

  50% {
    box-shadow: 0 0 20px rgba(212, 107, 255, .8)
  }
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: .1
  }

  50% {
    opacity: .2
  }
}

@keyframes gradient-rotate {

  0%,
  100% {
    background-position: 0 50%
  }

  50% {
    background-position: 100% 50%
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@media (max-width:768px) {
  #mobile-menu {
    animation: .6s cubic-bezier(.23, 1, .32, 1) forwards slide-in
  }

  .nav-links-mobile {
    margin-top: 4rem
  }

  #portfolio-detail-modal {
    padding: .5rem;
    align-items: flex-start !important
  }

  #portfolio-detail-modal .max-w-5xl {
    max-width: 100% !important
  }

  #portfolio-detail-modal .h-80.md\:h-\[500px\] {
    height: 350px !important
  }

  #portfolio-detail-modal .grid.grid-cols-1.md\:grid-cols-2 {
    grid-template-columns: 1fr !important
  }

  #portfolio-detail-modal .max-h-\[60vh\],
  #portfolio-detail-modal button {
    max-height: 50vh !important
  }

  #portfolio-detail-modal .text-2xl.md\:text-3xl {
    font-size: 1.5rem !important
  }

  #portfolio-detail-modal .p-6.md\:p-8,
  #trust .section-item {
    padding: 1.5rem !important
  }

  #workflow .absolute.left-1,
  #workflow .bg-primary.w-10.h-10 {
    right: auto !important;
    transform: none !important
  }

  #trust .absolute.-top-3.-left-3,
  #workflow .bg-primary.w-10.h-10 {
    position: relative !important;
    left: auto !important;
    margin: 0 auto 1rem !important;
    transform: none !important
  }

  #trust .section-item h3,
  #trust .section-item p {
    text-align: center !important
  }

  #workflow .absolute.left-1 {
    left: 1rem !important;
    width: 2px !important
  }

  #workflow .timeline-item {
    flex-direction: column !important
  }

  #workflow .timeline-item>div:first-child,
  #workflow .timeline-item>div:last-child {
    width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 1.5rem !important
  }

  #workflow .bg-primary.w-10.h-10 {
    top: -20px !important
  }

  #workflow .bg-card {
    margin-left: 1rem !important;
    margin-right: 1rem !important
  }

  #workflow .bg-accent {
    display: inline-block !important;
    margin: 0 auto .5rem !important
  }

  #trust .grid.grid-cols-1.md\:grid-cols-2.gap-8 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important
  }

  #trust .absolute.-top-3.-left-3 {
    top: auto !important
  }

  #trust .section-item h3 {
    margin-top: 0 !important
  }

  #particle-canvas {
    opacity: .6
  }
}

@media (max-width:480px) {
  #particle-canvas {
    opacity: .4
  }
}

@media (prefers-reduced-motion:reduce) {
  #particle-canvas {
    display: none
  }
}

@media (prefers-contrast:less) {
  #particle-canvas {
    opacity: .3
  }
}

/* Zapobiegaj CLS z sticky CTA */

#sticky-cta {
position: fixed;
bottom: 1rem;
right: 1rem;
z-index: 50;
min-height: 60px;
min-width: 150px;
transition: opacity 0.3s ease, transform 0.3s ease;
opacity: 0;
transform: translateY(10px);
pointer-events: none;
visibility: visible !important;
}
#sticky-cta.visible {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
/* ============================================
   ✅ COOKIE CONSENT BANNER STYLES
   ============================================ */

#cookie-consent {
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

#cookie-consent.translate-y-full {
  transform: translateY(100%);
}

#cookie-consent:not(.translate-y-full) {
  transform: translateY(0);
}

/* Upewnij się że banner jest widoczny */
#cookie-consent {
  visibility: visible !important;
  opacity: 1 !important;
}
