 /* Innovation Details Page - Additional Enhancements */

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    pointer-events: none;
}

/* Enhanced Status Badge */
.status-badge {
    position: relative;
    overflow: hidden;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.status-badge:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Cards */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.8s ease;
}

.info-card:hover::after {
    left: 100%;
}

/* Enhanced Feature Icons */
.feature-icon {
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.feature-icon:hover::before {
    width: 100px;
    height: 100px;
}

/* Enhanced Stats Cards */
.stats-card {
    position: relative;
    overflow: hidden;
}

.stats-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Tags */
.tag {
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.tag:hover::before {
    left: 100%;
}

/* Enhanced Attachment Links */
.attachment-link {
    position: relative;
    overflow: hidden;
}

.attachment-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.attachment-link:hover::before {
    left: 100%;
}

/* Enhanced Floating Action Button */
.floating-action-btn {
    position: relative;
    overflow: hidden;
}

.floating-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.floating-action-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Enhanced Progress Bar */
.progress-container {
    position: relative;
}

.progress-track {
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Stage Markers */
.stage-marker {
    position: relative;
}

.stage-icon {
    position: relative;
    overflow: hidden;
}

.stage-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.stage-marker:hover .stage-icon::before {
    width: 100px;
    height: 100px;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::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 ease;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Accordion */
.accordion-button {
    position: relative;
    overflow: hidden;
}

.accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.accordion-button:hover::before {
    left: 100%;
}

/* Enhanced Info Items */
.info-item {
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.5s ease;
}

.info-item:hover::before {
    left: 100%;
}

/* Enhanced Stage Detail Cards */
.stage-detail-card {
    position: relative;
    overflow: hidden;
}

.stage-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.5s ease;
}

.stage-detail-card:hover::before {
    left: 100%;
}

/* Enhanced Content HTML */
.content-html {
    position: relative;
}

.content-html img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-html img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-html a {
    position: relative;
}

.content-html a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.content-html a:hover::after {
    width: 100%;
}

/* Enhanced Hero Stats */
.hero-stat {
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-stat:hover::before {
    left: 100%;
}

/* Enhanced Status Container */
.status-container {
    position: relative;
}

.status-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Enhanced Progress Info */
.progress-info {
    position: relative;
}

.progress-stat {
    position: relative;
    overflow: hidden;
}

.progress-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.5s ease;
}

.progress-stat:hover::before {
    left: 100%;
}

/* Enhanced Current Stage Info */
.current-stage-info {
    position: relative;
    overflow: hidden;
}

.current-stage-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.5s ease;
}

.current-stage-info:hover::before {
    left: 100%;
}

/* Enhanced Stage Details Grid */
.stage-details-grid {
    position: relative;
}

/* Enhanced FAQ Section */
.accordion-item {
    position: relative;
    overflow: hidden;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.02), transparent);
    transition: left 0.5s ease;
}

.accordion-item:hover::before {
    left: 100%;
}

/* Enhanced Error State */
.info-card .card-body.py-5 {
    position: relative;
    overflow: hidden;
}

.info-card .card-body.py-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.5s ease;
}

.info-card .card-body.py-5:hover::before {
    left: 100%;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-stat {
        margin-bottom: 1rem;
    }
    
    .status-container::after {
        display: none;
    }
    
    .floating-action-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .status-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .info-card .card-body {
        padding: 1rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
}

/* Enhanced Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Focus States */
.info-card:focus-within {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* Enhanced Print Styles */
@media print {
    .floating-action-btn,
    .hero-section::before,
    .hero-section::after {
        display: none !important;
    }
    
    .info-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .hero-section {
        background: #f8f9fa !important;
        color: #000 !important;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #000 !important;
    }
}
