/* Enhanced Experience Notice and Modal Styles */

/* Subtle Enhanced Experience Notice */
.enhanced-experience-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 90%;
}

body:not(.light-mode) .enhanced-experience-notice {
    background: rgba(28, 28, 30, 0.95);
    color: #f5f5f7;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.enhanced-experience-notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.notice-text {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.notice-actions {
    display: flex;
    gap: 8px;
}

.notice-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.notice-btn.primary {
    background: #007aff;
    color: white;
}

.notice-btn.primary:hover {
    background: #0056cc;
}

.notice-btn.secondary {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
}

body:not(.light-mode) .notice-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
}

.notice-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

body:not(.light-mode) .notice-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Enhanced Experience Modal */
.enhanced-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.enhanced-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body:not(.light-mode) .enhanced-modal-content {
    background: rgba(28, 28, 30, 0.95);
    color: #f5f5f7;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    color: inherit;
}

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

.modal-body {
    padding: 24px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
}

body:not(.light-mode) .benefit-item {
    background: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-description {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.4;
}

.privacy-details {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.privacy-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.privacy-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-details li {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: #007aff;
    color: white;
}

.btn-primary:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
}

body:not(.light-mode) .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

body:not(.light-mode) .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hide notice when enhanced mode is active */
.enhanced-experience-notice.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .enhanced-experience-notice {
        bottom: 80px;
        width: 95%;
    }
    
    .notice-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .notice-actions {
        justify-content: center;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .enhanced-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
}