:root {
    --bg-color: #050508;
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff4444;
}

#status-dot.online {
    background-color: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.orb-container {
    position: relative;
    margin-bottom: 3rem;
}

.orb {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: relative;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.orb-inner {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    filter: blur(20px);
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* Animations */
.orb.listening {
    border-color: var(--accent-cyan);
}

.orb.listening .orb-inner {
    animation: pulse 1.5s infinite ease-in-out;
    background: var(--accent-cyan);
    opacity: 0.8;
}

.orb.speaking {
    border-color: var(--accent-purple);
}

.orb.speaking .orb-inner {
    animation: speaking-vibe 0.5s infinite alternate ease-in-out;
    background: var(--accent-purple);
    opacity: 0.8;
}

@keyframes pulse {
    0% { transform: scale(1); filter: blur(20px); }
    50% { transform: scale(1.2); filter: blur(30px); }
    100% { transform: scale(1); filter: blur(20px); }
}

@keyframes speaking-vibe {
    from { transform: scale(1); filter: blur(25px); }
    to { transform: scale(1.1); filter: blur(15px); }
}

.latency-display {
    position: absolute;
    bottom: -30px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.controls {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.primary-btn:hover {
    transform: scale(1.05);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.hidden { display: none; }

footer {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
