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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    margin-right: 10px;
    color: #667eea;
    -webkit-text-fill-color: initial;
}

.tagline {
    font-size: 1.1rem;
    color: #a8a8a8;
    font-weight: 300;
}

main {
    flex: 1;
}

.call-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 0.3s both;
}

.welcome-screen {
    text-align: center;
    padding: 60px 20px;
}

.welcome-content {
    max-width: 500px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

.welcome-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-content p {
    font-size: 1.1rem;
    color: #a8a8a8;
    margin-bottom: 30px;
}

.join-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.join-btn:active {
    transform: translateY(0);
}

.call-frame-container {
    position: relative;
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.call-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffd700;
    animation: blink 1.5s ease-in-out infinite;
}

.status-indicator.connected {
    background: #4ade80;
    animation: none;
}

.call-timer {
    font-size: 1.1rem;
    font-weight: 500;
    color: #a8a8a8;
}

/* Active call screen */
.active-call {
    text-align: center;
    padding: 40px 20px;
}

.call-visualization {
    margin-bottom: 40px;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-avatar {
    position: absolute;
    font-size: 5rem;
    color: #667eea;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.audio-waves {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100px;
    z-index: 1;
}

.wave {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 10px;
    animation: wave 1.5s ease-in-out infinite;
    opacity: 0.8;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 0.1s; }
.wave:nth-child(3) { animation-delay: 0.2s; }
.wave:nth-child(4) { animation-delay: 0.3s; }
.wave:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 60px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.call-info-center {
    margin-bottom: 40px;
}

.call-info-center h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.minimal-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.control-btn.end-call {
    background: #ef4444;
}

.control-btn.end-call:hover {
    background: #dc2626;
}

.control-btn.muted {
    background: #f59e0b;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.8s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #a8a8a8;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 4rem;
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    .daily-frame {
        height: 400px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}