/* Ask Daysi Introduction Popup Styles */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

/* Force dark overlay for all intro overlay states */
.intro-overlay,
.intro-overlay.show,
div.intro-overlay,
div.intro-overlay.show {
    background: rgba(0, 0, 0, 0.8) !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px) !important;
}

/* Emergency override for white background */
.intro-overlay * {
    background: initial !important;
}

.intro-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Specific override for any element inside intro overlay */
.intro-overlay:before,
.intro-overlay:after {
    display: none !important;
}

.intro-overlay.show {
    opacity: 1;
    visibility: visible;
}

.intro-popup {
    background: linear-gradient(135deg, #00D4FF 0%, #764ba2 30%, #FF6B9D 100%);
    border-radius: 20px;
    padding: 25px 20px;
    max-width: 360px;
    width: 85%;
    color: white;
    text-align: center;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.intro-overlay.show .intro-popup {
    transform: scale(1) translateY(0);
}

.intro-popup .logo {
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
}

.logo-container {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.intro-popup h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-popup .subtitle {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.intro-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.intro-features li {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.95;
}

.intro-features li i {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00D4FF 0%, #FF6B9D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #FFE066 0%, #FF6B9D 100%);
    color: #333;
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.intro-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.intro-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.intro-btn.primary {
    background: linear-gradient(135deg, #FF6B9D 0%, #00D4FF 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.intro-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.intro-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.intro-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.intro-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-close:hover {
    opacity: 1;
}

.feedback-section {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.feedback-section h4 {
    color: #FFE066;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feedback-section p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 500;
}

.feedback-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.feedback-link {
    background: linear-gradient(135deg, #FFE066 0%, #FF6B9D 100%);
    color: #333;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.feedback-link:hover {
    background: linear-gradient(135deg, #FF6B9D 0%, #00D4FF 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-popup {
        padding: 20px 18px;
        margin: 10px;
        max-width: 320px;
    }
    
    .intro-popup .logo {
        margin: 0 auto 12px;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
    
    .intro-popup h1 {
        font-size: 20px;
        margin: 8px 0 6px;
    }
    
    .intro-popup .subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .intro-features {
        margin: 12px 0;
    }
    
    .intro-features li {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .intro-features li i {
        width: 18px;
        height: 18px;
        font-size: 9px;
        margin-right: 10px;
    }
    
    .intro-actions {
        margin-top: 15px;
        gap: 8px;
    }
    
    .intro-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .feedback-section {
        margin-top: 12px;
        padding: 12px;
    }
    
    .feedback-section h4 {
        font-size: 15px;
    }
    
    .feedback-section p {
        font-size: 12px;
    }
    
    .feedback-links {
        flex-direction: column;
        gap: 6px;
    }
    
    .feedback-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .language-toggle {
        margin: 10px 0;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Animation for step-by-step reveal */
.intro-popup.animate .logo {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.intro-popup.animate h1 {
    animation: fadeInUp 0.6s ease 0.4s both;
}

.intro-popup.animate .subtitle {
    animation: fadeInUp 0.6s ease 0.6s both;
}

.intro-popup.animate .intro-features {
    animation: fadeInUp 0.6s ease 0.8s both;
}

.intro-popup.animate .intro-actions {
    animation: fadeInUp 0.6s ease 1s both;
}

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