/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red: #b12028;
    --red-soft: #c0392b;
    --dark: #2b3a55;
    --blue: #1c6ea4;
    --text-muted: #6b7280;
    --light-blue: #eef7fc;
}

body {
    font-family: "Segoe UI", Poppins, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}
.btn--white {
    background: #fff;
    color: #222;
    padding: 16px 40px;
    border-radius: 6px;
    font-size: 18px;
}
.btn--white:hover { background: #f1f1f1; transform: translateY(-2px); }

.btn--pill {
    background: #fff5f5;
    color: var(--red);
    padding: 14px 42px;
    border-radius: 40px;
    font-size: 17px;
}
.btn--pill:hover { transform: translateY(-2px); }

.btn--dark {
    background: var(--dark);
    color: #fff;
    padding: 15px 36px;
    border-radius: 40px;
    font-size: 16px;
}
.btn--dark:hover { background: #1f2c44; transform: translateY(-2px); }

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 50px;
}
.section-title.left { text-align: left; margin-bottom: 25px; }
.section-title--red { color: var(--red); }

/* ===== HERO ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 470px;
    background: #eceded;
}
.hero__left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #eceded;
}
.hero__printer { max-height: 360px; object-fit: contain; }

.hero__right {
    position: relative;
    display: flex;
    align-items: center;
    background: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1000&q=80") center/cover;
    color: #fff;
    padding: 50px 60px;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(177, 32, 40, .82);
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__content h1 { font-size: 42px; font-weight: 800; margin-bottom: 28px; }
.hero__content h1 .lower { text-transform: lowercase; }
.hero__disclaimer { margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ===== SETUP FORM ===== */
.setup {
    background: #f2f2f2;
    padding: 32px 20px;
}
.setup__form {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    border-radius: 4px;
    overflow: hidden;
}
.setup__label {
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 28px;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}
.setup__input {
    flex: 1;
    border: none;
    padding: 20px 24px;
    font-size: 16px;
    outline: none;
    color: #555;
}
.setup__btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 0 34px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}
.setup__btn:hover { background: #8f171d; }

/* ===== FEATURES ===== */
.features {
    background: var(--light-blue);
    padding: 70px 20px 90px;
}
.features__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 40px;
}
.feature { text-align: center; padding: 0 15px; }
.feature__icon { font-size: 46px; margin-bottom: 18px; }
.feature h3 { color: var(--dark); font-size: 21px; margin-bottom: 14px; }
.feature p { color: var(--text-muted); font-size: 16px; }

