/* Tour interattivo gestionale — nutrisuite.cloud */
.ns-tour-tab {
    width: 100%;
    text-align: left;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.ns-tour-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 180, 255, 0.35);
    transform: translateX(4px);
}
.ns-tour-tab.is-active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.35), rgba(0, 180, 255, 0.2));
    border-color: rgba(0, 180, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.25);
}
.ns-browser {
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 102, 255, 0.15);
    background: #0f172a;
}
.ns-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ns-browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.ns-browser-url {
    flex: 1;
    margin-left: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
}
.ns-tour-screen {
    display: none;
    min-height: 380px;
    animation: nsTourIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.ns-tour-screen.is-active { display: flex; }
@keyframes nsTourIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.ns-mock-sidebar {
    width: 56px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 0.75rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.ns-mock-nav-item {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
    transition: all 0.2s;
}
.ns-mock-nav-item.active {
    background: #eff6ff;
    color: #0066ff;
}
.ns-mock-main {
    flex: 1;
    background: #f8fafc;
    padding: 1rem;
    overflow: hidden;
}
.ns-pulse-dot {
    animation: nsPulse 2s ease-in-out infinite;
}
@keyframes nsPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(0, 102, 255, 0); }
}
.ns-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: nsFloat 8s ease-in-out infinite;
}
@keyframes nsFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -15px); }
}
.ns-wow-btn {
    position: relative;
    overflow: hidden;
}
.ns-wow-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #0066ff, #00b4ff, #0066ff, #00b4ff);
    background-size: 300% 100%;
    animation: nsShine 3s linear infinite;
    z-index: -1;
}
@keyframes nsShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.ns-progress-bar {
    height: 6px;
    border-radius: 99px;
    background: #e2e8f0;
    overflow: hidden;
}
.ns-progress-bar > span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #0066ff, #00b4ff);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ns-chat-bubble {
    max-width: 75%;
    padding: 0.55rem 0.85rem;
    border-radius: 1rem;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}
.ns-tour-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.ns-tour-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0066ff, #00b4ff);
    transition: width 0.4s ease;
}
