/* TODO: Review box-shadow values - consider using design system shadow variables (--shadow-xs, --shadow-sm, etc.) */
/**
 * Advanced Features Tour Styles
 * Beautiful tour overlay for advanced features
 */

@keyframes tour-pulse {
    0%, 100% {
        box-shadow: 0 0 0 9999px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.8), 0 0 30px rgba(102, 126, 234, 0.6);
        border-color: #667eea;

    50% {
        box-shadow: 0 0 0 9999px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.8), 0 0 50px rgba(102, 126, 234, 0.9);
        border-color: #764ba2;

.advanced-tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;

.tour-highlight {
    pointer-events: none;

.tour-popup {
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.5), 0 0 20px rgba(102, 126, 234, 0.3);
    width: 352px;
    max-width: 90vw;
    pointer-events: all;
    animation: tour-popup-enter 0.3s ease-out;

@keyframes tour-popup-enter {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);

    to {
        opacity: 1;
        transform: scale(1) translateY(0);

.tour-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) calc(var(--spacing-lg) * 1.25);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;

.tour-popup-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;

.tour-close {
    background: rgba(var(--color-text-primary-rgb, 224, 224, 224), 0.2);
    border: none;
    color: white;
    width: calc(var(--spacing-xl) * 1.167);
    height: calc(var(--spacing-xl) * 1.167);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

.tour-close:hover {
    background: rgba(var(--color-text-primary-rgb, 224, 224, 224), 0.3);
    transform: rotate(90deg);

.tour-popup-content {
    padding: calc(var(--spacing-lg) * 1.25);
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    line-height: 1.6;

.tour-popup-content p {
    margin: 0;

.tour-popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) calc(var(--spacing-lg) * 1.25);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    background: rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.2);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);

.tour-progress {
    color: #b0b0b0;
    font-size: var(--font-size-xs);
    font-weight: 500;

.tour-actions {
    display: flex;
    gap: var(--spacing-sm);

.tour-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: calc(var(--radius-sm) * 1.5);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);

.tour-btn:active {
    transform: translateY(0);

.tour-highlighted {
    position: relative;
    z-index: 10003;

/* Responsive */
@media (max-width: 768px) {
    .tour-popup {
        width: 90vw;
        max-width: 352px;

    .tour-popup-header h3 {
        font-size: var(--font-size-base);

    .tour-popup-content {
        font-size: 13px;
        padding: var(--spacing-lg);

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .tour-popup,
    .tour-highlight,
    .tour-close,
    .tour-btn {
        animation: none;
        transition: none;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}