/* INOV AI ANALYTICS - Custom Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
    font-family: 'Montserrat', sans-serif;
}

/* Header Styles */
.wix-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(253, 48, 0, 0.1);
}

/* Button Styles */
.wix-btn {
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    transition: all 0.3s ease;
}

.wix-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(253, 48, 0, 0.3);
}

/* Section Title Styles */
.wix-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.wix-section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    border-radius: 2px;
}

/* Card Styles */
.wix-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(253, 48, 0, 0.08);
}

.wix-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(253, 48, 0, 0.15);
}

/* Menu Item Styles */
.wix-menu-item {
    position: relative;
    padding: 0.5rem 0;
    margin: 0 1rem;
    font-weight: 500;
}

.wix-menu-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    transition: width 0.3s ease;
}

.wix-menu-item:hover:after {
    width: 100%;
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(120deg, #fd3000 0%, #e02a00 50%, #b31a00 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: float 20s linear infinite;
}

/* Feature Icon Styles */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(45deg, #fd3000 0%, #e02a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: rotate(10deg) scale(1.1);
    animation: shake 0.5s ease-in-out;
}

/* Pricing Card Styles */
.pricing-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(253, 48, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid #fd3000;
    box-shadow: 0 15px 40px rgba(253, 48, 0, 0.15);
    animation: pulse-slow 4s infinite;
}

.pricing-card.popular .pricing-header {
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    color: white;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fd3000, #e02a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(253, 48, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce-slow 3s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(253, 48, 0, 0.4);
    animation: wiggle 1s ease-in-out;
}

.chat-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.chat-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    animation: slideIn 0.5s ease-out;
}

.chat-header {
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Message Styles */
.message {
    margin-bottom: 12px;
    display: flex;
}

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
}

.message.bot .message-content {
    background: #f3f4f6;
    border-top-left-radius: 4px;
    color: #374151;
}

.message.user .message-content {
    background: linear-gradient(90deg, #fd3000 0%, #e02a00 100%);
    color: white;
    border-top-right-radius: 4px;
}

/* Footer Styles */
.wix-footer {
    background: linear-gradient(90deg, #1F2937 0%, #111827 100%);
}

/* Animation Classes */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.pulse-element {
    animation: pulse-slow 4s infinite;
}

/* Stats Card Styles */
.stats-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shapes div {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.shape1 { 
    width: 80px; 
    height: 80px; 
    top: 10%; 
    left: 10%; 
    animation: float 6s ease-in-out infinite; 
}

.shape2 { 
    width: 120px; 
    height: 120px; 
    top: 20%; 
    right: 10%; 
    animation: float 8s ease-in-out infinite reverse; 
}

.shape3 { 
    width: 60px; 
    height: 60px; 
    bottom: 20%; 
    left: 20%; 
    animation: float 7s ease-in-out infinite; 
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    50% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wix-menu-item {
        margin: 0 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .chat-container {
        width: 280px;
    }
}

@media (max-width: 640px) {
    .hero-gradient {
        padding: 3rem 0;
    }
    
    .wix-section-title {
        font-size: 2rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
}