/* ===== RED CTA ===== */
.cta {
    background: #a72127;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.cta__sub { font-weight: 600; margin-bottom: 34px; }
.cta__agree { margin-top: 26px; font-weight: 600; font-size: 14px; }

/* ===== WHY CHOOSE ===== */
.why {
    max-width: 1150px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why__img { display: flex; justify-content: center; }
.why__img img { border-radius: 12px; }
.hero__printer { border-radius: 10px; }
.why__text p { color: var(--text-muted); margin-bottom: 20px; }
.why__list { list-style: none; margin-bottom: 30px; }
.why__list li {
    color: var(--text-muted);
    padding: 6px 0 6px 22px;
    position: relative;
}
.why__list li::before {
    content: "\2022";
    color: var(--text-muted);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}
.agree-dark { margin-top: 18px; color: var(--dark); font-weight: 600; font-size: 14px; }

/* ===== POWERFUL SOFTWARE ===== */
.power { padding: 80px 20px 100px; }
.power__sub { text-align: center; color: var(--text-muted); margin: -30px auto 60px; max-width: 800px; }
.power__row {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.power__text h3 { color: var(--dark); font-size: 30px; margin-bottom: 20px; }
.power__text p { color: var(--text-muted); margin-bottom: 30px; }
.power__img img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }

/* ===== FOOTER ===== */
.footer { background: #f7f9fb; padding: 60px 20px 0; }
.footer__grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.footer__logo { font-size: 26px; font-weight: 800; color: var(--blue); margin-bottom: 18px; }
.footer__logo span { color: #333; font-size: 16px; }
.footer__col p { color: var(--text-muted); font-size: 15px; }
.footer__col h4 { color: var(--dark); margin-bottom: 22px; font-size: 20px; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 14px; }
.footer__col ul li a { color: var(--text-muted); text-decoration: none; transition: .2s; }
.footer__col ul li a:hover { color: var(--red); }

.footer__social { display: flex; gap: 12px; margin-bottom: 26px; }
.footer__social a {
    width: 42px; height: 42px;
    background: #e7ebef;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #7a8797;
    text-decoration: none;
    font-weight: 700;
    transition: .25s;
}
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__email { color: var(--text-muted); }
.footer__email strong { color: var(--dark); }

.footer__bottom {
    text-align: center;
    padding: 26px 0;
    margin-top: 50px;
    border-top: 1px solid #e5e9ed;
    color: var(--text-muted);
}

/* ===== Register / Download modal ===== */
.reg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(60, 10, 10, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}
.reg-overlay.is-open { opacity: 1; visibility: visible; }
.reg-modal {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 660px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    padding: 30px 34px 34px;
    transform: translateY(16px) scale(.98);
    transition: .25s ease;
}
.reg-overlay.is-open .reg-modal { transform: translateY(0) scale(1); }
.reg-close {
    position: absolute;
    top: 12px; right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #9aa2ac;
    cursor: pointer;
}
.reg-close:hover { color: #555; }

.reg-title { text-align: center; font-size: 22px; font-weight: 700; color: #2b2f36; }
.reg-hr { border: none; border-top: 1px solid #ececec; margin: 18px 0 22px; }

.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.reg-field label { display: block; font-size: 15px; font-weight: 600; color: #2f6fb0; margin-bottom: 7px; }
.reg-field input {
    width: 100%;
    border: 1px solid #d5dbe1;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s;
}
.reg-field input:focus { border-color: var(--red); }
.reg-field input.is-invalid { border-color: var(--red); background: #fff6f6; }

.reg-issues-label { color: #2f6fb0; font-weight: 600; font-size: 15px; margin: 20px 0 12px; }
.reg-issues { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.reg-check { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #5a6470; cursor: pointer; }
.reg-check input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }

.reg-error { color: var(--red); font-size: 14px; text-align: center; min-height: 18px; margin-top: 16px; }
.reg-actions { display: flex; justify-content: center; margin-top: 6px; }
.reg-submit {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 13px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}
.reg-submit:hover { background: #9f1c23; }
.reg-submit:disabled { opacity: .6; cursor: default; }

/* downloading state */
.reg-download { padding: 30px 10px 24px; }
.reg-download__title { font-size: 26px; font-weight: 700; color: #2b3a55; margin-bottom: 22px; }
.reg-progress { width: 100%; height: 10px; background: #e6e9ee; border-radius: 6px; overflow: hidden; }
.reg-progress__bar { width: 0; height: 100%; background: #1c6fd4; border-radius: 6px; transition: width .35s ease; }
.reg-download__status { color: #5a6470; font-size: 16px; margin-top: 18px; }

/* final "thank you" state */
.reg-final { text-align: center; padding: 6px 6px 10px; }
.reg-final__head { text-align: left; color: #6b7280; font-size: 16px; font-weight: 600; margin-bottom: 22px;
    border-bottom: 1px solid #ececec; padding-bottom: 14px; }
.reg-diagram { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 10px 0 26px; }
.reg-node { font-size: 40px; color: #1f2937; flex-shrink: 0; }
.reg-link { position: relative; flex: 1; max-width: 90px; height: 2px;
    background: repeating-linear-gradient(90deg, #9aa2ac 0 6px, transparent 6px 12px); }
.reg-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; }
.reg-dot--ok  { background: #22b573; }
.reg-dot--bad { background: #e0574f; }
.reg-final__msg { color: #2f6fb0; font-size: 19px; font-weight: 500; line-height: 1.5; margin-bottom: 22px; }
.reg-needhelp {
    background: #1c6fd4; color: #fff; border: none;
    padding: 12px 34px; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: .2s;
}
.reg-needhelp:hover { background: #155bb0; }

@media (max-width: 560px) {
    .reg-grid, .reg-issues { grid-template-columns: 1fr; }
    .reg-modal { padding: 26px 20px 28px; }
    .reg-title { font-size: 19px; }
}

/* ===== Chat FAB ===== */
.chat-fab {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #1c6fd4;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 99;
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 96px; right: 26px;
    width: 378px;
    max-width: calc(100vw - 40px);
    /* stretch to fill the space above the floating button, leaving ~26px at the top;
       divided by .9 to compensate for scale(.9) so the RENDERED height fills it */
    height: calc((100vh - 122px) / 0.9);
    max-height: 880px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.30);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
    transform-origin: bottom right;
    /* hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.88);
    transition: .28s ease;
}
.chat-widget.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(.9);   /* 10% smaller overall */
}

/* Header — blue block, fixed content size so it never grows to eat the body on short viewports */
.chat-widget {
    --card-overlap: 44px;   /* how far the Help Desk card rides up onto the blue */
}
.chat-header {
    position: relative;
    flex-shrink: 0;
    background: #1566e0;
    color: #fff;
    /* bottom padding = overlap + breathing room, so the card can NEVER cover the header text */
    padding: 22px 26px calc(var(--card-overlap) + 26px);
}
.chat-header__logo {
    width: 44px; height: 44px;
    background: #0d2c66;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 34px;
}
.chat-header h2 { font-size: 34px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.5px; }
.chat-header p { font-size: 15px; font-weight: 700; opacity: .97; }
.chat-close {
    position: absolute;
    top: 18px; right: 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
}
.chat-close:hover { opacity: 1; }

/* Body — transparent so blue shows behind overlapping cards */
.chat-body {
    flex: 1 1 auto;
    min-height: 0;           /* required so flex:1 can actually shrink and scroll instead of forcing the parent taller */
    padding: 0 22px 20px;
    margin-top: calc(-1 * var(--card-overlap));  /* pull the first card up over the blue */
    overflow-y: auto;
    background: transparent;
    position: relative;
    z-index: 2;
}
.chat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: .2s;
}
.chat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.16); }

.chat-card__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #eceff3;
    border: 1px solid #e2e6eb;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: #2b3340;
    flex-shrink: 0;
}
.chat-card__info { flex: 1; min-width: 0; }
.chat-card__title { display: block; font-weight: 700; color: #1f2937; font-size: 18px; }
.chat-card__text {
    color: #6b7280;
    font-size: 15px;
    margin-top: 3px;
    white-space: nowrap;           /* truncate with … like the reference */
    overflow: hidden;
    text-overflow: ellipsis;
}
/* right column: time on top, reply icon at bottom */
.chat-card__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    flex-shrink: 0;
}
.chat-card__time { font-size: 13px; color: #9aa2ac; white-space: nowrap; }
.chat-card__reply { color: #1566e0; font-size: 18px; }

/* Voice card */
.chat-card--voice { color: #9aa2ac; }
.chat-card__phone {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #eaf1fb;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: #6f9fe0;
    flex-shrink: 0;
}
.chat-card__voice-text { flex: 1; font-size: 16px; color: #9aa2ac; }
.chat-card__arrow { font-size: 18px; color: #b6bcc4; }

/* Bottom nav */
.chat-nav {
    display: flex;
    flex-shrink: 0;
    border-top: 1px solid #eef0f3;
    background: #fff;
    padding: 6px 0;
}
.chat-nav__item {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7a828d;
    cursor: pointer;
    transition: .2s;
    position: relative;
}
.chat-nav__icon { font-size: 20px; }
.chat-nav__item:hover { color: #1566e0; }
.chat-nav__item.is-active { color: #1566e0; font-weight: 600; }
.chat-nav__item.is-active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    width: 26px; height: 3px;
    border-radius: 3px;
    background: #1566e0;
}

/* ===== View switching (home <-> list <-> conversation) ===== */
.chat-view {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}
.chat-view.is-active { display: flex; }

/* ===== Conversation LIST view ===== */
.list-header {
    position: relative;
    flex-shrink: 0;
    background: #1566e0;
    color: #fff;
    padding: 20px 22px;
}
.list-header h2 { font-size: 22px; font-weight: 700; }
.list-close { position: absolute; top: 16px; right: 16px; }

.list-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; background: #fff; }
.list-empty { display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; color: #aab0b8; gap: 12px; }
.list-empty i { font-size: 44px; opacity: .5; }
.list-empty[hidden] { display: none; }

.list-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px;
    border-bottom: 1px solid #eef0f3; cursor: pointer; transition: .15s; }
.list-item:hover { background: #f6f9fe; }
.list-item__avatar { width: 46px; height: 46px; border-radius: 50%; background: #dfe4ea; border: 1px solid #e2e6eb;
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: #2b3340; flex-shrink: 0; }
.list-item__info { flex: 1; min-width: 0; }
.list-item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.list-item__title { font-weight: 700; color: #1f2937; font-size: 16px; }
.list-item__time { font-size: 12px; color: #9aa2ac; white-space: nowrap; }
.list-item__last { color: #6b7280; font-size: 14px; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item__status { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: 10px; background: #eaf1fb; color: #1566e0; }
.list-item__status--waiting { background: #fff4e5; color: #d98a12; }
.list-item__status--live { background: #e6f6ee; color: #22b573; }
.list-item__status--busy { background: #fdecec; color: #e0574f; }
.list-item__status--ended { background: #eef0f3; color: #8a929c; }
.list-item__badge { background: #e0574f; color: #fff; font-size: 12px; font-weight: 700;
    min-width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
    padding: 0 6px; flex-shrink: 0; }

.list-newbtn { flex-shrink: 0; margin: 0; border: none; border-top: 1px solid #eef0f3;
    background: #fff; color: #1566e0; font-size: 15px; font-weight: 600; padding: 14px; cursor: pointer; transition: .2s; }
.list-newbtn:hover { background: #f2f7ff; }
.list-newbtn[hidden] { display: none; }
.list-newbtn i { margin-right: 6px; }

/* ===== End-of-chat actions ===== */
.end-actions { text-align: center; padding: 24px 16px 10px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.end-actions p { color: #8a929c; font-size: 14px; }
.end-actions__btn { width: 80%; padding: 12px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.end-actions__restart { background: #1566e0; color: #fff; border: none; }
.end-actions__restart:hover { background: #0d4fb8; }
.end-actions__new { background: #fff; color: #1566e0; border: 1px solid #cfd6df; }
.end-actions__new:hover { border-color: #1566e0; background: #f5f9ff; }

/* ===== Conversation header ===== */
.convo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    background: #1566e0;
    color: #fff;
    padding: 16px 18px;
}
.convo-back, .convo-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    opacity: .9;
}
.convo-close { font-size: 26px; margin-left: auto; }
.convo-back:hover, .convo-close:hover { opacity: 1; }
.convo-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #0d2c66;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.convo-title { font-size: 19px; font-weight: 700; }

/* ===== Message stream ===== */
.convo-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    background: #fff;
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msg-sender {
    font-size: 13px;
    color: #8a929c;
    margin: 12px 2px 4px;
}
.msg-sender--user { text-align: right; }

.msg-row { display: flex; margin-bottom: 4px; }
.msg-row--bot  { justify-content: flex-start; }
.msg-row--user { justify-content: flex-end; }

.msg-bubble {
    max-width: 78%;
    padding: 11px 14px 8px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
}
.msg-bubble--bot  { background: #f1f2f4; color: #2b3138; border-top-left-radius: 4px; }
.msg-bubble--user { background: #dbe8fb; color: #223; border-top-right-radius: 4px; }
.msg-text { display: inline; }
.msg-time {
    display: inline-block;
    font-size: 11px;
    color: #9aa2ac;
    margin-left: 8px;
    vertical-align: baseline;
    white-space: nowrap;
}

/* typing indicator */
.msg-typing {
    display: inline-flex;
    gap: 4px;
    background: #f1f2f4;
    padding: 12px 14px;
    border-radius: 12px;
    border-top-left-radius: 4px;
}
.msg-typing span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #b7bdc6;
    animation: typing 1.2s infinite ease-in-out;
}
.msg-typing span:nth-child(2) { animation-delay: .2s; }
.msg-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ===== Quick-reply buttons ===== */
.msg-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin: 8px 0 6px;
}
.msg-choices--center { justify-content: center; }
.msg-choices--center-inline { flex-direction: column; align-items: center; gap: 6px; }
.msg-choice {
    background: #fff;
    border: 1px solid #cfd6df;
    color: #3a4048;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
}
.msg-choice:hover { border-color: #1566e0; color: #1566e0; background: #f5f9ff; }
.msg-choice-prompt { width: 100%; text-align: center; color: #4a5058; font-size: 15px; margin-bottom: 2px; }
.msg-choices--center-inline .msg-choice {
    border: none; color: #1566e0; font-weight: 600; padding: 4px 10px;
}
.msg-choices--center-inline .msg-choice:hover { background: transparent; text-decoration: underline; }

/* ===== Inline input card (model / name / phone) ===== */
.msg-inputcard {
    align-self: flex-start;
    max-width: 88%;
    background: #f1f2f4;
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 14px;
    margin: 4px 0 8px;
    width: 88%;
}
.msg-inputcard__label { font-size: 15px; color: #2b3138; margin-bottom: 12px; }
.msg-inputcard__field,
.msg-phone__num {
    width: 100%;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 15px;
    outline: none;
}
.msg-inputcard__field:focus,
.msg-phone__num:focus { border-color: #1566e0; }
.msg-inputcard.is-invalid .msg-inputcard__field,
.msg-inputcard.is-invalid .msg-phone__num { border-color: #d9534f; }
.msg-inputcard__submit {
    display: block;
    margin-left: auto;
    margin-top: 12px;
    background: transparent;
    border: none;
    color: #1566e0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.msg-inputcard__submit i { font-size: 12px; margin-left: 2px; }

/* phone row */
.msg-phone { display: flex; gap: 8px; }
.msg-phone__code {
    border: 1px solid #cfd6df;
    border-radius: 8px;
    padding: 0 8px;
    font-size: 14px;
    background: #fff;
    outline: none;
    flex-shrink: 0;
}
.msg-phone__code:focus { border-color: #1566e0; }
.msg-phone__num { flex: 1; }

/* ===== System notice (live-chat fallback) ===== */
.msg-notice {
    text-align: center;
    color: #1566e0;
    font-size: 15px;
    line-height: 1.5;
    padding: 20px 14px;
}

/* ===== Conversation footer ===== */
.convo-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-top: 1px solid #eef0f3;
    background: #fff;
    padding: 10px 14px;
}
.convo-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 8px 4px;
    color: #333;
    background: transparent;
}
.convo-input::placeholder { color: #b0b6bd; }
.convo-input:disabled { cursor: default; }
.convo-send {
    background: transparent;
    border: none;
    color: #1566e0;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
}
.convo-send:hover { color: #0d4fb8; }

@media (max-width: 480px) {
    .chat-widget {
        right: 12px; left: 12px;
        bottom: 90px;
        width: auto;
    }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero__content h1 { font-size: 32px; }
    .setup__form { flex-direction: column; }
    .setup__label { padding: 16px; justify-content: center; }
    .features__grid { grid-template-columns: 1fr; }
    .why, .power__row { grid-template-columns: 1fr; }
    .why__img { order: 2; }
    .footer__grid { grid-template-columns: 1fr; }
    .section-title { font-size: 30px; }
    .cta h2 { font-size: 26px; }
}
