/* ChatBiz Landing Page Specific Styles */

/* Hero Section Animation */
.hero-animation {
    position: relative;
    margin-top: 20px;
}

.speech-bubble, .answer-bubble {
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 80%;
}

.speech-bubble {
    margin-left: auto;
    margin-right: 10px;
    background-color: #e9f5ff;
    border-left: 4px solid var(--primary-color);
    animation: fadeInRight 0.5s ease-in-out;
}

.answer-bubble {
    margin-right: auto;
    margin-left: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    animation: fadeInLeft 0.5s ease-in-out 0.5s both;
}

.speech-bubble:after, .answer-bubble:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.speech-bubble:after {
    border-left-color: #e9f5ff;
    border-right: 0;
    right: -10px;
    top: 50%;
    margin-top: -10px;
}

.answer-bubble:after {
    border-right-color: #f8f9fa;
    border-left: 0;
    left: -10px;
    top: 50%;
    margin-top: -10px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    height: 40px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    min-height: 120px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Case Studies */
.case-study-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-study-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Images */
.feature-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

/* Guided Demo Section */
.guided-demo-section {
    max-width: 600px;
    margin: 0 auto 30px;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .speech-bubble, .answer-bubble {
        max-width: 100%;
    }
    
    .testimonial-text {
        min-height: auto;
    }
    
    .case-study-card {
        margin-bottom: 20px;
    }
}
