/* ============================================================
   MODE MARKETING — CHAT WIDGET + /chat + /talk PAGE STYLES
   ============================================================ */

/* ============================================================
   /chat PAGE — ASYNC QUESTIONS + LIVE SESSION VIEW
   ============================================================ */

.chat-page {
    background: var(--color-void);
    min-height: 100vh;
}

.chat-page__container {
    max-width: 680px;
    margin: 0 auto;
    padding: 152px 40px 120px;
}

/* ── Offer state (no price shown) ─────────────────────────── */

.chat-offer__header {
    margin-bottom: 56px;
}

.chat-offer__header .eyebrow {
    display: block;
    margin-bottom: 24px;
}

.chat-offer__heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    color: var(--color-white);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.chat-offer__sub {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-smoke);
    margin: 0;
}

.chat-offer__list {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    border-top: 0.5px solid var(--color-gunmetal);
}

.chat-offer__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 0.5px solid var(--color-gunmetal);
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-chalk);
}

.chat-offer__tick {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    position: relative;
    border: 0.5px solid var(--color-volt);
}

.chat-offer__tick::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: 1.5px solid var(--color-volt);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.chat-offer__scarcity {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin: 0 0 28px;
}

.chat-offer__cta {
    width: 100%;
    justify-content: center;
}

.chat-offer__alt {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 0.5px solid var(--color-gunmetal);
}

.chat-offer__alt p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 14px;
    color: var(--color-smoke);
    margin: 0 0 10px;
}

.chat-offer__alt p:last-child {
    margin-bottom: 0;
}

.chat-offer__alt a {
    color: var(--color-chalk);
    text-decoration: none;
    transition: color 200ms ease-out;
}

.chat-offer__alt a:hover {
    color: var(--color-white);
}

/* ── Booking form state ────────────────────────────────────── */

.chat-booking__header {
    margin-bottom: 48px;
}

.chat-booking__header .eyebrow {
    display: block;
    margin-bottom: 16px;
}

.chat-booking__heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(26px, 3.5vw, 40px);
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.chat-booking__sub {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 15px;
    color: var(--color-smoke);
    line-height: 1.7;
    margin: 0;
}

/* ── Shared form fields ────────────────────────────────────── */
.chat-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.chat-field label {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-chalk);
}

.chat-field__optional,
.chat-field__hint {
    font-weight: 300;
    color: var(--color-smoke);
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.chat-field input,
.chat-field textarea {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 300;
    color: var(--color-chalk);
    background: var(--color-carbon);
    border: 0.5px solid var(--color-gunmetal);
    padding: 14px 16px;
    width: 100%;
    outline: none;
    transition: border-color var(--transition-fast);
    border-radius: 0;
    -webkit-appearance: none;
}

.chat-field input::placeholder,
.chat-field textarea::placeholder {
    color: var(--color-dark-grey);
}

.chat-field input:focus,
.chat-field textarea:focus {
    border-color: var(--color-smoke);
}

.chat-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* ── Price reveal block (inside booking form) ──────────────── */
.chat-price-block {
    background: var(--color-carbon);
    border: 0.5px solid var(--color-gunmetal);
    border-left: 2px solid var(--color-gunmetal);
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-price-block__main {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.chat-price-block__amount {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.chat-price-block__amount em {
    font-style: normal;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-smoke);
}

.chat-price-block__note {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 13px;
    color: var(--color-smoke);
    letter-spacing: 0.03em;
}

.chat-price-block__scarcity {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin: 0;
}

/* ── Payment block ─────────────────────────────────────────── */
.chat-payment {
    background: var(--color-carbon);
    border: 0.5px solid var(--color-gunmetal);
    padding: 20px 20px 16px;
    margin-bottom: 28px;
}

.chat-payment__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin-bottom: 14px;
}

.chat-payment__amount {
    color: var(--color-chalk);
}

.chat-payment__card {
    padding: 12px 0 4px;
}

.chat-payment__error {
    font-family: var(--font-primary);
    font-size: 13px;
    color: #ff4444;
    margin: 10px 0 0;
    line-height: 1.5;
}

.chat-booking__submit {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
}

.chat-back-link {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-smoke);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 4px;
}

.chat-back-link:hover {
    color: var(--color-chalk);
}

/* ── Live chat interface ───────────────────────────────────── */
.chat-live {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 280px);
    min-height: 520px;
    border: 0.5px solid var(--color-gunmetal);
    overflow: hidden;
}

/* Header — Nicole identity + status */
.chat-live__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 0.5px solid var(--color-gunmetal);
    flex-shrink: 0;
    background: var(--color-carbon);
}

