/* Hero Centered Layout */
.hero-centered-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 32px;
    padding-top: 40px;
    position: relative;
    z-index: 10;
}

/* Chat Section (Top) */
.hero-pos-media-center {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 1;
}

/* Text Section (Middle) */
.hero-pos-text-center {
    order: 2;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-pos-text-center .hero-section-header {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100%;
}

.hero-pos-text-center .hero-title {
    text-align: center !important;
}

.hero-pos-text-center .hero-subtitle {
    text-align: center !important;
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Actions Section (Bottom) */
.hero-pos-actions-center {
    order: 3;
    display: flex;
    justify-content: center;
    padding-bottom: 64px;
    width: 100%;
}

.hero-pos-actions-center .hero-actions {
    justify-content: center;
}

/* Override intro-chat-wrapper margins/height for Hero context if needed */
/* Responsive Height Adjustments for Hero Context */
.hero-centered-layout .intro-chat-wrapper {
    /* Override fixed pixel height from intro-features.css to fit in viewport.
       45vh scales nicely; min 350px preserves usability; max 600px prevents huge chats. 
    */
    height: 45vh;
    min-height: 350px;
    max-height: 600px;
    margin-bottom: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-centered-layout {
        padding-top: 20px;
        justify-content: flex-start;
        /* Stack from top */
        gap: 24px;
    }

    /* .hero-pos-media-center { } */

    .hero-pos-text-center {
        padding: 0 24px;
    }

    .hero-pos-actions-center {
        padding-bottom: 40px;
    }
}