/* Enhanced Quantum Integration Styles for Yoniverse.ai */

/* Integration Section */
.quantum-integration-section {
    margin-top: 30px;
    border-top: 1px solid rgba(148, 0, 211, 0.3);
    padding-top: 20px;
}

.quantum-integration-section h4 {
    color: #9400d3;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 8px rgba(148, 0, 211, 0.4);
}

/* Integration Stage */
.integration-stage {
    background-color: rgba(25, 25, 112, 0.4);
    border: 1px solid rgba(148, 0, 211, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.stage-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.stage-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4b0082, #9400d3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(148, 0, 211, 0.5);
}

.stage-progress-bar {
    flex-grow: 1;
    height: 10px;
    background-color: rgba(148, 0, 211, 0.2);
    border-radius: 5px;
    overflow: hidden;
    max-width: 200px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4b0082, #9400d3);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.integration-stage h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Next Steps */
.next-steps-container {
    margin: 20px 0;
}

.next-steps-container h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.next-step-item {
    background-color: rgba(25, 25, 112, 0.4);
    border: 1px solid rgba(148, 0, 211, 0.3);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.next-step-item:hover {
    background-color: rgba(25, 25, 112, 0.6);
    box-shadow: 0 0 15px rgba(148, 0, 211, 0.3);
    transform: translateY(-3px);
}

.step-action-btn {
    padding: 10px 15px;
    background: linear-gradient(45deg, #4b0082, #9400d3);
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 10px;
}

.step-action-btn:hover {
    background: linear-gradient(45deg, #9400d3, #4b0082);
    box-shadow: 0 0 15px rgba(148, 0, 211, 0.5);
}

.step-action-btn.enabled {
    background: linear-gradient(45deg, #006400, #00a000);
}

.step-action-btn.highlighted {
    animation: pulse 1.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(148, 0, 211, 0.8); }
    100% { transform: scale(1); }
}

.next-step-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-confirmation {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(148, 0, 211, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    animation: fadeIn 0.5s ease;
}

.refresh-steps-btn {
    padding: 8px 15px;
    background: linear-gradient(45deg, #4b0082, #9400d3);
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.refresh-steps-btn:hover {
    background: linear-gradient(45deg, #9400d3, #4b0082);
    box-shadow: 0 0 10px rgba(148, 0, 211, 0.5);
}

/* Discovered Devices */
.discovered-devices {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(148, 0, 211, 0.1);
    border-radius: 8px;
    animation: fadeIn 0.5s ease;
}

.discovered-devices h6 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
}

.devices-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.device-item {
    background-color: rgba(25, 25, 112, 0.5);
    border: 1px solid rgba(148, 0, 211, 0.2);
    border-radius: 8px;
    padding: 10px;
}

.device-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.device-formats {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.connect-device-btn {
    padding: 5px 10px;
    background: linear-gradient(45deg, #4b0082, #9400d3);
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.connect-device-btn:hover {
    background: linear-gradient(45deg, #9400d3, #4b0082);
    box-shadow: 0 0 10px rgba(148, 0, 211, 0.5);
}

.connect-device-btn.enabled {
    background: linear-gradient(45deg, #006400, #00a000);
}

.refresh-container {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(148, 0, 211, 0.2);
    border-radius: 8px;
    text-align: center;
}

/* Integration Disclaimer */
.integration-disclaimer {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    padding: 10px;
    border-left: 3px solid #9400d3;
    background-color: rgba(148, 0, 211, 0.1);
}

/* Email Capture Overlay */
.email-capture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 5, 30, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.email-capture-overlay.fade-out {
    opacity: 0;
}

.email-capture-modal {
    background-color: rgba(25, 25, 112, 0.8);
    border: 1px solid rgba(148, 0, 211, 0.5);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(148, 0, 211, 0.5);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    backdrop-filter: blur(10px);
}

.email-capture-modal h4 {
    color: #9400d3;
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(148, 0, 211, 0.4);
}

.email-capture-modal p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .devices-list {
        grid-template-columns: 1fr;
    }
}
