/* ==========================================================
   KK - No I Okej — style spoza Tailwinda
   ========================================================== */

body {
    background-color: #050505;
    color: #f3f3f5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    cursor: default;
}

@media (max-width: 768px) {
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    .space-y-24 > * + * { margin-top: 3rem !important; }
    .space-y-20 > * + * { margin-top: 2.5rem !important; }
    .space-y-16 > * + * { margin-top: 2rem !important; }
    #hero { padding-top: 8rem !important; padding-bottom: 2rem !important; }
}

#webgl-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1), width 0.2s, height 0.2s, background-color 0.2s;
    border-radius: 50%;
}

.spatial-glass {
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.spatial-glass:hover {
    border-color: rgba(65, 211, 123, 0.35);
    box-shadow: 0 20px 40px -15px rgba(65, 211, 123, 0.15);
}

.text-gradient-custom {
    background: linear-gradient(135deg, #ffffff 20%, #41D37B 80%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #222226; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #41D37B; }

.gsap-reveal { opacity: 1; transform: none; }

.page-fade-in { animation: kkFadeIn 0.4s ease-out forwards; }
@keyframes kkFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Skip-link dostępności (a11y) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: #41D37B;
    color: #000;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
}

/* Stan błędu / sukcesu formularza */
.form-message-error {
    color: #f87171;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', monospace;
    margin-top: 0.5rem;
}
