/* Landing-only product conversation mock.
   Kept isolated so the homepage does not need the full Features stylesheet. */
.f-phone-frame {
    width: 280px;
    padding: 12px;
    border-radius: 32px;
    border: 1px solid var(--landing-border-subtle);
    background: var(--landing-mock-frame);
    box-shadow: 0 30px 80px var(--landing-mock-shadow), 0 0 0 1px var(--landing-inset-highlight);
    transform: rotateX(4deg);
    transition: transform 0.5s ease;
}

.f-phone-frame:hover {
    transform: rotateX(0deg) scale(1.02);
}

.f-phone-notch {
    width: 100px;
    height: 24px;
    margin: 0 auto 8px;
    border-radius: 0 0 16px 16px;
    background: var(--landing-mock-frame);
}

.f-phone-screen {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--landing-border-subtle);
    background: var(--landing-mock-screen);
}

.f-chat-header-mock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--landing-contrast);
    background: #128c7e;
    font-size: 13px;
}

.f-chat-avatar-mock {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;
    border-radius: 50%;
    background: color-mix(in srgb, var(--landing-contrast) 20%, transparent);
}

.f-chat-avatar-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-chat-body-mock {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.f-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    animation: landing-message-appear 0.5s ease both;
}

.f-msg-in {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--landing-copy);
    background: var(--landing-mock-inbound);
}

.f-msg-out {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: var(--landing-mock-outbound-text);
    background: var(--landing-mock-outbound);
}

.f-msg:nth-child(1) { animation-delay: 0.3s; }
.f-msg:nth-child(2) { animation-delay: 0.8s; }
.f-msg:nth-child(3) { animation-delay: 1.4s; }
.f-msg:nth-child(4) { animation-delay: 2s; }

@keyframes landing-message-appear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

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

@media (prefers-reduced-motion: reduce) {
    .f-phone-frame,
    .f-msg {
        animation: none;
        transition: none;
    }
}
