/* ─── AI Chat Landing Page ─── */
/* Custom styles for sections not covered by the www.dryft.se CDN CSS */

/* ─── Steps (how it works) ─── */

.ai_steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.ai_step {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.ai_step_number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2C474D;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 16px;
    font-family: Poppins, sans-serif;
    line-height: 48px;
}

.ai_step h3 {
    margin-bottom: 8px;
    font-size: 26px !important;
}

.ai_step p {
    color: #555;
}

/* ─── CTA bottom ─── */

.ai_cta_bottom {
    text-align: center;
    padding: 48px 0;
}

.ai_cta_bottom .richtextWrap {
    margin-bottom: 24px;
}

/* ─── Chat teaser ─── */

.ai_chat_teaser {
}

.ai_chat_teaser_window {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.ai_chat_teaser_titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #173841;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.ai_chat_teaser_titlebar svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.ai_chat_teaser_messages {
    background: #fff;
    padding: 20px 16px;
    font-family: Poppins, sans-serif;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.ai_chat_teaser_ai_bubble {
    color: #173841;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai_chat_teaser_suggestions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.ai_chat_teaser_user_bubble {
    display: inline-block;
    background: #2C474D;
    color: white;
    border-radius: 18px;
    padding: 10px 14px;
    font-size: 16px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.12s, box-shadow 0.12s;
}

.ai_chat_teaser_user_bubble:hover {
    background: rgba(44, 71, 77, 0.85);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(44, 71, 77, 0.35);
}

.ai_chat_teaser_user_bubble:active {
    background: #2C474D;
    color: rgba(255, 255, 255, 0.7);
}

/* Teaser history bubbles — user bubbles in history read as static, not tappable */
.ai_chat_teaser_history {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ai_chat_teaser_history_user {
    align-self: flex-end;
    cursor: default;
    box-shadow: none;
    pointer-events: none;
}

.ai_chat_teaser_history_more {
    text-align: center;
    margin: 4px 0;
}

.ai_chat_teaser_history_more a {
    color: #2C474D;
    font-size: 14px;
    text-decoration: underline;
}

/* Teaser input row — entry point into the overlay */
.ai_chat_teaser_input_row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #EEE9E1;
}

.ai_chat_teaser_input {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 40px;
    margin: 0;
    border: 1px solid #D8D4CB;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 16px;
    font-family: Poppins, sans-serif;
    color: #173841;
    background: #fff;
    outline: none;
}

.ai_chat_teaser_input:focus {
    border-color: #2C474D;
}

.ai_chat_teaser_send_btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #2C474D;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.12s;
}

.ai_chat_teaser_send_btn:hover {
    background: rgba(44, 71, 77, 0.85);
}

.ai_chat_teaser_send_btn svg {
    width: 18px;
    height: 18px;
}

/* ─── Social proof ─── */

.ai_social_proof {
    display: flex;
    align-items: center;
    gap: 48px;
}

.ai_social_proof_text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    padding: 24px 0;
}

.ai_social_proof_image {
    flex: 0 0 45%;
    padding: 24px 0;
}

.ai_social_proof_image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
    .ai_steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai_social_proof {
        flex-direction: column;
        gap: 24px;
    }

    .ai_social_proof_text {
        gap: 16px;
    }
}
