/* Intro Chat Section */
.intro-chat-section {
    background-color: var(--color-bg-second);
    /* Secondary Background */
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 10;
}

.intro-chat-section .container-standard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.intro-chat-section .chat-showcase-header {
    margin: 0;
    flex: 1;
    max-width: 500px;
}

.intro-chat-section .intro-chat-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .intro-chat-section .container-standard {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }

    .intro-chat-section .intro-chat-wrapper {
        width: 100%;
        justify-content: center;
    }
}

.container-standard {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    /* Context for absolute canvas if needed */
}

/* Star Text Container */
.star-text-container {
    width: 100%;
    height: 200px;
    /* Space for the text animation */
    margin-bottom: 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#starTextCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Chat Wrapper */
.intro-chat-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 600px;
    min-height: 600px;
}

/* Chat Card in Intro Section */
.intro-chat-card {
    position: relative;
    width: 550px;
    max-width: 100%;
    /* Ensure it doesn't overflow small screens */
    min-height: 200px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;

    background: transparent;
    border-radius: 24px;
    overflow: hidden;
}

@media (min-width: 600px) {
    .intro-chat-card {
        padding: 32px;
    }
}

@media (min-width: 1000px) {
    .intro-chat-card {
        /* Width remains 550px */
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container-standard {
        padding: 0 24px;
    }

    .intro-chat-wrapper {
        height: 400px;
        min-height: 400px;
    }

    .intro-chat-card {
        padding: 20px;
    }

    .star-text-container {
        height: 150px;
    }
}