/* Marketplace Solution Detail Page Specific Styles */

/* Hero section enhancements */
.solution-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

/* Solution stats cards */
.solution-stats {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.375rem;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: currentColor;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: #e5e7eb;
}

/* Use cases cards */
.use-case-criteria {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-criteria:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Resource links */
.resource-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-link:hover {
    transform: translateX(4px);
    background-color: #f3f4f6;
}

/* Company logos */
.company-logo {
    transition: all 0.2s ease-in-out;
}

.company-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Related solutions */
.related-solution {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-solution:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* CTA buttons */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

/* Breadcrumb navigation */
.breadcrumb {
    transition: all 0.2s ease-in-out;
}

.breadcrumb:hover {
    color: #3b82f6;
}

/* Status indicators */
.status-indicator {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solution-stats {
        padding: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .use-case-criteria {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .solution-stats {
        padding: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 1.25rem;
    }
    
    .use-case-criteria {
        padding: 0.75rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .solution-stats,
    .use-case-criteria,
    .related-solution {
        border-width: 2px;
        border-color: #374151;
    }
    
    .timeline-item::before {
        border: 2px solid #374151;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .solution-stats,
    .use-case-criteria,
    .related-solution,
    .resource-link,
    .company-logo,
    .cta-button {
        transition: none;
    }
    
    .solution-stats:hover,
    .use-case-criteria:hover,
    .related-solution:hover {
        transform: none;
    }
    
    .status-indicator {
        animation: none;
    }
}

/* Print styles */
@media print {
    .cta-button,
    .mobile-menu,
    .hamburger {
        display: none !important;
    }
    
    .solution-stats,
    .use-case-criteria {
        break-inside: avoid;
    }
}