.chat-live__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-live__avatar {
    width: 42px;
    height: 42px;
    background: var(--color-gunmetal);
    border: 0.5px solid var(--color-smoke);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-chalk);
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.chat-live__name {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-chalk);
    letter-spacing: 0.02em;
}

.chat-live__role {
    display: block;
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 11px;
    color: var(--color-smoke);
    margin-top: 2px;
    letter-spacing: 0.03em;
}

/* Status pill */
.chat-live__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-live__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--color-dark-grey);
    transition: background 400ms ease;
}

.chat-live__status-dot[data-status="waiting"] {
    background: #ff9500;
    animation: statusPulse 2s ease-in-out infinite;
}

.chat-live__status-dot[data-status="active"] {
    background: var(--color-volt);
    animation: none;
}

.chat-live__status-dot[data-status="closed"] {
    background: var(--color-smoke);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1;   }
    50%       { opacity: 0.3; }
}

.chat-live__status-text {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 12px;
    color: var(--color-smoke);
    letter-spacing: 0.03em;
}

/* Message thread */
.chat-live__thread {
    flex: 1;
    overflow-y: auto;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    scroll-behavior: smooth;
    background: var(--color-void);
}

.chat-live__thread::-webkit-scrollbar        { width: 4px; }
.chat-live__thread::-webkit-scrollbar-track  { background: transparent; }
.chat-live__thread::-webkit-scrollbar-thumb  { background: var(--color-gunmetal); }

.chat-live__system-msg {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 12px;
    color: var(--color-dark-grey);
    text-align: center;
    padding: 0 0 24px;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* Message rows */
.chat-live__msg-row {
    display: flex;
    flex-direction: column;
    max-width: 78%;
    margin-bottom: 16px;
}

.chat-live__msg-row--customer {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-live__msg-row--nicole {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-live__bubble {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    padding: 12px 16px;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-live__msg-row--customer .chat-live__bubble {
    background: var(--color-gunmetal);
    color: var(--color-chalk);
}

.chat-live__msg-row--nicole .chat-live__bubble {
    background: var(--color-carbon);
    border: 0.5px solid var(--color-gunmetal);
    color: var(--color-chalk);
}

.chat-live__time {
    font-family: var(--font-primary);
    font-size: 11px;
    color: var(--color-dark-grey);
    margin-top: 5px;
    padding: 0 4px;
    letter-spacing: 0.03em;
}

/* Compose bar */
.chat-live__compose {
    display: flex;
    align-items: flex-end;
    border-top: 0.5px solid var(--color-gunmetal);
    flex-shrink: 0;
    background: var(--color-carbon);
}

.chat-live__input {
    flex: 1;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 300;
    color: var(--color-chalk);
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    resize: none;
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
}

.chat-live__input::placeholder {
    color: var(--color-dark-grey);
}

.chat-live__send-btn {
    background: none;
    border: none;
    border-left: 0.5px solid var(--color-gunmetal);
    padding: 16px 20px;
    color: var(--color-smoke);
    cursor: pointer;
    transition: color var(--transition-fast);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.chat-live__send-btn:hover:not(:disabled) {
    color: var(--color-volt);
}

.chat-live__send-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ── Mobile responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .chat-page__container {
        padding: 136px 24px 80px;
    }

    .chat-offer__cta {
        width: 100%;
    }

    .chat-live {
        height: calc(100vh - 220px);
        min-height: 460px;
    }

    .chat-live__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .chat-page__container {
        padding: 120px 20px 64px;
    }

    .chat-live__msg-row {
        max-width: 88%;
    }
}


/* ============================================================
   /talk PAGE — SCHEDULED + IMMEDIATE SESSIONS
   ============================================================ */

.talk-page {
    background: var(--color-void);
    min-height: 100vh;
}

.talk-page__container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 152px 40px 120px;
}

.talk-page__header {
    text-align: center;
    margin-bottom: 40px;
}

.talk-page__header .eyebrow {
    display: block;
    margin-bottom: 24px;
}

.talk-page__heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    color: var(--color-white);
    margin: 0 0 24px;
}

/* ── Bridge line between header and cards ────────────────── */

.talk-options__bridge {
    text-align: center;
    margin-bottom: 56px;
}

.talk-options__bridge p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-smoke);
    margin: 0;
}

/* ── Two-column card layout ──────────────────────────────── */

.talk-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--color-gunmetal);
    border: 0.5px solid var(--color-gunmetal);
    margin-bottom: 64px;
}

.talk-card {
    background: var(--color-carbon);
    padding: 56px 48px;
}

