.arachat { --ara-primary: #475159;
--ara-primary-dark: #2f3539;
--ara-primary-soft: #5c6770;
--ara-accent: #f9cc47;
--ara-accent-dark: #e0b227; --ara-header: #526e94;
--ara-header-dark: #405673; --ara-bg: #ffffff;
--ara-surface: #f6f7f8;
--ara-surface-2: #eef0f2;
--ara-text: #1f2629;
--ara-text-soft: #6b757c;
--ara-text-mute: #98a2a8;
--ara-bot-bubble: #ffffff;
--ara-user-bubble: #475159;
--ara-border: #e4e7ea;
--ara-border-strong: #cfd5d9; --ara-radius: 18px;
--ara-radius-sm: 12px;
--ara-shadow: 0 18px 50px rgba(31, 38, 41, 0.18), 0 2px 6px rgba(31, 38, 41, 0.06);
--ara-shadow-launcher: 0 10px 28px rgba(71, 81, 89, 0.35), 0 2px 6px rgba(71, 81, 89, 0.18);
--ara-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
position: fixed;
bottom: 24px;
right: 24px;
z-index: 2147483000;
font-family: var(--ara-font);
color: var(--ara-text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.arachat *,
.arachat *::before,
.arachat *::after {
box-sizing: border-box;
} .arachat-launcher {
width: 64px;
height: 64px;
border-radius: 50%;
border: none;
cursor: pointer;
background: linear-gradient(140deg, var(--ara-primary) 0%, var(--ara-primary-dark) 100%);
color: #fff;
box-shadow: var(--ara-shadow-launcher);
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.arachat-launcher::before {
content: "";
position: absolute;
inset: -4px;
border-radius: 50%;
background: radial-gradient(circle, var(--ara-accent) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
z-index: -1;
}
.arachat-launcher:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 14px 34px rgba(71, 81, 89, 0.4), 0 2px 8px rgba(71, 81, 89, 0.2);
}
.arachat-launcher:hover::before {
opacity: 0.4;
}
.arachat-launcher:active { transform: scale(0.95); }
.arachat-launcher svg {
width: 28px;
height: 28px;
} .arachat-launcher-badge {
position: absolute;
top: -2px;
right: -2px;
min-width: 20px;
height: 20px;
padding: 0 6px;
border-radius: 10px;
background: var(--ara-accent);
color: var(--ara-primary-dark);
font-size: 11px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #fff;
animation: araPulse 2s ease-in-out infinite;
}
@keyframes araPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.12); }
}
.arachat-launcher--hidden { display: none; } .arachat-panel {
position: absolute;
bottom: 0;
right: 0;
width: 400px;
max-width: calc(100vw - 32px);
height: 620px;
max-height: calc(100vh - 48px);
background: var(--ara-bg);
border-radius: var(--ara-radius);
box-shadow: var(--ara-shadow);
display: flex;
flex-direction: column;
overflow: hidden;
opacity: 0;
transform: translateY(20px) scale(0.96);
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
border: 1px solid var(--ara-border);
}
.arachat-panel--open {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: auto;
} .arachat-header {
background: linear-gradient(140deg, var(--ara-header) 0%, var(--ara-header-dark) 100%);
color: #fff;
padding: 18px 18px 16px;
display: flex;
align-items: center;
gap: 12px;
position: relative;
overflow: hidden;
}
.arachat-header::after {
content: "";
position: absolute;
right: -40px;
top: -40px;
width: 140px;
height: 140px;
background: radial-gradient(circle, rgba(249, 204, 71, 0.18) 0%, transparent 70%);
pointer-events: none;
}
.arachat-logo {
width: 44px;
height: 44px;
border-radius: 12px;
background: #fff;
padding: 6px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.arachat-logo img {
width: 100%;
height: 100%;
object-fit: contain;
}
.arachat-header-info {
flex: 1;
min-width: 0;
}
.arachat-title {
font-size: 15px;
font-weight: 600;
margin: 0;
line-height: 1.2;
letter-spacing: -0.1px;
}
.arachat-subtitle {
font-size: 12px;
opacity: 0.78;
margin-top: 2px;
}
.arachat-status {
display: inline-flex;
align-items: center;
gap: 6px;
}
.arachat-status::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: #4ade80;
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
animation: araDot 2s ease-in-out infinite;
}
@keyframes araDot {
0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
.arachat-close {
background: rgba(255, 255, 255, 0.08);
border: none;
color: #fff;
cursor: pointer;
padding: 6px;
border-radius: 10px;
opacity: 0.9;
transition: opacity 0.15s ease, background 0.15s ease;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.arachat-close:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.16);
}
.arachat-close svg { width: 16px; height: 16px; } .arachat-messages {
flex: 1;
overflow-y: auto;
padding: 18px 16px;
display: flex;
flex-direction: column;
gap: 10px;
background:
radial-gradient(circle at 0% 0%, rgba(249, 204, 71, 0.04) 0%, transparent 40%),
radial-gradient(circle at 100% 100%, rgba(71, 81, 89, 0.04) 0%, transparent 40%),
var(--ara-surface);
}
.arachat-msg {
max-width: 84%;
padding: 11px 14px;
border-radius: 16px;
font-size: 14px;
line-height: 1.5;
white-space: pre-wrap;
word-wrap: break-word;
animation: araFadeIn 0.25s ease;
}
.arachat-msg--bot {
align-self: flex-start;
background: var(--ara-bot-bubble);
color: var(--ara-text);
border-bottom-left-radius: 4px;
box-shadow: 0 1px 2px rgba(31, 38, 41, 0.06), 0 0 0 1px var(--ara-border);
}
.arachat-msg--user {
align-self: flex-end;
background: var(--ara-user-bubble);
color: #fff;
border-bottom-right-radius: 4px;
box-shadow: 0 2px 6px rgba(71, 81, 89, 0.18);
} .arachat-msg--agent {
align-self: flex-start;
background: #eef2f8;
color: var(--ara-text);
border-bottom-left-radius: 4px;
border-left: 3px solid var(--ara-primary, #405673);
box-shadow: 0 1px 2px rgba(31, 38, 41, 0.06), 0 0 0 1px var(--ara-border);
} .arachat-system {
align-self: center;
max-width: 90%;
text-align: center;
font-size: 12px;
line-height: 1.4;
color: #6b7785;
background: transparent;
padding: 2px 8px;
animation: araFadeIn 0.25s ease;
}
@keyframes araFadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
} .arachat-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-self: flex-start;
margin-top: 2px;
max-width: 100%;
animation: araFadeIn 0.3s ease;
}
.arachat-chip {
background: #fff;
border: 1px solid var(--ara-border);
color: var(--ara-primary);
padding: 7px 12px;
border-radius: 999px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
font-family: inherit;
transition: all 0.15s ease;
white-space: nowrap;
}
.arachat-chip:hover {
background: var(--ara-primary);
color: #fff;
border-color: var(--ara-primary);
transform: translateY(-1px);
} .arachat-typing {
align-self: flex-start;
background: var(--ara-bot-bubble);
padding: 14px 16px;
border-radius: 16px;
border-bottom-left-radius: 4px;
display: flex;
gap: 4px;
box-shadow: 0 1px 2px rgba(31, 38, 41, 0.06), 0 0 0 1px var(--ara-border);
}
.arachat-typing span {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--ara-primary-soft);
animation: araBounce 1.2s infinite ease-in-out;
}
.arachat-typing span:nth-child(2) { animation-delay: 0.15s; }
.arachat-typing span:nth-child(3) { animation-delay: 0.3s; } .arachat-typing--agent {
background: #eef2f8;
border-left: 3px solid var(--ara-primary, #405673);
}
.arachat-typing--agent span { background: var(--ara-primary, #405673); }
@keyframes araBounce {
0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
30% { transform: translateY(-5px); opacity: 1; }
} .arachat-email-form {
align-self: stretch;
background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
border: 1px solid var(--ara-border);
border-radius: 14px;
padding: 14px;
display: flex;
flex-direction: column;
gap: 10px;
animation: araFadeIn 0.25s ease;
box-shadow: 0 2px 8px rgba(31, 38, 41, 0.04);
position: relative;
}
.arachat-email-form::before {
content: "";
position: absolute;
left: 0;
top: 14px;
bottom: 14px;
width: 3px;
background: var(--ara-accent);
border-radius: 0 3px 3px 0;
}
.arachat-email-form p {
margin: 0 0 0 6px;
font-size: 13px;
color: var(--ara-text);
line-height: 1.45;
}
.arachat-email-input {
width: 100%;
padding: 11px 13px;
border: 1.5px solid var(--ara-border);
border-radius: 10px;
font-size: 14px;
font-family: inherit;
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
background: #fff;
}
.arachat-email-input:focus {
border-color: var(--ara-primary);
box-shadow: 0 0 0 3px rgba(71, 81, 89, 0.1);
}
.arachat-email-submit {
background: var(--ara-accent);
color: var(--ara-primary-dark);
border: none;
padding: 11px 14px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
font-family: inherit;
transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
box-shadow: 0 2px 6px rgba(249, 204, 71, 0.3);
}
.arachat-email-submit:hover {
background: var(--ara-accent-dark);
box-shadow: 0 4px 12px rgba(249, 204, 71, 0.4);
}
.arachat-email-submit:active { transform: scale(0.98); }
.arachat-email-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
} .arachat-gated {
align-self: stretch;
background: #fff;
border: 1px solid var(--ara-border);
border-radius: 14px;
padding: 0;
overflow: hidden;
box-shadow: 0 2px 10px rgba(31, 38, 41, 0.06);
animation: araFadeIn 0.3s ease;
display: flex;
flex-direction: column;
}
.arachat-gated__preview {
position: relative;
padding: 14px 16px 24px;
font-size: 14px;
line-height: 1.5;
color: var(--ara-text);
white-space: pre-wrap;
word-wrap: break-word;
}
.arachat-gated__fade {
display: inline;
color: var(--ara-text-mute);
font-weight: 600;
margin-left: 2px;
}
.arachat-gated__preview::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 28px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
pointer-events: none;
}
.arachat-gated__notice {
background: linear-gradient(180deg, #fef9e4 0%, #fdf3d3 100%);
border-top: 1px solid #f1e3a5;
border-bottom: 1px solid #f1e3a5;
padding: 12px 14px;
display: flex;
gap: 12px;
align-items: flex-start;
}
.arachat-gated__notice-icon {
flex: 0 0 auto;
width: 32px;
height: 32px;
border-radius: 10px;
background: var(--ara-accent);
color: var(--ara-primary-dark);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
box-shadow: 0 2px 6px rgba(249, 204, 71, 0.35);
}
.arachat-gated__notice-body { flex: 1; min-width: 0; }
.arachat-gated__notice-msg {
margin: 0;
font-size: 12.5px;
line-height: 1.45;
color: var(--ara-text);
}
.arachat-gated__price {
margin: 6px 0 0;
font-size: 13px;
color: var(--ara-text);
}
.arachat-gated__price span {
color: var(--ara-text-soft);
font-size: 12px;
}
.arachat-gated__price strong {
color: var(--ara-primary-dark);
font-weight: 700;
}
.arachat-gated__cta {
margin: 12px 14px 14px;
background: var(--ara-accent);
color: var(--ara-primary-dark);
border: none;
padding: 11px 14px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
font-family: inherit;
transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
box-shadow: 0 2px 6px rgba(249, 204, 71, 0.3);
}
.arachat-gated__cta:hover {
background: var(--ara-accent-dark);
box-shadow: 0 4px 12px rgba(249, 204, 71, 0.4);
}
.arachat-gated__cta:active { transform: scale(0.98); }
.arachat-gated--unlocked {
background: linear-gradient(180deg, #f1faf3 0%, #e7f5ea 100%);
border-color: #b8dec2;
} .arachat-faq-nudge {
align-self: flex-start;
max-width: 92%;
background: #fff;
border: 1px dashed var(--ara-border-strong);
border-radius: 12px;
padding: 9px 12px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
animation: araFadeIn 0.3s ease;
}
.arachat-faq-nudge__icon { font-size: 14px; }
.arachat-faq-nudge__label {
font-size: 12px;
color: var(--ara-text-soft);
}
.arachat-faq-nudge__chip {
background: var(--ara-primary);
color: #fff;
border: none;
padding: 6px 11px;
border-radius: 999px;
font-size: 12.5px;
font-weight: 500;
cursor: pointer;
font-family: inherit;
transition: background 0.15s ease, transform 0.1s ease;
text-align: left;
}
.arachat-faq-nudge__chip:hover {
background: var(--ara-primary-dark);
transform: translateY(-1px);
} .arachat-unlock-form {
padding: 12px 14px 14px;
background: #fafbfc;
border-top: 1px solid var(--ara-border);
display: flex;
flex-direction: column;
gap: 8px;
animation: araFadeIn 0.2s ease;
}
.arachat-unlock-form__intro {
margin: 0;
font-size: 13px;
color: var(--ara-text);
line-height: 1.45;
}
.arachat-unlock-form__email,
.arachat-unlock-form__name {
width: 100%;
padding: 10px 12px;
border: 1.5px solid var(--ara-border);
border-radius: 10px;
font-size: 14px;
font-family: inherit;
outline: none;
background: #fff;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.arachat-unlock-form__email:focus,
.arachat-unlock-form__name:focus {
border-color: var(--ara-primary);
box-shadow: 0 0 0 3px rgba(71, 81, 89, 0.1);
}
.arachat-unlock-form__submit {
background: var(--ara-primary);
color: #fff;
border: none;
padding: 11px 14px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
font-family: inherit;
transition: background 0.15s ease, transform 0.1s ease;
}
.arachat-unlock-form__submit:hover { background: var(--ara-primary-dark); }
.arachat-unlock-form__submit:active { transform: scale(0.98); }
.arachat-unlock-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.arachat-unlock-form__legal {
margin: 2px 0 0;
font-size: 11px;
color: var(--ara-text-mute);
line-height: 1.4;
}
.arachat-unlock-form__error {
margin: 4px 0 0;
font-size: 12.5px;
color: #b54034;
background: #fdecea;
border-radius: 8px;
padding: 7px 10px;
} .arachat-unlock-success {
padding: 14px 16px;
display: flex;
gap: 12px;
align-items: flex-start;
}
.arachat-unlock-success__icon {
flex: 0 0 auto;
width: 32px;
height: 32px;
border-radius: 50%;
background: #2f8a4a;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 16px;
}
.arachat-unlock-success__body { flex: 1; min-width: 0; }
.arachat-unlock-success__title {
margin: 0 0 4px;
font-size: 14px;
font-weight: 700;
color: var(--ara-primary-dark);
}
.arachat-unlock-success__msg {
margin: 0;
font-size: 13px;
line-height: 1.45;
color: var(--ara-text);
}
.arachat-unlock-success__ref {
margin: 6px 0 0;
font-size: 12px;
color: var(--ara-text-soft);
}
.arachat-unlock-success__ref strong {
font-family: "SF Mono", Monaco, Consolas, monospace;
color: var(--ara-primary-dark);
} .arachat-composer {
display: flex;
align-items: flex-end;
gap: 8px;
padding: 12px 14px;
border-top: 1px solid var(--ara-border);
background: #fff;
}
.arachat-textarea {
flex: 1;
resize: none;
border: 1.5px solid var(--ara-border);
border-radius: 12px;
padding: 10px 14px;
font-size: 14px;
font-family: inherit;
line-height: 1.4;
max-height: 110px;
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
color: var(--ara-text);
background: var(--ara-surface);
}
.arachat-textarea::placeholder { color: var(--ara-text-mute); }
.arachat-textarea:focus {
border-color: var(--ara-primary);
background: #fff;
box-shadow: 0 0 0 3px rgba(71, 81, 89, 0.08);
}
.arachat-send {
width: 42px;
height: 42px;
flex-shrink: 0;
border-radius: 12px;
border: none;
background: linear-gradient(140deg, var(--ara-primary) 0%, var(--ara-primary-dark) 100%);
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
box-shadow: 0 2px 8px rgba(71, 81, 89, 0.2);
}
.arachat-send:hover {
box-shadow: 0 4px 12px rgba(71, 81, 89, 0.3);
transform: translateY(-1px);
}
.arachat-send:active { transform: scale(0.92); }
.arachat-send:disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.arachat-send svg { width: 18px; height: 18px; } .arachat-disclaimer {
font-size: 10.5px;
line-height: 1.45;
color: var(--ara-text-soft);
background: #fdf6e0;
border-top: 1px solid var(--ara-border);
padding: 7px 14px;
text-align: center;
letter-spacing: 0.1px;
}
.arachat-disclaimer strong { color: var(--ara-primary); font-weight: 600; } .arachat-ai-note {
max-width: 86%;
margin: -2px 0 6px 8px;
font-size: 10.5px;
line-height: 1.4;
color: var(--ara-text-soft);
background: #fdf6e0;
border-left: 3px solid var(--ara-accent);
border-radius: 6px;
padding: 6px 9px;
}
.arachat-ai-note strong { color: var(--ara-primary); font-weight: 600; } .arachat-footer {
text-align: center;
font-size: 11px;
color: var(--ara-text-mute);
padding: 6px 0 10px;
background: #fff;
border-top: 1px solid var(--ara-border);
letter-spacing: 0.1px;
}
.arachat-footer a {
color: var(--ara-primary);
text-decoration: none;
font-weight: 500;
}
.arachat-footer a:hover { color: var(--ara-accent-dark); } .arachat-messages::-webkit-scrollbar { width: 6px; }
.arachat-messages::-webkit-scrollbar-track { background: transparent; }
.arachat-messages::-webkit-scrollbar-thumb {
background: rgba(71, 81, 89, 0.2);
border-radius: 3px;
}
.arachat-messages::-webkit-scrollbar-thumb:hover {
background: rgba(71, 81, 89, 0.35);
} @media (max-width: 480px) {
.arachat { bottom: 0; right: 0; }
.arachat-panel {
width: 100vw;
height: 100vh;
max-width: 100vw;
max-height: 100vh;
border-radius: 0;
border: none;
}
.arachat-launcher {
bottom: 16px;
right: 16px;
position: fixed;
}
.arachat-msg { max-width: 88%; }
}