/* WEYWOT AI STUDIO */
.weywot-ai-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 60px 0;
    background: #0a0b0c;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.wai-text-panel { padding-right: 20px; }
.wai-badge {
    display: inline-block;
    background: rgba(0, 255, 65, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.wai-title { color: #fff; font-size: 2.2rem; font-weight: 900; line-height: 1.1; margin: 0 0 20px 0; }
.wai-desc { color: #888; font-size: 1rem; line-height: 1.7; margin-bottom: 30px; }
.wai-features { list-style: none; padding: 0; margin: 0; }
.wai-features li { color: #ccc; margin-bottom: 10px; display: flex; align-items: center; font-weight: 500; }
.wai-features li::before { content: '■'; color: var(--accent); margin-right: 15px; font-size: 0.8rem; }

/* INTERAKTYWNY SLIDER PRZED/PO */
.wai-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3; /* Proporcje zdjęcia, dopasuj jeśli używasz innych */
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    user-select: none;
}
.wai-slider-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
/* Kontener dla zdjęcia "Przed", który będziemy ucinać (clip) */
.wai-before-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 50%; /* Startowa pozycja suwaka */
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--accent);
}
.wai-before-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: left; /* Zmusza zdjęcie do trzymania się lewej krawędzi */
}

/* Suwak z ikoną */
.wai-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 40px;
    margin-left: -20px; /* Wyśrodkowanie na linii */
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.wai-handle-icon {
    width: 40px; height: 40px;
    background: #111;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    transition: 0.2s;
}
.wai-slider-container:hover .wai-handle-icon { transform: scale(1.1); background: var(--accent); color: #000; }
.wai-handle-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Etykiety Przed/Po */
.wai-label {
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    pointer-events: none;
}
.wai-label-before { left: 20px; }
.wai-label-after { right: 20px; }

/* RWD */
@media (max-width: 992px) {
    .weywot-ai-wrap { grid-template-columns: 1fr; padding: 30px; }
    .wai-text-panel { padding-right: 0; text-align: center; }
    .wai-features li { justify-content: center; }
}