* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0f;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app {
    text-align: center;
    width: 100%;
}

#orb-container {
    cursor: pointer;
    display: inline-block;
    margin-bottom: 40px;
}

#orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

#orb.idle {
    background: radial-gradient(circle at 40% 40%, #1a3a5c, #0d1b2a);
    box-shadow: 0 0 40px rgba(30, 90, 160, 0.3), 0 0 80px rgba(30, 90, 160, 0.1);
}

#orb.listening {
    background: radial-gradient(circle at 40% 40%, #2a6cb8, #1a3a5c);
    box-shadow: 0 0 60px rgba(42, 108, 184, 0.6), 0 0 120px rgba(42, 108, 184, 0.2);
    animation: pulse-listen 1.5s ease-in-out infinite;
}

#orb.thinking {
    background: radial-gradient(circle at 40% 40%, #c9a227, #8b6914);
    box-shadow: 0 0 60px rgba(201, 162, 39, 0.5), 0 0 120px rgba(201, 162, 39, 0.15);
    animation: pulse-think 0.8s ease-in-out infinite;
}

#orb.speaking {
    background: radial-gradient(circle at 40% 40%, #27c96a, #148b3d);
    box-shadow: 0 0 60px rgba(39, 201, 106, 0.6), 0 0 120px rgba(39, 201, 106, 0.2);
    animation: pulse-speak 0.6s ease-in-out infinite;
}

@keyframes pulse-listen {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-think {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes pulse-speak {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#status {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    min-height: 20px;
}

#transcript {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
    padding: 0 20px;
}

#transcript .user {
    color: #888;
    margin-bottom: 8px;
    font-size: 13px;
}

#transcript .jarvis {
    color: #4a9eff;
    margin-bottom: 16px;
    font-size: 14px;
}


/* Lock Screen */
#lock-screen { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; }
#lock-orb { width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #1a3a5c, #0d1b2a); box-shadow: 0 0 40px rgba(30, 90, 160, 0.3); margin-bottom: 20px; }
#pin-label { color: #666; font-size: 14px; margin-bottom: 20px; }
#pin-dots { display: flex; gap: 12px; margin-bottom: 30px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #333; background: transparent; transition: background 0.15s; }
.dot.filled { background: #4a9eff; border-color: #4a9eff; }
#pin-pad { display: grid; grid-template-columns: repeat(3, 60px); gap: 10px; }
#pin-pad button { width: 60px; height: 50px; border: 1px solid #222; border-radius: 10px; background: #111; color: #e0e0e0; font-size: 20px; cursor: pointer; transition: background 0.15s; }
#pin-pad button:active { background: #2a6cb8; }
