/* Custom styles for owlbee.ai */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: -1.5rem;
    margin-bottom: 0;
}

.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Try Now Highlight Section */
.try-now-highlight {
    position: relative;
    z-index: 10;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    max-width: 500px;
    margin: 0 auto;
}

.chatbot-icon-large {
    animation: float 3s ease-in-out infinite;
}

.highlight-arrow {
    position: absolute;
    bottom: -20px;
    right: 20px;
}

/* Stats Section */
.demo-stats {
    margin: 3rem 0;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.stat-card p {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Feature cards enhancement */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .card-body {
    padding: 2rem 1.5rem;
}

.feature-item {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

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

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

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4), 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4), 0 0 0 10px rgba(0, 123, 255, 0);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInDelay 1s ease-out 0.3s both;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-bounce-subtle {
    animation: bounceSubtle 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Chatbot highlight effect */
.highlight-pulse {
    animation: highlightPulse 1.5s ease-in-out infinite;
}

/* Contact page styling */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    text-align: center;
}

.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

/* Navigation */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Form elements */
.form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Feature icons */
.feature-icon i {
    margin-bottom: 1rem;
}

/* Dashboard cards */
.dashboard-card {
    transition: all 0.2s ease-in-out;
}

.dashboard-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Chat interface */
.chat-messages {
    background: #f8f9fa;
    border-radius: 8px;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message.user {
    text-align: right;
}

.chat-message.bot {
    text-align: left;
}

.message-bubble {
    display: inline-block;
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
}

.message-bubble.user {
    background: var(--primary-color);
    color: white;
}

.message-bubble.bot {
    background: white;
    border: 1px solid #dee2e6;
    color: #333;
}

/* File upload area */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-icon i {
        font-size: 2rem !important;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .highlight-arrow {
        display: none;
    }
}

/* Code blocks */
pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.875rem;
    overflow-x: auto;
}

code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* Modal enhancements */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* Badge styling */
.badge {
    font-weight: 500;
    border-radius: 6px;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Chatbot link styles */
.chatbot-link {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    word-break: break-all;
}

.chatbot-link:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
    text-decoration: none;
}

.chatbot-email-link {
    color: #28a745;
}

.chatbot-email-link:hover {
    color: #1e7e34;
    border-bottom-color: #1e7e34;
}

/* Links in user messages (white text on blue background) */
.message-bubble.user .chatbot-link {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.message-bubble.user .chatbot-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Utility classes */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.shadow-lg {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.border-radius-lg {
    border-radius: 12px !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fadeIn {
    animation: fadeIn 0.5s ease-in;
}

.slideIn {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
} 