:root { color-scheme: dark; font-family: "Segoe UI", Arial, sans-serif; background: #06152b; color: #f6fbff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 25% 0, #105184 0, transparent 38%), radial-gradient(circle at 100% 78%, #164864 0, transparent 36%), #06152b; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px max(24px, calc((100vw - 1180px)/2)); border-bottom: 1px solid #ffffff24; }
.brand { font-size: 20px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.mark { color: #83e0b2; margin-right: 6px; }
.tag { color: #bcd6ec; border: 1px solid #a9d5ff4a; border-radius: 99px; padding: 7px 12px; font-size: 12px; }
main { max-width: 1220px; margin: 0 auto; padding: 36px 24px 56px; }
.intro { max-width: 770px; margin-bottom: 30px; }
.eyebrow { color: #8de4bd; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.05em; }
.intro p { font-size: 17px; color: #c2d6e9; line-height: 1.55; margin: 0; }
.call-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.screen { position: relative; min-height: 425px; border: 1px solid #96c7eb4a; border-radius: 22px; overflow: hidden; background: linear-gradient(145deg, #173b61, #071e3a 65%); box-shadow: 0 24px 52px #020c1d5e; }
.self-screen { background: #071527; }
.screen-bar, .screen-footer { position: absolute; z-index: 3; left: 0; right: 0; padding: 15px 18px; background: #07172dc2; backdrop-filter: blur(10px); }
.screen-bar { top: 0; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.screen-footer { bottom: 0; color: #bcd3e7; font-size: 12px; }
.online-dot, .camera-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #7bdcab; box-shadow: 0 0 0 4px #7bdcab25; }
.camera-dot { background: #9eb2c2; box-shadow: none; }
.face-placeholder { position: absolute; inset: 50px 0 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 9px; }
.face-ring { width: 170px; height: 170px; border: 2px solid #98dcbc80; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: radial-gradient(circle, #275e6a 0, #123451 58%, #0d2946 100%); box-shadow: 0 0 50px #66cfaa31; }
.face-ring span { font-size: 70px; color: #b4f2d1; }
#ai-portrait { display: none; width: min(100%, 440px); height: 295px; object-fit: cover; object-position: center 38%; border-radius: 14px; border: 1px solid #ffffff45; box-shadow: 0 12px 30px #020c1d99; }
.face-placeholder.has-portrait .face-ring { display: none; }
.face-placeholder.has-portrait #ai-portrait { display: block; }
.face-placeholder strong { font-size: 20px; }
.face-placeholder small { color: #bbd2e6; font-size: 14px; }
#video-call { display: none; position: absolute; inset: 50px 0 40px; width: 100%; height: calc(100% - 90px); border: 0; background: #071527; }
#self-video { display: none; width: 100%; height: 425px; object-fit: cover; transform: scaleX(-1); }
.camera-empty { position: absolute; inset: 50px 0 40px; display: grid; place-items: center; text-align: center; color: #bed0e0; line-height: 1.7; font-size: 16px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0 12px; }
button { min-height: 49px; border: 0; border-radius: 12px; padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button:disabled { opacity: .4; cursor: not-allowed; }
button:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.primary { background: #86e0b3; color: #092a35; }
.primary:hover:not(:disabled) { background: #b0f0cf; }
.secondary { color: #ecf8ff; background: #ffffff20; border: 1px solid #ffffff41; }
.secondary:hover:not(:disabled) { background: #ffffff32; }
.status { min-height: 26px; color: #d1e2ed; font-size: 14px; }
.transcript { margin-top: 32px; border: 1px solid #91b9d64c; border-radius: 17px; overflow: hidden; background: #071a31c9; }
.transcript-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 17px 20px; border-bottom: 1px solid #ffffff20; }
h2 { margin: 0; font-size: 17px; }
.transcript-head span { color: #bad2e7; font-size: 12px; }
.messages { min-height: 95px; max-height: 300px; overflow-y: auto; padding: 19px 20px; }
.messages p { margin: 0 0 12px; line-height: 1.5; }
.empty-message { color: #a9c2d7; }
.speaker { display: inline-block; color: #89e0b5; font-weight: 800; margin-right: 7px; }
.fineprint { margin: 23px 0 0; font-size: 12px; color: #a9c2d7; line-height: 1.5; }
@media(max-width: 820px) { .call-grid { grid-template-columns: 1fr; } .screen { min-height: 330px; } #self-video { height: 330px; } }
@media(max-width: 560px) { .topbar { padding: 17px; } .tag { display: none; } main { padding: 28px 16px 40px; } .controls button { width: 100%; } .face-ring { width: 115px; height: 115px; } .face-ring span { font-size: 50px; } #ai-portrait { height: 220px; } }
