/* Reset bazowy */
@layer base {
  html, body { margin: 0; padding: 0; }
  body { overscroll-behavior: none; }
}

::-webkit-scrollbar { display: none; }
.font-signature { font-family: 'Caveat', cursive; }

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(11, 25, 44, 0.06);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}
.btn-shimmer:hover::after {
  left: 140%;
  transition: left 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes aura-pulse {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.98);
    filter: blur(60px);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.04);
    filter: blur(80px);
  }
}
.portrait-aura {
  animation: aura-pulse 5.5s ease-in-out infinite;
}

.pricing-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 109, 65, 0.16);
  border-color: rgba(16, 185, 129, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Płynne przewijanie i offset pod sticky header */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }
#site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(226, 232, 240, 1);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
}

/* Fade-in (aktywne tylko gdy działa JS - bez JS treść jest widoczna) */
.js .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}
