/* ============================================================
   Product mockups — substituem stock photos com visual moderno
   ============================================================ */

.product-mockup {
    position: relative;
    width: 100%;
    pointer-events: none;
}

/* ========== CHAT MOCKUP (atendimento WhatsApp-style) ========== */
.product-mockup--chat {
    background: #f5f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.08),
        0 4px 8px rgba(15, 23, 42, 0.04);
    max-width: 400px;
    margin: 0 auto;
}
.chat-mockup__header {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-mockup__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-mockup__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.chat-mockup__name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.chat-mockup__status {
    font-size: 11px;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.chat-mockup__status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #d9ff00;
    border-radius: 50%;
    animation: chat-pulse 2s ease-in-out infinite;
}
@keyframes chat-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(217, 255, 0, 0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(217, 255, 0, 0); }
}

.chat-mockup__body {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 36, 248, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.04) 0%, transparent 40%),
        #f5f7fb;
}
.chat-mockup__bubble {
    max-width: 80%;
    padding: 10px 14px 6px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    animation: chat-bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
@keyframes chat-bubble-in {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-mockup__bubble p {
    margin: 0;
    color: #0a0e1a;
}
.chat-mockup__bubble--in {
    background: #fff;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.chat-mockup__bubble--out {
    background: #dcf8c6;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}
.chat-mockup__time {
    display: block;
    font-size: 10px;
    color: #6b7280;
    text-align: right;
    margin-top: 2px;
}

.chat-mockup__typing {
    background: #fff;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    padding: 12px 16px;
    align-self: flex-start;
    display: flex;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    animation: chat-bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: var(--delay, 0s);
}
.chat-mockup__typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: chat-typing 1.4s ease-in-out infinite;
}
.chat-mockup__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-mockup__typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ========== INTEGRATIONS MOCKUP (grid de marketplaces) ========== */
.product-mockup--integrations {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.08),
        0 4px 8px rgba(15, 23, 42, 0.04);
}
.integrations-mockup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f1f5;
}
.integrations-mockup__eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}
.integrations-mockup__count {
    font-size: 13px;
    font-weight: 700;
    color: #0024f8;
    background: rgba(0, 36, 248, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
}
.integrations-mockup__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.integrations-mockup__item {
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    background: #fff;
    transition: transform 0.2s, border-color 0.2s;
    animation: integration-pop-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(var(--idx, 0) * 50ms);
}
@keyframes integration-pop-in {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.integrations-mockup__logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.integrations-mockup__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.integrations-mockup__name {
    font-size: 11px;
    font-weight: 600;
    color: #0a0e1a;
    text-align: center;
    line-height: 1.2;
}
.integrations-mockup__status {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.integrations-mockup__item--connected {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, #fff 100%);
}
.integrations-mockup__item--connected .integrations-mockup__status {
    background: #22c55e;
    color: #fff;
}
.integrations-mockup__item--connecting {
    border-color: rgba(0, 36, 248, 0.3);
    background: linear-gradient(135deg, rgba(0, 36, 248, 0.04) 0%, #fff 100%);
}
.integrations-mockup__item--connecting .integrations-mockup__status {
    background: #0024f8;
    color: #fff;
    animation: integration-spin 2s linear infinite;
}
@keyframes integration-spin {
    to { transform: rotate(360deg); }
}
.integrations-mockup__item--available {
    opacity: 0.6;
}
.integrations-mockup__item--available .integrations-mockup__status {
    background: #f4f5f7;
    color: #6b7280;
}

/* ========== VALUES MOCKUP (Missão/Visão/Valores) ========== */
.values-mockup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.values-mockup__card {
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    animation: values-card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(var(--idx, 0) * 0.12s);
}
@keyframes values-card-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}
.values-mockup__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 12px);
    pointer-events: none;
}
.values-mockup__card--mission {
    background: linear-gradient(135deg, #0024f8 0%, #001592 100%);
    color: #fff;
    box-shadow: 0 12px 32px -8px rgba(0, 36, 248, 0.35);
}
.values-mockup__card--vision {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #fff;
    box-shadow: 0 12px 32px -8px rgba(124, 58, 237, 0.35);
}
.values-mockup__card--values {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    box-shadow: 0 12px 32px -8px rgba(22, 163, 74, 0.35);
}
.values-mockup__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.values-mockup__icon {
    width: 32px;
    height: 32px;
    color: #fff;
}
.values-mockup__label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .chat-mockup__bubble,
    .chat-mockup__typing,
    .chat-mockup__status-dot,
    .chat-mockup__typing-dot,
    .integrations-mockup__item,
    .integrations-mockup__item--connecting .integrations-mockup__status {
        animation: none !important;
    }
}

@media (max-width: 600px) {
    .product-mockup--chat { max-width: 100%; }
    .integrations-mockup__grid { grid-template-columns: repeat(2, 1fr); }
    .integrations-mockup__name { font-size: 10px; }
}
