/* The hero is an isolated, browser-native product demonstration. */
.hero h1 { margin-top: 0; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 60px); }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 13.5px; line-height: 1.5; }
.hero-points li { align-items: flex-start; }
.hero-points .i { flex: none; margin-top: 2px; }
.hero-visual { min-width: 0; }
.hero-demo.mock { padding: 0; }
.hero-demo .mock-window { display: block; height: auto; border-radius: 22px; background: #0e0e15; box-shadow: 0 32px 90px -30px #000, 0 0 0 1px rgba(170,159,255,.06), 0 20px 100px -50px rgba(124,92,255,.55); }
.hero-demo .i { flex: none; }
.demo-chrome { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #1c1c26, #14141d); }
.demo-window-dots { display: flex; gap: 5px; }
.demo-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #494956; }
.demo-window-dots i:first-child { background: #a56675; }
.demo-window-dots i:nth-child(2) { background: #a89168; }
.demo-window-dots i:nth-child(3) { background: #5e9c88; }
.demo-address { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; color: #c1bfd3; font-size: 10px; letter-spacing: .01em; }
.demo-address .i { width: 10px; height: 10px; color: #858296; }
.demo-address-path { margin-left: 5px; color: #6f6f84; }
.demo-toggle { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; color: #b4accf; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255,255,255,.025); cursor: pointer; transition: background .2s, color .2s; }
.demo-toggle:hover { background: rgba(124,92,255,.18); color: #fff; }
.demo-toggle:focus-visible, .demo-chapters button:focus-visible { outline: 2px solid var(--lavender); outline-offset: -3px; }
.demo-workspace { position: relative; isolation: isolate; height: 392px; overflow: hidden; background: #0b0b11; }
.demo-scene { position: absolute; inset: 0; display: flex; transition: opacity .65s var(--ease), transform .75s var(--ease); }
.demo-admin { z-index: 1; opacity: 1; transform: none; }
.demo-agent { z-index: 2; opacity: 0; transform: translateX(26px) scale(.985); pointer-events: none; }
.hero-demo[data-view="agent"] .demo-admin { opacity: 0; transform: translateX(-20px) scale(.985); }
.hero-demo[data-view="agent"] .demo-agent { opacity: 1; transform: none; }
.demo-nav { width: 51px; flex: none; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #15151e, #101017); }
.demo-nav-logo { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 8px; border-radius: 11px; background: var(--grad); color: #fff; box-shadow: 0 5px 18px -7px #7b5bff; }
.demo-nav-logo .i { width: 20px; height: 20px; }
.demo-nav-item { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid transparent; border-radius: 10px; color: #737286; transition: background .35s, color .35s, border-color .35s; }
.hero-demo[data-admin-page="servers"] .demo-nav-servers, .hero-demo[data-admin-page="accounts"] .demo-nav-accounts { color: #ddd5ff; border-color: rgba(170,159,255,.3); background: linear-gradient(135deg, rgba(123,91,255,.45), rgba(106,140,255,.22)); box-shadow: 0 6px 18px -10px #7b5bff; }
.demo-nav-divider { width: 19px; height: 1px; background: var(--line-2); margin: 2px 0; }
.demo-admin-main { min-width: 0; flex: 1; background: radial-gradient(ellipse at 85% 0, rgba(124,92,255,.055), transparent 70%); }
.demo-admin-top { display: flex; align-items: center; height: 50px; padding: 0 18px; gap: 8px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.014); font-size: 10px; }
.hero-demo .av { width: 27px; height: 27px; font-size: 10px; }
.demo-admin-top > .av { width: 25px; height: 25px; }
.demo-admin-top > b { font-size: 10px; font-weight: 600; }
.demo-admin-top > .i { width: 10px; height: 10px; color: #727084; }
.demo-top-search { display: flex; align-items: center; gap: 6px; width: 106px; height: 26px; padding: 0 9px; margin-left: auto; border: 1px solid var(--line); border-radius: 20px; color: #6e6c80; background: rgba(255,255,255,.025); font-size: 9px; }
.demo-admin-pages { position: relative; height: calc(100% - 50px); }
.demo-admin-page { position: absolute; inset: 0; padding: 19px 18px; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.demo-accounts-page { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hero-demo[data-admin-page="accounts"] .demo-servers-page { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hero-demo[data-admin-page="accounts"] .demo-accounts-page { opacity: 1; transform: none; }
.demo-page-heading { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; }
.demo-page-heading h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 18px; letter-spacing: -.035em; font-weight: 600; }
.demo-page-heading h3 > span { padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: #aaa3c4; font-size: 9px; line-height: 1.3; letter-spacing: 0; }
.demo-page-heading p { margin: 4px 0 0; font-size: 9px; color: #777488; }
.demo-primary { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-height: 27px; padding: 0 10px; border: 1px solid rgba(190,173,255,.35); border-radius: 9px; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 15px -9px #7b5bff; color: #fff; white-space: nowrap; font-size: 9px; font-weight: 600; }
.demo-primary .i, .demo-small-button .i { width: 11px; height: 11px; }
.demo-server-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 95px; padding: 12px; border: 1px solid var(--line-2); border-radius: 15px; background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.008)); box-shadow: inset 0 1px 0 rgba(255,255,255,.02), 0 8px 20px -17px #000; }
.demo-tile { flex: none; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 11px; border: 1px solid rgba(170,159,255,.28); background: var(--grad-soft); color: var(--lavender); }
.demo-tile .i { width: 19px; height: 19px; }
.demo-existing-server .demo-tile { background: var(--grad); color: #fff; }
.demo-server-details { flex: 1; min-width: 0; }
.demo-server-details > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.demo-server-details b { font-size: 11px; font-weight: 600; }
.demo-server-details p { margin: 4px 0 0; color: #9b98ad; font-size: 9px; }
.demo-server-details small { display: block; margin-top: 4px; color: #747183; font-size: 8.5px; }
.demo-pill { display: inline-flex; align-items: center; gap: 4px; width: max-content; padding: 3px 6px; border-radius: 20px; background: rgba(124,92,255,.1); border: 1px solid rgba(170,159,255,.2); color: #b9aafb; font-size: 7.5px; line-height: 1; white-space: nowrap; }
.demo-pill > i:not(.demo-spinner) { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.demo-pill.is-green { color: #65dab3; background: rgba(71,215,166,.09); border-color: rgba(71,215,166,.2); }
.demo-firmware { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; color: #72b6a1; font-size: 8px; }
.demo-firmware .i { width: 9px; height: 9px; }
.demo-card-more { align-self: flex-start; color: #696577; font-size: 16px; line-height: 1; }
.demo-server-new { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height .6s var(--ease), opacity .45s, transform .6s var(--ease); }
.hero-demo[data-server-created="true"] .demo-server-new { max-height: 118px; opacity: 1; transform: none; padding-top: 12px; }
.demo-server-new .demo-server-card { border-color: rgba(170,159,255,.23); }
.demo-small-button { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 7px; border-radius: 8px; background: var(--grad); color: #fff; font-size: 8px; font-weight: 500; opacity: 0; transition: opacity .3s; }
.hero-demo[data-server-ready="true"] .demo-small-button { opacity: 1; }
.demo-server-progress { display: block; width: 95px; height: 3px; overflow: hidden; margin-top: 7px; border-radius: 4px; background: rgba(124,92,255,.1); }
.demo-server-progress i { display: block; width: calc(var(--server-progress, 0) * 100%); height: 100%; background: var(--grad); border-radius: inherit; }
.demo-server-new .demo-firmware { display: none; }
.hero-demo[data-server-ready="true"] .demo-server-new .demo-server-progress { display: none; }
.hero-demo[data-server-ready="true"] .demo-server-new .demo-firmware { display: inline-flex; }
.demo-admin-note { display: flex; align-items: center; gap: 7px; margin-top: 15px; font-size: 8.5px; color: #777387; }
.demo-admin-note > .i { width: 12px; height: 12px; color: #7e75ab; }
.demo-account-card { padding: 16px; border-radius: 17px; border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.008)); }
.demo-account-person { display: flex; gap: 9px; align-items: center; }
.demo-account-person > div { display: grid; gap: 3px; flex: 1; }
.demo-account-person b { font-size: 11px; font-weight: 600; }
.demo-account-person > div > span { font-size: 9px; color: #8c889f; }
.demo-account-server { display: flex; gap: 5px; align-items: center; margin-top: 15px; color: #b4a8db; font-size: 9px; }
.demo-account-server > span { margin-left: auto; color: #777387; font-size: 8px; }
.demo-account-server .i { width: 11px; height: 11px; }
.demo-account-link { display: flex; align-items: center; gap: 6px; margin-top: 13px; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line); background: rgba(0,0,0,.15); color: #9590aa; font-size: 9px; }
.demo-account-link > .i:last-child { margin-left: auto; color: #746392; }
.demo-account-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.demo-account-actions > .demo-pill { opacity: 0; transition: opacity .4s; }
.hero-demo[data-account-ready="true"] .demo-account-actions > .demo-pill { opacity: 1; }
.demo-spinner { width: 6px; height: 6px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: demoSpin .8s linear infinite; }
@keyframes demoSpin { to { transform: rotate(360deg); } }

/* Agent workspace: the same list, header, bubbles and call treatment as the app. */
.demo-chat-list { flex: 0 0 33%; min-width: 0; border-right: 1px solid var(--line); padding: 11px 8px; background: #111119; }
.demo-me { display: flex; align-items: center; gap: 7px; padding: 1px 4px 12px; }
.demo-me > div { min-width: 0; flex: 1; display: grid; gap: 2px; }
.demo-me b { font-size: 10px; }
.demo-me small { font-size: 8px; color: #777487; }
.demo-online { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); margin-right: 2px; }
.demo-search { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); color: #777487; font-size: 8px; white-space: nowrap; overflow: hidden; }
.demo-search .i { width: 10px; height: 10px; }
.demo-list-filter { display: flex; gap: 10px; padding: 7px 3px 10px; font-size: 7px; color: #777487; }
.demo-list-filter b { padding: 3px 14px; border: 1px solid var(--line-2); border-radius: 12px; color: #d2cede; background: rgba(255,255,255,.05); font-weight: 500; }
.demo-list-filter > span { align-self: center; }
.demo-chat-item { position: relative; display: flex; align-items: center; gap: 7px; min-height: 55px; padding: 9px 6px; border: 1px solid transparent; border-radius: 12px; }
.demo-chat-item.is-active { border-color: rgba(170,159,255,.23); background: rgba(124,92,255,.13); }
.demo-chat-item > div { display: grid; gap: 3px; min-width: 0; }
.demo-chat-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 600; }
.demo-chat-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; color: #787486; }
.demo-chat-item time { position: absolute; top: 9px; right: 6px; font-size: 6.5px; color: #696576; opacity: 0; }
.hero-demo[data-contact-saved="true"] .demo-chat-item time { opacity: 1; }
.demo-agent-chat { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; background: radial-gradient(circle, rgba(170,159,255,.09) .65px, transparent 1px) 0 0 / 16px 16px, linear-gradient(135deg, #0e0e16, #0a0a10); }
.demo-chat-heading { display: flex; align-items: center; height: 58px; padding: 0 12px; gap: 7px; flex: none; border-bottom: 1px solid var(--line); background: #101018; }
.demo-chat-heading > div { min-width: 0; flex: 1; display: grid; gap: 3px; }
.demo-chat-heading b { font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-contact-phone { display: none; color: #858094; font-size: 8px; }
.hero-demo[data-contact-saved="true"] .demo-contact-phone { display: block; }
.demo-add-contact { display: grid; place-items: center; color: #aa9fff; width: 22px; flex: none; }
.demo-add-contact .i { width: 15px; height: 15px; }
.hero-demo[data-contact-saved="true"] .demo-add-contact { display: none; }
.demo-chat-video { color: #8e889e; display: none; }
.demo-call-button { min-height: 25px; padding: 0 8px; font-size: 8px; }
.demo-messages { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.demo-day { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); color: #777183; font-size: 7px; }
.demo-chat-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 15px; transition: opacity .4s, transform .5s var(--ease); }
.demo-chat-empty > span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 5px; color: #c3b7ff; border-radius: 15px; border: 1px solid rgba(170,159,255,.25); background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(106,140,255,.12)); box-shadow: 0 0 40px -10px rgba(124,92,255,.3); }
.demo-chat-empty b { font-size: 11px; font-weight: 500; }
.demo-chat-empty small { font-size: 8px; color: #7c758a; }
.hero-demo[data-message-sent="true"] .demo-chat-empty { opacity: 0; transform: scale(.96); }
.demo-message { position: absolute; max-width: 85%; padding: 9px 11px 7px; border-radius: 13px; opacity: 0; transform: translateY(12px) scale(.97); font-size: 11px; line-height: 1.5; transition: opacity .4s, transform .5s var(--ease); }
.demo-message time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 4px; font-size: 7px; color: #9b94a7; }
.demo-message time .i { width: 11px; height: 11px; color: #a1edff; }
.demo-message-out { top: 46px; right: 14px; color: #fff; border-bottom-right-radius: 4px; background: var(--grad-out); box-shadow: 0 7px 22px -15px #7b5bff; }
.demo-message-out time { color: #d5cdff; }
.demo-message-in { top: 137px; left: 14px; border-bottom-left-radius: 4px; border: 1px solid var(--line); background: #202029; }
.hero-demo[data-message-sent="true"] .demo-message-out, .hero-demo[data-reply-shown="true"] .demo-message-in { opacity: 1; transform: none; }
.demo-typing { position: absolute; top: 137px; left: 14px; display: flex; align-items: center; gap: 3px; height: 27px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; background: #202029; opacity: 0; transition: opacity .25s; }
.demo-typing i { width: 4px; height: 4px; border-radius: 50%; background: #a8a0bd; animation: demoTyping .8s ease-in-out infinite alternate; }
.demo-typing i:nth-child(2) { animation-delay: -.25s; }
.demo-typing i:nth-child(3) { animation-delay: -.5s; }
@keyframes demoTyping { to { transform: translateY(-3px); opacity: .4; } }
.hero-demo[data-reply-typing="true"] .demo-typing { opacity: 1; }
.demo-call-message { position: absolute; left: 14px; bottom: 13px; display: flex; align-items: center; gap: 8px; min-width: 170px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #1b1b25; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.demo-call-message > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: rgba(124,92,255,.13); color: #c5b5ff; }
.demo-call-message .i { width: 14px; height: 14px; }
.demo-call-message > div { display: grid; gap: 2px; }
.demo-call-message b { font-size: 9px; font-weight: 500; }
.demo-call-message small { font-size: 7.5px; color: #8a8399; }
.hero-demo[data-call-finished="true"] .demo-call-message { opacity: 1; transform: none; }
.demo-composer { display: flex; align-items: center; gap: 8px; height: 51px; padding: 0 10px; flex: none; border-top: 1px solid var(--line); background: #101018; color: #898196; }
.demo-composer > .i { width: 15px; height: 15px; }
.demo-compose-field { min-width: 0; flex: 1; height: 31px; padding: 0 10px; display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(255,255,255,.025); overflow: hidden; font-size: 9px; white-space: nowrap; }
.demo-compose-field > span { overflow: hidden; text-overflow: clip; }
.hero-demo[data-composing="true"] .demo-compose-field { color: #d9d3e8; border-color: rgba(170,159,255,.45); box-shadow: 0 0 0 2px rgba(124,92,255,.09); }
.demo-compose-field .demo-type-caret { display: none; }
.hero-demo[data-composing="true"] .demo-compose-field .demo-type-caret { display: block; }
.demo-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; }
.demo-send .i { width: 14px; height: 14px; }

/* Native-looking dialogs, focus and cursor motion. The demo has no live inputs. */
.demo-modal, .demo-call-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 14px; background: rgba(3,3,7,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.demo-dialog { width: min(310px, 100%); padding: 20px; border: 1px solid rgba(170,159,255,.2); border-radius: 21px; background: linear-gradient(160deg, #20202c, #12121c 65%); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 60px -30px rgba(124,92,255,.4); transform: translateY(10px) scale(.97); transition: transform .45s var(--ease); }
.demo-dialog-heading { display: flex; gap: 10px; align-items: center; margin-bottom: 17px; }
.demo-dialog-heading > div { display: grid; gap: 5px; }
.demo-dialog-heading b { font-size: 12px; font-weight: 600; }
.demo-dialog-heading small { max-width: 180px; font-size: 8.5px; line-height: 1.5; color: #9890a9; }
.demo-dialog label { display: block; margin: 13px 0 6px; font-size: 9px; color: #a49bb4; }
.demo-input { height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); font-size: 10px; color: #dad4e6; }
.demo-input > .i:last-child { margin-left: auto; color: #91859f; }
.demo-input > .i:first-child { margin-left: 0; }
.demo-input.is-focused { border-color: rgba(170,159,255,.55); box-shadow: 0 0 0 3px rgba(124,92,255,.12); }
.demo-country { font-size: 7px; color: #aba3bc; padding: 3px 4px; border-radius: 4px; border: 1px solid var(--line-2); }
.demo-dialog-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 20px; font-size: 9px; color: #9b92ab; }
.demo-dialog-foot .demo-primary { min-height: 31px; }
.demo-type-caret { display: block; flex: none; width: 1px; height: 13px; background: #c6b8f8; animation: demoCaret .75s steps(1) infinite; }
@keyframes demoCaret { 50% { opacity: 0; } }
.demo-server-choice { display: flex; align-items: center; gap: 9px; padding: 13px 10px; border: 1px solid rgba(170,159,255,.4); border-radius: 13px; background: rgba(124,92,255,.1); }
.demo-server-choice > i { width: 12px; height: 12px; border: 1px solid #b4a1ff; border-radius: 50%; box-shadow: inset 0 0 0 3px #25203e; background: var(--lavender); }
.demo-server-choice > .i { color: #b4a1ff; width: 17px; height: 17px; }
.demo-server-choice > .i:last-child { margin-left: auto; width: 13px; height: 13px; }
.demo-server-choice > div { display: grid; gap: 3px; }
.demo-server-choice b { font-size: 10px; font-weight: 500; }
.demo-server-choice small { font-size: 8px; color: #9a8fae; }
.hero-demo[data-modal="server"] .demo-server-modal, .hero-demo[data-modal="account"] .demo-account-modal, .hero-demo[data-modal="contact"] .demo-contact-modal, .hero-demo[data-call="true"] .demo-call-overlay { visibility: visible; opacity: 1; }
.hero-demo[data-modal="server"] .demo-server-modal .demo-dialog, .hero-demo[data-modal="account"] .demo-account-modal .demo-dialog, .hero-demo[data-modal="contact"] .demo-contact-modal .demo-dialog { transform: none; }
.demo-toast { display: flex; align-items: center; gap: 8px; position: absolute; z-index: 6; right: 14px; bottom: 14px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 13px; background: #1a1924; box-shadow: 0 10px 35px rgba(0,0,0,.3); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .45s var(--ease); }
.demo-toast > span { display: grid; place-items: center; width: 25px; height: 25px; color: #65dab3; background: rgba(71,215,166,.1); border: 1px solid rgba(71,215,166,.2); border-radius: 9px; }
.demo-toast > div { display: grid; gap: 3px; }
.demo-toast b { font-size: 9px; font-weight: 600; }
.demo-toast small { font-size: 8px; color: #a39ab3; }
.hero-demo[data-toast="true"] .demo-toast { opacity: 1; transform: none; }
.demo-cursor { position: absolute; z-index: 8; left: 0; top: 0; width: 19px; height: 25px; pointer-events: none; opacity: 0; will-change: transform; transition: opacity .2s; }
.demo-cursor > svg { position: relative; z-index: 2; width: 19px; height: 25px; fill: #f5f1ff; stroke: #373047; stroke-width: 1.3; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.demo-cursor > i { position: absolute; left: 2px; top: 2px; width: 30px; height: 30px; margin: -15px; border: 2px solid #baa5ff; border-radius: 50%; transform: scale(var(--click-scale, .3)); opacity: var(--click-opacity, 0); }
.hero-demo[data-cursor="true"] .demo-cursor { opacity: 1; }

/* The call screen uses the real agent UI's violet light, round controls and phone line. */
.demo-call-overlay { z-index: 5; background: rgba(3,3,7,.57); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.demo-call-card { width: 229px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 22px 22px 19px; border-radius: 25px; border: 1px solid rgba(170,159,255,.22); background: radial-gradient(ellipse at 50% 12%, rgba(124,92,255,.18), transparent 65%), linear-gradient(155deg,#20202b,#13131c); box-shadow: 0 0 80px -30px rgba(124,92,255,.6), 0 24px 70px rgba(0,0,0,.4); transform: translateY(12px) scale(.96); transition: transform .5s var(--ease); }
.hero-demo[data-call="true"] .demo-call-card { transform: none; }
.demo-call-avatar { display: grid; place-items: center; position: relative; width: 57px; height: 57px; margin-bottom: 8px; }
.demo-call-avatar .av { position: relative; width: 57px; height: 57px; font-size: 22px; box-shadow: 0 0 0 4px rgba(170,159,255,.08); }
.demo-call-avatar > i { position: absolute; inset: -8px; border: 1px solid rgba(170,159,255,.2); border-radius: 50%; animation: demoRing 2.5s ease-out infinite; }
.demo-call-avatar > i:nth-child(2) { animation-delay: -1.25s; }
@keyframes demoRing { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.2); opacity: 0; } }
.demo-call-card > b { margin-top: 3px; font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.demo-call-phone { color: #aaa0bb; font-size: 9px; }
.demo-call-kind { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: #a99eb9; }
.demo-call-kind .i { width: 10px; height: 10px; }
.demo-call-state { margin-top: 7px; color: #b5a9cc; font-size: 11px; font-variant-numeric: tabular-nums; }
.hero-demo[data-call-connected="true"] .demo-call-state { color: #70ddba; }
.demo-call-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 18px; margin-top: 1px; opacity: 0; transition: opacity .3s; }
.demo-call-wave i { width: 3px; height: calc(var(--level) * 17px); border-radius: 3px; background: #6edbb5; transform-origin: center; animation: demoWave .65s ease-in-out infinite alternate; animation-delay: calc(var(--delay) * -.13s); }
@keyframes demoWave { to { transform: scaleY(.35); opacity: .6; } }
.hero-demo[data-call-connected="true"] .demo-call-wave { opacity: 1; }
.demo-recording { display: flex; align-items: center; gap: 5px; margin-top: 3px; padding: 5px 8px; border-radius: 13px; background: rgba(255,93,125,.1); border: 1px solid rgba(255,93,125,.2); color: #e5a3b6; font-size: 7px; opacity: 0; transition: opacity .3s; }
.demo-recording i { width: 4px; height: 4px; border-radius: 50%; background: #ff6486; }
.hero-demo[data-call-connected="true"] .demo-recording { opacity: 1; }
.demo-call-controls { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 12px; }
.demo-call-controls > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #c1b6ce; }
.demo-call-controls > .demo-end-call { width: 40px; height: 40px; border: 0; background: #ff5e7c; color: #fff; box-shadow: 0 8px 23px -12px #ff5e7c; }
.demo-end-call .i { transform: rotate(135deg); }
.demo-chapters { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid var(--line); background: #12121b; }
.demo-chapters button { position: relative; height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #716b82; font-family: inherit; font-size: 9px; cursor: pointer; transition: color .3s, background .3s; }
.demo-chapters button:last-child { border-right: 0; }
.demo-chapters button > span { font-size: 7px; color: #5b546c; }
.demo-chapters button:hover { background: rgba(124,92,255,.06); color: #c7b6f1; }
.demo-chapters button[aria-current="step"] { color: #d4c4ff; background: linear-gradient(0deg,rgba(124,92,255,.09),transparent); }
.demo-chapters button[aria-current="step"] > span { color: #9984c8; }
.demo-chapters button[data-done="true"] { color: #a59ab9; }
.demo-chapters button > i { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; transform: scaleX(var(--step-progress, 0)); transform-origin: left; background: var(--grad); }
.demo-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 13px 5px 0; color: #746b89; font-size: 9px; }
.demo-caption > span:first-child { display: flex; align-items: center; gap: 5px; color: #968aa8; }
.demo-caption > span > i { width: 4px; height: 4px; border-radius: 50%; background: #8c76bb; }
.hero-demo[data-running="false"] *, .hero-demo[data-running="false"] *::before, .hero-demo[data-running="false"] *::after { animation-play-state: paused !important; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-demo.mock { max-width: 680px; }
  .hero-points { max-width: 630px; margin-left: auto; margin-right: auto; text-align: left; }
  .demo-workspace { height: 422px; }
  .demo-chat-video { display: inline-flex; }
}
@media (max-width: 640px) {
  .hero-grid { gap: 36px; }
  .hero-points { max-width: 345px; grid-template-columns: minmax(0,1fr); gap: 10px; font-size: 13px; }
  .hero-demo .mock-window { height: auto; border-radius: 18px; }
  .demo-chrome { height: 36px; padding: 0 11px; }
  .demo-workspace { height: 365px; }
  .demo-chat-list { display: none; }
  .demo-chat-heading { height: 54px; gap: 8px; }
  .demo-chat-heading b { font-size: 11px; }
  .demo-chat-heading > .av { width: 28px; height: 28px; }
  .demo-chat-video { display: inline-flex; }
  .demo-call-button { min-height: 27px; padding: 0 9px; font-size: 9px; }
  .demo-message { font-size: 11.5px; max-width: 82%; }
  .demo-message-in { top: 132px; }
  .demo-composer { height: 50px; }
  .demo-chapters button { height: 43px; font-size: 8px; gap: 4px; }
  .demo-chapters button > span { font-size: 6px; }
  .demo-caption { padding-top: 10px; font-size: 8px; gap: 5px; }
  .demo-nav { width: 42px; padding: 11px 5px; gap: 11px; }
  .demo-nav-logo, .demo-nav-item { width: 28px; height: 28px; border-radius: 9px; }
  .demo-admin-top { padding: 0 12px; }
  .demo-top-search { width: 72px; }
  .demo-admin-page { padding: 16px 12px; }
  .demo-page-heading { gap: 6px; margin-bottom: 14px; }
  .demo-page-heading h3 { font-size: 17px; }
  .demo-page-heading p { font-size: 7.5px; }
  .demo-page-heading > .demo-primary { font-size: 7.5px; min-height: 26px; padding: 0 7px; }
  .demo-server-card { min-height: 91px; gap: 8px; padding: 10px; }
  .demo-server-card > .demo-tile { width: 27px; height: 27px; border-radius: 9px; }
  .demo-server-details b { font-size: 10px; }
  .demo-server-details > div { gap: 5px; }
  .demo-server-details p { font-size: 8px; }
  .demo-server-details small { font-size: 8px; }
  .demo-firmware { font-size: 7px; }
  .demo-small-button { position: absolute; right: 10px; bottom: 10px; height: 22px; font-size: 7px; }
  .demo-server-new .demo-server-details .demo-firmware { max-width: 96px; }
  .demo-pill { font-size: 6.5px; }
  .demo-admin-note { font-size: 7.5px; margin-top: 13px; gap: 5px; }
  .demo-account-card { padding: 12px; }
  .demo-account-person { flex-wrap: wrap; }
  .demo-account-person b { font-size: 10px; }
  .demo-account-server > span { font-size: 7px; }
  .demo-account-actions { gap: 6px; }
  .demo-account-actions > .demo-primary { font-size: 8px; padding: 0 8px; }
  .demo-account-actions > .demo-pill { font-size: 6.5px; }
  .demo-cursor, .demo-cursor > svg { width: 17px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo *, .hero-demo *::before, .hero-demo *::after { transition: none !important; animation: none !important; }
  .demo-cursor { display: none; }
}
