/* Home Automation Teaser */
.home-ia-teaser {
    padding: 100px 0;
    background: linear-gradient(135deg, #1A0B0A 0%, #0d0505 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.home-ia-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(149, 0, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.home-ia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ia-badge {
    background: rgba(149, 0, 255, 0.2);
    color: #9500FF;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(149, 0, 255, 0.4);
    display: inline-block;
    margin-bottom: 24px;
}

.home-ia-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.home-ia-content .text-gradient {
    background: linear-gradient(135deg, #FEF2ED 0%, #9500FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-ia-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.ia-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ia-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #fff;
}

.ia-benefits .icon {
    font-size: 1.2rem;
}

.aw-btn-glow {
    background: #9500FF;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(149, 0, 255, 0.4);
}

.aw-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(149, 0, 255, 0.6);
    background: #8000db;
    color: #fff;
}

/* Visual Card */
.home-ia-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 24px;
    width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.visual-card .glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: #9500FF;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 90%;
}

.chat-bubble.bot {
    background: #202c33;
    color: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
    /* Animation handled inline */
}

.chat-bubble.user {
    background: #9500FF;
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
    /* Animation handled inline */
}

.chat-typing {
    padding: 10px;
    display: flex;
    gap: 4px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .home-ia-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ia-benefits {
        align-items: center;
    }

    .home-ia-visual {
        margin-top: 40px;
    }
}