.talk-card__tier {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin-bottom: 20px;
}

.talk-card__price {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1;
}

.talk-card__price em {
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    color: var(--color-smoke);
}

.talk-card__heading {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--color-chalk);
    margin: 0 0 16px;
}

.talk-card__body {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-smoke);
    margin: 0 0 32px;
}

.talk-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.talk-card__list li {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 14px;
    color: var(--color-smoke);
    padding: 8px 0;
    border-bottom: 0.5px solid var(--color-gunmetal);
    padding-left: 16px;
    position: relative;
}

.talk-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-light-grey);
}

.talk-card__cta {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ── Format choice toggle (scheduled card) ───────────────── */

.talk-format-choice {
    margin-bottom: 28px;
}

.talk-format-choice__label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin-bottom: 12px;
}

.talk-format-choice__options {
    display: flex;
    gap: 8px;
}

.talk-format-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--color-void);
    border: 0.5px solid var(--color-gunmetal);
    color: var(--color-smoke);
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease-out, color 0.2s ease-out;
    border-radius: 0;
}

.talk-format-btn:hover {
    border-color: var(--color-dark-grey);
    color: var(--color-chalk);
}

.talk-format-btn.is-selected {
    border-color: var(--color-chalk);
    color: var(--color-chalk);
}

.talk-format-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* ── CTA note below button ───────────────────────────────── */

.talk-card__cta-note {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 11px;
    color: var(--color-dark-grey);
    margin: 10px 0 0;
    text-align: center;
}

/* ── Immediate card: slightly elevated ───────────────────── */

.talk-card--immediate {
    padding-top: 64px;
    background: #171717; /* one step lighter than carbon — subtle lift */
    border-top: 1px solid var(--color-gunmetal);
}

/* ── Immediate card: availability state ──────────────────── */

.talk-card--unavailable {
    opacity: 0.8;
}

.talk-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 12px 16px;
    background: var(--color-void);
    border: 0.5px solid var(--color-gunmetal);
}

.talk-availability__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.talk-availability__dot--on {
    background: var(--color-volt);
    box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.15);
    animation: talkPulse 2s ease-in-out infinite;
}

.talk-availability__dot--off {
    background: var(--color-smoke);
}

@keyframes talkPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.15); }
    50%       { box-shadow: 0 0 0 6px rgba(200, 255, 0, 0.05); }
}

.talk-availability__label {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    color: var(--color-smoke);
}

.talk-availability__label--on {
    color: var(--color-chalk);
    font-weight: 500;
}

/* ── Immediate session form ──────────────────────────────── */

/* ── Disabled START SESSION (Nicole offline) ─────────────── */

.talk-btn--offline {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #1C2400;
    border: none;
    color: #4A6600;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    cursor: not-allowed;
    border-radius: 2px;
}

.talk-immediate-form {
    margin-top: 8px;
}

.talk-immediate-form__submit {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* ── Footer note ─────────────────────────────────────────── */

.talk-page__footer-note {
    text-align: center;
    border-top: 0.5px solid var(--color-gunmetal);
    padding-top: 40px;
}

.talk-page__footer-note p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 15px;
    color: var(--color-smoke);
    margin: 0;
}

.talk-page__footer-note a {
    color: var(--color-chalk);
    text-decoration: none;
    border-bottom: 0.5px solid var(--color-gunmetal);
    transition: color 0.2s ease-out, border-color 0.2s ease-out;
}

.talk-page__footer-note a:hover {
    color: var(--color-white);
    border-color: var(--color-smoke);
}

/* ── Responsive ──────────────────────────────────────────── */

@media ( max-width: 768px ) {
    .talk-page__container {
        padding: 100px 24px 80px;
    }

    .talk-options {
        grid-template-columns: 1fr;
    }

    .talk-card {
        padding: 40px 24px;
    }
}

/* ============================================================
   MODE BOT WIDGET
   Floating chat assistant. Bottom-right. All pages.
   ============================================================ */

.mode-bot {
    position: fixed;
    bottom: 71px;
    right: max(40px, calc((100vw - 1280px) / 2 + 40px));
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transition: bottom 300ms ease-out, right 300ms ease-out;
}

/* Compact — scrolled state: icon only, tucked to corner */
.mode-bot--compact {
    bottom: 32px;
    right: 32px;
}

.mode-bot--compact .mode-bot__trigger {
    background: var(--color-carbon);
    border-color: var(--color-gunmetal);
    padding: 14px;
    gap: 0;
}

.mode-bot--compact .mode-bot__trigger:hover {
    background: var(--color-gunmetal);
    border-color: var(--color-volt);
}

