
/* =============================
   SECTION: IA ASSISTANT
   ============================= */

.ai-assistant {
    padding: 60px 0;
    background: #060606;
    text-align: center;
    position: relative;
}

.ai-title {
    font-size: 120px;
    font-weight: 900;
    opacity: .13;
    letter-spacing: -6px;
    margin-bottom: -40px;
    pointer-events: none;
    position: absolute;
    justify-self: anchor-center;
}

.ai-container {
    margin-top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* MODELO 3D */
.ai-model {
    width: 380px;
    height: 380px;
    filter: drop-shadow(0 0 25px #ff00ff55);
    animation: floatAI 6s ease-in-out infinite;
    --poster-color: transparent;
}

@keyframes floatAI {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-22px); }
    100% { transform: translateY(0px); }
}

/* BURBUJA DE MENSAJES */
.ai-chat {
    background: #111;
    padding: 25px 35px;
    border-radius: 18px;
    max-width: 520px;
    border: 1px solid #ffffff20;
    box-shadow: 0 0 18px #ff00cc33;
}

.ai-message {
    font-size: 20px;
    line-height: 1.5;
    min-height: 70px;
    color: #eaeaea;
}

/* EFECTO DE “CURSOR” */
.ai-message::after {
    content: "▌";
    margin-left: 6px;
    opacity: 1;
    animation: blink .8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive */
@media(max-width: 900px) {
    .ai-title { font-size: 80px; }
    .ai-model { width: 300px; height: 300px; }
}