/* Advanced Styles for Builder Bee Projects - Blotato Inspired */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Advanced Gradient Effects */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-text-advanced {
    background: linear-gradient(45deg, #ed8936, #f6ad55, #fbb040, #ed8936);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShiftAdvanced 4s ease-in-out infinite;
}

@keyframes gradientShiftAdvanced {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Advanced Button Styles */
.btn-advanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
}

.btn-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-advanced:hover::before {
    left: 100%;
}

.btn-advanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(237, 137, 54, 0.4);
}

/* Advanced Card Styles */
.card-advanced {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ed8936, #4299e1, #48bb78, #9f7aea);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-advanced:hover::before {
    transform: scaleX(1);
}

.card-advanced:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(237, 137, 54, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Advanced Navigation Styles */
.nav-advanced {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-advanced.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Advanced Text Effects */
.text-glow {
    text-shadow: 0 0 10px rgba(237, 137, 54, 0.5),
                 0 0 20px rgba(237, 137, 54, 0.3),
                 0 0 30px rgba(237, 137, 54, 0.1);
}

.text-stroke {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
    text-stroke: 2px rgba(255, 255, 255, 0.1);
}

/* Advanced Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #2d3748 25%, #4a5568 50%, #2d3748 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Advanced Scroll Indicators */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ed8936, #4299e1, #48bb78, #9f7aea);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* Advanced Image Effects */
.image-advanced {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-advanced img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.image-advanced:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.image-advanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(237, 137, 54, 0.1), rgba(66, 153, 225, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-advanced:hover::after {
    opacity: 1;
}

/* Advanced Form Styles */
.form-advanced {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.input-advanced {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.input-advanced:focus {
    outline: none;
    border-color: #ed8936;
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.input-advanced::placeholder {
    color: #a0aec0;
}

/* Advanced Chat Styles */
.chat-advanced {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.chat-bubble-advanced {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border-radius: 25px;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(237, 137, 54, 0.3);
    animation: chatBounce 2s ease-in-out infinite;
}

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

/* Advanced Responsive Design */
@media (max-width: 768px) {
    .card-advanced {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .btn-advanced {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .text-glow {
        text-shadow: 0 0 5px rgba(237, 137, 54, 0.5);
    }
}

@media (max-width: 480px) {
    .card-advanced {
        padding: 15px;
        border-radius: 15px;
    }
    
    .image-advanced {
        border-radius: 10px;
    }
    
    .form-advanced {
        padding: 15px;
        border-radius: 10px;
    }
}

/* Advanced Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Advanced Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus-visible {
    outline: 2px solid #ed8936;
    outline-offset: 2px;
}

/* Advanced Print Styles */
@media print {
    .nav-advanced,
    .chat-advanced,
    .scroll-indicator {
        display: none !important;
    }
    
    .card-advanced {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc !important;
    }
}

