:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{place-items:center;min-width:320px;min-height:100vh;margin:0;display:flex}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.loading-container{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-spinner{border:6px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:60px;height:60px;animation:1s linear infinite spin}.loading-message{color:#fff;margin-top:1.5rem;font-size:1.2rem;font-weight:500}@keyframes spin{to{transform:rotate(360deg)}}.login-page{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:center;align-items:center;width:100vw;min-height:100vh;margin:0;padding:2rem;display:flex;position:fixed;inset:0}.login-container{background:#fff;border-radius:16px;width:100%;max-width:450px;padding:3rem;box-shadow:0 20px 60px #0000004d}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{color:#667eea;margin-bottom:.5rem;font-size:2.5rem}.login-header p{color:#666;font-size:1.1rem}.login-form{flex-direction:column;gap:1.5rem;display:flex}.form-group{flex-direction:column;display:flex}.form-group label{color:#333;margin-bottom:.5rem;font-weight:600}.form-group input{color:#2d3748;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;padding:.75rem;font-size:1rem;transition:border-color .3s}.form-group input::placeholder{color:#a0aec0}.form-group input:focus{background:#fff;border-color:#667eea;outline:none}.error-message{color:#c33;background:#fee;border-radius:8px;padding:.75rem;font-size:.9rem}.success-message{color:#2a7;background:#efe;border-radius:8px;padding:.75rem;font-size:.9rem}.submit-btn{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:8px;margin-top:1rem;padding:1rem;font-size:1.1rem;font-weight:700;transition:all .3s}.submit-btn:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.toggle-form{text-align:center;margin-top:1.5rem}.toggle-form button{color:#667eea;cursor:pointer;background:0 0;border:none;font-size:.95rem;text-decoration:underline}.toggle-form button:hover{color:#5568d3}@media (max-width:768px){.login-container{padding:2rem}.login-header h1{font-size:2rem}}.avatar-container{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:0;width:100%;min-height:0;padding:0;transition:all .3s;display:flex}.video-avatar-wrapper{width:100%;max-width:none;height:100%;box-shadow:none;background:#000;border-radius:0;transition:all .3s;overflow:hidden}.avatar-video{object-fit:cover;width:100%;height:100%;transition:all .3s;display:block}.avatar-status{color:#a0aec0;text-align:center;min-height:1.5rem;margin-top:.5rem;font-size:.9rem;font-weight:500}@media (max-width:768px){.avatar-head{width:140px;height:140px}.avatar-eyes{gap:30px;top:45px}.eye{width:20px;height:20px}.eye:after{width:10px;height:10px;top:5px;left:5px}.avatar-mouth{width:50px;height:25px;bottom:45px}.sound-waves{bottom:-50px}}@media (max-width:480px){.avatar-head{width:120px;height:120px}.avatar-eyes{gap:25px;top:38px}.eye{width:16px;height:16px}.eye:after{width:8px;height:8px;top:4px;left:4px}.avatar-mouth{border-width:3px;width:40px;height:20px;bottom:38px}.avatar-status{margin-top:3rem;font-size:.8rem}}.message{margin-bottom:1rem;animation:.3s slideIn;display:flex}.message.user{justify-content:flex-end}.message.ai{justify-content:flex-start}.message-text{word-wrap:break-word;border-radius:12px;max-width:70%;padding:.75rem 1rem}.message.user .message-text{color:#fff;background:#667eea;border-bottom-right-radius:4px}.message.ai .message-text{color:#fff;background:#ffffff1a;border-bottom-left-radius:4px}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.conversation-log{flex-direction:column;gap:1rem;width:100%;min-height:60vh;max-height:70vh;margin:0;padding:2rem 1.75rem;display:flex;overflow-y:auto}@media (max-width:1024px){.conversation-log{min-height:40vh;max-height:50vh}}.camera-feed{background:#000;border-radius:0;width:100%;max-width:none;height:100%;transition:all .3s;position:relative;overflow:hidden}.user-camera{object-fit:cover;width:100%;height:100%;transition:all .3s;display:block}.face-canvas{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.camera-feed.disabled .user-camera{filter:brightness(.3)}.camera-overlay{color:#fff;background:#000000b3;justify-content:center;align-items:center;width:100%;height:100%;font-size:1.5rem;display:flex;position:absolute;top:0;left:0}.voice-recorder-btn{border:2px solid var(--primary-color,#667eea);color:var(--primary-color,#667eea);cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border-radius:8px;padding:12px 24px;font-size:1rem;font-weight:600;transition:all .3s}.voice-recorder-btn:hover:not(:disabled){background:var(--primary-color,#667eea);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.voice-recorder-btn:active:not(:disabled){transform:translateY(0)}.voice-recorder-btn.recording{color:#fff;background:#ef4444;border-color:#ef4444;animation:1s infinite pulse}.voice-recorder-btn.processing{color:#fff;cursor:wait;background:#f59e0b;border-color:#f59e0b}.voice-recorder-btn:disabled{opacity:.5;cursor:not-allowed}@keyframes pulse{0%,to{box-shadow:0 0 #ef4444b3}50%{box-shadow:0 0 0 10px #ef444400}}.chat-page{background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);grid-template-rows:1fr auto;grid-template-columns:1fr 1fr;gap:0;width:100vw;min-height:100vh;margin:0;display:grid;position:fixed;inset:0}.logout-btn{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100;background:#ff6b6b33;border:2px solid #ff6b6b66;border-radius:8px;padding:.5rem 1rem;font-size:.9rem;font-weight:600;transition:all .3s;position:absolute;top:1rem;right:1rem}.logout-btn:hover{background:#ff6b6b4d;border-color:#ff6b6b99;transform:translateY(-2px);box-shadow:0 4px 12px #ff6b6b4d}.video-section{flex-direction:column;grid-area:1/1;gap:0;height:100%;padding:0;display:flex;overflow:hidden}.camera-controls{flex-direction:column;flex:1;width:100%;min-height:0;transition:all .3s;display:flex;position:relative}.control-row{z-index:10;flex-wrap:wrap;justify-content:center;gap:10px;padding:0 1rem;display:flex;position:absolute;bottom:1rem;left:50%;transform:translate(-50%)}.camera-toggle-btn{color:#fff9;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:.7;background:#ffffff0d;border:1px solid #ffffff26;border-radius:8px;flex:1;min-width:78.4px;padding:.525rem 1.05rem;font-size:.7rem;font-weight:600;transition:all .3s}.camera-toggle-btn:hover{color:#ffffffe6;opacity:1;background:#ffffff26;border-color:#ffffff4d;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.quality-selector{color:#fff9;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:.7;background:#ffffff0d;border:1px solid #ffffff26;border-radius:8px;flex:1;min-width:89.6px;padding:.525rem .7rem;font-size:.7rem;font-weight:600;transition:all .3s}.quality-selector:hover{color:#ffffffe6;opacity:1;background:#ffffff26;border-color:#ffffff4d}.quality-selector option{color:#fff;background:#1e1e1ef2;padding:.5rem}.chat-page>:nth-child(2){background:#0003;flex-direction:column;grid-area:1/2;gap:1rem;padding:3.5rem 1.5rem 2rem;display:flex;position:relative;overflow-y:auto}.transcript-section{background:#0003;flex-direction:column;grid-area:1/2;gap:1rem;padding:4.5rem 1.5rem 2rem;display:flex;position:relative;overflow-y:auto}.input-section{background:#0000004d;border-top:1px solid #ffffff1a;grid-area:2/1/auto/-1;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex}.input-section input{color:#fff;background:#ffffff1a;border:2px solid #fff3;border-radius:8px;flex:1;padding:.75rem;font-size:1rem}.input-section input::placeholder{color:#ffffff80}.input-section input:focus{background:#ffffff26;border-color:#667eea;outline:none}.input-section button{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;transition:all .3s}.input-section button:hover:not(:disabled){background:#5568d3;transform:translateY(-2px)}.input-section button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:1024px){.chat-page{grid-template-rows:auto 1fr auto;grid-template-columns:1fr}.video-section{grid-area:1/1;max-height:40vh;padding:1rem}.chat-page>:nth-child(2){grid-area:2/1}.input-section{grid-area:3/1;padding:1rem}}.trial-screen{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);justify-content:center;align-items:center;width:100vw;min-height:100vh;margin:0;padding:2rem;display:flex;position:fixed;inset:0;overflow-y:auto}.trial-content{text-align:center;color:#fff;width:100%;max-width:1200px}.trial-header h1{margin-bottom:1rem;font-size:3.5rem;font-weight:700}.trial-tagline{opacity:.9;margin-bottom:3rem;font-size:1.5rem}.trial-features{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:3rem;display:grid}.trial-feature{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:16px;padding:2rem;transition:transform .3s}.trial-feature:hover{background:#ffffff26;transform:translateY(-8px)}.feature-icon{margin-bottom:1rem;font-size:3rem}.trial-feature h3{margin-bottom:.5rem;font-size:1.5rem}.trial-feature p{opacity:.85;line-height:1.6}.get-started-btn{color:#667eea;cursor:pointer;background:#fff;border:none;border-radius:50px;padding:1rem 3rem;font-size:1.25rem;font-weight:700;transition:all .3s;box-shadow:0 8px 24px #0003}.get-started-btn:hover{transform:scale(1.05);box-shadow:0 12px 32px #0000004d}.trial-note{opacity:.8;margin-top:1rem;font-size:.95rem}@media (max-width:768px){.trial-header h1{font-size:2.5rem}.trial-tagline{font-size:1.2rem}.trial-features{grid-template-columns:1fr}}
