.vibe-showcase {
    --vibe-green: #00ff85;
    --vibe-lime: #c6ff38;
    --vibe-ink: #07110c;
    position: relative;
    margin: 0 0 clamp(3.5rem, 8vw, 6rem);
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 133, 0.32);
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 0%, rgba(0, 255, 133, 0.15), transparent 30%),
        radial-gradient(circle at 100% 55%, rgba(107, 70, 193, 0.2), transparent 36%),
        #07100c;
    box-shadow: 0 24px 80px rgba(0, 255, 133, 0.08);
    color: #fff;
    isolation: isolate;
}

.vibe-showcase::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.vibe-showcase[hidden] {
    display: none;
}

.vibe-showcase__heading {
    max-width: 650px;
    margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
}

.vibe-showcase__eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(198, 255, 56, 0.45);
    border-radius: 999px;
    background: rgba(198, 255, 56, 0.08);
    color: var(--vibe-lime);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.vibe-showcase__heading h2 {
    margin: 0 0 1rem;
    background: linear-gradient(110deg, #fff 20%, var(--vibe-lime));
    background-clip: text;
    color: transparent;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.04em;
}

.vibe-showcase__heading p {
    margin: 0;
    color: #b8c5bd;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.75;
}

.vibe-showcase__flow {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) 70px minmax(0, 1.2fr);
    align-items: center;
    gap: 1rem;
}

.vibe-showcase__prompt,
.vibe-showcase__result {
    min-width: 0;
}

.vibe-showcase__step-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    color: #dce7df;
    font-size: 0.82rem;
    font-weight: 800;
}

.vibe-showcase__step-label span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--vibe-green);
    color: var(--vibe-ink);
}

.vibe-showcase__chat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    margin-bottom: 0.7rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px 15px 15px 15px;
    background: #17221b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.vibe-showcase__chat p {
    margin: 0;
    color: #edf5ef;
    font-size: 0.78rem;
    line-height: 1.5;
}

.vibe-showcase__chat-dot {
    display: grid;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--vibe-green), var(--vibe-lime));
    color: var(--vibe-ink);
    font-size: 0.64rem;
    font-weight: 900;
}

.vibe-showcase__chat--mine {
    margin-left: auto;
    border: 0;
    border-radius: 15px 4px 15px 15px;
    background: linear-gradient(135deg, #6646bd, #8067db);
}

.vibe-showcase__typing {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    color: #8da096;
    font-size: 0.68rem;
}

.vibe-showcase__typing i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--vibe-green);
    animation: vibe-typing 1.1s infinite alternate;
}

.vibe-showcase__typing i:nth-child(2) { animation-delay: 0.2s; }
.vibe-showcase__typing i:nth-child(3) { animation-delay: 0.4s; }
.vibe-showcase__typing span { margin-left: 0.3rem; }

.vibe-showcase__arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: var(--vibe-lime);
    font-size: 0.68rem;
}

.vibe-showcase__arrow span {
    position: relative;
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,255,133,0.2), var(--vibe-green));
}

.vibe-showcase__arrow span::after {
    position: absolute;
    top: -4px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--vibe-green);
    border-right: 1px solid var(--vibe-green);
    content: "";
    transform: rotate(45deg);
}

.vibe-browser {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 45px rgba(0,0,0,0.4), 0 0 0 5px rgba(255,255,255,0.025);
    color: #141a16;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vibe-browser.is-pulsing {
    box-shadow: 0 22px 55px rgba(0,255,133,0.2), 0 0 0 2px var(--vibe-green);
    transform: translateY(-3px);
}

.vibe-browser__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 9px;
    background: #e9eee9;
}

.vibe-browser__bar i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b62;
}

