/* Placeholder para imagem de hero */
.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, rgba(0,50,20,0.7), rgba(0,255,127,0.3));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,255,127,0.1),
        rgba(0,255,127,0.1) 10px,
        rgba(0,50,20,0.2) 10px,
        rgba(0,50,20,0.2) 20px
    );
    animation: move-bg 20s linear infinite;
}

.hero-image-placeholder::after {
    content: 'LZK.AI';
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255,255,255,0.2);
    z-index: 1;
}

@keyframes move-bg {
    0% {
        transform: translate(-50px, -50px) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(10deg);
    }
}

/* Placeholder para imagem de depoimento */
.testimonial-image-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00FF7F, #006633);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Ajustes para elementos sem imagens */
.service-icon, .feature-icon {
    background-color: rgba(0, 255, 127, 0.2);
}

/* Animações adicionais */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 255, 127, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0);
    }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Melhorias de acessibilidade */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Estilos para a conversa de chat */
.chat-conversation {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.chat-bubble {
    margin-bottom: 15px;
    max-width: 90%;
}

.chat-bubble.agent {
    margin-right: auto;
}

.chat-bubble.client {
    margin-left: auto;
    background-color: rgba(0, 255, 127, 0.1);
    border-radius: 15px;
    padding: 12px;
}

.chat-bubble.client .chat-message {
    color: #fff;
    font-size: 0.9rem;
}

.chat-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.chat-avatar {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.chat-avatar i {
    color: #000;
    font-size: 0.8rem;
}

.chat-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.chat-message {
    background-color: #222;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bubble.agent .chat-message {
    border-top-left-radius: 0;
}

.chat-bubble.client .chat-message {
    border-top-right-radius: 0;
    background-color: rgba(0, 255, 127, 0.15);
}

/* Animação de digitação para o chat */
@keyframes typing {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.chat-bubble {
    animation: typing 0.5s ease-out;
}

/* Melhorias de responsividade */
@media (max-width: 768px) {
    .hero-image-placeholder {
        height: 300px;
    }
    
    .chat-conversation {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-image-placeholder {
        height: 200px;
    }
}
