@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .search-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .plan-card.popular {
        transform: scale(1.03);
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .search-card {
        margin-top: -30px;
        transform: translateY(-30px);
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input-group {
        min-width: 100%;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .features-section,
    .plans-section,
    .businesses-section {
        padding: 80px 0;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .plan-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
    
    .business-card {
        margin-bottom: 1.5rem;
    }
    
    .business-contact {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .agent-card {
        margin-bottom: 1.5rem;
    }
    
    .tool-card {
        margin-bottom: 1.5rem;
    }
    
    .recorder-controls {
        flex-wrap: wrap;
    }
    
    .recorder-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .search-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .business-image {
        height: 150px;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4361ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s ease forwards;
    max-width: 350px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: #ef4444;
}

/* Pulse animation for recording */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.recording {
    animation: pulse 2s infinite;
}

/* Form validation styles */
.is-invalid {
    border-color: #ef4444 !important;
}

.is-valid {
    border-color: #10b981 !important;
}

.invalid-feedback {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .search-card {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
    
    .hero-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}