.vibe-browser__bar i:nth-child(2) { background: #ffbd45; }
.vibe-browser__bar i:nth-child(3) { background: #58c76a; }

.vibe-browser__bar span {
    flex: 1;
    margin-left: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fff;
    color: #728078;
    font-size: 0.55rem;
}

.vibe-browser__page {
    padding: 1rem 1.2rem 0.8rem;
    background:
        radial-gradient(circle at 90% 5%, rgba(155, 112, 255, 0.2), transparent 30%),
        #fbfffa;
}

.vibe-browser__logo {
    color: #26332b;
    font-size: 0.48rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.vibe-browser__hero {
    padding: 1rem 0 0.85rem;
}

.vibe-browser__hero span {
    color: #7050c8;
    font-size: 0.56rem;
    font-weight: 800;
}

.vibe-browser__hero strong {
    display: block;
    margin: 0.28rem 0;
    color: #101713;
    font-size: clamp(1rem, 2.7vw, 1.45rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.vibe-browser__hero p {
    margin: 0;
    color: #6e7972;
    font-size: 0.55rem;
}

.vibe-browser__contacts {
    display: flex;
    gap: 0.45rem;
}

.vibe-browser__contacts button {
    flex: 1;
    padding: 0.48rem 0.35rem;
    border: 0;
    border-radius: 6px;
    background: #101713;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.58rem;
    font-weight: 800;
    transition: background 0.2s, transform 0.2s;
}

.vibe-browser__contacts button:last-child {
    background: #6b4fc3;
}

.vibe-browser__contacts button:hover,
.vibe-browser__contacts button:focus-visible {
    background: #008f55;
    outline: none;
    transform: translateY(-1px);
}

.vibe-browser__notice {
    min-height: 1.5rem;
    padding-top: 0.55rem;
    color: #637069;
    font-size: 0.52rem;
    text-align: center;
}

.vibe-showcase__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-top: 2rem;
}

.vibe-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.vibe-feature:hover,
.vibe-feature:focus-visible,
.vibe-feature.is-active {
    border-color: rgba(0,255,133,0.6);
    background: rgba(0,255,133,0.09);
    outline: none;
    transform: translateY(-2px);
}

.vibe-feature__icon {
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,0.08);
    font-size: 1rem;
}

.vibe-feature b,
.vibe-feature small {
    display: block;
}

.vibe-feature b {
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
}

.vibe-feature small {
    overflow: hidden;
    color: #93a39a;
    font-size: 0.56rem;
    line-height: 1.4;
    text-overflow: ellipsis;
}

.vibe-feature__qr {
    grid-template-columns: repeat(3, 5px);
    grid-template-rows: repeat(3, 5px);
    gap: 2px;
}

.vibe-feature__qr i {
    width: 5px;
    height: 5px;
    background: #fff;
}

.vibe-feature__qr i:first-child,
.vibe-feature__qr i:nth-child(4) {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    background: transparent;
}

.vibe-showcase__caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    margin-top: 0.8rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.24);
}

.vibe-showcase__caption > span {
    font-size: 1rem;
}

.vibe-showcase__caption p {
    margin: 0;
    color: #aebcb3;
    font-size: 0.7rem;
}

.vibe-showcase__caption strong {
    color: var(--vibe-lime);
}

.vibe-showcase__promise {
    margin: 1.5rem 0 0;
    color: #dce6df;
    font-size: 0.78rem;
    text-align: center;
}

.vibe-showcase__promise span {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 0.3rem;
    place-items: center;
    border-radius: 50%;
    background: var(--vibe-green);
    color: var(--vibe-ink);
    font-weight: 900;
}

.vibe-showcase__promise strong {
    color: var(--vibe-lime);
}

@keyframes vibe-typing {
    from { opacity: 0.25; transform: translateY(1px); }
    to { opacity: 1; transform: translateY(-1px); }
}

@media (max-width: 760px) {
    .vibe-showcase {
        margin-inline: -4px;
        padding: 1.75rem 1rem;
        border-radius: 20px;
    }

    .vibe-showcase__desktop-break {
        display: none;
    }

    .vibe-showcase__flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .vibe-showcase__prompt {
        padding: 0 0.4rem;
    }

    .vibe-showcase__arrow {
        flex-direction: row;
        justify-content: center;
    }

    .vibe-showcase__arrow span {
        width: 1px;
        height: 28px;
        background: linear-gradient(rgba(0,255,133,0.2), var(--vibe-green));
    }

    .vibe-showcase__arrow span::after {
        top: auto;
        right: -4px;
        bottom: 0;
        border: 0;
        border-right: 1px solid var(--vibe-green);
        border-bottom: 1px solid var(--vibe-green);
        transform: rotate(45deg);
    }

    .vibe-browser__page {
        padding: 1.1rem 1.25rem 0.9rem;
    }

    .vibe-browser__contacts button {
        min-width: 0;
        white-space: normal;
    }

    .vibe-showcase__heading h2,
    .vibe-showcase__heading p,
    .vibe-showcase__caption p,
    .vibe-showcase__promise {
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    .vibe-showcase__features {
        grid-template-columns: 1fr;
    }

    .vibe-feature {
        padding: 0.75rem 0.9rem;
    }

    .vibe-feature small {
        overflow: visible;
        text-overflow: clip;
    }

    .vibe-showcase__caption {
        align-items: flex-start;
    }

    .vibe-showcase__caption p {
        min-width: 0;
        line-height: 1.55;
    }

    .vibe-showcase__promise {
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vibe-showcase__typing i {
        animation: none;
    }

    .vibe-browser,
    .vibe-feature,
    .vibe-browser__contacts button {
        transition: none;
    }
}
