/* AI Calling Agents Section */
.ai-calling-agents {
    padding: 80px 0;
    background: linear-gradient(135deg, #121213 0%, #342445 100%);
    color: white;
}

.ai-calling-agents .section-title h2 {
    color: white;
}

.ai-calling-agents .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.agent-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-10px);
}

.agent-phone-wrapper {
    padding: 20px;
    background: #c8c8cc;
    border-bottom: 1px solid #eee;
}

.agent-phone {
    width: 300px;
    height: 620px;
    background: #000;
    border-radius: 40px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 8px solid #222;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #252525 0%, #392c46 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bar {
    width: 3px;
    background: white;
}

.signal-bar:nth-child(1) { height: 4px; }
.signal-bar:nth-child(2) { height: 6px; }
.signal-bar:nth-child(3) { height: 8px; }
.signal-bar:nth-child(4) { height: 10px; }

.wifi-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.wifi-arc {
    position: absolute;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}

.wifi-arc:nth-child(1) {
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
}

.wifi-arc:nth-child(2) {
    width: 10px;
    height: 10px;
    top: 3px;
    left: 3px;
}

.wifi-arc:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 6px;
    left: 6px;
}

.phone-battery {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.battery-level {
    width: 20px;
    height: 8px;
    background: #4CAF50;
    border-radius: 2px;
    position: relative;
}

.battery-level::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    width: 2px;
    height: 4px;
    background: white;
    border-radius: 1px;
}

.agent-content {
    padding: 20px;
    text-align: center;
    color: white;
}

.agent-language-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid white;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.agent-role {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    color: rgb(179, 176, 176);
}

.call-button {
    background: linear-gradient(135deg, #202021 0%, #4c4657 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
    width: 80%;
}

.call-button:hover {
    transform: scale(1.05);
    background: rgb(61, 61, 61);
}

.call-icon {
    font-size: 20px;
}

.call-timer {
    font-size: 14px;
    margin: 10px 0;
    min-height: 20px;
}

.ringing-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    display: none;
}

.ringing-dot {
    width: 10px;
    height: 10px;
    background: #913BFF;
    border-radius: 50%;
    animation: ringing 1.5s infinite;
}

.ringing-dot:nth-child(2) { animation-delay: 0.2s; }
.ringing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ringing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.countdown-timer {
    font-size: 48px;
    font-weight: 700;
    color: #913BFF;
    margin: 20px 0;
    display: none;
}

.connected-display {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
    display: none;
}

.ai-response {
    background: white;
    border-radius: 10px;
    padding: 12px;
    color: #333;
    position: relative;
}

.message-content {
    font-size: 13px;
    line-height: 1.4;
}

.message-time {
    font-size: 10px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

.voice-status {
    font-size: 12px;
    margin: 10px 0;
    min-height: 20px;
}

.listening-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.listening-dots {
    display: flex;
    gap: 4px;
}

.listening-dot {
    width: 8px;
    height: 8px;
    background: #913BFF;
    border-radius: 50%;
    animation: listening 1s infinite;
}

.listening-dot:nth-child(2) { animation-delay: 0.2s; }
.listening-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes listening {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.transcript-display {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    min-height: 40px;
    font-size: 13px;
    display: none;
}

.voice-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    display: none;
}

.voice-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.voice-btn.active {
    background: #913BFF;
}

.end-call-btn {
    background: #FF4757;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

.end-call-btn:hover {
    transform: scale(1.05);
}

.sample-questions {
    margin-top: 20px;
    text-align: left;
}

.sample-questions h4 {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.sample-questions ul {
    list-style: none;
    padding: 0;
}

.sample-questions li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sample-questions li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.phone-home-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-button-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.agent-info {
    padding: 25px;
    color: #333;
}

.agent-info h3 {
    color: #913BFF;
    margin-bottom: 10px;
    font-size: 22px;
}

.agent-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.agent-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agent-features span {
    background: #f0f2ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #913BFF;
    display: flex;
    align-items: center;
    gap: 5px;
}

.agent-features i {
    font-size: 10px;
}
/* Update existing CSS or add new styles */

/* Remove old microphone button styles if they exist */
.voice-controls {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    display: none;
}

.voice-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.voice-btn.active {
    background: #913BFF;
}

/* Listening Indicator */
.listening-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.listening-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
}

.listening-dot {
    width: 8px;
    height: 8px;
    background: #913BFF;
    border-radius: 50%;
    animation: listening 1s infinite;
}

.listening-dot:nth-child(2) { animation-delay: 0.2s; }
.listening-dot:nth-child(3) { animation-delay: 0.4s; }

.listening-text {
    font-size: 11px;
    color: #913BFF;
    font-weight: 500;
}

@keyframes listening {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* End Call Button */
.end-call-btn {
    background: #FF4757;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    margin: 15px auto;
    transition: all 0.3s ease;
    width: 80%;
}

.end-call-btn:hover {
    background: #ff3742;
    transform: scale(1.05);
}

/* Voice Status */
.voice-status {
    font-size: 12px;
    margin: 10px 0;
    min-height: 20px;
    text-align: center;
    color: #4CAF50;
    font-weight: 500;
}

/* Transcript Display */
.transcript-display {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    min-height: 40px;
    font-size: 13px;
    display: none;
    text-align: left;
}