.mode-bot--compact .mode-bot__trigger-label {
    display: none;
}

/* ── Trigger button ──────────────────────────────────────── */
/* The HTML [hidden] attribute normally sets display:none, but our
   own display:flex below has higher specificity and wins. Restore
   [hidden] semantics so JS toggling trigger.hidden actually hides it. */
.mode-bot__trigger[hidden] {
    display: none !important;
}

.mode-bot__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--color-smoke);
    border-radius: 2px;
    padding: 12px 20px 12px 16px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-chalk);
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    position: relative;
}

.mode-bot__trigger:hover {
    background: transparent;
    border-color: var(--color-chalk);
    color: var(--color-white);
}

.mode-bot__trigger-icon {
    width: 18px;
    height: 18px;
    color: var(--color-volt);
    flex-shrink: 0;
}

.mode-bot__unread {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background: var(--color-volt);
    color: var(--color-void);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 2px;
}

/* ── Chat panel ──────────────────────────────────────────── */
.mode-bot__panel {
    width: 380px;
    max-height: 540px;
    background: var(--color-carbon);
    border: 0.5px solid var(--color-gunmetal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* animate in */
    transform-origin: bottom right;
    animation: botPanelIn 200ms ease-out;
}

@keyframes botPanelIn {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.mode-bot__panel[hidden] {
    display: none;
}

/* Panel header */
.mode-bot__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--color-gunmetal);
    flex-shrink: 0;
}

.mode-bot__head-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mode-bot__head-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-chalk);
    letter-spacing: 0.04em;
}

.mode-bot__head-status {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 11px;
    color: var(--color-smoke);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mode-bot__head-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-volt);
    border-radius: 50%;
}

.mode-bot__close {
    background: none;
    border: none;
    color: var(--color-smoke);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.mode-bot__close:hover {
    color: var(--color-chalk);
}

/* Messages area */
.mode-bot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.mode-bot__messages::-webkit-scrollbar {
    width: 4px;
}
.mode-bot__messages::-webkit-scrollbar-track {
    background: transparent;
}
.mode-bot__messages::-webkit-scrollbar-thumb {
    background: var(--color-gunmetal);
}

/* Message bubbles */
.mode-bot__message {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.mode-bot__message--bot {
    align-self: flex-start;
}

.mode-bot__message--user {
    align-self: flex-end;
}

.mode-bot__message p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    padding: 12px 14px;
}

.mode-bot__message--bot p {
    background: var(--color-void);
    border: 0.5px solid var(--color-gunmetal);
    color: var(--color-chalk);
}

.mode-bot__message--user p {
    background: var(--color-gunmetal);
    color: var(--color-chalk);
    text-align: right;
}

/* Typing indicator */
.mode-bot__typing p {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 48px;
}

.mode-bot__typing-dot {
    width: 5px;
    height: 5px;
    background: var(--color-smoke);
    border-radius: 50%;
    animation: botTyping 1.2s infinite;
}

.mode-bot__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.mode-bot__typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes botTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%            { opacity: 1;   transform: translateY(-3px); }
}

/* CTA link inside bot messages */
.mode-bot__message a {
    color: var(--color-volt);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.mode-bot__message a:hover {
    color: var(--color-volt-hover);
}

/* Input area */
.mode-bot__input-area {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 0.5px solid var(--color-gunmetal);
    flex-shrink: 0;
}

.mode-bot__input {
    flex: 1;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-chalk);
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 16px;
}

.mode-bot__input::placeholder {
    color: var(--color-dark-grey);
}

.mode-bot__send {
    background: none;
    border: none;
    border-left: 0.5px solid var(--color-gunmetal);
    padding: 14px 16px;
    color: var(--color-smoke);
    cursor: pointer;
    transition: color var(--transition-fast);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.mode-bot__send:hover {
    color: var(--color-volt);
}

.mode-bot__send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Footer link inside panel */
.mode-bot__footer {
    padding: 10px 20px;
    border-top: 0.5px solid var(--color-gunmetal);
    text-align: center;
    flex-shrink: 0;
}

.mode-bot__footer a {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-smoke);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mode-bot__footer a:hover {
    color: var(--color-chalk);
}

/* Mobile */
@media (max-width: 480px) {
    .mode-bot {
        bottom: 20px;
        right: 16px;
        left: 16px;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .mode-bot__panel {
        width: 100%;
        max-height: 70vh;
    }

    .mode-bot__trigger-label {
        display: none;
    }

    .mode-bot__trigger {
        padding: 14px;
        border-radius: 2px;
    }
}
